From owner-freebsd-current Sun Mar 25 0: 3:23 2001 Delivered-To: freebsd-current@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id CC82337B719 for ; Sun, 25 Mar 2001 00:03:20 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) id f2P83J329041 for freebsd-current@freebsd.org.AVP; Sun, 25 Mar 2001 10:03:19 +0200 (CEST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) with UUCP id f2P83JK29035 for freebsd-current@freebsd.org; Sun, 25 Mar 2001 10:03:19 +0200 (CEST) (envelope-from leifn@neland.dk) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.11.3/8.11.0) with ESMTP id f2P83BQ03428 for ; Sun, 25 Mar 2001 10:03:11 +0200 (CEST) (envelope-from leifn@neland.dk) Date: Sun, 25 Mar 2001 10:03:11 +0200 (CEST) From: Leif Neland To: freebsd-current@freebsd.org Subject: /etc/exports: 192.168.5 = 192.168.0.5 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bug or pilot error? My network is 192.168.5.0 I used to have im my /etc/exports: /var -alldirs -maproot=root: -network 192.168.5 -mask 255.255.255.0 But after the portmapper change, I couldn't mount, was getting permission denied. showmount -e showed 192.168.5 was being interpreted as 192.168.0.5 Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5 used to work. Is this change intentional, or is 192.168.5 supposed to work? Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 0:16:17 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 35D0437B719 for ; Sun, 25 Mar 2001 00:16:15 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from mobile.wemm.org (mobile.wemm.org [10.0.0.5]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f2P8GEp12960 for ; Sun, 25 Mar 2001 00:16:15 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f2P8GDh07835; Sun, 25 Mar 2001 00:16:13 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200103250816.f2P8GDh07835@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Leif Neland Cc: freebsd-current@FreeBSD.ORG Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 In-Reply-To: Date: Sun, 25 Mar 2001 00:16:13 -0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Leif Neland wrote: > Bug or pilot error? > > My network is 192.168.5.0 > > I used to have im my /etc/exports: > > /var -alldirs -maproot=root: -network 192.168.5 -mask 255.255.255.0 > > But after the portmapper change, I couldn't mount, was getting permission > denied. > > showmount -e showed 192.168.5 was being interpreted as 192.168.0.5 > > Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5 > used to work. > > Is this change intentional, or is 192.168.5 supposed to work? > > Leif My buest guess is that this is because it is now using something like inet_addr() for decoding the address instead of some roll-your-own code. FWIW, this zero fill is a standard part of the system: peter@daintree[11:24pm]~src/sys/pci-142> ping 192.168.5 PING 192.168.5 (192.168.0.5): 56 data bytes .. peter@daintree[12:13am]~src/sys/pci-143> ping 127.1 PING 127.1 (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.068 ms .. This is far more prolific in IPv6. Eg: "ping ::1" is localhost. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 0:18:27 2001 Delivered-To: freebsd-current@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id F399737B71B for ; Sun, 25 Mar 2001 00:18:23 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p13-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.142]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id RAA18892; Sun, 25 Mar 2001 17:18:08 +0900 (JST) Message-ID: <3ABDA902.EC907C1F@newsguy.com> Date: Sun, 25 Mar 2001 17:14:58 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: Leif Neland Cc: freebsd-current@FreeBSD.ORG Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Leif Neland wrote: > > Bug or pilot error? > > My network is 192.168.5.0 > > I used to have im my /etc/exports: > > /var -alldirs -maproot=root: -network 192.168.5 -mask 255.255.255.0 > > But after the portmapper change, I couldn't mount, was getting permission > denied. > > showmount -e showed 192.168.5 was being interpreted as 192.168.0.5 This is the correct interpretation. > > Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5 > used to work. It was broken, then. :-) -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.secret.bsdconspiracy.net all your kernels arpanic: blockable sleep lock (sleep mutex) Giant @ ../../kern/kern_sig.c:153 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 0:33:28 2001 Delivered-To: freebsd-current@freebsd.org Received: from leviathan.inethouston.net (216-118-21-146.pdq.net [216.118.21.146]) by hub.freebsd.org (Postfix) with ESMTP id 26B7537B71A for ; Sun, 25 Mar 2001 00:33:27 -0800 (PST) (envelope-from dwcjr@inethouston.net) Received: from dwcjr (216-118-21-147.pdq.net [216.118.21.147]) by leviathan.inethouston.net (Postfix) with ESMTP id BDE23111337; Sun, 25 Mar 2001 02:33:32 -0600 (CST) Message-ID: <01ef01c0b506$44825fc0$931576d8@inethouston.net> From: "David W. Chapman Jr." To: "Leif Neland" , References: Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 Date: Sun, 25 Mar 2001 02:33:28 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From a pure logic point of view here's something that might help you understand it the 4 octets are broken down into binary and then combined without the decimal point. when whatever libraries are doing this, the first octec(192) is converted to binary. Then there is probably some sort of if statement that says if there is only one more octet to process make it the last octet. The reason for this is so you can enter in ip addresses like 3232236800 which is another way of looking at 192.168.5.0, if it wasn't processed like this, it might try to ping 3232236800.0.0.0 If I've caused any more confusion than help, let me know and I can email you in private and help better explain. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 1: 3:57 2001 Delivered-To: freebsd-current@freebsd.org Received: from garm.bart.nl (garm.bart.nl [194.158.170.13]) by hub.freebsd.org (Postfix) with ESMTP id 8340137B71B for ; Sun, 25 Mar 2001 01:03:54 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.chronias.ninth-circle.org (root@cable.ninth-circle.org [195.38.232.6]) by garm.bart.nl (8.10.1/8.10.1) with ESMTP id f2P92V348789; Sun, 25 Mar 2001 11:02:31 +0200 (CEST) Received: (from asmodai@localhost) by daemon.chronias.ninth-circle.org (8.11.2/8.11.0) id f2P92CS02271; Sun, 25 Mar 2001 11:02:12 +0200 (CEST) (envelope-from asmodai) Date: Sun, 25 Mar 2001 11:02:11 +0200 From: Jeroen Ruigrok/Asmodai To: Leif Neland Cc: freebsd-current@freebsd.org Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 Message-ID: <20010325110211.A2126@daemon.ninth-circle.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from leifn@neland.dk on Sun, Mar 25, 2001 at 10:03:11AM +0200 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -On [20010325 09:45], Leif Neland (leifn@neland.dk) wrote: >/var -alldirs -maproot=root: -network 192.168.5 -mask 255.255.255.0 > >But after the portmapper change, I couldn't mount, was getting permission >denied. > >showmount -e showed 192.168.5 was being interpreted as 192.168.0.5 > >Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5 >used to work. You can only `compress' leading zeroes IIRC. So it should have had interpreted the .5 as 000.005, not 005.000. -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 Time will tell everything - given time... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 1:20:27 2001 Delivered-To: freebsd-current@freebsd.org Received: from njord.bart.nl (njord.bart.nl [194.158.170.15]) by hub.freebsd.org (Postfix) with ESMTP id A756537B71B; Sun, 25 Mar 2001 01:20:23 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.chronias.ninth-circle.org (root@cable.ninth-circle.org [195.38.232.6]) by njord.bart.nl (8.10.1/8.10.1) with ESMTP id f2P9KKL36709; Sun, 25 Mar 2001 11:20:21 +0200 (CEST) Received: (from asmodai@localhost) by daemon.chronias.ninth-circle.org (8.11.2/8.11.0) id f2P9KI302354; Sun, 25 Mar 2001 11:20:18 +0200 (CEST) (envelope-from asmodai) Date: Sun, 25 Mar 2001 11:20:17 +0200 From: Jeroen Ruigrok/Asmodai To: Kirk McKusick , Peter Wemm , Paul Saab , Matt Dillon , Soeren Schmidt Cc: current@freebsd.org Subject: vm page panic Message-ID: <20010325112017.B2126@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi guys, ok, sources cvsupped yesterday afternoon, just before my ffs_alloc.c commit [which I did, obviously, add myself locally]. Box had been running for a while when all of a sudden it got into a panic: vm_page_alloc: free/cache page 0xc0776fa4 was dirty a trace in ddb shows: allocbuf() getblk() ffs_balloc() ffs_write() vn_rdwr() elf_coredump() coredump() Unfortunately my ata controller didn't get reprobed [just was hanging there] so I couldn't get a crashdump. =( [HPT366] So consider this a heads-up, since you might encounter this. Extra info: devfs running, / is normal FFS /tmp, /var, /usr, /storage all soft-updated. -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 Pleasure's a sin, and sometimes sin's a pleasure... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 2: 9:45 2001 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (fw-rl0.freebsd.dk [212.242.86.114]) by hub.freebsd.org (Postfix) with ESMTP id BB42337B718 for ; Sun, 25 Mar 2001 02:09:41 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id MAA52717; Sun, 25 Mar 2001 12:09:35 +0200 (CEST) (envelope-from sos) From: Soren Schmidt Message-Id: <200103251009.MAA52717@freebsd.dk> Subject: Re: ICH2-M IDE controller In-Reply-To: from Benjamin Close at "Mar 25, 2001 10:19:13 am" To: linux@senet.com.au (Benjamin Close) Date: Sun, 25 Mar 2001 12:09:34 +0200 (CEST) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Benjamin Close wrote: > Hi All, > Is anyone looking at supporting the Intel ICH2-M IDE controller? Yes. > This controller is basically the same as the ICH2 controller except it has > extra powermanagment features as it's the for portable computers (hence > the M=mobile). I'm currently using the attached patch which runs > flawlessly on my laptop. However, I'm just an amature code hacker and > hence can't guarentee I haven't missed something between the chipsets. This patch seems about right, I have something very semilar in one of my trees here, just I havn't had a chance to test it yet, but if this works for you I guess I have my case :) > The other question I have is why in ata-dma.c is there the fall through to > the ICH chipset? It seems to prevent any drive actually using ATA100/UDMA5 > features. The fallthrough is just for modes less than ATA100 which is setup the same way as on the ICH therefore the same code.. -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 3: 7: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by hub.freebsd.org (Postfix) with ESMTP id CD7DB37B719 for ; Sun, 25 Mar 2001 03:07:00 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from fwd05.sul.t-online.com by mailout02.sul.t-online.com with smtp id 14h8MN-0003A8-01; Sun, 25 Mar 2001 13:06:59 +0200 Received: from peedub.muc.de (320038014727-0001@[62.155.144.27]) by fmrl05.sul.t-online.com with esmtp id 14h8MI-1WJm40C; Sun, 25 Mar 2001 13:06:54 +0200 Received: (from garyj@localhost) by peedub.muc.de (8.11.3/8.11.1) id f2PC6sW02869; Sun, 25 Mar 2001 14:06:54 +0200 (CEST) (envelope-from garyj) Content-Type: text/plain; charset="iso-8859-1" From: Gary Jennejohn Reply-To: garyj@jennejohn.org To: Marc van Woerkom , david@catwhisker.org Subject: Re: make world stops during i4b compilation Date: Sun, 25 Mar 2001 14:06:53 +0200 X-Mailer: KMail [version 1.2] Cc: freebsd-current@freebsd.org References: <200103242219.f2OMJ2306280@bunrab.catwhisker.org> <200103242311.f2ONBC538196@oranje.my.domain> In-Reply-To: <200103242311.f2ONBC538196@oranje.my.domain> MIME-Version: 1.0 Message-Id: <01032514065304.00626@peedub.muc.de> Content-Transfer-Encoding: 8bit X-Sender: 320038014727-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday 25 March 2001 00:11, Marc van Woerkom wrote: > > >Ok, I did an ediff against NOTES. Perhaps it was the "1" argument to > > > > > > device loop 1 #Network loopback device > > > > > >that was missing. I'll try again. > > > > Hmmm.... Seems odd. If you get a recurrence, you might want to share a > > diff between GENERIC and what you're using. > > Now it compiles. > > I had to put in a "device ether" line into my config to compile > a kernel with i4b (IDSN) drivers. > > And this on box without ethernet card. > > Is this a bug or a feature? i4b is an ethernet interface, how do you think PPP/HDLC works ? The interface is registered with the networking stack, just like a "real" networking card is. This make the ether device mandatory. -- Gary Jennejohn garyj@jennejohn.org gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 3:53: 0 2001 Delivered-To: freebsd-current@freebsd.org Received: from ksmail.netcologne.de (ksmail.netcologne.de [194.8.194.97]) by hub.freebsd.org (Postfix) with ESMTP id 579D737B718 for ; Sun, 25 Mar 2001 03:52:57 -0800 (PST) (envelope-from van.woerkom@netcologne.de) Received: from oranje.my.domain (dial-195-14-244-12.netcologne.de [195.14.244.12]) by ksmail.netcologne.de (8.9.3/8.9.3) with ESMTP id NAA15187; Sun, 25 Mar 2001 13:52:53 +0200 (MET DST) Received: (from marc@localhost) by oranje.my.domain (8.11.0/8.11.3) id f2PBr1X01670; Sun, 25 Mar 2001 13:53:01 +0200 (CEST) (envelope-from van.woerkom@netcologne.de) Date: Sun, 25 Mar 2001 13:53:01 +0200 (CEST) Message-Id: <200103251153.f2PBr1X01670@oranje.my.domain> X-Authentication-Warning: oranje.my.domain: marc set sender to van.woerkom@netcologne.de using -f From: Marc van Woerkom To: garyj@jennejohn.org Cc: van.woerkom@netcologne.de, david@catwhisker.org, freebsd-current@freebsd.org In-reply-to: <01032514065304.00626@peedub.muc.de> (message from Gary Jennejohn on Sun, 25 Mar 2001 14:06:53 +0200) Subject: Re: make world stops during i4b compilation Reply-To: van.woerkom@netcologne.de References: <200103242219.f2OMJ2306280@bunrab.catwhisker.org> <200103242311.f2ONBC538196@oranje.my.domain> <01032514065304.00626@peedub.muc.de> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > i4b is an ethernet interface, how do you think PPP/HDLC works ? The > interface is registered with the networking stack, just like a "real" > networking card is. This make the ether device mandatory. Hi Gary! I simply lack knowledge of how network devices are organized. It might have been possible that network devices exist, that don't belong to that class of ethernet interfaces. I believed that i4b might be such a device, as I can't remember pulling in "ether" in my older kernel configs. Regards, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 4:17:28 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by hub.freebsd.org (Postfix) with ESMTP id C3B5337B71A for ; Sun, 25 Mar 2001 04:17:24 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from fwd02.sul.t-online.com by mailout04.sul.t-online.com with smtp id 14h9SU-0005GX-02; Sun, 25 Mar 2001 14:17:22 +0200 Received: from peedub.muc.de (320038014727-0001@[217.80.40.53]) by fmrl02.sul.t-online.com with esmtp id 14h9SH-2CyHPEC; Sun, 25 Mar 2001 14:17:09 +0200 Received: (from garyj@localhost) by peedub.muc.de (8.11.3/8.11.1) id f2PDHAg02985; Sun, 25 Mar 2001 15:17:10 +0200 (CEST) (envelope-from garyj) Content-Type: text/plain; charset="iso-8859-1" From: Gary Jennejohn Reply-To: garyj@jennejohn.org To: Marc van Woerkom Subject: Re: make world stops during i4b compilation Date: Sun, 25 Mar 2001 15:17:10 +0200 X-Mailer: KMail [version 1.2] Cc: david@catwhisker.org, freebsd-current@freebsd.org References: <200103242219.f2OMJ2306280@bunrab.catwhisker.org> <01032514065304.00626@peedub.muc.de> <200103251153.f2PBr1X01670@oranje.my.domain> In-Reply-To: <200103251153.f2PBr1X01670@oranje.my.domain> MIME-Version: 1.0 Message-Id: <01032515171006.00626@peedub.muc.de> Content-Transfer-Encoding: 8bit X-Sender: 320038014727-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday 25 March 2001 13:53, Marc van Woerkom wrote: > > i4b is an ethernet interface, how do you think PPP/HDLC works ? The > > interface is registered with the networking stack, just like a "real" > > networking card is. This make the ether device mandatory. > > Hi Gary! > > I simply lack knowledge of how network devices are organized. > > It might have been possible that network devices exist, that > don't belong to that class of ethernet interfaces. > > I believed that i4b might be such a device, as I can't remember > pulling in "ether" in my older kernel configs. > well, it seems that I'm wrong. Hellmuth Michaelis tells me that it _should_ be possible to use i4b without ether. Looks like this is a bug. -- Gary Jennejohn garyj@jennejohn.org gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 4:26:57 2001 Delivered-To: freebsd-current@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id CAE4237B71E for ; Sun, 25 Mar 2001 04:26:51 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) id f2PCQoe65694 for freebsd-current@FreeBSD.ORG.AVP; Sun, 25 Mar 2001 14:26:50 +0200 (CEST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) with UUCP id f2PCQoA65688 for freebsd-current@FreeBSD.ORG; Sun, 25 Mar 2001 14:26:50 +0200 (CEST) (envelope-from leifn@neland.dk) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.11.3/8.11.0) with ESMTP id f2PCQac01905 for ; Sun, 25 Mar 2001 14:26:44 +0200 (CEST) (envelope-from leifn@neland.dk) Date: Sun, 25 Mar 2001 14:26:35 +0200 (CEST) From: Leif Neland Cc: Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 In-Reply-To: <3ABDA902.EC907C1F@newsguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > showmount -e showed 192.168.5 was being interpreted as 192.168.0.5 > > This is the correct interpretation. > > > > > Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5 > > used to work. > > It was broken, then. :-) > So an unlisted bug was fixed :-) Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 4:55:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id C629037B71B for ; Sun, 25 Mar 2001 04:55:30 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p27-dn01kiryunisiki.gunma.ocn.ne.jp [211.0.245.28]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id VAA19030; Sun, 25 Mar 2001 21:55:25 +0900 (JST) Message-ID: <3ABDE9FF.13FB0AC4@newsguy.com> Date: Sun, 25 Mar 2001 21:52:15 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: Leif Neland Cc: freebsd-current@FreeBSD.ORG Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Leif Neland wrote: > > > > showmount -e showed 192.168.5 was being interpreted as 192.168.0.5 > > > > This is the correct interpretation. > > > > > > > > Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5 > > > used to work. > > > > It was broken, then. :-) > > > So an unlisted bug was fixed :-) Quick! Open a PR about -stable! :-) -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.secret.bsdconspiracy.net all your kernels arpanic: blockable sleep lock (sleep mutex) Giant @ ../../kern/kern_sig.c:153 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 6:15:28 2001 Delivered-To: freebsd-current@freebsd.org Received: from segfault.kiev.ua (segfault.kiev.ua [193.193.193.4]) by hub.freebsd.org (Postfix) with ESMTP id 8E48E37B71D for ; Sun, 25 Mar 2001 06:15:22 -0800 (PST) (envelope-from netch@iv.nn.kiev.ua) Received: (from uucp@localhost) by segfault.kiev.ua (8) with UUCP id RFW24256 for freebsd-current@freebsd.org; Sun, 25 Mar 2001 17:15:17 +0300 (EEST) (envelope-from netch@iv.nn.kiev.ua) Received: (from netch@localhost) by iv.nn.kiev.ua (8.11.3/8.11.3) id f2PD8ld02925 for freebsd-current@freebsd.org; Sun, 25 Mar 2001 16:08:47 +0300 (EEST) (envelope-from netch) Date: Sun, 25 Mar 2001 16:08:47 +0300 From: Valentin Nechayev To: freebsd-current@freebsd.org Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 Message-ID: <20010325160846.A1018@iv.nn.kiev.ua> References: <3ABDA902.EC907C1F@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ABDA902.EC907C1F@newsguy.com>; from dcs@newsguy.com on Sun, Mar 25, 2001 at 05:14:58PM +0900 X-42: On Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > /var -alldirs -maproot=root: -network 192.168.5 -mask 255.255.255.0 > > showmount -e showed 192.168.5 was being interpreted as 192.168.0.5 > This is the correct interpretation. > > Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5 > > used to work. > It was broken, then. :-) 192.168.5 should be interpreted as 192.168.0.5 in host address context, but as 192.168.5.0 in network address context. (Such network address context is well seen in sentences such as "10/8", "192.168/16".) netch@iv:~/tmp>netstat -rn | grep 192 192/8 127.0.0.1 UGSc 0 0 lo0 In case in question, when -network prefix is occured, parsing should be performed with network address context, not host address context. /netch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 6:43:29 2001 Delivered-To: freebsd-current@freebsd.org Received: from titanic.medinet.si (titanic.medinet.si [212.18.32.66]) by hub.freebsd.org (Postfix) with ESMTP id DE48C37B71B; Sun, 25 Mar 2001 06:43:18 -0800 (PST) (envelope-from blaz@amis.net) Received: by titanic.medinet.si (Postfix, from userid 1000) id 8FE9726C02; Sun, 25 Mar 2001 16:43:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by titanic.medinet.si (Postfix) with ESMTP id 7DC2A11715; Sun, 25 Mar 2001 16:43:17 +0200 (CEST) Date: Sun, 25 Mar 2001 16:43:17 +0200 (CEST) From: Blaz Zupan To: Cc: Subject: Kernel hangs with latest sources Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My kernel compiled from -current sources as of today morning hangs after recognizing the sound hardware, the last line display is: pcm0: at port 0x240-0x24f,0xe80-0xe87,0x388-0x38f,0x300-0x301,0x100-0x101 irq 7 drq 0,1 on isa0 Ctrl-Alt-Esc does not work. I'll be compiling a kernel with the latest sources but without the latest sound driver update later today to verify if the sound driver is indeed causing the trouble. Kernel config file and dmesg from a working kernel is included below. machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident GOLD maxusers 32 makeoptions DEBUG=-g options INET options IPSEC options IPSEC_ESP options FFS options SOFTUPDATES options DEVFS options NFS options MSDOSFS options CD9660 options PROCFS options COMPAT_43 options SCSI_DELAY=5000 options UCONSOLE options USERCONFIG options VISUAL_USERCONFIG options KTRACE options SYSVSHM options SYSVMSG options SYSVSEM options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options COMPAT_LINUX options DDB options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT options INCLUDE_CONFIG_FILE device isa device pci device fdc device ata device atadisk device atapicd device atkbdc 1 device atkbd options ATKBD_DFLT_KEYMAP makeoptions ATKBD_DFLT_KEYMAP="si.iso" device psm device vga device splash options SC_DFLT_FONT makeoptions SC_DFLT_FONT=iso02 device sc 1 device npx device apm device pcm device sio device miibus device xl device card device pcic #device pccard #device cardbus #device pcic #device pccbb device wi device loop device ether device tun device pty device bpf device md device random options ELSA_QS1ISA device isic device "i4bq921" device "i4bq931" device "i4b" device "i4btrc" 4 device "i4bctl" device "i4brbch" 4 device "i4btel" 2 device "i4bisppp" 4 Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #3: Tue Mar 20 19:16:42 CET 2001 root@gold.amis.net:/home/blaz/FreeBSD/src/sys/compile/GOLD Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P55C (232.88-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping = 3 Features=0x8001bf real memory = 67108864 (65536K bytes) avail memory = 61153280 (59720K bytes) Preloaded elf kernel "kernel" at 0xc0414000. Intel Pentium detected, installing workaround for F00F bug Using $PIR table, 6 entries at 0xc00fdf60 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcf0-0xfcff at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 (no driver attached) pci0: at 7.3 (no driver attached) pci0: at 13.0 (no driver attached) xl0: <3Com 3c900-TPO Etherlink XL> irq 7 at device 14.0 on pci0 xl0: failed to enable I/O ports! device_probe_and_attach: xl0 attach returned 6 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 pcic0: at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode pccard0: on pcic0 pccard1: on pcic0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 isic0: at port 0x160-0x167 irq 5 on isa0 isic0: passive stack unit 0 pcm0: at port 0x240-0x24f,0xe80-0xe87,0x388-0x38f,0x300-0x301,0x100-0x101 irq 7 drq 0,1 on isa0 unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources i4bctl: ISDN system control port attached i4btrc: 4 ISDN trace device(s) attached i4bisppp: 4 ISDN SyncPPP device(s) attached (VJ header compression) i4b: ISDN call control device attached IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to accept, logging disabled i4btel: 2 ISDN telephony interface device(s) attached i4brbch: 4 raw B channel access device(s) attached IPsec: Initialized Security Association Processing. pccard: card inserted, slot 0 ata1-slave: ata_command: timeout waiting for intr ata1-slave: identify failed ad0: 13783MB [28005/16/63] at ata0-master UDMA33 ad1: 6179MB [12555/16/63] at ata0-slave UDMA33 acd0: CDROM at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a wi0: at port 0x280-0x2bf irq 10 slot 0 on pccard0 wi0: Ethernet address: 00:60:1d:f1:15:bb Blaz Zupan, Medinet d.o.o, Linhartova 21, 2000 Maribor, Slovenia E-mail: blaz@amis.net, Tel: +386-2-320-6320, Fax: +386-2-320-6325 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 7:14:58 2001 Delivered-To: freebsd-current@freebsd.org Received: from beastie.mckusick.com (chartreux.sleepycat.com [199.103.241.220]) by hub.freebsd.org (Postfix) with ESMTP id C090237B718; Sun, 25 Mar 2001 07:14:53 -0800 (PST) (envelope-from mckusick@mckusick.com) Received: from beastie.mckusick.com (localhost [127.0.0.1]) by beastie.mckusick.com (8.9.3/8.9.3) with ESMTP id HAA04116; Sun, 25 Mar 2001 07:14:47 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Message-Id: <200103251514.HAA04116@beastie.mckusick.com> To: Jeroen Ruigrok/Asmodai Subject: Re: vm page panic Cc: Peter Wemm , Paul Saab , Matt Dillon , Soeren Schmidt , current@freebsd.org In-Reply-To: Your message of "Sun, 25 Mar 2001 11:20:17 +0200." <20010325112017.B2126@daemon.ninth-circle.org> Date: Sun, 25 Mar 2001 07:14:47 -0800 From: Kirk McKusick Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Date: Sun, 25 Mar 2001 11:20:17 +0200 From: Jeroen Ruigrok/Asmodai To: Kirk McKusick , Peter Wemm , Paul Saab , Matt Dillon , Soeren Schmidt Cc: current@freebsd.org Subject: vm page panic Hi guys, ok, sources cvsupped yesterday afternoon, just before my ffs_alloc.c commit [which I did, obviously, add myself locally]. Box had been running for a while when all of a sudden it got into a panic: vm_page_alloc: free/cache page 0xc0776fa4 was dirty a trace in ddb shows: allocbuf() getblk() ffs_balloc() ffs_write() vn_rdwr() elf_coredump() coredump() Unfortunately my ata controller didn't get reprobed [just was hanging there] so I couldn't get a crashdump. =( [HPT366] So consider this a heads-up, since you might encounter this. Extra info: devfs running, / is normal FFS /tmp, /var, /usr, /storage all soft-updated. -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 Pleasure's a sin, and sometimes sin's a pleasure... The latest round of changes to ffs_alloc.c add code which is only ever used by background fsck which is not yetbeing used. So, it seems very unlikely that your panic has been triggered byv these changes. Kirk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 7:32: 0 2001 Delivered-To: freebsd-current@freebsd.org Received: from srv8-bra.bra.terra.com.br (srv8-bra.bra.terra.com.br [200.246.248.84]) by hub.freebsd.org (Postfix) with ESMTP id 8ED7137B71A for ; Sun, 25 Mar 2001 07:31:46 -0800 (PST) (envelope-from eloy@tropical.com.br) Received: from srv7-bra.bra.terra.com.br (srv7-bra.bra.terra.com.br [200.246.248.83]) by srv8-bra.bra.terra.com.br (8.9.3/8.9.3) with ESMTP id MAA01051 for ; Sun, 25 Mar 2001 12:31:34 -0300 Received: from carlos (dl-tnt2-C8B0D936.vix.terra.com.br [200.176.217.54]) by srv7-bra.bra.terra.com.br (8.11.0/8.11.1) with SMTP id f2PFVM713573 for ; Sun, 25 Mar 2001 12:31:25 -0300 Message-ID: <000701c0b540$fcfc4720$36d9b0c8@carlos> From: "eloy" To: Subject: Date: Sun, 25 Mar 2001 12:33:24 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01C0B527.C8C0BB80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C0B527.C8C0BB80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable i cd rom is locked what can I do instead trying cd until unlocked is there any command to do ? ------=_NextPart_000_0004_01C0B527.C8C0BB80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
i cd rom is locked
what can I do
instead trying cd until = unlocked
is there any command to do = ?
 
------=_NextPart_000_0004_01C0B527.C8C0BB80-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 7:45:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from leviathan.inethouston.net (216-118-21-146.pdq.net [216.118.21.146]) by hub.freebsd.org (Postfix) with ESMTP id BD44B37B71A for ; Sun, 25 Mar 2001 07:45:41 -0800 (PST) (envelope-from dwcjr@inethouston.net) Received: from dwcjr (216-118-21-147.pdq.net [216.118.21.147]) by leviathan.inethouston.net (Postfix) with ESMTP id CE87811131A; Sun, 25 Mar 2001 09:45:42 -0600 (CST) Message-ID: <023101c0b542$a7ebeea0$931576d8@inethouston.net> From: "David W. Chapman Jr." To: "Daniel C. Sobral" , "Leif Neland" Cc: References: <3ABDE9FF.13FB0AC4@newsguy.com> Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 Date: Sun, 25 Mar 2001 09:45:45 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Its always been working in the correct way for stable and currently is right now. ----- Original Message ----- From: "Daniel C. Sobral" To: "Leif Neland" Cc: Sent: Sunday, March 25, 2001 6:52 AM Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 > Leif Neland wrote: > > > > > > showmount -e showed 192.168.5 was being interpreted as 192.168.0.5 > > > > > > This is the correct interpretation. > > > > > > > > > > > Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5 > > > > used to work. > > > > > > It was broken, then. :-) > > > > > So an unlisted bug was fixed :-) > > Quick! Open a PR about -stable! :-) > > -- > Daniel C. Sobral (8-DCS) > dcs@newsguy.com > dcs@freebsd.org > capo@the.secret.bsdconspiracy.net > > all your kernels arpanic: blockable sleep lock (sleep mutex) Giant @ > ../../kern/kern_sig.c:153 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 9: 2: 1 2001 Delivered-To: freebsd-current@freebsd.org Received: from sol.cc.u-szeged.hu (sol.cc.u-szeged.hu [160.114.8.24]) by hub.freebsd.org (Postfix) with ESMTP id B1AA237B71A for ; Sun, 25 Mar 2001 09:01:57 -0800 (PST) (envelope-from sziszi@petra.hos.u-szeged.hu) Received: from petra.hos.u-szeged.hu by sol.cc.u-szeged.hu (8.9.3+Sun/SMI-SVR4) id TAA09409; Sun, 25 Mar 2001 19:01:55 +0200 (MEST) Received: from sziszi by petra.hos.u-szeged.hu with local (Exim 3.12 #1 (Debian)) id 14hDtr-0000VY-00 for ; Sun, 25 Mar 2001 19:01:55 +0200 Date: Sun, 25 Mar 2001 19:01:55 +0200 From: Szilveszter Adam To: current@freebsd.org Subject: Re: midi causes panic on boot? (update) Message-ID: <20010325190155.A1795@petra.hos.u-szeged.hu> Mail-Followup-To: Szilveszter Adam , current@freebsd.org References: <20010312163850.A28997@petra.hos.u-szeged.hu> <20010314004953.B549@zippy.mybox.zip> <200103140904.f2E945607519@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103140904.f2E945607519@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp>; from tanimura@r.dl.itc.u-tokyo.ac.jp on Wed, Mar 14, 2001 at 06:04:05PM +0900 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello folks, I have tried it with today's -CURRENT, and as soon as I try to boot a kernel with the options (this has occured also earlier but wanted to make sure that I try today's sources first) device midi device seq (my sound card is a ISAPnP SB 64 AWE) I use device sbc too. the kernel still panics with Fatal Trap 12. I have Seigo Tanimura's fixes, and yet this still happens. I do not have a serial console, so here a short trace output transcribed: _mtx_lock_sleep mpu_uartmode mpu_attach mprobe_attach device_probe_and_attach bus_generic_attach sbc_attach device_probe_and_attach isa_probe_children configure mi_startup() begin() At the point of panic not even the swap partition is available yet so the machine does not dump. How can I force it? I would like to offer any and all help to anyone wanting to debug this; I can reproduce the problem at will and luckily no FS corruption occurs because the panic is so early on boot.:-) Of course, as soon as I omit the midi part, the kernel boots fine, and the sound card works too. -- Regards: Szilveszter ADAM Szeged University Szeged Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 9:32:52 2001 Delivered-To: freebsd-current@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id E569837B71A for ; Sun, 25 Mar 2001 09:32:48 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) id f2PHWlW92326 for freebsd-current@FreeBSD.ORG.AVP; Sun, 25 Mar 2001 19:32:47 +0200 (CEST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) with UUCP id f2PHWkC92312; Sun, 25 Mar 2001 19:32:46 +0200 (CEST) (envelope-from leifn@neland.dk) Received: from gina (dhcp0.neland.dk [192.168.5.100]) by arnold.neland.dk (8.11.3/8.11.0) with SMTP id f2PHWSc05353; Sun, 25 Mar 2001 19:32:29 +0200 (CEST) (envelope-from leifn@neland.dk) Message-ID: <007101c0b559$fce8b5c0$6405a8c0@neland.dk> Reply-To: "Leif Neland" From: "Leif Neland" To: "Valentin Nechayev" , References: <3ABDA902.EC907C1F@newsguy.com> <20010325160846.A1018@iv.nn.kiev.ua> Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 Date: Sun, 25 Mar 2001 20:32:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by ns.internet.dk id f2PHWkC92312 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bikeshed time ! :-) ----- Original Message ----- From: "Valentin Nechayev" To: Sent: Sunday, March 25, 2001 3:08 PM Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 > > > /var -alldirs -maproot=root: -network 192.168.5 -mask 255.255.255.0 > > > showmount -e showed 192.168.5 was being interpreted as 192.168.0.5 > > This is the correct interpretation. > > > Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5 > > > used to work. > > It was broken, then. :-) > > 192.168.5 should be interpreted as 192.168.0.5 in host address context, > but as 192.168.5.0 in network address context. (Such network address > context is well seen in sentences such as "10/8", "192.168/16".) > > netch@iv:~/tmp>netstat -rn | grep 192 > 192/8 127.0.0.1 UGSc 0 0 lo0 > > In case in question, when -network prefix is occured, parsing should > be performed with network address context, not host address context. > > > /netch > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 9:53:27 2001 Delivered-To: freebsd-current@freebsd.org Received: from leviathan.inethouston.net (216-118-21-146.pdq.net [216.118.21.146]) by hub.freebsd.org (Postfix) with ESMTP id B908437B718 for ; Sun, 25 Mar 2001 09:53:25 -0800 (PST) (envelope-from dwcjr@inethouston.net) Received: from dwcjr (216-118-21-147.pdq.net [216.118.21.147]) by leviathan.inethouston.net (Postfix) with ESMTP id EB10011131A; Sun, 25 Mar 2001 11:53:27 -0600 (CST) Message-ID: <02cf01c0b554$802bac40$931576d8@inethouston.net> From: "David W. Chapman Jr." To: "Valentin Nechayev" , References: <3ABDA902.EC907C1F@newsguy.com> <20010325160846.A1018@iv.nn.kiev.ua> Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 Date: Sun, 25 Mar 2001 11:53:29 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 192.168.5 should be interpreted as 192.168.0.5 in host address context, > but as 192.168.5.0 in network address context. (Such network address > context is well seen in sentences such as "10/8", "192.168/16".) The only problem I see with 10/8 is that when broken down into binary they do not match 10.0.0.0/8 00001010000000000000000000000000 11111111000000000000000000000000 and just 10 00000000000000000000000000001010 11111111000000000000000000000000 the significance of one "octet" is that the above(10.0.0.0) can be written in this form as 167772160 which doesn't equal 10 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 10: 1:18 2001 Delivered-To: freebsd-current@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 9DFF637B719; Sun, 25 Mar 2001 10:01:12 -0800 (PST) (envelope-from greid@ukug.uk.freebsd.org) Received: from sobek.openirc.co.uk ([62.252.9.76]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010325180110.BMII283.mta03-svc.ntlworld.com@sobek.openirc.co.uk>; Sun, 25 Mar 2001 19:01:10 +0100 Date: Sun, 25 Mar 2001 19:01:08 +0100 (BST) From: George Reid X-Sender: greid@sobek.openirc.co.uk To: Blaz Zupan Cc: freebsd-current@FreeBSD.ORG, cg@FreeBSD.ORG Subject: Re: Kernel hangs with latest sources In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 25 Mar 2001, Blaz Zupan wrote: > My kernel compiled from -current sources as of today morning hangs after > recognizing the sound hardware, the last line display is: > > pcm0: at port > 0x240-0x24f,0xe80-0xe87,0x388-0x38f,0x300-0x301,0x100-0x101 irq 7 drq > 0,1 on isa0 Included patch should fix this problem. greid Index: mss.c =================================================================== RCS file: /usr/home/ncvs/src/sys/dev/sound/isa/mss.c,v retrieving revision 1.65 diff -u -r1.65 mss.c --- mss.c 2001/03/24 23:10:25 1.65 +++ mss.c 2001/03/25 17:55:10 @@ -174,13 +174,13 @@ static void mss_lock(struct mss_info *mss) { - snd_mtxlock(mss); + snd_mtxlock(mss->lock); } static void mss_unlock(struct mss_info *mss) { - snd_mtxunlock(mss); + snd_mtxunlock(mss->lock); } static int To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 10:17: 0 2001 Delivered-To: freebsd-current@freebsd.org Received: from titanic.medinet.si (titanic.medinet.si [212.18.32.66]) by hub.freebsd.org (Postfix) with ESMTP id 964EF37B719; Sun, 25 Mar 2001 10:16:57 -0800 (PST) (envelope-from blaz@amis.net) Received: by titanic.medinet.si (Postfix, from userid 1000) id 77F9D26C02; Sun, 25 Mar 2001 20:16:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by titanic.medinet.si (Postfix) with ESMTP id 6710411717; Sun, 25 Mar 2001 20:16:56 +0200 (CEST) Date: Sun, 25 Mar 2001 20:16:56 +0200 (CEST) From: Blaz Zupan To: George Reid Cc: , Subject: Re: Kernel hangs with latest sources In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Included patch should fix this problem. It does, indeed. Thanks! Blaz Zupan, Medinet d.o.o, Linhartova 21, 2000 Maribor, Slovenia E-mail: blaz@amis.net, Tel: +386-2-320-6320, Fax: +386-2-320-6325 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 10:17:29 2001 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id E9E8D37B719 for ; Sun, 25 Mar 2001 10:17:27 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2PIHBR59033; Sun, 25 Mar 2001 10:17:11 -0800 (PST) (envelope-from obrien) Date: Sun, 25 Mar 2001 10:17:10 -0800 From: "David O'Brien" To: Valentin Nechayev Cc: freebsd-current@freebsd.org Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 Message-ID: <20010325101710.C58992@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <3ABDA902.EC907C1F@newsguy.com> <20010325160846.A1018@iv.nn.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010325160846.A1018@iv.nn.kiev.ua>; from netch@iv.nn.kiev.ua on Sun, Mar 25, 2001 at 04:08:47PM +0300 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 25, 2001 at 04:08:47PM +0300, Valentin Nechayev wrote: > 192.168.5 should be interpreted as 192.168.0.5 in host address context, > but as 192.168.5.0 in network address context. (Such network address > context is well seen in sentences such as "10/8", "192.168/16".) Where is this documented? -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 10:19:17 2001 Delivered-To: freebsd-current@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 562CD37B718; Sun, 25 Mar 2001 10:19:13 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f2PIIlp11246; Sun, 25 Mar 2001 10:18:47 -0800 (PST) (envelope-from dillon) Date: Sun, 25 Mar 2001 10:18:47 -0800 (PST) From: Matt Dillon Message-Id: <200103251818.f2PIIlp11246@earth.backplane.com> To: Kirk McKusick Cc: Jeroen Ruigrok/Asmodai , Peter Wemm , Paul Saab , Soeren Schmidt , current@FreeBSD.ORG Subject: Re: vm page panic References: <200103251514.HAA04116@beastie.mckusick.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : Hi guys, : : ok, sources cvsupped yesterday afternoon, just before my ffs_alloc.c : commit [which I did, obviously, add myself locally]. : : Box had been running for a while when all of a sudden it got into a : panic: : : vm_page_alloc: free/cache page 0xc0776fa4 was dirty : : a trace in ddb shows: : : allocbuf() : getblk() : ffs_balloc() : ffs_write() : vn_rdwr() : elf_coredump() : coredump() This particular panic will have a delayed effect, so the trace probably isn't the problem. Something occured some period of time prior that caused a (probably cache) page to be marked dirty. Then later when vm_page_alloc() tries to reuse the page it notices that it's dirty when it shouldn't be. I have not seen this panic literaly for years - there was a bug in John Dyson's original code that could cause it but it was fixed a very long time ago. So I'm guessing that the panic is a side effect of a newly introduced bug somewhere in current. Possibly a race of some sort with the mutex/threading/interrupt code, but I don't know. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 10:47:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 7C41837B719; Sun, 25 Mar 2001 10:47:11 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from mobile.wemm.org (mobile.wemm.org [10.0.0.5]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f2PIlBp15550; Sun, 25 Mar 2001 10:47:11 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f2PIl9h13551; Sun, 25 Mar 2001 10:47:09 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200103251847.f2PIl9h13551@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: obrien@FreeBSD.ORG Cc: Valentin Nechayev , freebsd-current@FreeBSD.ORG, mb@imp.ch, alfred@FreeBSD.ORG Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5 In-Reply-To: <20010325101710.C58992@dragon.nuxi.com> Date: Sun, 25 Mar 2001 10:47:09 -0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "David O'Brien" wrote: > On Sun, Mar 25, 2001 at 04:08:47PM +0300, Valentin Nechayev wrote: > > 192.168.5 should be interpreted as 192.168.0.5 in host address context, > > but as 192.168.5.0 in network address context. (Such network address > > context is well seen in sentences such as "10/8", "192.168/16".) > > Where is this documented? peter@daintree[10:39am]/tmp-162> cat foo.c main() { int x; x = inet_network("127.1"); printf("inet_network(127.1) = %x\n", x); x = inet_addr("127.1"); printf("inet_addr(127.1) = %x\n", htonl(x)); } peter@daintree[10:39am]/tmp-163> cc -o foo foo.c peter@daintree[10:40am]/tmp-164> ./foo inet_network(127.1) = 7f01 inet_addr(127.1) = 7f000001 inet_addr() and family returns network order, while inet_network() returns host order. The old mountd code went to a lot of trouble to keep the two seperate. In host context, it would have interpreted it as 192.168.0.5, but in network / netmask context it intentionally interpreted it as 192.168.5.0/mask. See the old get_host() vs get_net() code. Now that I have looked more closely, IMHO the new code is broken. :-( Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 13:25:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from kechara.flame.org (kechara-p.flame.org [204.152.186.129]) by hub.freebsd.org (Postfix) with SMTP id A6D9637B71B for ; Sun, 25 Mar 2001 13:25:42 -0800 (PST) (envelope-from imp@billy-club.village.org) Received: (qmail 24578 invoked by uid 247); 25 Mar 2001 21:25:41 -0000 Delivered-To: lonewolf-fbsd-current-forwarder@flame.org Received: (qmail 24574 invoked from network); 25 Mar 2001 21:25:40 -0000 Received: from rover.bsdimp.com (HELO rover.village.org) (204.144.255.66) by kechara.flame.org with SMTP; 25 Mar 2001 21:25:40 -0000 Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.11.2/8.11.0) with ESMTP id f2PLPJX37446; Sun, 25 Mar 2001 14:25:19 -0700 (MST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost [127.0.0.1]) by billy-club.village.org (8.11.2/8.8.3) with ESMTP id f2PLOnZ71470; Sun, 25 Mar 2001 14:24:49 -0700 (MST) Message-Id: <200103252124.f2PLOnZ71470@billy-club.village.org> To: "Johny Mattsson (EPA)" Subject: Re: newcard/cardbus instabilities Cc: "'lonewolf-fbsd-current-forwarder@flame.org'" In-reply-to: Your message of "Fri, 23 Mar 2001 11:23:17 +1100." <4B6BC00CD15FD2119E5F0008C7A419A50E13F9C0@eaubrnt018.epa.ericsson.se> References: <4B6BC00CD15FD2119E5F0008C7A419A50E13F9C0@eaubrnt018.epa.ericsson.se> Date: Sun, 25 Mar 2001 14:24:48 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <4B6BC00CD15FD2119E5F0008C7A419A50E13F9C0@eaubrnt018.epa.ericsson.se> "Johny Mattsson (EPA)" writes: : The xl driver spits out numerous "xl0: watchdog timeout", and I get pings : around the one second mark, even to machines on the same switch. Trying to : maintain TCP sessions without keeping a running ping in the background is : futile, due to the packet loss. : : So basically, I'm wondering what I can do to help getting this : fixed? It looks like the IRQ isn't beeing assigned properly. You'll have to help us figure out why. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 13:27: 6 2001 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 91B9C37B71A; Sun, 25 Mar 2001 13:27:03 -0800 (PST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.11.2/8.11.0) with ESMTP id f2PLR1X37466; Sun, 25 Mar 2001 14:27:02 -0700 (MST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost [127.0.0.1]) by billy-club.village.org (8.11.2/8.8.3) with ESMTP id f2PLQXZ71514; Sun, 25 Mar 2001 14:26:33 -0700 (MST) Message-Id: <200103252126.f2PLQXZ71514@billy-club.village.org> To: Mike Smith Subject: Re: newcard/cardbus instabilities Cc: "Johny Mattsson (EPA)" , current@FreeBSD.ORG, wpaul@FreeBSD.ORG In-reply-to: Your message of "Thu, 22 Mar 2001 16:46:46 PST." <200103230046.f2N0kkD00621@mass.dis.org> References: <200103230046.f2N0kkD00621@mass.dis.org> Date: Sun, 25 Mar 2001 14:26:33 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200103230046.f2N0kkD00621@mass.dis.org> Mike Smith writes: : This looks OK, though you might want to disable the pccard support, since : it's known to be broken right now. pccard support is not broken right now. If there's a "known" issue, I sure don't know about it. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 13:29: 8 2001 Delivered-To: freebsd-current@freebsd.org Received: from kechara.flame.org (kechara-p.flame.org [204.152.186.129]) by hub.freebsd.org (Postfix) with SMTP id 5512E37B719 for ; Sun, 25 Mar 2001 13:29:06 -0800 (PST) (envelope-from imp@billy-club.village.org) Received: (qmail 24602 invoked by uid 247); 25 Mar 2001 21:29:06 -0000 Delivered-To: lonewolf-fbsd-current-forwarder@flame.org Received: (qmail 24600 invoked from network); 25 Mar 2001 21:29:05 -0000 Received: from rover.bsdimp.com (HELO rover.village.org) (204.144.255.66) by kechara.flame.org with SMTP; 25 Mar 2001 21:29:05 -0000 Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.11.2/8.11.0) with ESMTP id f2PLT4X37474; Sun, 25 Mar 2001 14:29:04 -0700 (MST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost [127.0.0.1]) by billy-club.village.org (8.11.2/8.8.3) with ESMTP id f2PLSaZ71527; Sun, 25 Mar 2001 14:28:36 -0700 (MST) Message-Id: <200103252128.f2PLSaZ71527@billy-club.village.org> To: "Johny Mattsson (EPA)" Subject: Re: newcard/cardbus instabilities Cc: "'lonewolf-fbsd-current-forwarder@flame.org'" In-reply-to: Your message of "Fri, 23 Mar 2001 18:22:44 +1100." <4B6BC00CD15FD2119E5F0008C7A419A50E13F9C3@eaubrnt018.epa.ericsson.se> References: <4B6BC00CD15FD2119E5F0008C7A419A50E13F9C3@eaubrnt018.epa.ericsson.se> Date: Sun, 25 Mar 2001 14:28:36 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <4B6BC00CD15FD2119E5F0008C7A419A50E13F9C3@eaubrnt018.epa.ericsson.se> "Johny Mattsson (EPA)" writes: : I also removed the "device pccard" config option, and as a result : lost support for the modem card, but in return this fixed the : watchdog timeouts, and the lan card works quite well now. : I guess I'll have to keep a backup kernel with the old pcic compiled : in if I want to use the modem... for now I'm very happy to have a : working lan card! Ah. You aren't supposed to compile in both oldcard and newcard at the same time... Wanrer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 15:33:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 3B10337B718; Sun, 25 Mar 2001 15:33:09 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id D92FC6A90D; Mon, 26 Mar 2001 09:03:06 +0930 (CST) Date: Mon, 26 Mar 2001 09:03:06 +0930 From: Greg Lehey To: David O'Brien Cc: freebsd-current@freebsd.org Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind Message-ID: <20010326090306.D40349@wantadilla.lemis.com> References: <20010321104438.A94096@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010321104438.A94096@dragon.nuxi.com>; from obrien@freebsd.org on Wed, Mar 21, 2001 at 10:44:38AM -0800 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 21 March 2001 at 10:44:38 -0800, David O'Brien wrote: > The Portmapper binary has been renamed from `portmap' to `rpcbind'. Why? Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 15:34:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 0EE3837B71E; Sun, 25 Mar 2001 15:34:22 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2PNYGk00419; Sun, 25 Mar 2001 15:34:16 -0800 (PST) Date: Sun, 25 Mar 2001 15:34:16 -0800 From: Alfred Perlstein To: Greg Lehey Cc: "David O'Brien" , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind Message-ID: <20010325153416.U9431@fw.wintelcom.net> References: <20010321104438.A94096@dragon.nuxi.com> <20010326090306.D40349@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010326090306.D40349@wantadilla.lemis.com>; from grog@lemis.com on Mon, Mar 26, 2001 at 09:03:06AM +0930 X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Greg Lehey [010325 15:33] wrote: > On Wednesday, 21 March 2001 at 10:44:38 -0800, David O'Brien wrote: > > The Portmapper binary has been renamed from `portmap' to `rpcbind'. > > Why? We've upgraded to Sun's TIRPC code, this includes rpcbind as a replacement for portmapper. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 15:36:22 2001 Delivered-To: freebsd-current@freebsd.org Received: from rimbaud.uol.com.br (rimbaud.uol.com.br [200.231.206.24]) by hub.freebsd.org (Postfix) with ESMTP id 5C8C937B71A for ; Sun, 25 Mar 2001 15:36:17 -0800 (PST) (envelope-from ari@doctordata.com.br) Received: from arara (200-221-32-58.dsl-sp.uol.com.br [200.221.32.58]) by rimbaud.uol.com.br (8.9.1/8.9.1) with SMTP id UAA11239 for ; Sun, 25 Mar 2001 20:32:40 -0300 (BRT) From: ari@doctordata.com.br Message-ID: <008801c0b583$cec2f3c0$3a20ddc8@doctordata.com.br> To: Date: Sun, 25 Mar 2001 20:32:07 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0085_01C0B56A.A93BC000" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0085_01C0B56A.A93BC000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_000_0085_01C0B56A.A93BC000 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
------=_NextPart_000_0085_01C0B56A.A93BC000-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 16:20:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from chmls05.mediaone.net (chmls05.mediaone.net [24.147.1.143]) by hub.freebsd.org (Postfix) with ESMTP id 8F84B37B719 for ; Sun, 25 Mar 2001 16:20:16 -0800 (PST) (envelope-from bloom@acm.org) Received: from acm.org (reyim.ne.mediaone.net [24.218.251.241]) by chmls05.mediaone.net (8.11.1/8.11.1) with ESMTP id f2Q0KDx14730; Sun, 25 Mar 2001 19:20:13 -0500 (EST) Message-ID: <3ABE8B34.B192B824@acm.org> Date: Sun, 25 Mar 2001 19:20:04 -0500 From: Jim Bloom X-Mailer: Mozilla 4.76 [en]C-MOENE (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Szilveszter Adam Cc: current@FreeBSD.ORG Subject: Re: midi causes panic on boot? (update) References: <20010312163850.A28997@petra.hos.u-szeged.hu> <20010314004953.B549@zippy.mybox.zip> <200103140904.f2E945607519@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> <20010325190155.A1795@petra.hos.u-szeged.hu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I get a slightly different backtrace, but was able to use my palm pilot as the serial console. I have had this same problem for quit a while (about a month). I suspect a locking issue related to Seigo Tanimura's commit on Feb 25. My last cvsup was within the past 24 hours and the kernel was built in a clean directory. I can try to get more information if necessary. Jim Bloom bloom@acm.org Fatal trap 12: page fault while in kernel mode fault virtual address = 0x1a0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01c8006 stack pointer = 0x10:0xc04e66dc frame pointer = 0x10:0xc04e66db> trace _mtx_lock_sleep(c0ecda08,0,c036d471,268) at _mtx_lock_sleep+0x29a mpu_uartmode(c0ecda00) at mpu_uartmode+0x63 mpu_attach(c0ebd100,c0ebd100,c0ebd100,c0e67080,c04e675c) at mpu_attach+0x25 mpusbc_attach(c0ebd100,c0ebd100,c0ea5ac0,c036e926,1) at mpusbc_attach+0x19 device_probe_and_attach(c0ebd100) at device_probe_and_attach+0x9a bus_generic_attach(c0ea2000,c0ebd080,c0ea5ac0,c0ea2000,c036e935) at bus_generic_attach+0x16 sbc_attach(c0ea2000,c0eadb00,c0ea2000,7,0) at sbc_attach+0x3cc device_probe_and_attach(c0ea2000,c0404c4c,c03f9030,4eb000,c0eadb00) at device_probe_and_attach+0x9a isa_probe_children(c0ea2980,c04e6ff8,c01b1f74,0,4e4c00) at isa_probe_children+0x143 configure(0,4e4c00,4e4000,0,c01277d2) at configure+0x39 mi_startup() at mi_startup+0x68 begin() at begin+0x29 db> panic panic: from debugger Debugger("panic") Stopped at _mtx_lock_sleep+0x29a: movl 0x1a0(%edx),%eax Szilveszter Adam wrote: > > Hello folks, > > I have tried it with today's -CURRENT, and as soon as I try to boot a > kernel with the options (this has occured also earlier but wanted to make > sure that I try today's sources first) > > device midi > device seq > > (my sound card is a ISAPnP SB 64 AWE) > > I use device sbc too. > > the kernel still panics with Fatal Trap 12. I have Seigo Tanimura's > fixes, and yet this still happens. I do not have a serial console, so here > a short trace output transcribed: > > _mtx_lock_sleep > mpu_uartmode > mpu_attach > mprobe_attach > device_probe_and_attach > bus_generic_attach > sbc_attach > device_probe_and_attach > isa_probe_children > configure > mi_startup() > begin() > > At the point of panic not even the swap partition is available yet so the > machine does not dump. How can I force it? > > I would like to offer any and all help to anyone wanting to debug this; I > can reproduce the problem at will and luckily no FS corruption occurs > because the panic is so early on boot.:-) > > Of course, as soon as I omit the midi part, the kernel boots fine, and the > sound card works too. > -- > Regards: > > Szilveszter ADAM > Szeged University > Szeged Hungary > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 20:14:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from lily.sanpei.org (u1027.seaple.icc.ne.jp [210.170.9.27]) by hub.freebsd.org (Postfix) with ESMTP id 068D437B719 for ; Sun, 25 Mar 2001 20:14:10 -0800 (PST) (envelope-from sanpei@sanpei.org) Received: from lavender.sanpei.org (lavender-cherry.sanpei.org [192.168.7.1]) by lily.sanpei.org (8.9.3+3.2W/3.7W) with ESMTP id NAA63883; Mon, 26 Mar 2001 13:13:57 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by lavender.sanpei.org (8.11.2/3.7W) with ESMTP id f2Q4DuK29850; Mon, 26 Mar 2001 13:13:56 +0900 (JST) Date: Mon, 26 Mar 2001 13:13:55 +0900 (JST) Message-Id: <20010326.131355.70225941.sanpei@sanpei.org> Subject: use md device in /etc/rc.diskless{1,2} To: current@FreeBSD.org From: MIHIRA Sanpei Yoshiro X-Mailer: Mew version 1.95b115 on Emacs 21.0 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I have diskless-PC which was used /boot/pxeboot. But latest FreeBSD-current is output below messages and some fsck_nfs problem. WARNING: MFS is being phased out in preference for md devices WARNING: Please see mdconfig(8) for details WARNING: Continuing in 15 seconds Does someone already rewrite and use mdconfig in /etc/rc.diskless1 and diskless2? Cheers. --- MIHIRA, Sanpei Yoshiro Yokohama, Japan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 20:47:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id EE25D37B71D for ; Sun, 25 Mar 2001 20:47:10 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 2255 invoked by uid 666); 26 Mar 2001 04:48:52 -0000 Received: from i079-150.nv.iinet.net.au (HELO elischer.org) (203.59.79.150) by mail.m.iinet.net.au with SMTP; 26 Mar 2001 04:48:52 -0000 Message-ID: <3ABEC9C7.F6C759CA@elischer.org> Date: Sun, 25 Mar 2001 20:47:04 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: current@freebsd.org Subject: si_drv1 used already? Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The vmware vmmon driver used to use si_drv1 but suddenly it appears to have already been used (at least it is no-longer non-zero). It would fail to open because it checks it before using it during open. Changing the driver to use si_drv2 fixes the problem. Since drv1 is defined as 'for the use of the driver' I am not sure that it is wrong for the driver to use it. In fact many other drivers do use it without testing it. I see it's used in freedev() and make_dev_alias(). Is it safe for the driver to use it even if it is non-zero? -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 22: 7: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 8BA6E37B71A for ; Sun, 25 Mar 2001 22:07:03 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f2Q66w356899; Mon, 26 Mar 2001 08:06:58 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Julian Elischer Cc: current@FreeBSD.ORG Subject: Re: si_drv1 used already? In-Reply-To: Your message of "Sun, 25 Mar 2001 20:47:04 -0800." <3ABEC9C7.F6C759CA@elischer.org> Date: Mon, 26 Mar 2001 08:06:58 +0200 Message-ID: <56897.985586818@critter> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3ABEC9C7.F6C759CA@elischer.org>, Julian Elischer writes: > >The vmware vmmon driver used to use si_drv1 but suddenly it appears to >have already been used (at least it is no-longer non-zero). >It would fail to open because it checks it before using it during open. >Changing the driver to use si_drv2 fixes the problem. > >Since drv1 is defined as 'for the use of the driver' >I am not sure that it is wrong for the driver to use it. >In fact many other drivers do use it without testing it. > >I see it's used in freedev() and make_dev_alias(). >Is it safe for the driver to use it even if it is non-zero? I think you need to give me a bit more details before I an answer meaningfully... Are you sure that the value is not from previous use by vmmon ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 22:21:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id F048E37B719 for ; Sun, 25 Mar 2001 22:21:07 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 4185 invoked by uid 666); 26 Mar 2001 06:22:48 -0000 Received: from i079-150.nv.iinet.net.au (HELO elischer.org) (203.59.79.150) by mail.m.iinet.net.au with SMTP; 26 Mar 2001 06:22:48 -0000 Message-ID: <3ABEDFCB.4FDD0B47@elischer.org> Date: Sun, 25 Mar 2001 22:20:59 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Poul-Henning Kamp Cc: current@FreeBSD.ORG Subject: Re: si_drv1 used already? References: <56897.985586818@critter> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > > In message <3ABEC9C7.F6C759CA@elischer.org>, Julian Elischer writes: > > > >The vmware vmmon driver used to use si_drv1 but suddenly it appears to > >have already been used (at least it is no-longer non-zero). > >It would fail to open because it checks it before using it during open. > >Changing the driver to use si_drv2 fixes the problem. > > > >Since drv1 is defined as 'for the use of the driver' > >I am not sure that it is wrong for the driver to use it. > >In fact many other drivers do use it without testing it. > > > >I see it's used in freedev() and make_dev_alias(). > >Is it safe for the driver to use it even if it is non-zero? > > I think you need to give me a bit more details before I an answer > meaningfully... > > Are you sure that the value is not from previous use by vmmon ? no I am not sure.. I will test further. the sequence: 1/ failed to open 2/ unload module 3/ load newly compiled module with printfs 4/ discover si_drv1 in use 5/ unload, load new version using si_drv2 6/ succeed. it is possible that the recompile fixed another problem that had caused another abort, but had left si_drv1 non-zero. I'll need to recompile and reboot to confirm. > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 22:36:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id E430037B71B for ; Sun, 25 Mar 2001 22:36:38 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f2Q6ab357215; Mon, 26 Mar 2001 08:36:37 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Julian Elischer Cc: current@FreeBSD.ORG Subject: Re: si_drv1 used already? In-Reply-To: Your message of "Sun, 25 Mar 2001 22:20:59 -0800." <3ABEDFCB.4FDD0B47@elischer.org> Date: Mon, 26 Mar 2001 08:36:37 +0200 Message-ID: <57213.985588597@critter> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3ABEDFCB.4FDD0B47@elischer.org>, Julian Elischer writes: >Poul-Henning Kamp wrote: >> >> In message <3ABEC9C7.F6C759CA@elischer.org>, Julian Elischer writes: >> > >> >The vmware vmmon driver used to use si_drv1 but suddenly it appears to >> >have already been used (at least it is no-longer non-zero). >> >It would fail to open because it checks it before using it during open. >> >Changing the driver to use si_drv2 fixes the problem. >> > >> >Since drv1 is defined as 'for the use of the driver' >> >I am not sure that it is wrong for the driver to use it. >> >In fact many other drivers do use it without testing it. >> > >> >I see it's used in freedev() and make_dev_alias(). >> >Is it safe for the driver to use it even if it is non-zero? >> >> I think you need to give me a bit more details before I an answer >> meaningfully... >> >> Are you sure that the value is not from previous use by vmmon ? > >no I am not sure.. I will test further. >the sequence: >1/ failed to open >2/ unload module Make sure vmmon calles destroy_dev() on all dev_t's created with make_dev() or make_dev_alias() when unloaded. This process is not automatic, and I am not sure we can safely make it automatic. We may be able to make it easier though. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 22:44: 0 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 2664A37B71A; Sun, 25 Mar 2001 22:43:52 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2Q6g2o97683; Mon, 26 Mar 2001 09:42:02 +0300 (EEST) (envelope-from ru) Date: Mon, 26 Mar 2001 09:42:02 +0300 From: Ruslan Ermilov To: Brian Somers Cc: "Andrey A. Chernov" , current@FreeBSD.ORG, brian@FreeBSD.ORG Subject: Re: Recent interface/routing changes breaks on-demand PPP Message-ID: <20010326094202.A97610@sunbay.com> Mail-Followup-To: Brian Somers , "Andrey A. Chernov" , current@FreeBSD.ORG, brian@FreeBSD.ORG References: <200103250146.f2P1kMf65048@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103250146.f2P1kMf65048@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Sun, Mar 25, 2001 at 02:46:22AM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 25, 2001 at 02:46:22AM +0100, Brian Somers wrote: > > > On Fri, Mar 23, 2001 at 23:11:56 +0000, Brian Somers wrote: > > > > 1. Ppp is in -auto mode (or a ``set mode auto'' has been done). > > > > Here, ppp configures the interface as soon as it sees the ``set > > > > ifaddr'' line and never undoes that configuration. An ``add'' > > > > with a fixed IP number would never have worked if it's before the > > > > ``set ifaddr''. If it's after the ``set ifaddr'', nothing should > > > > ever remove it (as the interface will stay configured). > > > > > > > > 2. Ppp is not in -auto mode. Here, ppp won't assign the interface > > > > address 'till IPCP is up. Any attempt to ``add'' a route with a > > > > static IP number in ppp.conf should fail. > > > > > > > > So, the recent routing changes shouldn't have made a difference. > > > > > > > > Anyone know what I'm missing ? Andre, what does your ppp.conf look > > > > like and how are you running ppp ? > > > > > > ppp in -auto mode, "add" is after "set ifaddr" > > > > In which case your interface should stay configured despite the link > > coming down and your route should *not* be deleted. > > > > I'll see if I can reproduce this here (I need to upgrade a machine > > first). > > This was happening because ppp was deleting then re-adding the > interface address when IPCP came up, causing the new routing code to > nuke the static route. I've added an optimisation to stop this from > happening, so your configuration should work ok again with > src/usr.sbin/ppp/iface.c 1.17. > You mean, ppp(8) does not do this now if negotiated address does not change? -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 23:48:21 2001 Delivered-To: freebsd-current@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id EFA3437B719; Sun, 25 Mar 2001 23:48:18 -0800 (PST) (envelope-from DougB@DougBarton.net) Received: from DougBarton.net (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id XAA54414; Sun, 25 Mar 2001 23:48:11 -0800 (PST) (envelope-from DougB@DougBarton.net) Message-ID: <3ABEF43A.D4DA1929@DougBarton.net> Date: Sun, 25 Mar 2001 23:48:10 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Greg Lehey Cc: "David O'Brien" , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind References: <20010321104438.A94096@dragon.nuxi.com> <20010326090306.D40349@wantadilla.lemis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > > On Wednesday, 21 March 2001 at 10:44:38 -0800, David O'Brien wrote: > > The Portmapper binary has been renamed from `portmap' to `rpcbind'. > > Why? So we can be more like sysV -- Perhaps the greatest damage the American system of education has done to its children is to teach them that their opinions are relevant simply because they are their opinions. Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 25 23:54:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 5753F37B719; Sun, 25 Mar 2001 23:54:16 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 2F20B6A918; Mon, 26 Mar 2001 17:24:14 +0930 (CST) Date: Mon, 26 Mar 2001 17:24:14 +0930 From: Greg Lehey To: Doug Barton Cc: David O'Brien , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind Message-ID: <20010326172414.V40349@wantadilla.lemis.com> References: <20010321104438.A94096@dragon.nuxi.com> <20010326090306.D40349@wantadilla.lemis.com> <3ABEF43A.D4DA1929@DougBarton.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3ABEF43A.D4DA1929@DougBarton.net>; from DougB@DougBarton.net on Sun, Mar 25, 2001 at 11:48:10PM -0800 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 25 March 2001 at 23:48:10 -0800, Doug Barton wrote: > Greg Lehey wrote: >> >> On Wednesday, 21 March 2001 at 10:44:38 -0800, David O'Brien wrote: >>> The Portmapper binary has been renamed from `portmap' to `rpcbind'. >> >> Why? > > So we can be more like sysV This is good? Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 0:19: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from areilly.bpc-users.org (CPE-144-132-234-126.nsw.bigpond.net.au [144.132.234.126]) by hub.freebsd.org (Postfix) with SMTP id 3408737B719 for ; Mon, 26 Mar 2001 00:19:05 -0800 (PST) (envelope-from areilly@bigpond.net.au) Received: (qmail 76613 invoked by uid 1000); 26 Mar 2001 08:19:06 -0000 From: "Andrew Reilly" Date: Mon, 26 Mar 2001 18:19:06 +1000 To: Greg Lehey Cc: Doug Barton , David O'Brien , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind Message-ID: <20010326181905.B75840@gurney.reilly.home> References: <20010321104438.A94096@dragon.nuxi.com> <20010326090306.D40349@wantadilla.lemis.com> <3ABEF43A.D4DA1929@DougBarton.net> <20010326172414.V40349@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010326172414.V40349@wantadilla.lemis.com>; from grog@lemis.com on Mon, Mar 26, 2001 at 05:24:14PM +0930 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 26, 2001 at 05:24:14PM +0930, Greg Lehey wrote: > On Sunday, 25 March 2001 at 23:48:10 -0800, Doug Barton wrote: > > Greg Lehey wrote: > >> > >> On Wednesday, 21 March 2001 at 10:44:38 -0800, David O'Brien wrote: > >>> The Portmapper binary has been renamed from `portmap' to `rpcbind'. > >> > >> Why? > > > > So we can be more like sysV > > This is good? If it's the best path to NFS over IPv6, which seems to be the issue, then sure it's good. Play the ball, not the man. -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 0:24:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id BCFA437B718; Mon, 26 Mar 2001 00:24:20 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 6F3086AB60; Mon, 26 Mar 2001 17:54:19 +0930 (CST) Date: Mon, 26 Mar 2001 17:54:19 +0930 From: Greg Lehey To: Andrew Reilly Cc: Doug Barton , David O'Brien , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind Message-ID: <20010326175419.X40349@wantadilla.lemis.com> References: <20010321104438.A94096@dragon.nuxi.com> <20010326090306.D40349@wantadilla.lemis.com> <3ABEF43A.D4DA1929@DougBarton.net> <20010326172414.V40349@wantadilla.lemis.com> <20010326181905.B75840@gurney.reilly.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010326181905.B75840@gurney.reilly.home>; from areilly@bigpond.net.au on Mon, Mar 26, 2001 at 06:19:06PM +1000 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 26 March 2001 at 18:19:06 +1000, Andrew Reilly wrote: > On Mon, Mar 26, 2001 at 05:24:14PM +0930, Greg Lehey wrote: >> On Sunday, 25 March 2001 at 23:48:10 -0800, Doug Barton wrote: >>> Greg Lehey wrote: >>>> >>>> On Wednesday, 21 March 2001 at 10:44:38 -0800, David O'Brien wrote: >>>>> The Portmapper binary has been renamed from `portmap' to `rpcbind'. >>>> >>>> Why? >>> >>> So we can be more like sysV >> >> This is good? > > If it's the best path to NFS over IPv6, which seems to be the > issue, then sure it's good. > > Play the ball, not the man. I don't have an objection to the change, I was just asking. And "because System V does it this way" has never been a good answer for us. And no, I'm not picking on Doug, just making a point. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 0:27:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id C739837B718; Mon, 26 Mar 2001 00:27:25 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f2Q8ROT28737; Mon, 26 Mar 2001 09:27:24 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f2Q8Tjv01290; Mon, 26 Mar 2001 09:29:45 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200103260829.f2Q8Tjv01290@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Brian Somers , "Andrey A. Chernov" , current@FreeBSD.ORG, brian@FreeBSD.ORG Subject: Re: Recent interface/routing changes breaks on-demand PPP In-Reply-To: Message from Ruslan Ermilov of "Mon, 26 Mar 2001 09:42:02 +0300." <20010326094202.A97610@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 26 Mar 2001 09:29:45 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Sun, Mar 25, 2001 at 02:46:22AM +0100, Brian Somers wrote: > > > > On Fri, Mar 23, 2001 at 23:11:56 +0000, Brian Somers wrote: > > > > > 1. Ppp is in -auto mode (or a ``set mode auto'' has been done). > > > > > Here, ppp configures the interface as soon as it sees the ``set > > > > > ifaddr'' line and never undoes that configuration. An ``add'' > > > > > with a fixed IP number would never have worked if it's before the > > > > > ``set ifaddr''. If it's after the ``set ifaddr'', nothing should > > > > > ever remove it (as the interface will stay configured). > > > > > > > > > > 2. Ppp is not in -auto mode. Here, ppp won't assign the interface > > > > > address 'till IPCP is up. Any attempt to ``add'' a route with a > > > > > static IP number in ppp.conf should fail. > > > > > > > > > > So, the recent routing changes shouldn't have made a difference. > > > > > > > > > > Anyone know what I'm missing ? Andre, what does your ppp.conf look > > > > > like and how are you running ppp ? > > > > > > > > ppp in -auto mode, "add" is after "set ifaddr" > > > > > > In which case your interface should stay configured despite the link > > > coming down and your route should *not* be deleted. > > > > > > I'll see if I can reproduce this here (I need to upgrade a machine > > > first). > > > > This was happening because ppp was deleting then re-adding the > > interface address when IPCP came up, causing the new routing code to > > nuke the static route. I've added an optimisation to stop this from > > happening, so your configuration should work ok again with > > src/usr.sbin/ppp/iface.c 1.17. > > > You mean, ppp(8) does not do this now if negotiated address does not change? Yep. > -- > Ruslan Ermilov Oracle Developer/DBA, > ru@sunbay.com Sunbay Software AG, > ru@FreeBSD.org FreeBSD committer, > +380.652.512.251 Simferopol, Ukraine > > http://www.FreeBSD.org The Power To Serve > http://www.oracle.com Enabling The Information Age -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 1: 5:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id EADF937B71F for ; Mon, 26 Mar 2001 01:05:08 -0800 (PST) (envelope-from krepel@fokus.gmd.de) Received: from fokus.gmd.de (quant [193.175.133.183]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id LAA04720; Mon, 26 Mar 2001 11:04:54 +0200 (MET DST) Message-ID: <3ABF0636.F4D105DB@fokus.gmd.de> Date: Mon, 26 Mar 2001 11:04:54 +0200 From: Falco Krepel Organization: GMD FOKUS - CATS Group X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en, de-DE MIME-Version: 1.0 To: MIHIRA Sanpei Yoshiro Cc: current@FreeBSD.ORG Subject: Re: use md device in /etc/rc.diskless{1,2} References: <20010326.131355.70225941.sanpei@sanpei.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I sent a patch request: http://www.freebsd.org/cgi/query-pr.cgi?pr=25730 -- Falco Krepel Phone: +49-(0)30 - 34 63 - 7 276 GMD-FOKUS Fax: +49-(0)30 - 34 63 - 8 276 Kaiserin-Augusta-Allee 31 e-mail: krepel@fokus.gmd.de 10589 Berlin WWW: http://www.fokus.gmd.de/usr/krepel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 2:33: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 9C60B37B719 for ; Mon, 26 Mar 2001 02:33:05 -0800 (PST) (envelope-from krepel@fokus.gmd.de) Received: from fokus.gmd.de (quant [193.175.133.183]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id MAA15545; Mon, 26 Mar 2001 12:32:41 +0200 (MET DST) Message-ID: <3ABF1AC9.E734194@fokus.gmd.de> Date: Mon, 26 Mar 2001 12:32:41 +0200 From: Falco Krepel Organization: GMD FOKUS - CATS Group X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en, de-DE MIME-Version: 1.0 To: MIHIRA Sanpei Yoshiro Cc: freebsd-current@FreeBSD.ORG Subject: Re: use md device in /etc/rc.diskless{1,2} References: <20010326.131355.70225941.sanpei@sanpei.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have sent a patch request: http://www.freebsd.org/cgi/query-pr.cgi?pr=25730 -- Falco Krepel Phone: +49-(0)30 - 34 63 - 7 276 GMD-FOKUS Fax: +49-(0)30 - 34 63 - 8 276 Kaiserin-Augusta-Allee 31 e-mail: krepel@fokus.gmd.de 10589 Berlin WWW: http://www.fokus.gmd.de/usr/krepel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 3: 9:18 2001 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 10F3237B719 for ; Mon, 26 Mar 2001 03:09:09 -0800 (PST) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.2/8.11.2) with ESMTP id f2Q6qC600975; Sun, 25 Mar 2001 22:52:30 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200103260652.f2Q6qC600975@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Warner Losh Cc: current@freebsd.org Subject: Re: newcard/cardbus instabilities In-reply-to: Your message of "Sun, 25 Mar 2001 14:26:33 MST." <200103252126.f2PLQXZ71514@billy-club.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 25 Mar 2001 22:52:11 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In message <200103230046.f2N0kkD00621@mass.dis.org> Mike Smith writes: > : This looks OK, though you might want to disable the pccard support, since > : it's known to be broken right now. > > pccard support is not broken right now. If there's a "known" issue, I > sure don't know about it. Oh, sorry, I'm obviously out of date. The problem that Johny was seeing was that 'device pccard' causes broken interrupt delivery for cardbus cards. If that's meant to work, I can see if I can reproduce it locally. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 3: 9:30 2001 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 6052537B71E for ; Mon, 26 Mar 2001 03:09:08 -0800 (PST) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.2/8.11.2) with ESMTP id f2Q78D601140; Sun, 25 Mar 2001 23:08:25 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200103260708.f2Q78D601140@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: MIHIRA Sanpei Yoshiro Cc: current@freebsd.org Subject: Re: use md device in /etc/rc.diskless{1,2} In-reply-to: Your message of "Mon, 26 Mar 2001 13:13:55 +0900." <20010326.131355.70225941.sanpei@sanpei.org> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_-19347581240" Date: Sun, 25 Mar 2001 23:08:06 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multipart MIME message. --==_Exmh_-19347581240 Content-Type: text/plain; charset=us-ascii > Hi. > > I have diskless-PC which was used /boot/pxeboot. But latest > FreeBSD-current is output below messages and some fsck_nfs problem. > > WARNING: MFS is being phased out in preference for md devices > WARNING: Please see mdconfig(8) for details > WARNING: Continuing in 15 seconds > > Does someone already rewrite and use mdconfig in /etc/rc.diskless1 > and diskless2? Yes, please find attached; if someone wants to clean these up and commit them, I'd be greatly indebted. You also need to apply this diff to /etc/rc (warning, cut-n-paste damage): --- rc Sun Dec 17 00:24:49 2000 +++ /local0/pxeroot5/etc/rc Tue Jan 23 17:52:20 2001 @@ -201,7 +201,7 @@ # Run custom disk mounting function here # if [ -n "${diskless_mount}" -a -r "${diskless_mount}" ]; then - sh ${diskless_mount} + . ${diskless_mount} fi --==_Exmh_-19347581240 Content-Type: text/plain ; name="rc.diskless2"; charset=us-ascii Content-Description: rc.diskless2 Content-Disposition: attachment; filename="rc.diskless2" # $FreeBSD: src/etc/rc.diskless2,v 1.6 2000/04/27 08:43:48 sheldonh Exp $ # # rc.diskless2 # # Build filesystems for diskless operation, potentially more complicated # than can be handled by /etc/fstab. # # Reconstruct /var mkmd ${diskless_var_size} /var mtree -p /var -eU -f /etc/mtree/BSD.var.dist 2>&1 >/dev/null touch /var/log/messages # Copy the templated /dev into a locally-writable version mkmd ${diskless_dev_size} /mnt cp -Rp /dev/* /mnt umount /mnt mount $md_filesystem /dev # Build a small /tmp mkmd ${diskless_tmp_size} /tmp --==_Exmh_-19347581240 Content-Type: text/plain ; name="rc.diskless1"; charset=us-ascii Content-Description: rc.diskless1 Content-Disposition: attachment; filename="rc.diskless1" # $FreeBSD: src/etc/rc.diskless1,v 1.5 2000/01/06 18:17:38 luigi Exp $ # # /etc/rc.diskless1 - general BOOTP startup # # BOOTP has mounted / for us. Assume a read-only mount. We must then # - figure out our IP by querying the interface # - fill /mnt (writable) with files from /etc, and then update # per-machine files from /conf/*/ where * is the IP of the host, # the IP of the subnet, "default", or nothing. # - mount /mnt over /etc so we can see the new files. # # WARNING: I think you should not change /etc/rc or strange things could # happen. # # The operator is in charge of setting /conf/*/etc/* things as appropriate. # Typically rc.conf and fstab need to be changed, but possibly # also other files such as inetd.conf etc. # chkerr: # # Routine to check for error # # checks error code and drops into shell on failure. # if shell exits, terminates script as well as /etc/rc. # chkerr() { case $1 in 0) ;; *) echo "$2 failed: dropping into /bin/sh" /bin/sh # RESUME ;; esac } # mkmd: # # Builds an md(4) disk of the size in $1 # Labels and newfs' it. # Mounts it on the destination in $2 # Returns the name of the created md device in md_device # Returns the name of the device containing the filesystem in md_filesystem mkmd() { md_device=`mdconfig -a -t malloc -s $1` chkerr $? "configuring md device" disklabel -rw $md_device auto chkerr $? "labelling md device" md_filesystem=/dev/$md_device"c" newfs $md_filesystem 2>&1 >/dev/null chkerr $? "making md device filesystem" mount $md_filesystem $2 chkerr $? "mounting md filesystem on $2" } # DEBUGGING # # set -v # Figure out our interface and IP. # bootp_ifc="" bootp_ipa="" bootp_ipbca="" iflist=`ifconfig -l` for i in ${iflist} ; do set `ifconfig ${i}` while [ $# -ge 1 ] ; do if [ "${bootp_ifc}" = "" -a "$1" = "inet" ] ; then bootp_ifc=${i} ; bootp_ipa=${2} ; shift fi if [ "${bootp_ipbca}" = "" -a "$1" = "broadcast" ] ; then bootp_ipbca=$2; shift fi shift done if [ "${bootp_ifc}" != "" ] ; then break fi done echo "Interface ${bootp_ifc} IP-Address ${bootp_ipa} Broadcast ${bootp_ipbca}" # Build a writable copy of /etc from the initial /etc and files obtained # from /conf//etc or /conf//etc or /conf/etc. # mkmd 4m /mnt cp -Rp /etc/* /mnt chkerr $? "copy /etc template" if [ -d /conf/${bootp_ipa} ] ; then cp -Rp /conf/${bootp_ipa}/etc/* /mnt elif [ -d /conf/${bootp_ipbca} ] ; then cp -Rp /conf/${bootp_ipbca}/etc/* /mnt else cp -Rp /conf/default/etc/* /mnt fi # Make the new filesystem available as /etc # umount /mnt mount $md_filesystem /etc # Tell /etc/rc to run the specified script after # it does its mounts but before it does anything # else. # # This script is responsible for setting up the # diskless mount environment. This can be # overriden by /conf/ME/rc.conf.local if, for # example, you do not want to run the standard # system /etc/rc.diskless2 diskless_mount="/etc/rc.diskless2" --==_Exmh_-19347581240 Content-Type: text/plain; charset=us-ascii ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E --==_Exmh_-19347581240-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 6:35:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from sol.cc.u-szeged.hu (sol.cc.u-szeged.hu [160.114.8.24]) by hub.freebsd.org (Postfix) with ESMTP id 5A4B737B719 for ; Mon, 26 Mar 2001 06:35:12 -0800 (PST) (envelope-from sziszi@petra.hos.u-szeged.hu) Received: from petra.hos.u-szeged.hu by sol.cc.u-szeged.hu (8.9.3+Sun/SMI-SVR4) id QAA15540; Mon, 26 Mar 2001 16:35:04 +0200 (MEST) Received: from sziszi by petra.hos.u-szeged.hu with local (Exim 3.12 #1 (Debian)) id 14hY5I-00046d-00; Mon, 26 Mar 2001 16:35:04 +0200 Date: Mon, 26 Mar 2001 16:35:04 +0200 From: Szilveszter Adam To: Jim Bloom Cc: freebsd-current@freebsd.org Subject: Re: midi causes panic on boot? (update) Message-ID: <20010326163504.B13650@petra.hos.u-szeged.hu> Mail-Followup-To: Szilveszter Adam , Jim Bloom , freebsd-current@freebsd.org References: <20010312163850.A28997@petra.hos.u-szeged.hu> <20010314004953.B549@zippy.mybox.zip> <200103140904.f2E945607519@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> <20010325190155.A1795@petra.hos.u-szeged.hu> <3ABE8B34.B192B824@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3ABE8B34.B192B824@acm.org>; from bloom@acm.org on Sun, Mar 25, 2001 at 07:20:04PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Jim, On Sun, Mar 25, 2001 at 07:20:04PM -0500, Jim Bloom wrote: > I get a slightly different backtrace, but was able to use my palm pilot as the > serial console. I have had this same problem for quit a while (about a month). > I suspect a locking issue related to Seigo Tanimura's commit on Feb 25. My last > cvsup was within the past 24 hours and the kernel was built in a clean > directory. Yes, same experience here. But I unfortunately did not have a serial console handy. Tanimura's commits on March 14th were supposed to help the situation, but they appearently haven't...:-( > I can try to get more information if necessary. I am still trying to figure out how to get more. I am not good with ddb, and since the machine will not dump, gdb is not usable locally. (And again, no serial connection handy:-( 'show witness' and 'show mutex' come to mind as two more things I will try in ddb. > trace > _mtx_lock_sleep(c0ecda08,0,c036d471,268) at _mtx_lock_sleep+0x29a > mpu_uartmode(c0ecda00) at mpu_uartmode+0x63 > mpu_attach(c0ebd100,c0ebd100,c0ebd100,c0e67080,c04e675c) at mpu_attach+0x25 > mpusbc_attach(c0ebd100,c0ebd100,c0ea5ac0,c036e926,1) at mpusbc_attach+0x19 > device_probe_and_attach(c0ebd100) at device_probe_and_attach+0x9a > bus_generic_attach(c0ea2000,c0ebd080,c0ea5ac0,c0ea2000,c036e935) at > bus_generic_attach+0x16 > sbc_attach(c0ea2000,c0eadb00,c0ea2000,7,0) at sbc_attach+0x3cc > device_probe_and_attach(c0ea2000,c0404c4c,c03f9030,4eb000,c0eadb00) at > device_probe_and_attach+0x9a > isa_probe_children(c0ea2980,c04e6ff8,c01b1f74,0,4e4c00) at > isa_probe_children+0x143 > configure(0,4e4c00,4e4000,0,c01277d2) at configure+0x39 > mi_startup() at mi_startup+0x68 > begin() at begin+0x29 Yes, I think we are looking at the same thing. -- Regards: Szilveszter ADAM Szeged University Szeged Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 7: 4: 2 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id A7D0437B71B; Mon, 26 Mar 2001 07:03:51 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2QF3c548238; Mon, 26 Mar 2001 18:03:38 +0300 (EEST) (envelope-from ru) Date: Mon, 26 Mar 2001 18:03:38 +0300 From: Ruslan Ermilov To: current@FreeBSD.org Cc: committers@FreeBSD.org Subject: ** HEADS UP **: bsd.man.mk changes Message-ID: <20010326180338.A43557@sunbay.com> Mail-Followup-To: current@FreeBSD.org, committers@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! The syntax for declaring manual pages has been changed. The manual pages to be installed can now be listed in a single MAN variable. The old MAN[1-9] syntax is still supported, for backwards compatibility. The plan is to MFC this feature after 4.3 release, and start the deorbit sequence for MAN[1-9] syntax. Developers, please make sure all new Makefiles use the new syntax. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 8:44:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 3EFB737B719; Mon, 26 Mar 2001 08:44:37 -0800 (PST) (envelope-from krepel@fokus.gmd.de) Received: from fokus.gmd.de (quant [193.175.133.183]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id SAA03305; Mon, 26 Mar 2001 18:44:36 +0200 (MET DST) Message-ID: <3ABF71F4.593D6C48@fokus.gmd.de> Date: Mon, 26 Mar 2001 18:44:36 +0200 From: Falco Krepel Organization: GMD FOKUS - CATS Group X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en, de-DE MIME-Version: 1.0 To: Mike Smith Cc: freebsd-current@FreeBSD.ORG Subject: Re: use md device in /etc/rc.diskless{1,2} References: <200103260708.f2Q78D601140@mass.dis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a fine solution. I hope it's OK when I add this to my patch request. But I have two remarks. 1. For example you could use the diskless boot procedure for smart clients with a small disk used as swap space. So I think it is better to use swap instead of malloc for var,dev, and tmp. This could be done with a variable (e.g. diskless_swap_enable). What do think about it? 2. Building a dev dir is obsolete when you use DEVFS. So you should distinguish between these two situations. I don't know if you could use one of the "vfs.devfs.*" variables to determine the usage of DEVFS. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 12:37:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by hub.freebsd.org (Postfix) with ESMTP id 9D31D37B71A for ; Mon, 26 Mar 2001 12:37:21 -0800 (PST) (envelope-from bartequi@neomedia.it) Received: (from httpd@localhost) by aragorn.neomedia.it (8.10.1/8.10.1) id f2QKbFM03675 for freebsd-current@freebsd.org; Mon, 26 Mar 2001 22:37:15 +0200 (CEST) To: freebsd-current@freebsd.org Subject: buildworld dies Message-ID: <985639034.3abfa87aa29a6@webmail.neomedia.it> Date: Mon, 26 Mar 2001 22:37:14 +0200 (CEST) From: Salvo Bartolotta MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.4-cvs X-WebMail-Company: Neomedia s.a.s. X-Originating-IP: 62.98.170.22 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear FreeBSD'ers with sources as of today, ~ 15:40 GMT (from the dutch mirror), my buildworld dies thus: ===> sbin/adjkerntz^M cc -O -pipe -march=pentiumpro -Wall -I/usr/obj/usr/src/i386/usr/include -c /usr/src/sbin/adj kerntz/adjkerntz.c^M cc -O -pipe -march=pentiumpro -Wall -I/usr/obj/usr/src/i386/usr/include -static -o adjkernt z adjkerntz.o ^M make: don't know how to make adjkerntz.1. Stop^M *** Error code 2^M ^M Stop in /usr/src/sbin.^M *** Error code 1^M ^M Stop in /usr/src.^M *** Error code 1^M ^M Stop in /usr/src.^M *** Error code 1^M ^M Stop in /usr/src.^M HTH Best regards/mes salutations les meilleures/mit freundlichen Gruessen, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 13:28:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-89.dsl.lsan03.pacbell.net [63.207.60.89]) by hub.freebsd.org (Postfix) with ESMTP id 6764E37B71A; Mon, 26 Mar 2001 13:28:09 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1BB0B66F34; Mon, 26 Mar 2001 13:28:09 -0800 (PST) Date: Mon, 26 Mar 2001 13:28:09 -0800 From: Kris Kennaway To: current@FreeBSD.org, committers@FreeBSD.org Subject: Re: ** HEADS UP **: bsd.man.mk changes Message-ID: <20010326132808.C7234@xor.obsecurity.org> References: <20010326180338.A43557@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="UFHRwCdBEJvubb2X" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010326180338.A43557@sunbay.com>; from ru@FreeBSD.org on Mon, Mar 26, 2001 at 06:03:38PM +0300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --UFHRwCdBEJvubb2X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 26, 2001 at 06:03:38PM +0300, Ruslan Ermilov wrote: > Hi! >=20 > The syntax for declaring manual pages has been changed. >=20 > The manual pages to be installed can now be listed in a > single MAN variable. The old MAN[1-9] syntax is still > supported, for backwards compatibility. >=20 > The plan is to MFC this feature after 4.3 release, and > start the deorbit sequence for MAN[1-9] syntax. >=20 > Developers, please make sure all new Makefiles use the > new syntax. I welcome the changes, but don't think the old version should be removed: third party software uses it, and it would not serve any purpose to break them. Kris --UFHRwCdBEJvubb2X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6v7RoWry0BWjoQKURAm9bAJ4vWYaHJ8FuamtXhdT6IN6laEgmXQCfT9My ZzKzQmbjv62K8xza2iYFr2I= =Moyi -----END PGP SIGNATURE----- --UFHRwCdBEJvubb2X-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 13:38:54 2001 Delivered-To: freebsd-current@freebsd.org Received: from ringworld.nanolink.com (sentinel.office1.bg [195.24.48.182]) by hub.freebsd.org (Postfix) with SMTP id 10E7B37B719 for ; Mon, 26 Mar 2001 13:38:50 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 6624 invoked by uid 1000); 26 Mar 2001 21:37:44 -0000 Date: Tue, 27 Mar 2001 00:37:44 +0300 From: Peter Pentchev To: Kris Kennaway Cc: current@FreeBSD.org, committers@FreeBSD.org Subject: Re: ** HEADS UP **: bsd.man.mk changes Message-ID: <20010327003744.A4326@ringworld.oblivion.bg> Mail-Followup-To: Kris Kennaway , current@FreeBSD.org, committers@FreeBSD.org References: <20010326180338.A43557@sunbay.com> <20010326132808.C7234@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010326132808.C7234@xor.obsecurity.org>; from kris@obsecurity.org on Mon, Mar 26, 2001 at 01:28:09PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 26, 2001 at 01:28:09PM -0800, Kris Kennaway wrote: > On Mon, Mar 26, 2001 at 06:03:38PM +0300, Ruslan Ermilov wrote: > > Hi! > > > > The syntax for declaring manual pages has been changed. > > > > The manual pages to be installed can now be listed in a > > single MAN variable. The old MAN[1-9] syntax is still > > supported, for backwards compatibility. > > > > The plan is to MFC this feature after 4.3 release, and > > start the deorbit sequence for MAN[1-9] syntax. > > > > Developers, please make sure all new Makefiles use the > > new syntax. > > I welcome the changes, but don't think the old version should be > removed: third party software uses it, and it would not serve any > purpose to break them. I'm definitely with Kris on this one; and I know of at least two other people, who are using the bsd.*.mk files (albeit a little modified), in their work. G'luck, Peter -- If wishes were fishes, the antecedent of this conditional would be true. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 13:46:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from ccr.org (servo.ccr.org [198.3.0.2]) by hub.freebsd.org (Postfix) with ESMTP id 9F20737B718 for ; Mon, 26 Mar 2001 13:46:46 -0800 (PST) (envelope-from mo@ccr.org) Received: (from mo@localhost) by ccr.org (8.9.2/8.11.0) id QAA59092 for current@freebsd.org; Mon, 26 Mar 2001 16:46:45 -0500 (EST) (envelope-from mo) Date: Mon, 26 Mar 2001 16:46:45 -0500 (EST) From: "Mike O'Dell" Message-Id: <200103262146.QAA59092@ccr.org> To: current@freebsd.org Subject: NFS over IPv6 is a reason???? Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG gee - being like SysV is more comprehensible than worrying about IPv6 -mo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 13:51: 1 2001 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-89.dsl.lsan03.pacbell.net [63.207.60.89]) by hub.freebsd.org (Postfix) with ESMTP id D9A2337B71A for ; Mon, 26 Mar 2001 13:50:58 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E013A66F34; Mon, 26 Mar 2001 13:50:57 -0800 (PST) Date: Mon, 26 Mar 2001 13:50:57 -0800 From: Kris Kennaway To: Mike O'Dell Cc: current@freebsd.org Subject: Re: NFS over IPv6 is a reason???? Message-ID: <20010326135057.A7811@xor.obsecurity.org> References: <200103262146.QAA59092@ccr.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103262146.QAA59092@ccr.org>; from mo@ccr.org on Mon, Mar 26, 2001 at 04:46:45PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 26, 2001 at 04:46:45PM -0500, Mike O'Dell wrote: >=20 > gee - being like SysV is more comprehensible than worrying about IPv6 Perhaps if you're living in 1994 :-) Kris --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6v7nBWry0BWjoQKURAiVXAKD7Gu1/yMIMQlI5My9xD8YdNnLamgCdEXRQ ve1cVzV6DJV7/5VqXjNqPRo= =xD+o -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 14: 8:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 8552437B718; Mon, 26 Mar 2001 14:08:21 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.1/8.11.1) with SMTP id f2QM8Kh80230; Mon, 26 Mar 2001 17:08:20 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Mon, 26 Mar 2001 17:08:20 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Assar Westerlund Cc: jkh@freebsd.org, Daniel Eischen , current@freebsd.org Subject: Re: telnet broken with auto-negotiation of encrypt/decrypt change In-Reply-To: <5l1yronujw.fsf@assaris.sics.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It's been a couple of days since you sent this e-mail -- did this change get MFC'd as yet, or are we still waiting for approval? Just want to make sure it gets in before the release. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On 23 Mar 2001, Assar Westerlund wrote: > Robert Watson writes: > > I'm baffled as to why SRA is enabled by default. I'm fine with it being > > compiled in, but it appears to be substantially interfering with normal > > TCP operation. Either the negotiation needs to be fixed, or this feature > > needs to be disabled for 4.3-RELEASE (either at compile-time or run-time > > is fine). Note that we don't even enable Kerberos* build by default, and > > even when it is built, negotiation is relatively non-interfering for > > non-Kerberos environments. > > I think somebody enabled SRA a long time ago but since autologin was > not enabled, nobody noticed this. I've changed this in > secure/lib/libtelnet/Makefile:1.19 > > Jordan: I think we should MFC this before 4.3. Opinions? > > /assar > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 14:48: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 5829737B71D; Mon, 26 Mar 2001 14:48:00 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2QMlW939944; Mon, 26 Mar 2001 15:47:33 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103262247.f2QMlW939944@harmony.village.org> To: Peter Pentchev Subject: Re: ** HEADS UP **: bsd.man.mk changes Cc: Kris Kennaway , current@FreeBSD.org, committers@FreeBSD.org In-reply-to: Your message of "Tue, 27 Mar 2001 00:37:44 +0300." <20010327003744.A4326@ringworld.oblivion.bg> References: <20010327003744.A4326@ringworld.oblivion.bg> <20010326180338.A43557@sunbay.com> <20010326132808.C7234@xor.obsecurity.org> Date: Mon, 26 Mar 2001 15:47:32 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010327003744.A4326@ringworld.oblivion.bg> Peter Pentchev writes: : > I welcome the changes, but don't think the old version should be : > removed: third party software uses it, and it would not serve any : > purpose to break them. : : I'm definitely with Kris on this one; and I know of at least two other : people, who are using the bsd.*.mk files (albeit a little modified), : in their work. We are using them as well, but don't make heavy use of MANx. However, it would be nice if our Makefiles worked on 4.x and -current systems unchanged like they do now. they even work on 3.x systems, but our glue layer is really gross to make that happen. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 16: 5: 1 2001 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 6B15D37B71A; Mon, 26 Mar 2001 16:04:56 -0800 (PST) Subject: Fixing ypbind with TI-RPC To: current@freebsd.org Date: Mon, 26 Mar 2001 16:04:56 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20010327000456.6B15D37B71A@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok. Friday I sat down and tried to make the -m option to ypbind work correctly using the new TI-RPC code. Unfortunately, my test machine chose that day to eat itself. Even more unfortunately, it was an AMD 900Mhz Thunderbird. Today, I started working on another box and managed to get things to work, but there are some problems that still need solving. I need some input to decide how to do this. The problem is with the code in yp_ping.c. This module contains a special version of clntudp_call() which has been modified in two ways: 1) If the XDR encode routine is specified as NULL, it skips the transmit portion of clntudp_send() and jumps straight to receiving and decoding the reply. 2) When processing a reply, the routine omits the check of the transaction ID, so that the reply will be processed even if its XID doesn't match the XID of the request that was last sent. This is done so that we can send a bunch of YPPROC_DOMAIN_NONACK requests to different servers, each with a different transaction ID, then wait to see who replies first. Distinguishing the servers based on the XID gets around the case where the server is multihomed and replies on an interface other than the one where it received the original RPC. This is basically an asynchronous RPC, where the request and response are handled separately rather than in the context of a single clntudp_call(). Anyway, now that we have the TI-RPC library, the magic clntudp_a_call() routine needs to be changed to a clnt_dg_a_call(). Unfortunately, when I tried to do this, I ran into a serious problem: - The clnt_dg.c module has several module-wide lock variables which are shared between the create/call/destroy methods. Trying to set up a private call method won't work, because the lock variables are static, hence not exported from the clnt_dg.o object module. As a hack I created a separate clnt_dg.c module which I linked directly into a test ypbind binary, but this is not what I consider a proper solution. Basically, I can't do things the way I did them with the older RPC code because of the threading/mutex locks. Even building a separate clnt_dg.o module with modifications was harder than it needed to be because the clnt_dg.c code #includes special header files within the libc source (src/lib/libc/include) which aren't available if you aren't building the world. The solution I'm leaning towards at the moment is adding the necessary hacks to src/lib/libc/rpc/clnt_dg.c in such a way that they can be enabled when needed with a special CLSET flag using clnt_control(). Then I can rip out the custom call method code from yp_ping.c entirely. I'm a little reluctant to do this since I was under the impression that creating a custom method should still work, but it looks as if this problem is endemic even to the original Sun TI-RPC code, not just us. Comments? Questions? Pie? -Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 18:43:55 2001 Delivered-To: freebsd-current@freebsd.org Received: from jbloom.jbloom.org (reyim.ne.mediaone.net [24.218.251.241]) by hub.freebsd.org (Postfix) with ESMTP id 423E437B718 for ; Mon, 26 Mar 2001 18:43:51 -0800 (PST) (envelope-from bloom@jbloom.jbloom.org) Received: (from bloom@localhost) by jbloom.jbloom.org (8.11.2/8.11.2) id f2R2gYG00483 for current@freebsd.org; Mon, 26 Mar 2001 21:42:34 -0500 (EST) (envelope-from bloom) Date: Mon, 26 Mar 2001 21:42:34 -0500 (EST) From: Jim Bloom Message-Id: <200103270242.f2R2gYG00483@jbloom.jbloom.org> To: current@freebsd.org Subject: page fault in mpu.c Reply-To: bloom@acm.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I finally tracked down the page fault I was seeing while probing the mpu. The mutex was not being initialized before it was used. I have included a patch below which fixes the problem. Will someone please review the style and commit the fix. Thanks. Jim Bloom bloom@acm.org Index: mpu.c =================================================================== RCS file: /users/ncvs/src/sys/dev/sound/isa/mpu.c,v retrieving revision 1.5 diff -u -r1.5 mpu.c --- mpu.c 2001/03/14 07:29:46 1.5 +++ mpu.c 2001/03/27 02:20:29 @@ -358,6 +358,8 @@ DEB(printf("mpu: attaching.\n")); + mtx_init(&scp->mtx, "mpumid", MTX_DEF); + /* Allocate the resources, switch to uart mode. */ if (mpu_allocres(scp, dev) || mpu_uartmode(scp)) { mpu_releaseres(scp, dev); @@ -368,7 +370,6 @@ /* Fill the softc. */ scp->dev = dev; - mtx_init(&scp->mtx, "mpumid", MTX_DEF); scp->devinfo = devinfo = create_mididev_info_unit(MDT_MIDI, &mpu_op_desc, &midisynth_op_desc); /* Fill the midi info. */ @@ -751,6 +752,7 @@ bus_release_resource(dev, SYS_RES_IOPORT, scp->io_rid, scp->io); scp->io = NULL; } + mtx_destroy(&scp->mtx); } static device_method_t mpu_methods[] = { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 19:57:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 71F9537B71A; Mon, 26 Mar 2001 19:57:10 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2R3vAj14933; Mon, 26 Mar 2001 19:57:10 -0800 (PST) Date: Mon, 26 Mar 2001 19:57:10 -0800 From: Alfred Perlstein To: Bill Paul Cc: current@FreeBSD.ORG Subject: Re: Fixing ypbind with TI-RPC Message-ID: <20010326195710.M9431@fw.wintelcom.net> References: <20010327000456.6B15D37B71A@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010327000456.6B15D37B71A@hub.freebsd.org>; from wpaul@FreeBSD.ORG on Mon, Mar 26, 2001 at 04:04:56PM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Bill Paul [010326 16:05] wrote: > Ok. Friday I sat down and tried to make the -m option to ypbind work > correctly using the new TI-RPC code. Unfortunately, my test machine > chose that day to eat itself. Even more unfortunately, it was an AMD > 900Mhz Thunderbird. Today, I started working on another box and managed > to get things to work, but there are some problems that still need > solving. I need some input to decide how to do this. > > The problem is with the code in yp_ping.c. This module contains a special > version of clntudp_call() which has been modified in two ways: > > 1) If the XDR encode routine is specified as NULL, it skips the transmit > portion of clntudp_send() and jumps straight to receiving and decoding > the reply. > 2) When processing a reply, the routine omits the check of the transaction > ID, so that the reply will be processed even if its XID doesn't match > the XID of the request that was last sent. > > This is done so that we can send a bunch of YPPROC_DOMAIN_NONACK requests > to different servers, each with a different transaction ID, then wait to > see who replies first. Distinguishing the servers based on the XID gets > around the case where the server is multihomed and replies on an interface > other than the one where it received the original RPC. This is basically > an asynchronous RPC, where the request and response are handled separately > rather than in the context of a single clntudp_call(). > > Anyway, now that we have the TI-RPC library, the magic clntudp_a_call() > routine needs to be changed to a clnt_dg_a_call(). Unfortunately, when I > tried to do this, I ran into a serious problem: > > - The clnt_dg.c module has several module-wide lock variables which are > shared between the create/call/destroy methods. Trying to set up a > private call method won't work, because the lock variables are static, > hence not exported from the clnt_dg.o object module. As a hack I created > a separate clnt_dg.c module which I linked directly into a test ypbind > binary, but this is not what I consider a proper solution. > > Basically, I can't do things the way I did them with the older RPC code > because of the threading/mutex locks. Even building a separate clnt_dg.o > module with modifications was harder than it needed to be because the > clnt_dg.c code #includes special header files within the libc source > (src/lib/libc/include) which aren't available if you aren't building > the world. > > The solution I'm leaning towards at the moment is adding the necessary > hacks to src/lib/libc/rpc/clnt_dg.c in such a way that they can be enabled > when needed with a special CLSET flag using clnt_control(). Then I can > rip out the custom call method code from yp_ping.c entirely. I'm a little > reluctant to do this since I was under the impression that creating a > custom method should still work, but it looks as if this problem is > endemic even to the original Sun TI-RPC code, not just us. > > Comments? Questions? Pie? Pie. Why can't you just enable sigio on the reply socket, send all the requests with a 0 timeout and then wait for a signal to either interrupt the sending or to notify you when you complete sending? Your solution seems awfully complex for what seems to be a simple problem; doing a directed broadcast and taking the first answer you get back. Is the whole reason you need to do this because you're using the xid to differentiate between the servers? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 20: 9:46 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 97DB837B719; Mon, 26 Mar 2001 20:09:43 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2R49hw15243; Mon, 26 Mar 2001 20:09:43 -0800 (PST) Date: Mon, 26 Mar 2001 20:09:43 -0800 From: Alfred Perlstein To: Bill Paul Cc: current@FreeBSD.ORG Subject: Re: Fixing ypbind with TI-RPC Message-ID: <20010326200943.N9431@fw.wintelcom.net> References: <20010327000456.6B15D37B71A@hub.freebsd.org> <20010326195710.M9431@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010326195710.M9431@fw.wintelcom.net>; from bright@wintelcom.net on Mon, Mar 26, 2001 at 07:57:10PM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Alfred Perlstein [010326 19:57] wrote: > * Bill Paul [010326 16:05] wrote: > > Why can't you just enable sigio on the reply socket, send all the > requests with a 0 timeout and then wait for a signal to either > interrupt the sending or to notify you when you complete sending? > > Your solution seems awfully complex for what seems to be a simple > problem; doing a directed broadcast and taking the first answer you > get back. > > Is the whole reason you need to do this because you're using the > xid to differentiate between the servers? If that's true then you have a couple of options... We could add a hack to our version of the rpc library to allow manipulation/query of the xid. Or if the reply's source doesn't match any of the destinations you can remember it and send out another ping to that address. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 20:26:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from picnic.chuckr.org (picnic.chuckr.org [216.254.96.118]) by hub.freebsd.org (Postfix) with ESMTP id 4D34437B718 for ; Mon, 26 Mar 2001 20:26:13 -0800 (PST) (envelope-from chuckr@picnic.chuckr.org) Received: from localhost (chuckr@localhost) by picnic.chuckr.org (8.11.3/8.11.3) with ESMTP id f2R5QYU16548; Tue, 27 Mar 2001 00:26:35 -0500 (EST) (envelope-from chuckr@picnic.chuckr.org) Date: Tue, 27 Mar 2001 00:26:34 -0500 (EST) From: Chuck Robey To: Stephen McKay Cc: Ulf Zimmermann , current@FreeBSD.ORG, "Michael C . Wu" , Vladimir Kushnir Subject: Re: Whatever happened to CTM? In-Reply-To: <200103211144.f2LBi1911828@dungeon.home> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 21 Mar 2001, Stephen McKay wrote: > >unfortunatly my provider > >cut me off and I just got some access back, but not for the location > >the ctm machine is located at. > > > >At this time I do not know yet when it will have access again. > > Surely FreeBSD Inc (or whatever it is that owns the freebsd.org machines) > could spring for a box. Assuming Ulf is still keen, it shouldn't be too > hard for him to remote administer it. I've already announced this on the ctm-announce list, but in case some aren't subscribed, a new host has been located for ctm, and I expect it won't take too long to get it back up, hopefully by this weekend sometime. If Ulf's reading this, giving me a change to recover some files from the old host would be appreciated, if it's possible. I've mailed Ulf separately twice, but gotten no response. If the files just aren't any longer available, I will have to make do, it would make at least one item easier, is all. ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@chuckr.org | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 20:59:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from vaio.avias.com (dialup2.avias.com [195.14.38.69]) by hub.freebsd.org (Postfix) with ESMTP id BA87437B719 for ; Mon, 26 Mar 2001 20:59:29 -0800 (PST) (envelope-from juriy@vaio.avias.com) Received: (from juriy@localhost) by vaio.avias.com (8.11.3/8.11.3) id f2R4xPT77228 for freebsd-current@freebsd.org; Tue, 27 Mar 2001 08:59:25 +0400 (MSD) (envelope-from juriy) Date: Tue, 27 Mar 2001 08:59:24 +0400 From: Juriy Goloveshkin To: freebsd-current@freebsd.org Subject: is 'make release' broken? Message-ID: <20010327085924.A77219@avias.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Making fixit floppy. disklabel: ioctl DIOCWLABEL: Operation not supported by device Warning: Block size restricts cylinders per group to 6. Warning: 1216 sector(s) in last cylinder unallocated /dev/md0c: 2880 sectors in 1 cylinders of 1 tracks, 4096 sectors 1.4MB in 1 cyl groups (6 c/g, 12.00MB/g, 384 i/g) super-block backups (for fsck -b #) at: 32 /mnt: write failed, file system is full cpio: write error: No space left on device *** Error code 1 Stop in /usr/src/release. *** Error code 1 -- Bye Juriy Goloveshkin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 21:35: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from seven.alameda.net (seven.alameda.net [63.86.88.230]) by hub.freebsd.org (Postfix) with ESMTP id 4B71F37B71A for ; Mon, 26 Mar 2001 21:35:04 -0800 (PST) (envelope-from ulf@seven.alameda.net) Received: (from ulf@localhost) by seven.alameda.net (8.11.1/8.9.3) id f2R5Zp827139; Mon, 26 Mar 2001 21:35:51 -0800 (PST) (envelope-from ulf) Date: Mon, 26 Mar 2001 21:35:51 -0800 From: Ulf Zimmermann To: Chuck Robey Cc: Stephen McKay , Ulf Zimmermann , current@FreeBSD.ORG, "Michael C . Wu" , Vladimir Kushnir Subject: Re: Whatever happened to CTM? Message-ID: <20010326213551.L97752@seven.alameda.net> Reply-To: ulf@Alameda.net References: <200103211144.f2LBi1911828@dungeon.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from chuckr@picnic.chuckr.org on Tue, Mar 27, 2001 at 12:26:34AM -0500 Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 4.2-STABLE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 27, 2001 at 12:26:34AM -0500, Chuck Robey wrote: > On Wed, 21 Mar 2001, Stephen McKay wrote: > > > >unfortunatly my provider > > >cut me off and I just got some access back, but not for the location > > >the ctm machine is located at. > > > > > >At this time I do not know yet when it will have access again. > > > > Surely FreeBSD Inc (or whatever it is that owns the freebsd.org machines) > > could spring for a box. Assuming Ulf is still keen, it shouldn't be too > > hard for him to remote administer it. > > I've already announced this on the ctm-announce list, but in case some > aren't subscribed, a new host has been located for ctm, and I expect it > won't take too long to get it back up, hopefully by this weekend sometime. > > If Ulf's reading this, giving me a change to recover some files from the > old host would be appreciated, if it's possible. I've mailed Ulf > separately twice, but gotten no response. > > If the files just aren't any longer available, I will have to make do, it > would make at least one item easier, is all. I am very busy at work and not very open to anything else right now. Send me an email with the files and I can send you a tar. > > > ---------------------------------------------------------------------------- > Chuck Robey | Interests include C & Java programming, FreeBSD, > chuckr@chuckr.org | electronics, communications, and signal processing. > > New Year's Resolution: I will not sphroxify gullible people into looking up > fictitious words in the dictionary. > ---------------------------------------------------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936 Alameda Networks, Inc. | http://www.Alameda.net | Fax#: 510-521-5073 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 21:35:19 2001 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id CE44B37B719; Mon, 26 Mar 2001 21:35:11 -0800 (PST) Subject: Re: Fixing ypbind with TI-RPC In-Reply-To: <20010326200943.N9431@fw.wintelcom.net> from Alfred Perlstein at "Mar 26, 2001 08:09:43 pm" To: bright@wintelcom.net (Alfred Perlstein) Date: Mon, 26 Mar 2001 21:35:11 -0800 (PST) Cc: current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20010327053511.CE44B37B719@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > Why can't you just enable sigio on the reply socket, send all the > > requests with a 0 timeout and then wait for a signal to either > > interrupt the sending or to notify you when you complete sending? > > > > Your solution seems awfully complex for what seems to be a simple > > problem; doing a directed broadcast and taking the first answer you > > get back. > > > > Is the whole reason you need to do this because you're using the > > xid to differentiate between the servers? Once upon a time, a young coder needed to be able to send multiple RPC requests and then wait for a single reply, instead of adhering to the strict request/reply mechanism in the existing code. So he studied the problem over many long nights. He fretted. He fussed. He tried not to reinvent the wheel or cure cancer while he was at it. Eventually, he made a couple of minor changes to a piece of existing code that did exactly what he wanted. The end. > If that's true then you have a couple of options... > > We could add a hack to our version of the rpc library to > allow manipulation/query of the xid. Or if the reply's source > doesn't match any of the destinations you can remember it and > send out another ping to that address. You're already allowed to get/set the transaction ID using CLGET_XID and CLSET_XID, and I intend to use this too. All I want to do is invoke YPPROC_DOMAIN_NONACK on a bunch of servers and see which one replies first, and I need to do it using unicasts because broadcasts won't get forwarded across routers or point-to-point dialup links. I originally created this monstrosity for NIS+, and decided it would be useful to silence the people who insisted on putting their NIS clients on separate networks from their NIS servers, and didn't want to set up NIS slaves on the remote subnets like they were supposed to. I'm including a patch to clnt_dg.c and clnt.h that adds the functionality I need. It's quite small, and it's the path of least resistance in this case, which is why I prefer it in this case in spite of the brokenness it seeks to supress. Oh, there's also a fix for a bug in here. At least, I think it's a bug. The clnt_dg_call() routine increments the transaction ID before transmitting a request. It assumes that the XID is a 32-bit value at a certain position in the block to be sent, and simply does a cast to a u_int32_t and an in-place increment. The problem is, this value is actually in network byte order, so to increment it properly, you need to ntohl() it first, increment, then htonl() it back. Of course, if you believe Sun, all the world's a SPARC, so for them it doesn't matter. This really only becomes a problem if you actually use the CLGET_XID and CLSET_XID control codes on a UDP client handle: the code in clnt_dg_control() does the proper byte swapping, but clnt_dg_call() doesn't. I'm not positive I'm doing the right thing here, but without this fix, my newly hacked __yp_ping() routine produces some weird results. -Bill *** clnt_dg.c.orig Mon Mar 26 21:17:00 2001 --- clnt_dg.c Mon Mar 26 21:21:08 2001 *************** *** 126,131 **** --- 126,132 ---- char *cu_outbuf; u_int cu_recvsz; /* recv size */ struct pollfd pfdp; + int cu_async; char cu_inbuf[1]; }; *************** *** 238,243 **** --- 239,245 ---- cu->cu_total.tv_usec = -1; cu->cu_sendsz = sendsz; cu->cu_recvsz = recvsz; + cu->cu_async = FALSE; (void) gettimeofday(&now, NULL); call_msg.rm_xid = __RPC_GETXID(&now); call_msg.rm_call.cb_prog = program; *************** *** 312,317 **** --- 314,320 ---- socklen_t fromlen, inlen; ssize_t recvlen = 0; int rpc_lock_value; + u_int32_t xid; sigfillset(&newmask); thr_sigsetmask(SIG_SETMASK, &newmask, &mask); *************** *** 336,347 **** call_again: xdrs = &(cu->cu_outxdrs); xdrs->x_op = XDR_ENCODE; XDR_SETPOS(xdrs, cu->cu_xdrpos); /* * the transaction is the first thing in the out buffer */ ! (*(u_int32_t *)(void *)(cu->cu_outbuf))++; if ((! XDR_PUTINT32(xdrs, &proc)) || (! AUTH_MARSHALL(cl->cl_auth, xdrs)) || (! (*xargs)(xdrs, argsp))) { --- 339,357 ---- call_again: xdrs = &(cu->cu_outxdrs); + if (cu->cu_async == TRUE && xargs == NULL) + goto get_reply; xdrs->x_op = XDR_ENCODE; XDR_SETPOS(xdrs, cu->cu_xdrpos); /* * the transaction is the first thing in the out buffer + * XXX Yes, and it's in network byte order, so we should to + * be careful when we increment it, shouldn't we. */ ! xid = ntohl(*(u_int32_t *)(void *)(cu->cu_outbuf)); ! xid++; ! *(u_int32_t *)(void *)(cu->cu_outbuf) = htonl(xid); ! if ((! XDR_PUTINT32(xdrs, &proc)) || (! AUTH_MARSHALL(cl->cl_auth, xdrs)) || (! (*xargs)(xdrs, argsp))) { *************** *** 366,371 **** --- 376,384 ---- release_fd_lock(cu->cu_fd, mask); return (cu->cu_error.re_status = RPC_TIMEDOUT); } + + get_reply: + /* * sub-optimal code appears here because we have * some clock time to spare while the packets are in flight. *************** *** 495,501 **** if (recvlen < sizeof (u_int32_t)) continue; /* see if reply transaction id matches sent id */ ! if (*((u_int32_t *)(void *)(cu->cu_inbuf)) != *((u_int32_t *)(void *)(cu->cu_outbuf))) continue; /* we now assume we have the proper reply */ --- 508,515 ---- if (recvlen < sizeof (u_int32_t)) continue; /* see if reply transaction id matches sent id */ ! if (cu->cu_async == FALSE && ! *((u_int32_t *)(void *)(cu->cu_inbuf)) != *((u_int32_t *)(void *)(cu->cu_outbuf))) continue; /* we now assume we have the proper reply */ *************** *** 722,728 **** *(u_int32_t *)(void *)(cu->cu_outbuf + 3 * BYTES_PER_XDR_UNIT) = htonl(*(u_int32_t *)(void *)info); break; ! default: release_fd_lock(cu->cu_fd, mask); return (FALSE); --- 736,744 ---- *(u_int32_t *)(void *)(cu->cu_outbuf + 3 * BYTES_PER_XDR_UNIT) = htonl(*(u_int32_t *)(void *)info); break; ! case CLSET_ASYNC: ! cu->cu_async = *(int *)(void *)info; ! break; default: release_fd_lock(cu->cu_fd, mask); return (FALSE); *** clnt.h.orig Mon Mar 26 21:17:02 2001 --- clnt.h Mon Mar 26 16:21:33 2001 *************** *** 228,233 **** --- 228,234 ---- */ #define CLSET_RETRY_TIMEOUT 4 /* set retry timeout (timeval) */ #define CLGET_RETRY_TIMEOUT 5 /* get retry timeout (timeval) */ + #define CLSET_ASYNC 19 /* * void To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 21:52:32 2001 Delivered-To: freebsd-current@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 2B80037B718; Mon, 26 Mar 2001 21:52:28 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id WAA37274; Mon, 26 Mar 2001 22:52:27 -0700 (MST) (envelope-from ken) Date: Mon, 26 Mar 2001 22:52:26 -0700 From: "Kenneth D. Merry" To: scsi@FreeBSD.org, current@FreeBSD.org Subject: heads up, CAM error recovery changes committed Message-ID: <20010326225226.A37246@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I won't repeat the commit message here, but the new CAM error recovery code has been committed to -current. Note that error printouts are now a little more descriptive, so don't be alarmed at that. If there are any problems with the new code, send mail to scsi@FreeBSD.org, or to ken@FreeBSD.org and gibbs@FreeBSD.org. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 23:40:46 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id F0B9937B719; Mon, 26 Mar 2001 23:40:43 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2R7eJ942673; Tue, 27 Mar 2001 00:40:19 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103270740.f2R7eJ942673@harmony.village.org> To: Greg Lehey Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind Cc: Andrew Reilly , Doug Barton , "David O'Brien" , freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Mon, 26 Mar 2001 17:54:19 +0930." <20010326175419.X40349@wantadilla.lemis.com> References: <20010326175419.X40349@wantadilla.lemis.com> <20010321104438.A94096@dragon.nuxi.com> <20010326090306.D40349@wantadilla.lemis.com> <3ABEF43A.D4DA1929@DougBarton.net> <20010326172414.V40349@wantadilla.lemis.com> <20010326181905.B75840@gurney.reilly.home> Date: Tue, 27 Mar 2001 00:40:18 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010326175419.X40349@wantadilla.lemis.com> Greg Lehey writes: : > Play the ball, not the man. : : I don't have an objection to the change, I was just asking. And : "because System V does it this way" has never been a good answer for : us. And no, I'm not picking on Doug, just making a point. I see no reason why the name can't remain portmap. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 23:40:50 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 59C1037B71A; Mon, 26 Mar 2001 23:40:46 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2R7ej942685; Tue, 27 Mar 2001 00:40:45 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103270740.f2R7ej942685@harmony.village.org> To: Mike Smith Subject: Re: newcard/cardbus instabilities Cc: current@FreeBSD.ORG In-reply-to: Your message of "Sun, 25 Mar 2001 22:52:11 PST." <200103260652.f2Q6qC600975@mass.dis.org> References: <200103260652.f2Q6qC600975@mass.dis.org> Date: Tue, 27 Mar 2001 00:40:45 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200103260652.f2Q6qC600975@mass.dis.org> Mike Smith writes: : The problem that Johny was seeing was that 'device pccard' causes broken : interrupt delivery for cardbus cards. If that's meant to work, I can see : if I can reproduce it locally. It is ment to work and works for me on my VAIO all the time. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 23:43:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id C533237B719; Mon, 26 Mar 2001 23:43:10 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2R7h6942718; Tue, 27 Mar 2001 00:43:06 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103270743.f2R7h6942718@harmony.village.org> To: Falco Krepel Subject: Re: use md device in /etc/rc.diskless{1,2} Cc: Mike Smith , freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Mon, 26 Mar 2001 18:44:36 +0200." <3ABF71F4.593D6C48@fokus.gmd.de> References: <3ABF71F4.593D6C48@fokus.gmd.de> <200103260708.f2Q78D601140@mass.dis.org> Date: Tue, 27 Mar 2001 00:43:06 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3ABF71F4.593D6C48@fokus.gmd.de> Falco Krepel writes: : 1. For example you could use the diskless boot procedure for smart : clients with a small disk used as swap space. So I think it is better to : use swap instead of malloc for var,dev, and tmp. This could be done with : a variable (e.g. diskless_swap_enable). What do think about it? I think it is a bad idea. rc.diskless* is often used in cases where no swap exists. This is a very popular way to run of cf where you cannot configure swap due to excess wear and tear on the cf which has a very limited number of writes. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 26 23:59:39 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 9793637B71A; Mon, 26 Mar 2001 23:59:36 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id JAA07401; Tue, 27 Mar 2001 09:59:23 +0200 (MET DST) Date: Tue, 27 Mar 2001 09:59:23 +0200 (CEST) From: Harti Brandt To: Warner Losh Cc: Falco Krepel , Mike Smith , Subject: Re: use md device in /etc/rc.diskless{1,2} In-Reply-To: <200103270743.f2R7h6942718@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 27 Mar 2001, Warner Losh wrote: WL>In message <3ABF71F4.593D6C48@fokus.gmd.de> Falco Krepel writes: WL>: 1. For example you could use the diskless boot procedure for smart WL>: clients with a small disk used as swap space. So I think it is better to WL>: use swap instead of malloc for var,dev, and tmp. This could be done with WL>: a variable (e.g. diskless_swap_enable). What do think about it? WL> WL>I think it is a bad idea. rc.diskless* is often used in cases where no WL>swap exists. This is a very popular way to run of cf where you cannot WL>configure swap due to excess wear and tear on the cf which has a very WL>limited number of writes. Well, the idea is to have a config knob, where you can tell to mdconfig whether it should use 'swap' or 'malloc'. This should, of course, default to malloc. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, harti@begemot.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 0:39:42 2001 Delivered-To: freebsd-current@freebsd.org Received: from segfault.kiev.ua (segfault.kiev.ua [193.193.193.4]) by hub.freebsd.org (Postfix) with ESMTP id 3746437B718 for ; Tue, 27 Mar 2001 00:39:35 -0800 (PST) (envelope-from netch@iv.nn.kiev.ua) Received: (from uucp@localhost) by segfault.kiev.ua (8) with UUCP id LPA10302; Tue, 27 Mar 2001 11:39:03 +0300 (EEST) (envelope-from netch@iv.nn.kiev.ua) Received: (from netch@localhost) by iv.nn.kiev.ua (8.11.3/8.11.3) id f2R8Y6j00561; Tue, 27 Mar 2001 11:34:06 +0300 (EEST) (envelope-from netch) Date: Tue, 27 Mar 2001 11:34:06 +0300 From: Valentin Nechayev To: Mark Murray Cc: freebsd-current@FreeBSD.ORG Subject: Re: random woes ("no RSA support in libssl and libcrypto") Message-ID: <20010327113405.A501@iv.nn.kiev.ua> References: <20010319120932.A88999@enst.fr> <200103191401.f2JE13f32088@gratis.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200103191401.f2JE13f32088@gratis.grondar.za>; from mark@grondar.za on Mon, Mar 19, 2001 at 04:02:08PM +0200 X-42: On Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mon, Mar 19, 2001 at 16:02:08, mark (Mark Murray) wrote about "Re: random woes ("no RSA support in libssl and libcrypto")": > > ssh: no RSA support in libssl and libcrypto. See ssl(8) [...] > > It seems the compatibility with the previous minor of urandom has > > been silently removed (I assume this happened with the last > > update/cleanup of the random device). It took me two hours to figure > > it out. > > See src/UPDATING 20000624 Well, but it says about `options RANDOMDEV'. Later, `device random' was invented instead of it. A few days ago I installed -CURRENT (date=2001.03.25.12.00.00) with removing all previous content of /usr/lib (which contained legacy since 3.1-RELEASE) and /usr/sbin/sshd began to refuse supporting protocol 1 with identical message (`no RSA support in libssl and libcrypto. See ssl(8)'). Also, kernel was build with `device random', and netch@iv:/usr/HEAD/src/sys/i386/conf>egrep '(RSA|USA)' /etc/make.conf # If you're resident in the USA, this will help various ports to determine USA_RESIDENT= NO WITH_RSA=YES And, my questions are 1) What can happen to refuse RSA support in libcrypto, with environment described above? 2) How can one diagnose reason of such problems without abusing studying of libcrypto internals? 3) Can anybody provide more descriptive message when random device works improperly? /netch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 0:42:13 2001 Delivered-To: freebsd-current@freebsd.org Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id 50A6837B718 for ; Tue, 27 Mar 2001 00:42:11 -0800 (PST) (envelope-from greid@ukug.uk.freebsd.org) Received: from sobek.openirc.co.uk ([62.252.12.111]) by mta01-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010327084209.LRPK283.mta01-svc.ntlworld.com@sobek.openirc.co.uk>; Tue, 27 Mar 2001 09:42:09 +0100 Date: Tue, 27 Mar 2001 09:42:07 +0100 (BST) From: George Reid X-Sender: greid@sobek.openirc.co.uk To: Valentin Nechayev Cc: Mark Murray , freebsd-current@FreeBSD.ORG Subject: Re: random woes ("no RSA support in libssl and libcrypto") In-Reply-To: <20010327113405.A501@iv.nn.kiev.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 27 Mar 2001, Valentin Nechayev wrote: > And, my questions are > 1) What can happen to refuse RSA support in libcrypto, with environment > described above? I suspect you need to remake /dev/urandom. Copy /usr/src/etc/MAKEDEV from -current into /etc and remake the device. /dev/urandom is now a symlink to /dev/random. G To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 1:32:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from gratis.grondar.za (grouter.grondar.za [196.7.18.65]) by hub.freebsd.org (Postfix) with ESMTP id 9B42B37B719 for ; Tue, 27 Mar 2001 01:32:28 -0800 (PST) (envelope-from mark@grondar.za) Received: from grondar.za (root@gratis.grondar.za [196.7.18.133]) by gratis.grondar.za (8.11.1/8.11.1) with ESMTP id f2R9Vxf78104; Tue, 27 Mar 2001 11:32:01 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <200103270932.f2R9Vxf78104@gratis.grondar.za> To: Valentin Nechayev Cc: freebsd-current@FreeBSD.ORG Subject: Re: random woes ("no RSA support in libssl and libcrypto") References: <20010327113405.A501@iv.nn.kiev.ua> In-Reply-To: <20010327113405.A501@iv.nn.kiev.ua> ; from Valentin Nechayev "Tue, 27 Mar 2001 11:34:06 +0300." Date: Tue, 27 Mar 2001 11:33:11 +0200 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > See src/UPDATING 20000624 > > Well, but it says about `options RANDOMDEV'. Later, `device random' was > invented instead of it. A few days ago I installed -CURRENT > (date=2001.03.25.12.00.00) with removing all previous content of /usr/lib > (which contained legacy since 3.1-RELEASE) and /usr/sbin/sshd began to refuse > supporting protocol 1 with identical message > (`no RSA support in libssl and libcrypto. See ssl(8)'). Also, > kernel was build with `device random', and > > netch@iv:/usr/HEAD/src/sys/i386/conf>egrep '(RSA|USA)' /etc/make.conf > # If you're resident in the USA, this will help various ports to determine > USA_RESIDENT= NO > WITH_RSA=YES You missed (and deleted) the bit where it tells you to rerun MAKEDEV to rebuild your devices. > And, my questions are > 1) What can happen to refuse RSA support in libcrypto, with environment > described above? An incorrect /dev/urandom > 2) How can one diagnose reason of such problems without abusing studying > of libcrypto internals? More reading of UPDATING? I'll see if I can get it clarified. > 3) Can anybody provide more descriptive message when random device > works improperly? Yes. I'm working on making the random device itself moan at you. M -- Mark Murray Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 3:18:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id E596137B719; Tue, 27 Mar 2001 03:18:10 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2RBIAW26542; Tue, 27 Mar 2001 03:18:10 -0800 (PST) Date: Tue, 27 Mar 2001 03:18:10 -0800 From: Alfred Perlstein To: current@freebsd.org Cc: jhb@freebsd.org Subject: top output broked? Message-ID: <20010327031810.X9431@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 824 root -8 0 1048K 596K biord 0 0:38 0.00% 0.00% find 385 root 4 0 32740K 31944K select 1 0:32 0.00% 0.00% XFree86 836 root -8 0 532K 276K biord 1 0:07 0.00% 0.00% nfsd 14848 root 96 0 26912K 26832K RUN 1 0:04 0.00% 0.00% ld 424 bright 4 0 2120K 1340K select 0 0:04 0.00% 0.00% rxvt no cpu time, known issue? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 3:22:55 2001 Delivered-To: freebsd-current@freebsd.org Received: from inet4all.net (inet4all.net [216.121.191.48]) by hub.freebsd.org (Postfix) with ESMTP id 7941E37B719 for ; Tue, 27 Mar 2001 03:22:53 -0800 (PST) (envelope-from freebsd@wegalink.de) Received: from Maja ([212.12.59.178]) by inet4all.net (8.9.3/8.9.3) with SMTP id NAA04066 for ; Tue, 27 Mar 2001 13:22:52 +0200 Message-ID: <00d401c0b6b0$43ffa2a0$0100a8c0@wegalink.net> From: "Eckhard Kantz" To: Subject: usr.bin/kdump - 'make world' broken? Date: Tue, 27 Mar 2001 13:22:51 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What could be the reason for the following problem? ===> usr.bin/kdump cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../ .. -I/usr/obj/usr/src/i386/usr/include -c ioctl.c In file included from ioctl.c:96: /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' redefined /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the location of the previous definition In file included from ioctl.c:52: /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX' undeclared here (not in a function) *** Error code 1 Stop in /usr/src/usr.bin/kdump. *** Error code 1 Stop in /usr/src/usr.bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Thanks for any advice. Eckhard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 5:26: 5 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id 2B27437B719 for ; Tue, 27 Mar 2001 05:26:01 -0800 (PST) (envelope-from karsten@rohrbach.de) Received: (qmail 20894 invoked by uid 1000); 27 Mar 2001 13:26:21 -0000 Date: Tue, 27 Mar 2001 15:26:21 +0200 From: "Karsten W. Rohrbach" To: Warner Losh Cc: Greg Lehey , Andrew Reilly , Doug Barton , David O'Brien , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind Message-ID: <20010327152621.A20645@rohrbach.de> Reply-To: karsten@rohrbach.de Mail-Followup-To: Warner Losh , Greg Lehey , Andrew Reilly , Doug Barton , David O'Brien , freebsd-current@FreeBSD.ORG References: <20010326175419.X40349@wantadilla.lemis.com> <20010321104438.A94096@dragon.nuxi.com> <20010326090306.D40349@wantadilla.lemis.com> <3ABEF43A.D4DA1929@DougBarton.net> <20010326172414.V40349@wantadilla.lemis.com> <20010326181905.B75840@gurney.reilly.home> <20010326175419.X40349@wantadilla.lemis.com> <200103270740.f2R7eJ942673@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103270740.f2R7eJ942673@harmony.village.org>; from imp@harmony.village.org on Tue, Mar 27, 2001 at 12:40:18AM -0700 X-Arbitrary-Number-Of-The-Day: 42 X-Sender: karsten@rohrbach.de Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh(imp@harmony.village.org)@Tue, Mar 27, 2001 at 12:40:18AM -0700: > In message <20010326175419.X40349@wantadilla.lemis.com> Greg Lehey writes: > : > Play the ball, not the man. > : > : I don't have an objection to the change, I was just asking. And > : "because System V does it this way" has never been a good answer for > : us. And no, I'm not picking on Doug, just making a point. > > I see no reason why the name can't remain portmap. > does it take parameters? then it would make sense to have it named rpcbind... /k -- > "Dope will get you through times of no money better that money will get > you through times of no dope." -- Gilbert Shelton KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 7:14: 3 2001 Delivered-To: freebsd-current@freebsd.org Received: from beta.root-servers.ch (beta.root-servers.ch [195.49.33.19]) by hub.freebsd.org (Postfix) with SMTP id 033B537B71B for ; Tue, 27 Mar 2001 07:13:58 -0800 (PST) (envelope-from gabriel_ambuehl@buz.ch) Received: (qmail 32045 invoked from network); 27 Mar 2001 15:13:56 -0000 Received: from dclient106-69.hispeed.ch (HELO work.root.li) (62.2.106.69) by beta.root-servers.ch with SMTP; 27 Mar 2001 15:13:56 -0000 Date: Tue, 27 Mar 2001 17:15:47 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.51) Educational Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <158278002125.20010327171547@buz.ch> To: freebsd-current@FreeBSD.ORG Subject: Can't build current... MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hello, I can't seem to be able to build 5-CURRENT since several days. I just cvsupped again (tracking everything on CURRENT branch) but I always run into the following: sh /usr/src/tools/install.sh -c -o root -g wheel -m 444 libmd.a /usr/obj/usr/src/i386/usr/lib sh /usr/src/tools/install.sh -c -o root -g wheel -m 444 libmd_p.a /usr/obj/usr/src/i386/usr/lib sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 444 libmd.so.2 /usr/obj/usr/src/i386/usr/lib ln -sf libmd.so.2 /usr/obj/usr/src/i386/usr/lib/libmd.so cd /usr/src/lib/libcrypt; make depend; make all; make install make: don't know how to make crypt-blowfish.c. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. when trying to do make buildworld. Machine is a K6-2 500 running 15.3.01 5-CURRENT snapshot. Am I too stupid (haven't run into any problems on 4.X for a long time so ;-) or is this broken? Best regards, Gabriel -----BEGIN PGP SIGNATURE----- Version: PGP 6.0.2i iQEVAwUBOsCglsZa2WpymlDxAQGcJggAsRBFAA/W8kaVKJSPzaPUFH00XI8vq4SV vjNjWNk65HKNyeG1ceVU7nVETBpENsLqXM0hZ04FLTBR5ii5snqfBm+JVpAvMLMa NHpnfXFImDNOsIai0LSArx86uT4jIBGer26odpnJQV0yEffdyzqdXAMMIHg2Gh2/ QJNnSjXA9Mccgkfr/W8V1DWAJaaBRfgczy3HolwhjWOpNXm6V+5ZSW3LW1tIvra/ n7N2eR7liwW/LHNbVKejbJUKc11pu9tlY59Uq9fmXFYdfV4R2R3Wrv0SvZgW9uyV YTOzBqSH9LJVjNkVMgvOjmIQ2AZgjs1N8y+ThDuAGDXLn5izlgsaUA== =AmSS -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 7:22: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from sol.cc.u-szeged.hu (sol.cc.u-szeged.hu [160.114.8.24]) by hub.freebsd.org (Postfix) with ESMTP id 3E30B37B718 for ; Tue, 27 Mar 2001 07:22:05 -0800 (PST) (envelope-from sziszi@petra.hos.u-szeged.hu) Received: from petra.hos.u-szeged.hu by sol.cc.u-szeged.hu (8.9.3+Sun/SMI-SVR4) id RAA13215; Tue, 27 Mar 2001 17:21:58 +0200 (MEST) Received: from sziszi by petra.hos.u-szeged.hu with local (Exim 3.12 #1 (Debian)) id 14hvID-0008KW-00 for ; Tue, 27 Mar 2001 17:21:57 +0200 Date: Tue, 27 Mar 2001 17:21:57 +0200 From: Szilveszter Adam To: current@freebsd.org Subject: Re: page fault in mpu.c Message-ID: <20010327172157.B31411@petra.hos.u-szeged.hu> Mail-Followup-To: Szilveszter Adam , current@freebsd.org References: <200103270242.f2R2gYG00483@jbloom.jbloom.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103270242.f2R2gYG00483@jbloom.jbloom.org>; from bloom@jbloom.jbloom.org on Mon, Mar 26, 2001 at 09:42:34PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 26, 2001 at 09:42:34PM -0500, Jim Bloom wrote: > I finally tracked down the page fault I was seeing while probing the mpu. > The mutex was not being initialized before it was used. I have included a > patch below which fixes the problem. Will someone please review the style > and commit the fix. I can confirm that this fixes the problem (as in the kernel builds and boots with options midi and sequencer.) Thanks! -- Regards: Szilveszter ADAM Szeged University Szeged Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 7:29:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from beta.root-servers.ch (beta.root-servers.ch [195.49.33.19]) by hub.freebsd.org (Postfix) with SMTP id D789437B719 for ; Tue, 27 Mar 2001 07:29:31 -0800 (PST) (envelope-from gabriel_ambuehl-fb@buz.ch) Received: (qmail 32587 invoked from network); 27 Mar 2001 15:29:30 -0000 Received: from dclient106-69.hispeed.ch (HELO work.root.li) (62.2.106.69) by beta.root-servers.ch with SMTP; 27 Mar 2001 15:29:30 -0000 Date: Tue, 27 Mar 2001 17:31:20 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.51) Educational Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <19278935217.20010327173120@buz.ch> To: freebsd-current@FreeBSD.ORG Subject: Can't build current... MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hello, I can't seem to be able to build 5-CURRENT since several days. I just cvsupped again (tracking everything on CURRENT branch) but I always run into the following: sh /usr/src/tools/install.sh -c -o root -g wheel -m 444 libmd.a /usr/obj/usr/src/i386/usr/lib sh /usr/src/tools/install.sh -c -o root -g wheel -m 444 libmd_p.a /usr/obj/usr/src/i386/usr/lib sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 444 libmd.so.2 /usr/obj/usr/src/i386/usr/lib ln -sf libmd.so.2 /usr/obj/usr/src/i386/usr/lib/libmd.so cd /usr/src/lib/libcrypt; make depend; make all; make install make: don't know how to make crypt-blowfish.c. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. when trying to do make buildworld. Machine is a K6-2 500 running 15.3.01 5-CURRENT snapshot. Am I too stupid (haven't run into any problems on 4.X for a long time so ;-) or is this broken? Best regards, Gabriel -----BEGIN PGP SIGNATURE----- Version: PGP 6.0.2i iQEVAwUBOsCkO8Za2WpymlDxAQF+0gf/da0BeB8FWe+6revJQHYX9RwCFFr2/u7w AH4CO6PnK3YieMD4SHm05Ng3I1MiIcj0inZevR7jIsGAVrsnHN8i9OgCxtDANaFt cYnP+kyhSWW/qQB6wATidWxaCVMK8IdXrouAdOtyGmtaa2jVIc5tUqlgx27R9sT0 jTZl0Wu1lEmrEIKu+I2Wp9K1MUdXtiBktcDmYtj08nIe5dh160/UUh5c9ZqS41IR s+5ggR3Kcx70kitu16eRJ2IyQbwl/zl3QUOSGWKrJTJtE18tGYqjXqklC6cVFPWl TK9q5s41NwUT8U5fK+Y23p6Gzrwb5gsEvY889PAMV7VOT7MzH9fCtg== =xBW5 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 7:34:55 2001 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.org.ru (sweet.etrust.ru [194.84.67.5]) by hub.freebsd.org (Postfix) with ESMTP id E47D237B719 for ; Tue, 27 Mar 2001 07:34:51 -0800 (PST) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id E542522A; Tue, 27 Mar 2001 19:34:49 +0400 (MSD) Date: Tue, 27 Mar 2001 19:34:49 +0400 From: "Sergey A. Osokin" To: Eckhard Kantz Cc: freebsd-current@FreeBSD.ORG Subject: Re: usr.bin/kdump - 'make world' broken? Message-ID: <20010327193449.A83082@freebsd.org.ru> References: <00d401c0b6b0$43ffa2a0$0100a8c0@wegalink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00d401c0b6b0$43ffa2a0$0100a8c0@wegalink.net>; from freebsd@wegalink.de on Tue, Mar 27, 2001 at 01:22:51PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote: > What could be the reason for the following problem? > > ===> usr.bin/kdump > cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../ > .. -I/usr/obj/usr/src/i386/usr/include -c ioctl.c > In file included from ioctl.c:96: > /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' > redefined > /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the > location of the previous definition > In file included from ioctl.c:52: > /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX' > undeclared here (not in a function) > *** Error code 1 > > Stop in /usr/src/usr.bin/kdump. > *** Error code 1 I reported about this problem more then 3 months ago. (http://www.freebsd.org/cgi/getmsg.cgi?fetch=434185+436356+/usr/local/www/db/text/2001/freebsd-current/20010128.freebsd-current) I think this problem may resolve with following steps: 1) rm -rf /usr/src 2) re-sup 3) try to make buildworld But i haven't -current @ fast channel for this... Also, you may do following: 1) vi /usr/src/usr.bin/kdump/Makefile and remove ${DESTDIR} at line 11 2) vi /usr/src/usr.bin/truss/Makefile remove ${DESTDIR} at line 32 3) try to make buildworld I recommend first way. It looks like mkioctls do something wrong at ${DESTDIR} at buildworld time. -- Rgdz, /"\ Sergey Osokin aka oZZ, \ / ASCII RIBBON CAMPAIGN osa@freebsd.org.ru X AGAINST HTML MAIL http://freebsd.org.ru/~osa/ / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 8:19:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id E356637B718 for ; Tue, 27 Mar 2001 08:19:01 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2RGHml83353; Tue, 27 Mar 2001 19:17:48 +0300 (EEST) (envelope-from ru) Date: Tue, 27 Mar 2001 19:17:48 +0300 From: Ruslan Ermilov To: "Sergey A. Osokin" Cc: Eckhard Kantz , freebsd-current@FreeBSD.ORG Subject: Re: usr.bin/kdump - 'make world' broken? Message-ID: <20010327191748.A81494@sunbay.com> Mail-Followup-To: "Sergey A. Osokin" , Eckhard Kantz , freebsd-current@FreeBSD.ORG References: <00d401c0b6b0$43ffa2a0$0100a8c0@wegalink.net> <20010327193449.A83082@freebsd.org.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010327193449.A83082@freebsd.org.ru>; from osa@freebsd.org.ru on Tue, Mar 27, 2001 at 07:34:49PM +0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 27, 2001 at 07:34:49PM +0400, Sergey A. Osokin wrote: > On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote: > > What could be the reason for the following problem? > > > > ===> usr.bin/kdump > > cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../ > > .. -I/usr/obj/usr/src/i386/usr/include -c ioctl.c > > In file included from ioctl.c:96: > > /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' > > redefined > > /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the > > location of the previous definition > > In file included from ioctl.c:52: > > /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX' > > undeclared here (not in a function) > > *** Error code 1 > > > > Stop in /usr/src/usr.bin/kdump. > > *** Error code 1 > > I reported about this problem more then 3 months ago. > (http://www.freebsd.org/cgi/getmsg.cgi?fetch=434185+436356+/usr/local/www/db/text/2001/freebsd-current/20010128.freebsd-current) > > I think this problem may resolve with following steps: > 1) rm -rf /usr/src > 2) re-sup > 3) try to make buildworld > But i haven't -current @ fast channel for this... > > Also, you may do following: > 1) vi /usr/src/usr.bin/kdump/Makefile and remove ${DESTDIR} at line 11 > 2) vi /usr/src/usr.bin/truss/Makefile remove ${DESTDIR} at line 32 > 3) try to make buildworld > > I recommend first way. > It looks like mkioctls do something wrong at ${DESTDIR} at > buildworld time. > Should be fixed in usr.bin/kdump/mkioctls,v 1.20. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 8:25:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 4819037B71D for ; Tue, 27 Mar 2001 08:25:26 -0800 (PST) (envelope-from david@catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.10.0/8.10.0) id f2RGPP815322 for current@FreeBSD.ORG; Tue, 27 Mar 2001 08:25:25 -0800 (PST) Date: Tue, 27 Mar 2001 08:25:25 -0800 (PST) From: David Wolfskill Message-Id: <200103271625.f2RGPP815322@bunrab.catwhisker.org> To: current@FreeBSD.ORG Subject: Re: top output broked? In-Reply-To: <20010327031810.X9431@fw.wintelcom.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Tue, 27 Mar 2001 03:18:10 -0800 >From: Alfred Perlstein > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND > 824 root -8 0 1048K 596K biord 0 0:38 0.00% 0.00% find > 385 root 4 0 32740K 31944K select 1 0:32 0.00% 0.00% XFree86 > 836 root -8 0 532K 276K biord 1 0:07 0.00% 0.00% nfsd >14848 root 96 0 26912K 26832K RUN 1 0:04 0.00% 0.00% ld > 424 bright 4 0 2120K 1340K select 0 0:04 0.00% 0.00% rxvt >no cpu time, known issue? I get non-zero values from time to time; in particular, I fired up an xterm & did a "while (1)" loop in it, and the CPU times increased in a gratifying manner. :-} However, the usual values I'm seeing are rather lower than I would expect, and lower than the same machine running -STABLE (within the last several days, by my recollection). As a reality check, I'm trying "vmstat 5", and it's consistently reporting either 99 or 100% idle. There -- I got both it & top to report something noticeable: I fired up netscape.... Maybe it really *is* using CPU much more efficiently...? No, I didn't think so, but it was a nice thought.... :-) Oh: recent CVSup history (I hadn't noticed the behavior in the -CURRENNT I built yesterday): CVSup started at Sun Mar 25 23:47:00 PST 2001 CVSup ended at Sun Mar 25 23:52:25 PST 2001 CVSup started at Mon Mar 26 23:47:00 PST 2001 CVSup ended at Mon Mar 26 23:53:39 PST 2001 Cheers, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 8:33:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 7154437B719 for ; Tue, 27 Mar 2001 08:33:44 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2RGXaG55061; Tue, 27 Mar 2001 08:33:36 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010327031810.X9431@fw.wintelcom.net> Date: Tue, 27 Mar 2001 08:33:10 -0800 (PST) From: John Baldwin To: Alfred Perlstein Subject: RE: top output broked? Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27-Mar-01 Alfred Perlstein wrote: > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND > 824 root -8 0 1048K 596K biord 0 0:38 0.00% 0.00% find > 385 root 4 0 32740K 31944K select 1 0:32 0.00% 0.00% XFree86 > 836 root -8 0 532K 276K biord 1 0:07 0.00% 0.00% nfsd > 14848 root 96 0 26912K 26832K RUN 1 0:04 0.00% 0.00% ld > 424 bright 4 0 2120K 1340K select 0 0:04 0.00% 0.00% rxvt > > > no cpu time, known issue? Not one that I've seen: PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 11 root -16 0 0K 0K CPU0 0 79.5H 49.37% 49.37% idle: cpu0 10 root -16 0 0K 0K RUN 1 79.4H 48.19% 48.19% idle: cpu1 13 root -48 -167 0K 0K WAIT 0 62:53 0.00% 0.00% swi6: tty:s 15 root 76 0 0K 0K sleep 0 6:07 0.00% 0.00% random 5 root 20 0 0K 0K syncer 1 2:47 0.00% 0.00% syncer 20 root -68 -187 0K 0K WAIT 1 1:18 0.00% 0.00% irq18: fxp0 19 root -64 -183 0K 0K WAIT 0 0:53 0.00% 0.00% irq16: ahc0 12 root -44 -163 0K 0K WAIT 0 0:52 0.00% 0.00% swi1: net 18 root -36 -155 0K 0K WAIT 1 0:49 0.00% 0.00% swi3: cambi 4 root -16 0 0K 0K psleep 0 0:41 0.00% 0.00% bufdaemon 283 root 4 0 552K 388K select 0 0:10 0.00% 0.00% dhclient If you run 'top -S' does all your time show up in the idle processes like it does here? -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 8:53:46 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 0936A37B719; Tue, 27 Mar 2001 08:53:42 -0800 (PST) (envelope-from david@catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.10.0/8.10.0) id f2RGrZ415502; Tue, 27 Mar 2001 08:53:35 -0800 (PST) Date: Tue, 27 Mar 2001 08:53:35 -0800 (PST) From: David Wolfskill Message-Id: <200103271653.f2RGrZ415502@bunrab.catwhisker.org> To: bright@wintelcom.net, jhb@FreeBSD.ORG Subject: RE: top output broked? Cc: current@FreeBSD.ORG In-Reply-To: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Tue, 27 Mar 2001 08:33:10 -0800 (PST) >From: John Baldwin >Not one that I've seen: > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND > 11 root -16 0 0K 0K CPU0 0 79.5H 49.37% 49.37% idle: cpu0 > 10 root -16 0 0K 0K RUN 1 79.4H 48.19% 48.19% idle: cpu1 > 13 root -48 -167 0K 0K WAIT 0 62:53 0.00% 0.00% swi6: tty:s > 15 root 76 0 0K 0K sleep 0 6:07 0.00% 0.00% random > 5 root 20 0 0K 0K syncer 1 2:47 0.00% 0.00% syncer > 20 root -68 -187 0K 0K WAIT 1 1:18 0.00% 0.00% irq18: fxp0 > 19 root -64 -183 0K 0K WAIT 0 0:53 0.00% 0.00% irq16: ahc0 > 12 root -44 -163 0K 0K WAIT 0 0:52 0.00% 0.00% swi1: net > 18 root -36 -155 0K 0K WAIT 1 0:49 0.00% 0.00% swi3: cambi > 4 root -16 0 0K 0K psleep 0 0:41 0.00% 0.00% bufdaemon > 283 root 4 0 552K 388K select 0 0:10 0.00% 0.00% dhclient >If you run 'top -S' does all your time show up in the idle processes like it >does here? Hmm... mine loks like that (modulo #CPUs), except when I'm actually making it do some work (re-building the kernel, in this case). What I see ("top -S") looks like: last pid: 9546; load averages: 0.97, 0.64, 0.30 up 0+00:08:32 08:51:47 77 processes: 3 running, 57 sleeping, 2 zombie, 15 waiting CPU states: 91.1% user, 0.0% nice, 5.4% system, 0.4% interrupt, 3.1% idle Mem: 32M Active, 78M Inact, 27M Wired, 96K Cache, 35M Buf, 110M Free Swap: 1024M Total, 4168K Used, 1020M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 10 root -16 0 0K 0K RUN 3:43 2.15% 2.15% idle 9545 root 121 0 3428K 3304K RUN 0:00 2.00% 0.10% cc1 514 root 4 0 27148K 26128K select 0:03 0.00% 0.00% XFree86 212 root 4 0 420K 304K select 0:03 0.00% 0.00% pccardd 610 david 4 0 4200K 3332K select 0:01 0.00% 0.00% xterm 12 root -48 -167 0K 0K WAIT 0:01 0.00% 0.00% swi6: tty:sio 7601 root 8 0 5112K 4764K wait 0:01 0.00% 0.00% make 16 root -64 -183 0K 0K WAIT 0:01 0.00% 0.00% irq14: ata0 312 root 4 0 976K 556K select 0:00 0.00% 0.00% moused 603 david 4 0 2348K 1968K select 0:00 0.00% 0.00% ssh 11 root -44 -163 0K 0K WAIT 0:00 0.00% 0.00% swi1: net 1193 david 96 0 1964K 1208K RUN 0:00 0.00% 0.00% top 5 root 20 0 0K 0K syncer 0:00 0.00% 0.00% syncer 288 root 4 0 2256K 1504K select 0:00 0.00% 0.00% sshd 620 david 4 0 4200K 3332K select 0:00 0.00% 0.00% xterm 14 root 76 0 0K 0K sleep 0:00 0.00% 0.00% random 350 root -68 -187 0K 0K WAIT 0:00 0.00% 0.00% irq3: an0 I confess a degree of skepticism.... :-} Here's output from "vmstat -5" around that time: 1 2 0 43184104456 306 0 0 0 121 0 0 0 402 599 419 99 1 0 1 2 0 37772109324 1209 0 0 0 1498 0 1 0 432 2032 549 91 6 2 1 2 0 43032104124 918 0 0 0 669 0 1 0 394 1053 422 96 4 0 1 2 0 44540102584 289 0 0 0 188 0 0 0 348 402 307 99 1 0 2 1 0 39272108032 1123 0 0 0 1446 0 8 0 356 1515 362 90 5 5 1 2 0 38448107844 1047 0 0 0 1066 0 10 0 368 1428 388 88 5 7 1 1 0 36596108380 1240 0 0 0 1310 0 1 0 354 1643 362 94 5 2 2 1 0 32264110776 1334 0 0 0 1504 0 2 0 381 1851 431 92 6 2 1 0 0 30376110236 1850 0 0 0 1892 0 7 0 389 2506 462 86 8 6 1 2 0 34904107064 1786 0 0 0 1692 0 4 0 360 2339 394 88 7 5 2 0 0 30040108884 2437 0 0 0 2634 0 12 0 384 3194 466 77 10 14 1 2 0 35544104636 1885 0 0 0 1734 0 27 0 405 2556 490 81 9 10 1 2 0 34528104520 2339 0 0 0 2432 0 3 0 378 3136 455 85 10 5 1 1 0 34620103844 2066 0 0 0 2115 0 2 0 370 2787 432 91 8 1 procs memory page disks faults cpu r b w avm fre flt re pi po fr sr ad0 md10 in sy cs us sy id 2 0 0 28532106216 2618 0 0 0 2876 0 8 0 394 3524 514 83 13 4 2 0 0 36172102488 2071 0 0 0 1967 0 7 0 402 2910 507 89 9 2 Cheers, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 9:10:50 2001 Delivered-To: freebsd-current@freebsd.org Received: from ambar.ofermundo.com.ar (h066060007247.isol.net.ar [66.60.7.247]) by hub.freebsd.org (Postfix) with ESMTP id 1568537B718 for ; Tue, 27 Mar 2001 09:10:46 -0800 (PST) (envelope-from freebsd@grunblatt.com.ar) Received: from [64.76.26.139] ([64.76.26.139]) by ambar.ofermundo.com.ar (8.9.3/8.8.7) with ESMTP id OAA20375 for ; Tue, 27 Mar 2001 14:10:35 -0300 Date: Tue, 27 Mar 2001 17:13:03 -0300 (ART) From: Daniel X-X-Sender: To: Subject: BROKEN DRIVER: pcm0: mem 0xfedf0000-0xfedf7fff irq 9 at device 9.0 on pci0 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I upgraded my kernel today, it was a week old, and when I try to listen anything it sais: pcm0: play interrupt timeout, channel dead I'm in a Sony VAIO XG38. ----------------------------------- PD: Is anyone still working with in the CFS/mount_nfs problem? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 9:42:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.org.ru (sweet.etrust.ru [194.84.67.5]) by hub.freebsd.org (Postfix) with ESMTP id 0AE6137B719; Tue, 27 Mar 2001 09:42:39 -0800 (PST) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id B3E9C22A; Tue, 27 Mar 2001 21:42:36 +0400 (MSD) Date: Tue, 27 Mar 2001 21:42:36 +0400 From: "Sergey A. Osokin" To: Ruslan Ermilov Cc: current@FreeBSD.ORG Subject: Re: usr.bin/kdump - 'make world' broken? Message-ID: <20010327214236.A84025@freebsd.org.ru> Reply-To: osa@FreeBSD.org.ru References: <00d401c0b6b0$43ffa2a0$0100a8c0@wegalink.net> <20010327193449.A83082@freebsd.org.ru> <20010327191748.A81494@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010327191748.A81494@sunbay.com>; from ru@FreeBSD.ORG on Tue, Mar 27, 2001 at 07:17:48PM +0300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 27, 2001 at 07:17:48PM +0300, Ruslan Ermilov wrote: > On Tue, Mar 27, 2001 at 07:34:49PM +0400, Sergey A. Osokin wrote: > > On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote: > > > What could be the reason for the following problem? > > > > > > ===> usr.bin/kdump > > > cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../ > > > .. -I/usr/obj/usr/src/i386/usr/include -c ioctl.c > > > In file included from ioctl.c:96: > > > /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' > > > redefined > > > /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the > > > location of the previous definition > > > In file included from ioctl.c:52: > > > /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX' > > > undeclared here (not in a function) > > > *** Error code 1 > > > > > > Stop in /usr/src/usr.bin/kdump. > > > *** Error code 1 > > > Should be fixed in usr.bin/kdump/mkioctls,v 1.20. OK. I try buildworld now. -- Rgdz, /"\ Sergey Osokin aka oZZ, \ / ASCII RIBBON CAMPAIGN osa@freebsd.org.ru X AGAINST HTML MAIL http://freebsd.org.ru/~osa/ / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 9:56:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from updraft.jp.freebsd.org (updraft.jp.FreeBSD.ORG [210.157.158.42]) by hub.freebsd.org (Postfix) with ESMTP id B003F37B718 for ; Tue, 27 Mar 2001 09:56:17 -0800 (PST) (envelope-from matusita@jp.FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by updraft.jp.freebsd.org (8.11.3+3.4W/8.11.3) with ESMTP/inet id f2RHu2874302; Wed, 28 Mar 2001 02:56:03 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: current@freebsd.org In-Reply-To: <158278002125.20010327171547@buz.ch> References: <158278002125.20010327171547@buz.ch> X-Face: '*aj"d@ijeQ:/X}]oM5c5Uz{ZZZk90WPt>a^y4$cGQp8:!H\W=hSM;PuNiidkc]/%,;6VGu e+`&APmz|P;F~OL/QK%;P2vU>\j4X.8@i%j6[%DTs_3J,Fff0)*oHg$A.cDm&jc#pD24WK@{,"Ef!0 P\):.2}8jo-BiZ?X&t$V X-User-Agent: Mew/1.94.2 XEmacs/21.2 (Urania) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 11 From: Makoto MATSUSHITA To: gabriel_ambuehl@buz.ch Subject: Re: Can't build current... Date: Wed, 28 Mar 2001 02:55:15 +0900 Message-Id: <20010328025515C.matusita@jp.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG gabriel_ambuehl> I can't seem to be able to build 5-CURRENT since several days. You should have src/secure/lib/libcrypt/crypt-blowfish.c. If you don't have, it's your problem. The CVS repository has this file already: http://www.freebsd.org/cgi/cvsweb.cgi/src/secure/lib/libcrypt/crypt-blowfish.c Have you update (or checkout) your src/secure, or which CVSup server you use? -- - Makoto MATSUSHITA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 10: 9:54 2001 Delivered-To: freebsd-current@freebsd.org Received: from beta.root-servers.ch (beta.root-servers.ch [195.49.33.19]) by hub.freebsd.org (Postfix) with SMTP id AA56537B718 for ; Tue, 27 Mar 2001 10:09:50 -0800 (PST) (envelope-from gabriel_ambuehl-fb@buz.ch) Received: (qmail 38215 invoked from network); 27 Mar 2001 18:09:48 -0000 Received: from dclient106-69.hispeed.ch (HELO work.root.li) (62.2.106.69) by beta.root-servers.ch with SMTP; 27 Mar 2001 18:09:48 -0000 Date: Tue, 27 Mar 2001 20:11:41 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.51) Educational Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <74288556332.20010327201141@buz.ch> To: Makoto MATSUSHITA Cc: freebsd-current@freebsd.org Subject: Re[2]: Can't build current... In-Reply-To: <20010328025515C.matusita@jp.FreeBSD.org> References: <158278002125.20010327171547@buz.ch> <20010328025515C.matusita@jp.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hello Makoto, Tuesday, March 27, 2001, 7:55:15 PM, you wrote: gabriel_ambuehl>> I can't seem to be able to build 5-CURRENT since several days. > You should have src/secure/lib/libcrypt/crypt-blowfish.c. If you don't > have, it's your problem. The CVS repository has this file already: > http://www.freebsd.org/cgi/cvsweb.cgi/src/secure/lib/libcrypt/crypt-blo wfish.c > Have you update (or checkout) your src/secure, or which CVSup server you use? I'm using cvsup.de.FreeBSD.org which appears to be a cname cvsup.uk.FreeBSD.org. But it looks like, that for some reason, src-secure didn't get added to the cvsupfile (hmm. might be related to the fact that cvsupit creates cvsup.intl for that purpose and I forgot to add that one to make.conf...). Mea culpa (hope it will work now). While I'm writing this: what is the general opinion about having CURRENT on production servers (I'd really love to deploy the ACLs ASAP)? I don't plan to use SMP and can wait for snapshots til the RELEASE comes... Best regards, Gabriel -----BEGIN PGP SIGNATURE----- Version: PGP 6.0.2i iQEVAwUBOsDJzsZa2WpymlDxAQGYMAf9E/gzHUM6H3897O9XJTRWKIyrEdW5eE6G RvRU5FK+SxLa+FucsjU9dN4Yh41VD5C+mrq6nnTppBf7Wnt2QjyRx+7q7Hs12qdC QMItugL+2iGGU6gioF0WZPeh1MrcWO6dbCn1o95QyYS/Sw9ePM+I4EA2Iiikh1EV Rf7At5/zyQfnHtab2CSn4fQCGc/onfpmYSEZd4ezj2ykD9J9BQdRZtX7IqDodCZm djhc6UYU9RFtUVzdCgXW8pYG9be9HNiUdZwnsi2GmEuSqhx05bUVJ0m1lL4t7Dwx wJNVnkzCURmxjFtjc4d6am5wjyPOXOj2nrWoO96ZfybNLoT1g6rh0A== =BB0w -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 10:14:50 2001 Delivered-To: freebsd-current@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id 8677837B718; Tue, 27 Mar 2001 10:14:43 -0800 (PST) (envelope-from DougB@DougBarton.net) Received: from DougBarton.net (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id KAA86179; Tue, 27 Mar 2001 10:05:40 -0800 (PST) (envelope-from DougB@DougBarton.net) Message-ID: <3AC0D674.9785E656@DougBarton.net> Date: Tue, 27 Mar 2001 10:05:40 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: karsten@rohrbach.de Cc: Warner Losh , Greg Lehey , Andrew Reilly , "David O'Brien" , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind References: <20010326175419.X40349@wantadilla.lemis.com> <20010321104438.A94096@dragon.nuxi.com> <20010326090306.D40349@wantadilla.lemis.com> <3ABEF43A.D4DA1929@DougBarton.net> <20010326172414.V40349@wantadilla.lemis.com> <20010326181905.B75840@gurney.reilly.home> <20010326175419.X40349@wantadilla.lemis.com> <200103270740.f2R7eJ942673@harmony.village.org> <20010327152621.A20645@rohrbach.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Karsten W. Rohrbach" wrote: > > Warner Losh(imp@harmony.village.org)@Tue, Mar 27, 2001 at 12:40:18AM -0700: > > In message <20010326175419.X40349@wantadilla.lemis.com> Greg Lehey writes: > > : > Play the ball, not the man. > > : > > : I don't have an objection to the change, I was just asking. And > > : "because System V does it this way" has never been a good answer for > > : us. And no, I'm not picking on Doug, just making a point. > > > > I see no reason why the name can't remain portmap. > > > does it take parameters? > then it would make sense to have it named rpcbind... Pardon me being dense, but what does that have to do with anything? portmap took a -v flag, or are you talking about something different? -- Perhaps the greatest damage the American system of education has done to its children is to teach them that their opinions are relevant simply because they are their opinions. Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 10:19:23 2001 Delivered-To: freebsd-current@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id 8B5FF37B718; Tue, 27 Mar 2001 10:19:20 -0800 (PST) (envelope-from DougB@DougBarton.net) Received: from DougBarton.net (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id KAA86184; Tue, 27 Mar 2001 10:08:49 -0800 (PST) (envelope-from DougB@DougBarton.net) Message-ID: <3AC0D731.B3D15DA3@DougBarton.net> Date: Tue, 27 Mar 2001 10:08:49 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh Cc: Greg Lehey , Andrew Reilly , "David O'Brien" , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind References: <20010326175419.X40349@wantadilla.lemis.com> <20010321104438.A94096@dragon.nuxi.com> <20010326090306.D40349@wantadilla.lemis.com> <3ABEF43A.D4DA1929@DougBarton.net> <20010326172414.V40349@wantadilla.lemis.com> <20010326181905.B75840@gurney.reilly.home> <200103270740.f2R7eJ942673@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > In message <20010326175419.X40349@wantadilla.lemis.com> Greg Lehey writes: > : > Play the ball, not the man. > : > : I don't have an objection to the change, I was just asking. And > : "because System V does it this way" has never been a good answer for > : us. And no, I'm not picking on Doug, just making a point. > > I see no reason why the name can't remain portmap. My previous comment was mostly an attempt at humor, in case anyone missed that. :) I have no problem with keeping the name the same as it is in netbsd to make code sharing easier. If this were something that users interacted with directly I'd fight harder, but as it is portmap is basically always started from rc*. We'll have another round of pain from people who fail to properly update /etc, but we have enough land mines there already to make this point moot. Doug -- Perhaps the greatest damage the American system of education has done to its children is to teach them that their opinions are relevant simply because they are their opinions. Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 10:19:57 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 175E637B718 for ; Tue, 27 Mar 2001 10:19:54 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.1/8.11.1) with SMTP id f2RIJhh94062; Tue, 27 Mar 2001 13:19:43 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 27 Mar 2001 13:19:42 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Gabriel Ambuehl Cc: Makoto MATSUSHITA , freebsd-current@freebsd.org Subject: cvsupit assumptions (was: Re: Re[2]: Can't build current...) In-Reply-To: <74288556332.20010327201141@buz.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 27 Mar 2001, Gabriel Ambuehl wrote: > I'm using cvsup.de.FreeBSD.org which appears to be a cname > cvsup.uk.FreeBSD.org. But it looks like, that for some reason, > src-secure didn't get added to the cvsupfile (hmm. might be related to > the fact that cvsupit creates cvsup.intl for that purpose and I forgot > to add that one to make.conf...). Mea culpa (hope it will work now). I've actually heard that from a couple of other people lately -- that cvsupit still assumes that crypto should not be pulled down, and the crypto code is now assumed in the default build. This may just be a product of the packagized version of cvsupit shipped in the past, but it might also be the case that cvsupit needs to be updated to take into account changes in our cvsup policies and source layout. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 10:20:58 2001 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-46.dsl.lsan03.pacbell.net [63.207.60.46]) by hub.freebsd.org (Postfix) with ESMTP id 111D737B71A; Tue, 27 Mar 2001 10:20:55 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6CD8B66F91; Tue, 27 Mar 2001 10:20:55 -0800 (PST) Date: Tue, 27 Mar 2001 10:20:55 -0800 From: Kris Kennaway To: Makoto MATSUSHITA Cc: gabriel_ambuehl@buz.ch, current@freebsd.org, markm@FreeBSD.org Subject: Re: Can't build current... Message-ID: <20010327102055.A15524@xor.obsecurity.org> References: <158278002125.20010327171547@buz.ch> <20010328025515C.matusita@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010328025515C.matusita@jp.FreeBSD.org>; from matusita@jp.FreeBSD.org on Wed, Mar 28, 2001 at 02:55:15AM +0900 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 28, 2001 at 02:55:15AM +0900, Makoto MATSUSHITA wrote: > You should have src/secure/lib/libcrypt/crypt-blowfish.c. If you don't > have, it's your problem. The CVS repository has this file already: > http://www.freebsd.org/cgi/cvsweb.cgi/src/secure/lib/libcrypt/crypt-blowf= ish.c >=20 > Have you update (or checkout) your src/secure, or which CVSup server you = use? I believe Mark's intention was to keep crypt-blowfish.c optional for those who don't want to install crypto. Perhaps this is broken. Kris --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6wNoHWry0BWjoQKURAkhfAJ9ieNItPwPlFijKzjaQl3OhoIMVHgCgrOiZ +XjMm/3AqcB6wK9Z/Z7lS/I= =SEhi -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 10:22:28 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 2FC2D37B719 for ; Tue, 27 Mar 2001 10:22:26 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2RIMCG58618; Tue, 27 Mar 2001 10:22:12 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <74288556332.20010327201141@buz.ch> Date: Tue, 27 Mar 2001 10:21:47 -0800 (PST) From: John Baldwin To: Gabriel Ambuehl Subject: Current for production? Cc: freebsd-current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27-Mar-01 Gabriel Ambuehl wrote: > While I'm writing this: what is the general opinion about having > CURRENT on production servers (I'd really love to deploy the ACLs > ASAP)? I don't plan to use SMP and can wait for snapshots til the > RELEASE comes... Don't. ACL's are still not production quality yet, and the SMP work breaks UP kernels just as bad as SMP kernels when it breaks. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 10:22:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id CB1A037B718 for ; Tue, 27 Mar 2001 10:22:31 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2RIMAG58602; Tue, 27 Mar 2001 10:22:10 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103271625.f2RGPP815322@bunrab.catwhisker.org> Date: Tue, 27 Mar 2001 10:21:45 -0800 (PST) From: John Baldwin To: David Wolfskill Subject: Re: top output broked? Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27-Mar-01 David Wolfskill wrote: >>Date: Tue, 27 Mar 2001 03:18:10 -0800 >>From: Alfred Perlstein > > >> PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND >> 824 root -8 0 1048K 596K biord 0 0:38 0.00% 0.00% find >> 385 root 4 0 32740K 31944K select 1 0:32 0.00% 0.00% XFree86 >> 836 root -8 0 532K 276K biord 1 0:07 0.00% 0.00% nfsd >>14848 root 96 0 26912K 26832K RUN 1 0:04 0.00% 0.00% ld >> 424 bright 4 0 2120K 1340K select 0 0:04 0.00% 0.00% rxvt > > >>no cpu time, known issue? > > I get non-zero values from time to time; in particular, I fired up an > xterm & did a "while (1)" loop in it, and the CPU times increased in a > gratifying manner. :-} > > However, the usual values I'm seeing are rather lower than I would > expect, and lower than the same machine running -STABLE (within the last > several days, by my recollection). > > As a reality check, I'm trying "vmstat 5", and it's consistently > reporting either 99 or 100% idle. There -- I got both it & top to > report something noticeable: I fired up netscape.... > > Maybe it really *is* using CPU much more efficiently...? No, I didn't > think so, but it was a nice thought.... :-) > > Oh: recent CVSup history (I hadn't noticed the behavior in the > -CURRENNT I built yesterday): > > CVSup started at Sun Mar 25 23:47:00 PST 2001 > CVSup ended at Sun Mar 25 23:52:25 PST 2001 > CVSup started at Mon Mar 26 23:47:00 PST 2001 > CVSup ended at Mon Mar 26 23:53:39 PST 2001 Keep in mind that we no longer charge interrupt time to the process being interrupted, instead all that interrupt handling has been pushed off into ithreads. Same for software interrupt threads. That said, I don't see how X is so idle, it's certainly not on my laptop: PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 454 john 4 0 44440K 43464K select 1:57 4.05% 4.05% XFree86 461 john 4 0 17076K 16144K select 0:35 0.39% 0.39% enlightenment 492 john 4 10 3072K 2040K select 0:28 0.10% 0.10% E-ScreenSave. 1022 john 4 0 7764K 7008K select 0:09 0.10% 0.10% xfmail 398 root 4 0 984K 564K select 0:06 0.00% 0.00% moused > Cheers, > david -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 10:22:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 43CA337B731 for ; Tue, 27 Mar 2001 10:22:30 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2RIMBG58606; Tue, 27 Mar 2001 10:22:11 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103271653.f2RGrZ415502@bunrab.catwhisker.org> Date: Tue, 27 Mar 2001 10:21:46 -0800 (PST) From: John Baldwin To: David Wolfskill Subject: RE: top output broked? Cc: current@FreeBSD.org, bright@wintelcom.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27-Mar-01 David Wolfskill wrote: >>Date: Tue, 27 Mar 2001 08:33:10 -0800 (PST) >>From: John Baldwin > >>Not one that I've seen: > >> PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND >> 11 root -16 0 0K 0K CPU0 0 79.5H 49.37% 49.37% idle: >> cpu0 >> 10 root -16 0 0K 0K RUN 1 79.4H 48.19% 48.19% idle: >> cpu1 >> 13 root -48 -167 0K 0K WAIT 0 62:53 0.00% 0.00% swi6: >> tty:s >> 15 root 76 0 0K 0K sleep 0 6:07 0.00% 0.00% random >> 5 root 20 0 0K 0K syncer 1 2:47 0.00% 0.00% syncer >> 20 root -68 -187 0K 0K WAIT 1 1:18 0.00% 0.00% irq18: >> fxp0 >> 19 root -64 -183 0K 0K WAIT 0 0:53 0.00% 0.00% irq16: >> ahc0 >> 12 root -44 -163 0K 0K WAIT 0 0:52 0.00% 0.00% swi1: net >> 18 root -36 -155 0K 0K WAIT 1 0:49 0.00% 0.00% swi3: >> cambi >> 4 root -16 0 0K 0K psleep 0 0:41 0.00% 0.00% bufdaemon >> 283 root 4 0 552K 388K select 0 0:10 0.00% 0.00% dhclient > >>If you run 'top -S' does all your time show up in the idle processes like it >>does here? > > Hmm... mine loks like that (modulo #CPUs), except when I'm actually > making it do some work (re-building the kernel, in this case). What I > see ("top -S") looks like: > > last pid: 9546; load averages: 0.97, 0.64, 0.30 up 0+00:08:32 > 08:51:47 > 77 processes: 3 running, 57 sleeping, 2 zombie, 15 waiting > CPU states: 91.1% user, 0.0% nice, 5.4% system, 0.4% interrupt, 3.1% idle This is probably right.. I don't know why you are seeing such weirdness however. Is your world and kernel out of sync. It's a nice (mis)feature now that if items in the middle of kinfo_proc change size it still tries to use the misordered data rather than complaining about it like it used to. :-P See my other e-mail where top on my laptop doles out time to userland tasks ok. > I confess a degree of skepticism.... :-} I agree. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 10:47: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 0BEB137B719; Tue, 27 Mar 2001 10:47:04 -0800 (PST) (envelope-from david@catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.10.0/8.10.0) id f2RIkxF15850; Tue, 27 Mar 2001 10:46:59 -0800 (PST) Date: Tue, 27 Mar 2001 10:46:59 -0800 (PST) From: David Wolfskill Message-Id: <200103271846.f2RIkxF15850@bunrab.catwhisker.org> To: david@catwhisker.org, jhb@FreeBSD.org Subject: Re: top output broked? Cc: current@FreeBSD.org In-Reply-To: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Tue, 27 Mar 2001 10:21:46 -0800 (PST) >From: John Baldwin >> Hmm... mine loks like that (modulo #CPUs), except when I'm actually >> making it do some work (re-building the kernel, in this case). What I >> see ("top -S") looks like: >> last pid: 9546; load averages: 0.97, 0.64, 0.30 up 0+00:08:32 >> 08:51:47 >> 77 processes: 3 running, 57 sleeping, 2 zombie, 15 waiting >> CPU states: 91.1% user, 0.0% nice, 5.4% system, 0.4% interrupt, 3.1% idle >This is probably right.. Yes; that much of it "feels" about right. >I don't know why you are seeing such weirdness however. Is your world and >kernel out of sync. Assuredly not, but I understand the rationale behind the question. :-) (I have the "script" log available for perusal....) >It's a nice (mis)feature now that if items in the middle >of kinfo_proc change size it still tries to use the misordered data rather than >complaining about it like it used to. :-P See my other e-mail where top on my >laptop doles out time to userland tasks ok. >> I confess a degree of skepticism.... :-} >I agree. :-) >Date: Tue, 27 Mar 2001 10:21:45 -0800 (PST) >From: John Baldwin >Keep in mind that we no longer charge interrupt time to the process being >interrupted, instead all that interrupt handling has been pushed off into >ithreads. Same for software interrupt threads. OK; that's a good & useful thing to keep in mind. And I did see some IRQ-related entries in top's output. >That said, I don't see how X is so idle, it's certainly not on my laptop: > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 454 john 4 0 44440K 43464K select 1:57 4.05% 4.05% XFree86 > 461 john 4 0 17076K 16144K select 0:35 0.39% 0.39% enlightenment > 492 john 4 10 3072K 2040K select 0:28 0.10% 0.10% E-ScreenSave. Eh... the "enlightenment" line may provide a clue there. I use tvtwm as a window manager. :-} (I figure anything that could be marginally acceptable on a (maxed out) 24 MB Sun 3/60 ought to be adequate for this 750 MHz/256 MB laptop....) Cheers, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 11:14:52 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 3BCC237B719 for ; Tue, 27 Mar 2001 11:14:39 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.1/8.11.1) with SMTP id f2RJEch94727 for ; Tue, 27 Mar 2001 14:14:38 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 27 Mar 2001 14:14:38 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: freebsd-current@FreeBSD.org Subject: ACL support in 5.0-CURRENT (was: cvs commit: src/sys/conf files options src/sys/ufs/ufs acl.h ufs_acl.c ufs_vnops.c (fwd)) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As I've already indicated on various mailing lists (freebsd-fs and freebsd-security, in particular), this commit (message attached below) adds the remainder of the necessary code to add POSIX.1e ACLs to FreeBSD 5.0-CURRENT. As I describe in the commit message, this is not ready for production use, and there may be API, ABI, and binary format changes that cause experimental installations to get broken, but even so, I'd like to appeal for testers to try and track down bugs, incompatibilities, etc. As such, this e-mail includes basic directions for getting ACLs working on a file system, as well as having references to useful man pages and other doucments. Note: these directions are copied from the README of the last specific ACL patch release, acl-0.6.1, so you can always grab that off the TrustedBSD downloads page and get the same thing. POSIX.1e Access Control Lists for FreeBSD, Version 0.6.1 March 19, 2001 http://www.TrustedBSD.org/ Robert Watson This is the README file for 0.6.1 of POSIX.1e ACLs for TrustedBSD. Introduction Access Control Lists provide a means by which more detailed permissions may be associated with file system objects, allowing the granting of rights in a discretionary way by the file owner. POSIX.1e ACLs extend the basic UNIX permission set allowing the granting of rights to additional users and groups beyond the file owner and group. These mechanisms can be used to reduce the need for centralized file permission administration by system administrators in the case of collaborative work (files and directories can now give rights to sets of users without the system administrator needing to define a group describing the set), and can also be used to more finely tune permissions for system use. This is a still-experimental implementation, and should not be relied on in production environments yet. In general, the POSIX.1e draft standard is adhered to for interfaces, except in specific documented cases. (discussion of applying ACL patches and commit status ommitted) Installation (discussion of applying ACL patches and commit status ommitted) Add the following options to your kernel config file: options UFS_EXTATTR options UFS_EXTATTR_AUTOSTART options UFS_ACL Run config to configure the kernel build, build and install the kernel. The userland libraries and tools required to use ACLs are now part of the base FreeBSD distribution, and are built by default. Configuration (discussion of applying ACL patches and commit status ommitted) The library and system call interfaces included in that source version should be sufficient to support ACLs, so only rebuilding of the kernel is required. To enable support for ACLs in UFS, include option "UFS_ACL". This depends on the presence of "UFS_EXTATTR" to actually work, which enables extended attributes on the FFS and MFS file systems; the "UFS_EXTATTR_AUTOSTART" option may also be useful as it reduces administrative overhead associated with extended attributes. UFS ACLs rely on two different extended attributes: "posix1e.acl_access" to store the access ACL, and "posix1e.acl_default" to store default ACLs on directories. These must be initialized and enabled for ACLs to work on a given file system. In FreeBSD 5.0-CURRENT, extended attributes are stored in backing files that must be explicitly configured for each file system. Once attribute backing files are initialized, they may be manually enabled for the file system after mount, or with the UFS_EXTATTR_AUTOSTART option compiled into the kernel, they can be automatically started each time the file system is mounted. To configure extended attributes for a file system, first create a ".attribute" directory off of the file system root. Next, create two sub-directories name "user" and "system", which will store the backing files for user and system extended attributes. To initialize the "posix1e.acl_access" and "posix1e.acl_default" EAs, run the following commands in relevant ".attribute/system" directories on each file system: extattrctl initattr 388 'posix1e.acl_access' extattrctl initattr 388 'posix1e.acl_default' The 388 reflects the current maximum size of an ACL when stored. These files are not pre-initialized to conserve space, but the results of running out of space for an ACL are generally unfortunate, and should be avoided, either by preinitializing ('-p /'), or not consuming system free space. After the EA backing files are initialized, you can manually start the EA's on the file system, or if UFS_EXTATTR_AUTOSTART is enabled, simply remount the file systems, or reboot the system. To manually start and enable the attributes for the root file system, do the following: extattrctl start / extattrctl enable / posix1e.acl_access /.attribute/system/posix1e.acl_access extattrctl enable / posix1e.acl_default /.attribute/system/posix1e.acl_default Once these EA's are available for a file system, ACLs will automatically be enabled. In the future, ACL support may require specific administrative configuration. Interfaces Several new interfaces are introduced to support access control lists. This includes library routines in libposix1e, new syscalls, VFS calls, and reliance on the new extended attribute support. The library and VFS calls are documented in system man pages--see posix1e(3), acl(3) and acl(9) for starting points. Implementation Status Userland utilities: The getfacl and setfacl tools are complete, and committed to the base FreeBSD source treee. Libraries: The basis ACL set/get/text/etc is complete, but the detailed ACL editing support (inconvenient and unwieldy) is not. Syscalls: All syscalls are fully implemented; the extended attribute interface may evolve over time to reflect implementation and portability requirements. Vnode calls: A vnode framework is provided, but individual file systems must provide their own ACL storage and management. Generic ACL support code is provided in kern_acl.c to make this consistent across filesystems. UFS: Support for ACLs relies on extended attributes; this appears to wok correctly, but extensive testing is required. Documentation: Man pages for userland utilities, library calls, and VFS calls are complete. UFS documents should be updated to reflect the current integration and design. Documentation A paper presented at BSDcon 2000 documents the support for extended attributes; other documentation is still forth-coming. The POSIX.1e draft (D17) documents the API in detail, and gives examples. POSIX.2c documents the command line tools. Online man pages that are relevant include: VOP_ACLCHECK(9) - Check an access control list for a vnode VOP_GETACL(9) - Retrieve access control list for a vnode VOP_SETACL(9) - Set the access control list for a vnode acl(3) - introduction to the POSIX.1e ACL security API acl(9) - virtual file system access control lists acl_add_perm(3) - add permissions to a permission set acl_calc_mask(3) - calculate and set ACL mask permissions acl_canonicalize_principal(3), acl_check(3), acl_exact_match(3), acl_add(3), acl_delete(3), acl_initialize(3) - Access control list routines acl_clear_perms(3) - clear permissions from a permission set acl_copy_entry(3) - copy an ACL entry to another ACL entry acl_delete_def_file(3), acl_delete_fd_np(3), acl_delete_file_np(3) - delete an ACL from a file acl_delete_entry(3) - delete an ACL entry from an ACL acl_delete_perm(3) - delete permissions from a permission set acl_dup(3) - duplicate an ACL acl_free(3) - free ACL working state acl_from_text(3) - create an ACL from text acl_get_fd(3), acl_get_fd_np(3), acl_get_file(3) - get an ACL for a file acl_get_permset(3) - retrieve permission set from an ACL entry acl_get_qualifier(3) - retrieve the qualifier from an ACL entry acl_get_tag_type(3) - calculate and set ACL mask permissions acl_init(3) - initialize ACL working storage acl_set_fd(3), acl_set_fd_np(3), acl_set_file(3) - get an ACL for a file acl_set_permset(3) - set the permissions of an ACL entry acl_set_qualifier(3) - set ACL tag qualifier acl_set_tag_type(3) - set the tag type of an ACL entry acl_to_text(3) - convert an ACL to Text acl_valid(3), acl_valid_fd_np(3), acl_valid_file_np(3) - validate an ACL getfacl(1) - get ACL Information setfacl(1) - set ACL Information VOP_GETEXTATTR(9) - Retrieve named extended attribute from a vnode VOP_SETEXTATTR(9) - Set named extended attribute for a vnode extattr(9) - virtual file system named extended attributes extattrctl(8) - manage FFS extended attributes getextattr(8) - retrieve a named extended attribute setextattr(8) - set a named extended attribute This README makes a good introduction. The posix1e@cyrus.watson.org mailing list and archive make for a good source of information about detailed semantics and ambiguities in the specifications. Credits Chris D. Faulhaber provided the setfacl utility, as well as debugging of kernel components, and bugfixes to libposix1e. Brian Feldman provided bugfixes to libposix1e, as well as provided assistance with acl_{to,from}_text. Robert Watson provided the majority of the kernel and userland code. Mailing Lists FreeBSD Security: freebsd-security@freebsd.org, majordomo@freebsd.org POSIX.1e: posix1e@cyrus.watson.org, majordomo@cyrus.watson.org TrustedBSD: trustedbsd-discuss@trustedbsd.org, majordomo@trustedbsd.org Web Pages TrustedBSD: http://www.TrustedBSD.org License Standard 2-clause BSD-style license (see top of this file), designed to encourage wide-spread integration of the code in open-source and commercial products. This license encourages interoperability through the use of compatible and consistent code across platforms--which is consistent with the desire to produce a more portable and secure environment. Please feel free to contact me if you're interested in alternative licenses that better suit your needs, or if you want to send me money. Contact Information Personal: Robert Watson FreeBSD-related: Robert Watson Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services ---------- Forwarded message ---------- Date: Mon, 26 Mar 2001 09:53:19 -0800 (PST) From: Robert Watson To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files options src/sys/ufs/ufs acl.h ufs_acl.c ufs_vnops.c rwatson 2001/03/26 09:53:19 PST Modified files: sys/conf files options sys/ufs/ufs ufs_vnops.c Added files: sys/ufs/ufs acl.h ufs_acl.c Log: Introduce support for POSIX.1e ACLs on UFS-based file systems. This implementation is still experimental, and while fairly broadly tested, is not yet intended for production use. Support for POSIX.1e ACLs on UFS will not be MFC'd to RELENG_4. This implementation works by providing implementations of VOP_[GS]ETACL() for FFS, as well as modifying the appropriate access control and file creation routines. In this implementation, ACLs are backed into extended attributes; the base ACL (owner, group, other) permissions remain in the inode for performance and compatibility reasons, so only the extended and default ACLs are placed in extended attributes. The logic for ACL evaluation is provided by the fs-independent kern/kern_acl.c. o Introduce UFS_ACL, a compile-time configuration option that enables support for ACLs on FFS (and potentially other UFS-based file systems). o Introduce ufs_getacl(), ufs_setacl(), ufs_aclcheck(), which respectively get, set, and check the ACLs on the passed vnode. o Introduce ufs_sync_acl_from_inode(), ufs_sync_inode_from_acl() to maintain access control information between inode permissions and extended attribute data. o Modify ufs_access() to load a file access ACL and invoke vaccess_acl_posix1e() if ACLs are available on the file system o Modify ufs_mkdir() and ufs_makeinode() to associate ACLs with newly created directories and files, inheriting from the parent directory's default ACL. o Enable these new vnode operations and conditionally compiled code paths if UFS_ACL is defined. A few notes: o This implementation is fairly widely tested, but still should be considered experimental. o Currently, ACLs are not exported via NFS, instead, the summarizing file mode/etc from the inode is. This results in conservative protection behavior, similar to the behavior of ACL-nonaware programs acting locally. o It is possible that underlying binary data formats associated with this implementation may change. Consumers of the implementation should expect to find their local configuration obsoleted in the next few months, resulting in possible loss of ACL data during an upgrade. o The extended attributes interface and implementation is still undergoing modification to address portable interface concerns, as well as performance. o Many applications do not yet correctly handle ACLs. In general, due to the POSIX.1e ACL model, behavior of ACL-unaware applications will be conservative with respects to file protection; some caution is recommended. o Instructions for configuring and maintaining ACLs on UFS will be committed in the near future; in the mean time it is possible to reference the README included in the last UFS ACL distribution placed in the TrustedBSD web site: http://www.TrustedBSD.org/downloads/ Substantial debugging, hardware, travel, or connectivity support for this project was provided by: BSDi, Safeport Network Services, and NAI Labs. Significant coding contributions were made by Chris Faulhaber. Additional support was provided by Brian Feldman, Thomas Moestl, and Ilmar Habibulin. Reviewed by: jedgar, keichii, mckusick, trustedbsd-discuss, freebsd-fs Obtained from: TrustedBSD Project Revision Changes Path 1.502 +2 -1 src/sys/conf/files 1.266 +6 -1 src/sys/conf/options 1.160 +214 -6 src/sys/ufs/ufs/ufs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 11:31:29 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id 75FFA37B718 for ; Tue, 27 Mar 2001 11:31:25 -0800 (PST) (envelope-from karsten@rohrbach.de) Received: (qmail 38543 invoked by uid 1000); 27 Mar 2001 19:31:42 -0000 Date: Tue, 27 Mar 2001 21:31:42 +0200 From: "Karsten W. Rohrbach" To: Doug Barton Cc: Warner Losh , Greg Lehey , Andrew Reilly , David O'Brien , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind Message-ID: <20010327213141.A38317@rohrbach.de> Reply-To: karsten@rohrbach.de Mail-Followup-To: Doug Barton , Warner Losh , Greg Lehey , Andrew Reilly , David O'Brien , freebsd-current@FreeBSD.ORG References: <20010326175419.X40349@wantadilla.lemis.com> <20010321104438.A94096@dragon.nuxi.com> <20010326090306.D40349@wantadilla.lemis.com> <3ABEF43A.D4DA1929@DougBarton.net> <20010326172414.V40349@wantadilla.lemis.com> <20010326181905.B75840@gurney.reilly.home> <20010326175419.X40349@wantadilla.lemis.com> <200103270740.f2R7eJ942673@harmony.village.org> <20010327152621.A20645@rohrbach.de> <3AC0D674.9785E656@DougBarton.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AC0D674.9785E656@DougBarton.net>; from DougB@DougBarton.net on Tue, Mar 27, 2001 at 10:05:40AM -0800 X-Arbitrary-Number-Of-The-Day: 42 X-Sender: karsten@rohrbach.de Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Barton(DougB@DougBarton.net)@Tue, Mar 27, 2001 at 10:05:40AM -0800: > "Karsten W. Rohrbach" wrote: > > > > Warner Losh(imp@harmony.village.org)@Tue, Mar 27, 2001 at 12:40:18AM -0700: > > > In message <20010326175419.X40349@wantadilla.lemis.com> Greg Lehey writes: > > > : > Play the ball, not the man. > > > : > > > : I don't have an objection to the change, I was just asking. And > > > : "because System V does it this way" has never been a good answer for > > > : us. And no, I'm not picking on Doug, just making a point. > > > > > > I see no reason why the name can't remain portmap. > > > > > does it take parameters? > > then it would make sense to have it named rpcbind... > > Pardon me being dense, but what does that have to do with anything? > portmap took a -v flag, or are you talking about something different? the idea is, that if rpcbind takes parameters different from portmap it would make sense to call rpcbind rpcbind because people's boxes will start to barf when rpcbind is called portmap, they make world, and skip reading the rpcbind paragraph in UPDATING ;-) does this make sense? /k -- > Hugh Hefner is a virgin. KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 11:35:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id E4A1F37B71B; Tue, 27 Mar 2001 11:35:28 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2RJZSF09923; Tue, 27 Mar 2001 11:35:28 -0800 (PST) Date: Tue, 27 Mar 2001 11:35:28 -0800 From: Alfred Perlstein To: John Baldwin Cc: current@FreeBSD.org Subject: Re: top output broked? Message-ID: <20010327113528.G9431@fw.wintelcom.net> References: <20010327031810.X9431@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Tue, Mar 27, 2001 at 08:33:10AM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * John Baldwin [010327 08:33] wrote: > > On 27-Mar-01 Alfred Perlstein wrote: > > > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND > > 824 root -8 0 1048K 596K biord 0 0:38 0.00% 0.00% find > > 385 root 4 0 32740K 31944K select 1 0:32 0.00% 0.00% XFree86 > > 836 root -8 0 532K 276K biord 1 0:07 0.00% 0.00% nfsd > > 14848 root 96 0 26912K 26832K RUN 1 0:04 0.00% 0.00% ld > > 424 bright 4 0 2120K 1340K select 0 0:04 0.00% 0.00% rxvt > > > > > > no cpu time, known issue? > > Not one that I've seen: > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND > 11 root -16 0 0K 0K CPU0 0 79.5H 49.37% 49.37% idle: cpu0 > 10 root -16 0 0K 0K RUN 1 79.4H 48.19% 48.19% idle: cpu1 > 13 root -48 -167 0K 0K WAIT 0 62:53 0.00% 0.00% swi6: tty:s > 15 root 76 0 0K 0K sleep 0 6:07 0.00% 0.00% random > 5 root 20 0 0K 0K syncer 1 2:47 0.00% 0.00% syncer > 20 root -68 -187 0K 0K WAIT 1 1:18 0.00% 0.00% irq18: fxp0 > 19 root -64 -183 0K 0K WAIT 0 0:53 0.00% 0.00% irq16: ahc0 > 12 root -44 -163 0K 0K WAIT 0 0:52 0.00% 0.00% swi1: net > 18 root -36 -155 0K 0K WAIT 1 0:49 0.00% 0.00% swi3: cambi > 4 root -16 0 0K 0K psleep 0 0:41 0.00% 0.00% bufdaemon > 283 root 4 0 552K 388K select 0 0:10 0.00% 0.00% dhclient > > If you run 'top -S' does all your time show up in the idle processes like it > does here? Newp: last pid: 38024; load averages: 0.00, 0.00, 0.00 up 0+08:57:58 11:36:15 92 processes: 3 running, 69 sleeping, 1 zombie, 19 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 0.0% idle Mem: 67M Active, 328M Inact, 76M Wired, 26M Cache, 60M Buf, 1608K Free Swap: 512M Total, 512M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 10 root -16 0 0K 0K CPU1 1 510:11 0.00% 0.00% idle: cpu1 11 root -16 0 0K 0K RUN 0 510:07 0.00% 0.00% idle: cpu0 385 root 4 0 43600K 42884K select 0 2:49 0.00% 0.00% XFree86 5 root 20 0 0K 0K syncer 0 1:41 0.00% 0.00% syncer 13 root -48 -167 0K 0K WAIT 1 1:02 0.00% 0.00% swi6: tty:s 424 bright 4 0 2120K 1292K select 0 0:21 0.00% 0.00% rxvt I have an Asus P2D. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 11:42:58 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 5FCEB37B71B; Tue, 27 Mar 2001 11:42:52 -0800 (PST) (envelope-from david@catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.10.0/8.10.0) id f2RJgjU15958; Tue, 27 Mar 2001 11:42:45 -0800 (PST) Date: Tue, 27 Mar 2001 11:42:45 -0800 (PST) From: David Wolfskill Message-Id: <200103271942.f2RJgjU15958@bunrab.catwhisker.org> To: bright@wintelcom.net, jhb@FreeBSD.ORG Subject: Re: top output broked? Cc: current@FreeBSD.ORG In-Reply-To: <20010327113528.G9431@fw.wintelcom.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Also, I happened to note that as I'm doing a "make buildworld" (for today's -STABLE, running in yesterday's -STABLE), my "top -S" output shows a large number of "0.00" entries for CPU (on the same laptop as my previously-reported results). So it may be odd, but at least -- in my case -- it appears to be moderately consistent (modulo known & expected changes between -STABLE & -CURRENT). Cheers, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 11:46:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 50B0137B718; Tue, 27 Mar 2001 11:46:08 -0800 (PST) (envelope-from mwlucas@blackhelicopters.org) Received: (from mwlucas@localhost) by blackhelicopters.org (8.9.3/8.9.3) id OAA64419; Tue, 27 Mar 2001 14:46:05 -0500 (EST) (envelope-from mwlucas) Date: Tue, 27 Mar 2001 14:46:05 -0500 From: Michael Lucas To: John Baldwin Cc: Gabriel Ambuehl , freebsd-current@FreeBSD.ORG Subject: Re: Current for production? Message-ID: <20010327144605.A64359@blackhelicopters.org> References: <74288556332.20010327201141@buz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from jhb@FreeBSD.ORG on Tue, Mar 27, 2001 at 10:21:47AM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'd like to reinforce this: I'm not a hacker, but have a -current box so I can write about it. (It's difficult to write a book targeting 5.1-release and time it for 5.1-R, when you don't have 5-current. This is one definite advantage Greg Lehey has over the rest of us authorial sorts.) With five years fairly hardcore FreeBSD experience, tracking -current is a *pain*. At any given point in time, 90% of the system works. The 10% that doesn't changes almost daily. If you want to invest your time in finding a particular date of -current that meets your needs, and you make a management decision that you will never, never, *never* upgrade without going through the same audit, go for it. Plus, I've made a management decision to never whine about what's broken, just live with it. (Okay, I do report broken buildworlds, but that's it.) My Pilot software locks the machine up; the web browser has been known to hang forever; the web server occasionally screams obscenities; other miscellanous ports just puke. Heck, I'm waiting for this laptop to phone the police and report me as a kiddie porn devotee, then anonymously transfer my bank balance to the Linux Foundation. It'll be for a technically sound reason, I know, but that still makes it a pain. I would run unionfs on a 3-stable production box before running -current in production right now. ==ml PS: You could also make a management decision to hire a kernel hacker to work on the part of -current that you need. :) On Tue, Mar 27, 2001 at 10:21:47AM -0800, John Baldwin wrote: > > On 27-Mar-01 Gabriel Ambuehl wrote: > > While I'm writing this: what is the general opinion about having > > CURRENT on production servers (I'd really love to deploy the ACLs > > ASAP)? I don't plan to use SMP and can wait for snapshots til the > > RELEASE comes... > > Don't. ACL's are still not production quality yet, and the SMP work breaks UP > kernels just as bad as SMP kernels when it breaks. > > -- > > John Baldwin -- http://www.FreeBSD.org/~jhb/ > PGP Key: http://www.baldwin.cx/~john/pgpkey.asc > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- Michael Lucas mwlucas@blackhelicopters.org http://www.blackhelicopters.org/~mwlucas/ Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 11:47:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from gratis.grondar.za (grouter.grondar.za [196.7.18.65]) by hub.freebsd.org (Postfix) with ESMTP id 3A80A37B718 for ; Tue, 27 Mar 2001 11:47:19 -0800 (PST) (envelope-from mark@grondar.za) Received: from grondar.za (root@gratis.grondar.za [196.7.18.133]) by gratis.grondar.za (8.11.1/8.11.1) with ESMTP id f2RJlDf80550 for ; Tue, 27 Mar 2001 21:47:15 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <200103271947.f2RJlDf80550@gratis.grondar.za> To: current@freebsd.org Subject: HEADS UP!! New PAM functionaity in CURRENT! Date: Tue, 27 Mar 2001 21:48:25 +0200 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello all! I have just added new PAM functionality to CURRENT. There is now better support for account management and sessions. If you foul up your pam.conf merging, you may not be able to get into your system. PLEASE MERGE /etc/pam.conf WITH CARE! At the least, your login section should look like: login auth required pam_unix.so try_first_pass login account required pam_unix.so login password required pam_permit.so login session required pam_permit.so and your sshd section should look like: sshd auth required pam_unix.so try_first_pass sshd account required pam_unix.so sshd password required pam_permit.so sshd session required pam_permit.so M -- Mark Murray Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 11:57:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 10C8D37B71D for ; Tue, 27 Mar 2001 11:57:14 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2RJv2G61751; Tue, 27 Mar 2001 11:57:02 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103271846.f2RIkxF15850@bunrab.catwhisker.org> Date: Tue, 27 Mar 2001 11:56:38 -0800 (PST) From: John Baldwin To: David Wolfskill Subject: Re: top output broked? Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27-Mar-01 David Wolfskill wrote: >>Date: Tue, 27 Mar 2001 10:21:45 -0800 (PST) >>From: John Baldwin > >>Keep in mind that we no longer charge interrupt time to the process being >>interrupted, instead all that interrupt handling has been pushed off into >>ithreads. Same for software interrupt threads. > > OK; that's a good & useful thing to keep in mind. And I did see some > IRQ-related entries in top's output. Are they getting %CPU though. When running top -S, the CPU %'s should always add up to about 100 (with fudges for rounding errors). >>That said, I don't see how X is so idle, it's certainly not on my laptop: > >> PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND >> 454 john 4 0 44440K 43464K select 1:57 4.05% 4.05% XFree86 >> 461 john 4 0 17076K 16144K select 0:35 0.39% 0.39% >> enlightenment >> 492 john 4 10 3072K 2040K select 0:28 0.10% 0.10% >> E-ScreenSave. > > Eh... the "enlightenment" line may provide a clue there. I use tvtwm as > a window manager. :-} (I figure anything that could be marginally > acceptable on a (maxed out) 24 MB Sun 3/60 ought to be adequate for this > 750 MHz/256 MB laptop....) Heh, but I figured Alfred was in X when he was running top, so X must've been doing _some_ screen updates, and not just have 0.00% CPU time. :-P -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 12: 4: 4 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id A250337B71A; Tue, 27 Mar 2001 12:04:00 -0800 (PST) (envelope-from david@catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.10.0/8.10.0) id f2RK40S16036; Tue, 27 Mar 2001 12:04:00 -0800 (PST) Date: Tue, 27 Mar 2001 12:04:00 -0800 (PST) From: David Wolfskill Message-Id: <200103272004.f2RK40S16036@bunrab.catwhisker.org> To: jhb@freebsd.org Subject: Re: top output broked? Cc: current@freebsd.org In-Reply-To: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Tue, 27 Mar 2001 11:56:38 -0800 (PST) >From: John Baldwin >> OK; that's a good & useful thing to keep in mind. And I did see some >> IRQ-related entries in top's output. >Are they getting %CPU though. When running top -S, the CPU %'s should always >add up to about 100 (with fudges for rounding errors). Well, as noted in another note a little prior to this one, the -CURRENT behavior I'm seeing isn't all *that* different from the -STABLE behavior -- in each case, the sum of what "top" reports for CPU % is normally small. >> Eh... the "enlightenment" line may provide a clue there. I use tvtwm as >> a window manager. :-} (I figure anything that could be marginally >> acceptable on a (maxed out) 24 MB Sun 3/60 ought to be adequate for this >> 750 MHz/256 MB laptop....) >Heh, but I figured Alfred was in X when he was running top, so X must've been >doing _some_ screen updates, and not just have 0.00% CPU time. :-P Well, that gets into a matter of perspective, since the amount of CPU resource required to do the screen updates (vs. what is available) could well be 0.00 (to 2 decimals).... :-) (Kinda like the ratio of a circle's circumference to its diameter is "3" to a single significant figure.) (I was in X at the time, too.) Cheers, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 12: 7:34 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id EF3BE37B718 for ; Tue, 27 Mar 2001 12:07:31 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.1/8.11.1) with SMTP id f2RK7Vh95513 for ; Tue, 27 Mar 2001 15:07:31 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 27 Mar 2001 15:07:31 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: freebsd-current@FreeBSD.org Subject: Re: ACL support in 5.0-CURRENT (was: cvs commit: src/sys/conf files options src/sys/ufs/ufs acl.h ufs_acl.c ufs_vnops.c (fwd)) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 27 Mar 2001, Robert Watson wrote: > acl_canonicalize_principal(3), acl_check(3), acl_exact_match(3), acl_add(3), acl_delete(3), acl_initialize(3) - Access control list routines Note that this was included in the list by mistake -- these are actually from the Kerberos ACL library. Right now there is a man page namespace conflict between the POSIX.1e and Kerberos ACL calls that we will probably attempt to resolve in the next few days. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 13: 2:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.org.ru (sweet.etrust.ru [194.84.67.5]) by hub.freebsd.org (Postfix) with ESMTP id D0DE737B719; Tue, 27 Mar 2001 13:02:40 -0800 (PST) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id 98A3422A; Wed, 28 Mar 2001 01:02:39 +0400 (MSD) Date: Wed, 28 Mar 2001 01:02:39 +0400 From: "Sergey A. Osokin" To: Ruslan Ermilov Cc: current@FreeBSD.ORG Subject: Re: usr.bin/kdump - 'make world' broken? Message-ID: <20010328010239.A85471@freebsd.org.ru> Reply-To: osa@FreeBSD.org.ru References: <00d401c0b6b0$43ffa2a0$0100a8c0@wegalink.net> <20010327193449.A83082@freebsd.org.ru> <20010327191748.A81494@sunbay.com> <20010327214236.A84025@freebsd.org.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010327214236.A84025@freebsd.org.ru>; from osa@freebsd.org.ru on Tue, Mar 27, 2001 at 09:42:36PM +0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 27, 2001 at 09:42:36PM +0400, Sergey A. Osokin wrote: > On Tue, Mar 27, 2001 at 07:17:48PM +0300, Ruslan Ermilov wrote: > > On Tue, Mar 27, 2001 at 07:34:49PM +0400, Sergey A. Osokin wrote: > > > On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote: > > > > What could be the reason for the following problem? > > > > > > > > ===> usr.bin/kdump > > > > cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../ > > > > .. -I/usr/obj/usr/src/i386/usr/include -c ioctl.c > > > > In file included from ioctl.c:96: > > > > /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' > > > > redefined > > > > /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the > > > > location of the previous definition > > > > In file included from ioctl.c:52: > > > > /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX' > > > > undeclared here (not in a function) > > > > *** Error code 1 > > > > > > > > Stop in /usr/src/usr.bin/kdump. > > > > *** Error code 1 > > > > > Should be fixed in usr.bin/kdump/mkioctls,v 1.20. > > OK. I try buildworld now. OK. it works. Great thanks. -- Rgdz, /"\ Sergey Osokin aka oZZ, \ / ASCII RIBBON CAMPAIGN osa@freebsd.org.ru X AGAINST HTML MAIL http://freebsd.org.ru/~osa/ / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 13:29:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 470D137B718 for ; Tue, 27 Mar 2001 13:29:22 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2RLTAG64370; Tue, 27 Mar 2001 13:29:10 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103272004.f2RK40S16036@bunrab.catwhisker.org> Date: Tue, 27 Mar 2001 13:28:46 -0800 (PST) From: John Baldwin To: David Wolfskill Subject: Re: top output broked? Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27-Mar-01 David Wolfskill wrote: >>Date: Tue, 27 Mar 2001 11:56:38 -0800 (PST) >>From: John Baldwin > >>> OK; that's a good & useful thing to keep in mind. And I did see some >>> IRQ-related entries in top's output. > >>Are they getting %CPU though. When running top -S, the CPU %'s should always >>add up to about 100 (with fudges for rounding errors). > > Well, as noted in another note a little prior to this one, the -CURRENT > behavior I'm seeing isn't all *that* different from the -STABLE behavior > -- in each case, the sum of what "top" reports for CPU % is normally small. -STABLE doesn't have idle processes. :) >>> Eh... the "enlightenment" line may provide a clue there. I use tvtwm as >>> a window manager. :-} (I figure anything that could be marginally >>> acceptable on a (maxed out) 24 MB Sun 3/60 ought to be adequate for this >>> 750 MHz/256 MB laptop....) > >>Heh, but I figured Alfred was in X when he was running top, so X must've been >>doing _some_ screen updates, and not just have 0.00% CPU time. :-P > > Well, that gets into a matter of perspective, since the amount of CPU > resource required to do the screen updates (vs. what is available) could > well be 0.00 (to 2 decimals).... :-) (Kinda like the ratio of a > circle's circumference to its diameter is "3" to a single significant > figure.) > > (I was in X at the time, too.) Fair enough.. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 13:37:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from segfault.kiev.ua (segfault.kiev.ua [193.193.193.4]) by hub.freebsd.org (Postfix) with ESMTP id 6AD6037B71A for ; Tue, 27 Mar 2001 13:37:08 -0800 (PST) (envelope-from netch@iv.nn.kiev.ua) Received: (from uucp@localhost) by segfault.kiev.ua (8) with UUCP id AOB16157; Wed, 28 Mar 2001 00:36:35 +0300 (EEST) (envelope-from netch@iv.nn.kiev.ua) Received: (from netch@localhost) by iv.nn.kiev.ua (8.11.3/8.11.3) id f2RLaPw00555; Wed, 28 Mar 2001 00:36:25 +0300 (EEST) (envelope-from netch) Date: Wed, 28 Mar 2001 00:36:25 +0300 From: Valentin Nechayev To: Mark Murray Cc: freebsd-current@FreeBSD.ORG Subject: Re: random woes ("no RSA support in libssl and libcrypto") Message-ID: <20010328003625.A305@iv.nn.kiev.ua> References: <20010327113405.A501@iv.nn.kiev.ua> <200103270932.f2R9Vxf78104@gratis.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200103270932.f2R9Vxf78104@gratis.grondar.za>; from mark@grondar.za on Tue, Mar 27, 2001 at 11:33:11AM +0200 X-42: On Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tue, Mar 27, 2001 at 11:33:11, mark (Mark Murray) wrote about "Re: random woes ("no RSA support in libssl and libcrypto")": > > Well, but it says about `options RANDOMDEV'. Later, `device random' was > > invented instead of it. A few days ago I installed -CURRENT > > (date=2001.03.25.12.00.00) with removing all previous content of /usr/lib > > (which contained legacy since 3.1-RELEASE) and /usr/sbin/sshd began to refuse > > supporting protocol 1 with identical message > > (`no RSA support in libssl and libcrypto. See ssl(8)'). Also, > > kernel was build with `device random', and > > > > netch@iv:/usr/HEAD/src/sys/i386/conf>egrep '(RSA|USA)' /etc/make.conf > > # If you're resident in the USA, this will help various ports to determine > > USA_RESIDENT= NO > > WITH_RSA=YES > You missed (and deleted) the bit where it tells you to rerun MAKEDEV > to rebuild your devices. No, /dev/urandom was correct, 'MAKEDEV all' was run properly. The only change was to remove old libraries, which are not installed via installworld in modern -CURRENT, from /usr/lib. > > And, my questions are > > 1) What can happen to refuse RSA support in libcrypto, with environment > > described above? > An incorrect /dev/urandom No. > > 3) Can anybody provide more descriptive message when random device > > works improperly? > Yes. I'm working on making the random device itself moan at you. Thank you for polite reply.;) But, the problem is not solved in this way. That's why I asked some description how to diagnose these problems. Instead of its I received random moans. Ok, thanks. /netch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 14:21:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 128C237B71A for ; Tue, 27 Mar 2001 14:20:36 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id AAA15714 for freebsd-current@freebsd.org; Wed, 28 Mar 2001 00:20:31 +0200 (CEST) Received: (from j@localhost) by uriah.heep.sax.de (8.9.3/8.9.3) id XAA29362; Tue, 27 Mar 2001 23:53:02 +0200 (MET DST) (envelope-from j) Date: Tue, 27 Mar 2001 23:53:02 +0200 (MET DST) Message-Id: <200103272153.XAA29362@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20010328025515C.matusita@jp.FreeBSD.org> <74288556332.20010327201141@buz.ch> From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: Re[2]: Can't build current... X-Original-Newsgroups: local.freebsd.current To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gabriel Ambuehl wrote: > I'm using cvsup.de.FreeBSD.org which appears to be a cname > cvsup.uk.FreeBSD.org. Huh? That would be a mistake if it happened. But it isn't: j@uriah 159% nslookup cvsup.de.freebsd.org Server: uriah.heep.sax.de Address: 0.0.0.0 Non-authoritative answer: Name: ftp.ecrc.net Address: 62.208.224.162 Aliases: cvsup.de.freebsd.org j@uriah 160% nslookup cvsup.uk.freebsd.org Server: uriah.heep.sax.de Address: 0.0.0.0 Non-authoritative answer: Name: cvsup.plig.net Address: 195.40.6.42 Aliases: cvsup.uk.freebsd.org cvsup.de.freebsd.org is a cname for cvsup5.de.freebsd.org, which is a cname for ftp.ecrc.net. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 15:25:42 2001 Delivered-To: freebsd-current@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id 3819237B718 for ; Tue, 27 Mar 2001 15:25:40 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.pacbell.net ([207.214.149.202]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GAV00E4PQ95YT@mta5.snfc21.pbi.net> for current@freebsd.org; Tue, 27 Mar 2001 15:22:58 -0800 (PST) Received: by zippy.pacbell.net (Postfix, from userid 1000) id 8076B186F; Tue, 27 Mar 2001 15:21:51 -0800 (PST) Date: Tue, 27 Mar 2001 15:21:51 -0800 From: Alex Zepeda Subject: Re: top output broked? In-reply-to: <20010327031810.X9431@fw.wintelcom.net>; from bright@wintelcom.net on Tue, Mar 27, 2001 at 03:18:10AM -0800 To: current@freebsd.org Message-id: <20010327152151.A747@zippy.mybox.zip> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i References: <20010327031810.X9431@fw.wintelcom.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 27, 2001 at 03:18:10AM -0800, Alfred Perlstein wrote: > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND > 824 root -8 0 1048K 596K biord 0 0:38 0.00% 0.00% find > 385 root 4 0 32740K 31944K select 1 0:32 0.00% 0.00% XFree86 > 836 root -8 0 532K 276K biord 1 0:07 0.00% 0.00% nfsd > 14848 root 96 0 26912K 26832K RUN 1 0:04 0.00% 0.00% ld > 424 bright 4 0 2120K 1340K select 0 0:04 0.00% 0.00% rxvt Hmm, I just rebuilt world recently (this morning), and I'm seeing this: PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 311 root 126 0 600K 264K CPU1 0 24:11 52.39% 52.39% nfsd 503 postfix 4 0 1604K 904K select 0 0:02 0.15% 0.15% qmgr 8069 root 96 0 2088K 1240K CPU0 0 0:00 0.00% 0.00% top Eek. nfsd is sucking up CPU, even while it's idle (its only nfs client is down for a few quick repairs). I think it's been doing this since the TI-RPC stuff was imported. But, back to your problem, no 0.0% CPU time problem here. - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 17:49:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.rdc1.va.home.com (ha2.rdc1.va.home.com [24.2.32.67]) by hub.freebsd.org (Postfix) with ESMTP id 144A537B71A for ; Tue, 27 Mar 2001 17:49:15 -0800 (PST) (envelope-from r.hogge@home.com) Received: from ralph ([24.23.148.31]) by mail.rdc1.va.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010328014914.BTPH17899.mail.rdc1.va.home.com@ralph> for ; Tue, 27 Mar 2001 17:49:14 -0800 Message-Id: <4.2.0.58.20010327205146.00969be0@pop3.norton.antivirus> X-Sender: r.hogge/24.2.32.70@pop3.norton.antivirus (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Tue, 27 Mar 2001 20:51:51 -0500 To: freebsd-current@FreeBSD.org From: Ralph Hogge Subject: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 18:20:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from updraft.jp.freebsd.org (updraft.jp.FreeBSD.ORG [210.157.158.42]) by hub.freebsd.org (Postfix) with ESMTP id 6B7D837B719 for ; Tue, 27 Mar 2001 18:20:21 -0800 (PST) (envelope-from matusita@jp.FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by updraft.jp.freebsd.org (8.11.3+3.4W/8.11.3) with ESMTP/inet id f2S2KI814229 for ; Wed, 28 Mar 2001 11:20:18 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) In-Reply-To: <20010327102055.A15524@xor.obsecurity.org> References: <158278002125.20010327171547@buz.ch> <20010328025515C.matusita@jp.FreeBSD.org> <20010327102055.A15524@xor.obsecurity.org> X-Face: '*aj"d@ijeQ:/X}]oM5c5Uz{ZZZk90WPt>a^y4$cGQp8:!H\W=hSM;PuNiidkc]/%,;6VGu e+`&APmz|P;F~OL/QK%;P2vU>\j4X.8@i%j6[%DTs_3J,Fff0)*oHg$A.cDm&jc#pD24WK@{,"Ef!0 P\):.2}8jo-BiZ?X&t$V X-User-Agent: Mew/1.94.2 XEmacs/21.2 (Urania) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 22 From: Makoto MATSUSHITA To: current@freebsd.org Subject: Re: Can't build current... Date: Wed, 28 Mar 2001 11:19:59 +0900 Message-Id: <20010328111959I.matusita@jp.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG kris> I believe Mark's intention was to keep crypt-blowfish.c optional for kris> those who don't want to install crypto. Perhaps this is broken. src/lib/libcrypt/Makefile says: # Pull in the crypt-des.c source, assuming it is present. .if exists(${.CURDIR}/../../secure/lib/libcrypt/crypt-des.c) && \ !defined(NOSECURE) && !defined(NOCRYPT) .PATH: ${.CURDIR}/../../secure/lib/libcrypt SRCS+= crypt-des.c crypt-blowfish.c blowfish.c CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH .endif and it seems OK to me. This .if-.endif clause was there since two libcrypt was merged into a single library (Dec/2000). Gabriel, would you please check src/secure/lib/libcrypt/ and what's files are sitting in this directory? -- - Makoto `MAR' MATSUSHITA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 18:21:45 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 1CA1E37B719 for ; Tue, 27 Mar 2001 18:21:43 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2S2LXG72971 for ; Tue, 27 Mar 2001 18:21:33 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 27 Mar 2001 18:21:13 -0800 (PST) From: John Baldwin To: current@FreeBSD.org Subject: HEADS UP: I'm breaking the kernel again Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That's right, more SMPng breakage is on the way. Well, hopefully not bad breakage. On a more serious note, I've just spammed sys/alpha/alpha with parts of the critical_enter/exit change which I meant to commit anyways, so I'm going to go ahead and finish committing that right now. The kernel probably won't compile until it is all checked in. Once I get this in I will hopefully also get a chance to check in the new witness code tonight (or tomorrow morning as the case may be) as well. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 20:30: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id DF52537B718; Tue, 27 Mar 2001 20:30:06 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2S4TtG76083; Tue, 27 Mar 2001 20:29:55 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 27 Mar 2001 20:29:37 -0800 (PST) From: John Baldwin To: John Baldwin Subject: RE: HEADS UP: I'm breaking the kernel again Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 28-Mar-01 John Baldwin wrote: > That's right, more SMPng breakage is on the way. Well, hopefully not bad > breakage. On a more serious note, I've just spammed sys/alpha/alpha with > parts > of the critical_enter/exit change which I meant to commit anyways, so I'm > going > to go ahead and finish committing that right now. The kernel probably won't > compile until it is all checked in. Once I get this in I will hopefully also > get a chance to check in the new witness code tonight (or tomorrow morning as > the case may be) as well. Well, it should compile and run now. I have more changes that I hope to commit now, but I'll try not to break the kernel compile while I'm doing them. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Mar 27 23:10:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id AFEF437B71A; Tue, 27 Mar 2001 23:10:13 -0800 (PST) (envelope-from DougB@DougBarton.net) Received: from DougBarton.net (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id XAA96926; Tue, 27 Mar 2001 23:09:54 -0800 (PST) (envelope-from DougB@DougBarton.net) Message-ID: <3AC18E42.DED4D2A5@DougBarton.net> Date: Tue, 27 Mar 2001 23:09:54 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: karsten@rohrbach.de Cc: Warner Losh , Greg Lehey , Andrew Reilly , "David O'Brien" , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind References: <20010326175419.X40349@wantadilla.lemis.com> <20010321104438.A94096@dragon.nuxi.com> <20010326090306.D40349@wantadilla.lemis.com> <3ABEF43A.D4DA1929@DougBarton.net> <20010326172414.V40349@wantadilla.lemis.com> <20010326181905.B75840@gurney.reilly.home> <20010326175419.X40349@wantadilla.lemis.com> <200103270740.f2R7eJ942673@harmony.village.org> <20010327152621.A20645@rohrbach.de> <3AC0D674.9785E656@DougBarton.net> <20010327213141.A38317@rohrbach.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Karsten W. Rohrbach" wrote: > the idea is, that if rpcbind takes parameters different from portmap it > would make sense to call rpcbind rpcbind because people's boxes will > start to barf when rpcbind is called portmap, they make world, and skip > reading the rpcbind paragraph in UPDATING ;-) > > does this make sense? Yes. "Takes parameters different from portmap," makes much more sense than "takes parameters." :) Thanks, Doug -- Perhaps the greatest damage the American system of education has done to its children is to teach them that their opinions are relevant simply because they are their opinions. Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 0:42:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 7D21937B71B; Wed, 28 Mar 2001 00:42:16 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.1/8.11.1) id f2S8gA897329; Wed, 28 Mar 2001 10:42:10 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200103280842.f2S8gA897329@zibbi.icomtek.csir.co.za> Subject: make release broken in telnetd To: ru@freebsd.org Date: Wed, 28 Mar 2001 10:42:10 +0200 (SAT) Cc: current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Ruslan, On the 26th you made changes to the Makefiles with this log message: ########## Do not build (and install) both secure/ and standard versions of libtelnet, telnetd, and telnet. This only worked because secure/ was listed late in SUBDIR in Makefile.inc1. ########## Did you check that "make release" still works with it? Here a "make release" bombs out with: ########### cc -O -pipe -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -DA UTHENTICATION -DENCRYPTION -I/usr/src/secure/libexec/telnetd/../../../crypto/te lnet -DINET6 -DNO_IDEA -I/usr/obj/usr/src/i386/usr/include -c /usr/src/secure/ libexec/telnetd/../../../crypto/telnet/telnetd/utility.c cc -O -pipe -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -DA UTHENTICATION -DENCRYPTION -I/usr/src/secure/libexec/telnetd/../../../crypto/te lnet -DINET6 -DNO_IDEA -I/usr/obj/usr/src/i386/usr/include -c /usr/src/secure/ libexec/telnetd/../../../crypto/telnet/telnetd/authenc.c gzip -cn /usr/src/secure/libexec/telnetd/../../../crypto/telnet/telnetd/telnetd. 8 > telnetd.8.gz cc -O -pipe -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -DA UTHENTICATION -DENCRYPTION -I/usr/src/secure/libexec/telnetd/../../../crypto/te lnet -DINET6 -DNO_IDEA -I/usr/obj/usr/src/i386/usr/include -o telnetd global. o slc.o state.o sys_term.o telnetd.o termstat.o utility.o authenc.o -lutil -lte rmcap -ltelnet -lcrypto -lcrypt -lmp state.o: In function `willoption': state.o(.text+0x695): undefined reference to `auth_request' state.o(.text+0x69d): undefined reference to `encrypt_send_support' state.o(.text+0x705): undefined reference to `auth_request' state.o(.text+0x70d): undefined reference to `encrypt_send_support' state.o: In function `wontoption': state.o(.text+0x88c): undefined reference to `auth_finished' state.o(.text+0x926): undefined reference to `auth_finished' state.o: In function `suboption': state.o(.text+0x13e7): undefined reference to `auth_is' state.o(.text+0x1403): undefined reference to `auth_name' state.o(.text+0x144b): undefined reference to `encrypt_support' state.o(.text+0x1467): undefined reference to `encrypt_is' state.o(.text+0x1483): undefined reference to `encrypt_reply' state.o(.text+0x149f): undefined reference to `encrypt_start' state.o(.text+0x14a9): undefined reference to `encrypt_end' state.o(.text+0x14c3): undefined reference to `encrypt_request_start' state.o(.text+0x14cd): undefined reference to `encrypt_request_end' state.o(.text+0x14e7): undefined reference to `encrypt_enc_keyid' ... *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 Stop in /usr/src/release. ######## It is because the libtelnet it is trying to link to, does not have the crypto stuff. It happens during the "make world" part of the release, because /tmp/.world_done does not exist yet. A normal "make world", ie. outside of the "make release" environment works fine though. John -- John Hay -- John.Hay@icomtek.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 1:52:13 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 8303E37B718; Wed, 28 Mar 2001 01:52:06 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f2S9q3391806; Wed, 28 Mar 2001 11:52:03 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: audit@freebsd.org, current@freebsd.org Cc: kirk@mckusick.com Subject: fsck pass sanitizing patch From: Poul-Henning Kamp Date: Wed, 28 Mar 2001 11:52:03 +0200 Message-ID: <91804.985773123@critter> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have put up a patch which sanitizes the fsck passno handling, you will find it at http://phk.freebsd.dk/patch/ Apologies to Kirk if this conflics with any of his work on delayed fsck... 20010328 fsck.patch This patch sanitizes the way fsck deals with pass numbers. Consider this /etc/fstab: # Device Mountpoint FStype Options Dump Pass# /dev/ad1s1b none swap sw 0 0 /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /home ufs rw 2 2 /dev/ad1s1e /tmp ufs rw 2 2 /dev/ad1s1f /usr ufs rw 2 2 /dev/ccd0c /syv ufs rw 2 11 proc /proc procfs rw 0 0 ccd0c is striped over /dev/ad0f and /dev/ad1g Without this pass, fsck in preen mode will check ad0s1a first, and then issue three processes in parallel: One process doing ad0s1e One process doing ad1s1e and ad1s1f One process doing ccd0c There is no way to tell it that ccd0c overlaps ad0 and ad1. With the patch, it will do it this way: pass 2: One process doing ad0s1e One process doing ad1s1e and ad1s1f and when they are complete: pass 11: One process doing ccd0c This is much faster and more sane. I retired the '-l' option which tried to allow people to do something like this, but which didn't work and which complicated the code an awful lot. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 2: 2:13 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 30EC837B719 for ; Wed, 28 Mar 2001 02:02:01 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2SA0xw91459; Wed, 28 Mar 2001 13:00:59 +0300 (EEST) (envelope-from ru) Date: Wed, 28 Mar 2001 13:00:59 +0300 From: Ruslan Ermilov To: John Hay Cc: current@FreeBSD.ORG Subject: Re: make release broken in telnetd Message-ID: <20010328130059.D79203@sunbay.com> Mail-Followup-To: John Hay , current@FreeBSD.ORG References: <200103280842.f2S8gA897329@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103280842.f2S8gA897329@zibbi.icomtek.csir.co.za>; from jhay@icomtek.csir.co.za on Wed, Mar 28, 2001 at 10:42:10AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I don't see how my changes to non-secure Makefiles might affect this. What I did is disabled building of non-secure, standard libtelnet, telnet and telnetd if we are also building the secure versions. I did not touch the secure/ versions in this commit. Moreover, the standard versions are still built for ``make release'' (RELEASEDIR). The problem is certainly elsewhere. [2 minutes of thinking] Doh, now I see what happened. It is another commit that broke this. Commit to secure/ Makefiles. Here is part of my original posting to Mark Murray on secure/ build fixes regarding secure/Makefile.inc: : TELNETOBJDIR is gone. `buildworld' already installs libtelnet.a : in ${WORLDTMP}/usr/lib, and we have LIBRARY_PATH pointing there. : Doh, this change uncovered another bug: in the standard build : environment, we built both secure/ and standard versions of : libtelnet, telnetd and telnet; and standard libtelnet.a was ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ : clobbering secure/ libtelnet.a in ${WORLDTMP}/usr/lib at the ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ : `libraries' stage of `buildworld'. I have fixed this for normal buildworld/installworld case -- we do not build and install both secure and non-secure versions of *telnet*, but the problem still persists for `make release' case because in we forcibly build and install secure and non-secure versions, and non-secure libtelnet.a clobbers secure version in ${WORLDTMP}/usr/lib. The fix is easy -- make libtelnet an "internal static library", as was discussed with Mark Murray recently, and I have actually done the first prerequisite step in this direction -- fixed the net/tn3270 port that depended on this library. I will commit the changes soon, and will let you know. Actually, this brokeness is a good argument in favor of this change! :-) On Wed, Mar 28, 2001 at 10:42:10AM +0200, John Hay wrote: > Hi Ruslan, > > On the 26th you made changes to the Makefiles with this log message: > > ########## > Do not build (and install) both secure/ and standard versions > of libtelnet, telnetd, and telnet. This only worked because > secure/ was listed late in SUBDIR in Makefile.inc1. > ########## > > Did you check that "make release" still works with it? Here a "make > release" bombs out with: > > ########### > cc -O -pipe -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -DA > UTHENTICATION -DENCRYPTION -I/usr/src/secure/libexec/telnetd/../../../crypto/te > lnet -DINET6 -DNO_IDEA -I/usr/obj/usr/src/i386/usr/include -c /usr/src/secure/ > libexec/telnetd/../../../crypto/telnet/telnetd/utility.c > cc -O -pipe -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -DA > UTHENTICATION -DENCRYPTION -I/usr/src/secure/libexec/telnetd/../../../crypto/te > lnet -DINET6 -DNO_IDEA -I/usr/obj/usr/src/i386/usr/include -c /usr/src/secure/ > libexec/telnetd/../../../crypto/telnet/telnetd/authenc.c > gzip -cn /usr/src/secure/libexec/telnetd/../../../crypto/telnet/telnetd/telnetd. > 8 > telnetd.8.gz > cc -O -pipe -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -DA > UTHENTICATION -DENCRYPTION -I/usr/src/secure/libexec/telnetd/../../../crypto/te > lnet -DINET6 -DNO_IDEA -I/usr/obj/usr/src/i386/usr/include -o telnetd global. > o slc.o state.o sys_term.o telnetd.o termstat.o utility.o authenc.o -lutil -lte > rmcap -ltelnet -lcrypto -lcrypt -lmp > state.o: In function `willoption': > state.o(.text+0x695): undefined reference to `auth_request' > state.o(.text+0x69d): undefined reference to `encrypt_send_support' > state.o(.text+0x705): undefined reference to `auth_request' > state.o(.text+0x70d): undefined reference to `encrypt_send_support' > state.o: In function `wontoption': > state.o(.text+0x88c): undefined reference to `auth_finished' > state.o(.text+0x926): undefined reference to `auth_finished' > state.o: In function `suboption': > state.o(.text+0x13e7): undefined reference to `auth_is' > state.o(.text+0x1403): undefined reference to `auth_name' > state.o(.text+0x144b): undefined reference to `encrypt_support' > state.o(.text+0x1467): undefined reference to `encrypt_is' > state.o(.text+0x1483): undefined reference to `encrypt_reply' > state.o(.text+0x149f): undefined reference to `encrypt_start' > state.o(.text+0x14a9): undefined reference to `encrypt_end' > state.o(.text+0x14c3): undefined reference to `encrypt_request_start' > state.o(.text+0x14cd): undefined reference to `encrypt_request_end' > state.o(.text+0x14e7): undefined reference to `encrypt_enc_keyid' > ... > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > > Stop in /usr/src/release. > ######## > > It is because the libtelnet it is trying to link to, does not have the > crypto stuff. It happens during the "make world" part of the release, > because /tmp/.world_done does not exist yet. A normal "make world", > ie. outside of the "make release" environment works fine though. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 3:24:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from rbn-gw.bgtu.debryansk.ru (rbn-gw.bgtu.debryansk.ru [62.76.89.2]) by hub.freebsd.org (Postfix) with ESMTP id 589D537B71A; Wed, 28 Mar 2001 03:24:17 -0800 (PST) (envelope-from kapr@acm.org) Received: from server.bitmcnit.bryansk.su (root@bitmcnit.bryansk.su [192.168.121.2]) by rbn-gw.bgtu.debryansk.ru (8.11.2/8.11.2) with ESMTP id f2SBN8310470; Wed, 28 Mar 2001 15:23:08 +0400 Received: (from uucp@localhost) by server.bitmcnit.bryansk.su (8.9.3/8.9.3) with UUCP id PAA21093; Wed, 28 Mar 2001 15:14:32 +0400 Received: (from alex@localhost) by kapran.bitmcnit.bryansk.su (8.11.3/8.11.3) id f2S4eYp01206; Wed, 28 Mar 2001 08:40:35 +0400 (MSD) (envelope-from kapr@acm.org) X-Authentication-Warning: kapran.bitmcnit.bryansk.su: alex set sender to kapr@acm.org using -f Date: Wed, 28 Mar 2001 08:40:28 +0400 From: Alex Kapranoff To: Robert Watson Cc: freebsd-current@FreeBSD.ORG Subject: Re: ACL support in 5.0-CURRENT (was: cvs commit: src/sys/conf files options src/sys/ufs/ufs acl.h ufs_acl.c ufs_vnops.c (fwd)) Message-ID: <20010328084026.A894@kapran.bitmcnit.bryansk.su> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@FreeBSD.ORG on Tue, Mar 27, 2001 at 02:14:38PM -0500 X-Operating-System: FreeBSD 5.0-CURRENT i386 Organization: Internal Mongolia Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 27, 2001 at 02:14:38PM -0500, Robert Watson wrote: > After the EA backing files are initialized, you can manually start the > EA's on the file system, or if UFS_EXTATTR_AUTOSTART is enabled, simply > remount the file systems, or reboot the system. To manually start and > enable the attributes for the root file system, do the following: > > extattrctl start / > extattrctl enable / posix1e.acl_access /.attribute/system/posix1e.acl_access > extattrctl enable / posix1e.acl_default /.attribute/system/posix1e.acl_default When I did this several days ago, I had to actually issue: extattrctl enable / system posix1e.acl_access /.attribute/system/posix1e.acl_access extattrctl enable / system posix1e.acl_default /.attribute/system/posix1e.acl_default ^^^^^^ Note namespace argument. Your directions in RAEDME probably got out of sync with `extattrctl' implementaion which now requires attrnamesspace argument. Manpage is accurate though. -- Alex Kapranoff, Voice: +7(0832)791845 We've lived 12 weeks in the brand new millenium... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 3:39:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (Postfix) with ESMTP id 42B3B37B71C for ; Wed, 28 Mar 2001 03:39:17 -0800 (PST) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.9.3/8.9.3) id EAA21489 for ; Wed, 28 Mar 2001 04:37:44 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp01.primenet.com, id smtpdAAA1yaq4P; Wed Mar 28 04:37:39 2001 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id EAA02940 for current@freebsd.org; Wed, 28 Mar 2001 04:39:09 -0700 (MST) From: Terry Lambert Message-Id: <200103281139.EAA02940@usr05.primenet.com> Subject: Fun way to panic -current To: current@freebsd.org Date: Wed, 28 Mar 2001 11:39:09 +0000 (GMT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Run the 4.3 mountd on it. Boom! Kernel memory allocation way to large; unrecoverable! Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 3:59:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id DBB8F37B71C; Wed, 28 Mar 2001 03:59:29 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2SBxEG87015; Wed, 28 Mar 2001 03:59:14 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 28 Mar 2001 03:59:00 -0800 (PST) From: John Baldwin To: John Baldwin Subject: RE: HEADS UP: I'm breaking the kernel again Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 28-Mar-01 John Baldwin wrote: > > On 28-Mar-01 John Baldwin wrote: >> That's right, more SMPng breakage is on the way. Well, hopefully not bad >> breakage. On a more serious note, I've just spammed sys/alpha/alpha with >> parts >> of the critical_enter/exit change which I meant to commit anyways, so I'm >> going >> to go ahead and finish committing that right now. The kernel probably won't >> compile until it is all checked in. Once I get this in I will hopefully >> also >> get a chance to check in the new witness code tonight (or tomorrow morning >> as >> the case may be) as well. > > Well, it should compile and run now. I have more changes that I hope to > commit now, but I'll try not to break the kernel compile while I'm doing > them. s/now/later this evening (or morning)/ -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 3:59:58 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id B869B37B730 for ; Wed, 28 Mar 2001 03:59:42 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2SBxFG87027; Wed, 28 Mar 2001 03:59:16 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103281139.EAA02940@usr05.primenet.com> Date: Wed, 28 Mar 2001 03:59:02 -0800 (PST) From: John Baldwin To: Terry Lambert Subject: RE: Fun way to panic -current Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 28-Mar-01 Terry Lambert wrote: > Run the 4.3 mountd on it. > > Boom! Kernel memory allocation way to large; unrecoverable! Yes, struct ucred sucks. In -current the userland now uses a static struct xucred that doesn't contain things like mutexes and thus mountd shouldn't crash in current anymore when struct ucred changes size. Too bad we can't retrofit that. :( -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 5:38:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id EF8A937B719 for ; Wed, 28 Mar 2001 05:38:17 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f2SDcF394423 for ; Wed, 28 Mar 2001 15:38:15 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: GENERIC Doesn't compile... From: Poul-Henning Kamp Date: Wed, 28 Mar 2001 15:38:13 +0200 Message-ID: <94421.985786693@critter> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ===> wi @ -> /mnt/src/sys machine -> /mnt/src/sys/i386/include perl @/kern/makeobjops.pl -h @/dev/pccard/card_if.m perl @/kern/makeobjops.pl -h @/kern/device_if.m perl @/kern/makeobjops.pl -h @/kern/bus_if.m rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev -I@/../include -I/usr/include /mnt/src/sys/modules/wi/../../dev/wi/if_wi.c In file included from /mnt/src/sys/modules/wi/../../dev/wi/if_wi.c:87: @/dev/pci/pcivar.h:156: pci_if.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /mnt/src/sys/modules/wi. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 5:43:30 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id B9DD137B718; Wed, 28 Mar 2001 05:43:26 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2SDhQQ08268; Wed, 28 Mar 2001 05:43:26 -0800 (PST) Date: Wed, 28 Mar 2001 05:43:26 -0800 From: Alfred Perlstein To: Poul-Henning Kamp Cc: current@FreeBSD.ORG Subject: Re: GENERIC Doesn't compile... Message-ID: <20010328054326.V9431@fw.wintelcom.net> References: <94421.985786693@critter> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <94421.985786693@critter>; from phk@FreeBSD.ORG on Wed, Mar 28, 2001 at 03:38:13PM +0200 X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Poul-Henning Kamp [010328 05:38] wrote: > > ===> wi > @ -> /mnt/src/sys > machine -> /mnt/src/sys/i386/include > perl @/kern/makeobjops.pl -h @/dev/pccard/card_if.m > perl @/kern/makeobjops.pl -h @/kern/device_if.m > perl @/kern/makeobjops.pl -h @/kern/bus_if.m > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev -I@/../include -I/usr/include /mnt/src/sys/modules/wi/../../dev/wi/if_wi.c > In file included from /mnt/src/sys/modules/wi/../../dev/wi/if_wi.c:87: > @/dev/pci/pcivar.h:156: pci_if.h: No such file or directory > mkdep: compile failed > *** Error code 1 > > Stop in /mnt/src/sys/modules/wi. Bah, I forgot. :) It's fixed now. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 6:24:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 11EBC37B71F; Wed, 28 Mar 2001 06:24:41 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from mobile.wemm.org (mobile.wemm.org [10.0.0.5]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f2SEOep30281; Wed, 28 Mar 2001 06:24:40 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f2SEOYh47811; Wed, 28 Mar 2001 06:24:34 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200103281424.f2SEOYh47811@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Doug Barton Cc: karsten@rohrbach.de, Warner Losh , Greg Lehey , Andrew Reilly , "David O'Brien" , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind In-Reply-To: <3AC18E42.DED4D2A5@DougBarton.net> Date: Wed, 28 Mar 2001 06:24:34 -0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Barton wrote: > "Karsten W. Rohrbach" wrote: > > > the idea is, that if rpcbind takes parameters different from portmap it > > would make sense to call rpcbind rpcbind because people's boxes will > > start to barf when rpcbind is called portmap, they make world, and skip > > reading the rpcbind paragraph in UPDATING ;-) > > > > does this make sense? > > Yes. "Takes parameters different from portmap," makes much more sense than > "takes parameters." :) FYI: SYNOPSIS portmap [-d] [-v] SYNOPSIS rpcbind [-dilLs] Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 7: 5:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 0840A37B718; Wed, 28 Mar 2001 07:05:12 -0800 (PST) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id JAA10432; Wed, 28 Mar 2001 09:05:09 -0600 (CST) (envelope-from cdillon@wolves.k12.mo.us) Date: Wed, 28 Mar 2001 09:05:09 -0600 (CST) From: Chris Dillon To: Poul-Henning Kamp Cc: , Subject: Re: fsck pass sanitizing patch In-Reply-To: <91804.985773123@critter> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 28 Mar 2001, Poul-Henning Kamp wrote: > There is no way to tell it that ccd0c overlaps ad0 and ad1. > > With the patch, it will do it this way: > > pass 2: > One process doing ad0s1e > One process doing ad1s1e and ad1s1f > > and when they are complete: > > pass 11: > One process doing ccd0c I've always assigned a ccd (this would apply to Vinum volumes as well, I'd think) a pass number of 1. According to the fsck manual page, each filesystem with a pass number of 1 is processed by itself. The code might say something different (which I've looked at but can't quite figure out how that is handled). If assigning a pass number of 1 doesn't do that, we probably should either fix the code so it does, or change the manual pages to match. :-) -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For IA32 and Alpha architectures. IA64, PPC, and ARM under development. http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 7:25:47 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 338E337B71C for ; Wed, 28 Mar 2001 07:25:44 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f2SFPZ395546; Wed, 28 Mar 2001 17:25:35 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Chris Dillon Cc: current@FreeBSD.ORG, kirk@mckusick.com Subject: Re: fsck pass sanitizing patch In-Reply-To: Your message of "Wed, 28 Mar 2001 09:05:09 MDT." Date: Wed, 28 Mar 2001 17:25:35 +0200 Message-ID: <95544.985793135@critter> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , Chr is Dillon writes: >On Wed, 28 Mar 2001, Poul-Henning Kamp wrote: > >> There is no way to tell it that ccd0c overlaps ad0 and ad1. >> >> With the patch, it will do it this way: >> >> pass 2: >> One process doing ad0s1e >> One process doing ad1s1e and ad1s1f >> >> and when they are complete: >> >> pass 11: >> One process doing ccd0c > >I've always assigned a ccd (this would apply to Vinum volumes as well, >I'd think) a pass number of 1. Pass number 1 in magic in that it is sequential. Traditional wisdom (or lack thereoff) have only put rootfs in pass 1. Until my patch, pass 1 would certainly be better for ccd than pass > 1. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 7:35:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id AB88737B71D; Wed, 28 Mar 2001 07:35:40 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id BAA17563; Thu, 29 Mar 2001 01:35:37 +1000 Date: Thu, 29 Mar 2001 01:34:58 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: John Baldwin Cc: Terry Lambert , current@FreeBSD.ORG Subject: RE: Fun way to panic -current In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 28 Mar 2001, John Baldwin wrote: > On 28-Mar-01 Terry Lambert wrote: > > Run the 4.3 mountd on it. > > > > Boom! Kernel memory allocation way to large; unrecoverable! Does this really panic -current? It panics old versions of -current, and the -current mountd panics RELENG_4, but current versions of -current are supposed to check the parameters passwd by mountd (etc.) enough to avoid the panic. > Yes, struct ucred sucks. In -current the userland now uses a static struct > xucred that doesn't contain things like mutexes and thus mountd shouldn't crash > in current anymore when struct ucred changes size. Too bad we can't retrofit > that. :( But we did retrofit binary compatibility of ucred stuff. struct xucred in -current has the same size and layout as struct ucred in RELENG_4. This should make old mountd's binary compatible with -current kernels and -current mountd's compatible with RELENG_4 kernels. However, the binary compatibility of struct export_args was broken at the same time that struct ucred was unbroken, by changing some fields from int to char. The -current mountd puts stack garbage in the padding after the chars, and RELENG_4 kernels interpret the garbage as high bits and do malloc(TOOBIG). bzero()ing the struct in mountd "fixed" the problem. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 10:13: 1 2001 Delivered-To: freebsd-current@freebsd.org Received: from enigma.whacky.net (enigma.whacky.net [194.109.204.120]) by hub.freebsd.org (Postfix) with ESMTP id 64D2837B719 for ; Wed, 28 Mar 2001 10:12:57 -0800 (PST) (envelope-from stephanb@whacky.net) Received: (from stephanb@localhost) by enigma.whacky.net (8.11.3/8.11.3) id f2SICta01900 for current@freebsd.org; Wed, 28 Mar 2001 20:12:55 +0200 (CEST) (envelope-from stephanb) Date: Wed, 28 Mar 2001 20:12:55 +0200 From: Stephan van Beerschoten To: current@freebsd.org Subject: chmod 666 /dev/null Message-ID: <20010328201255.A1877@enigma.whacky.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just rebooted my machine with the cvupped-and-compiled world and kernel, I logged on and did the following: (stephanb@enigma|ttyp4)~> w w: /dev/null: Permission denied Checking out /dev/null gave me this: crw------- 1 root wheel 2, 2 Mar 28 20:00 /dev/null I had to chmod it to 666 again in order for me as non-root to do a 'w' ... my question. Why this behaviour ? I've been running FreeBSD for years, but this puzzles me -Stephan -- Stephan van Beerschoten [SVB21-RIPE] stephanb@whacky.net PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27 "To err is human, to forgive is Not Company Policy" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 10:15:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from enigma.whacky.net (enigma.whacky.net [194.109.204.120]) by hub.freebsd.org (Postfix) with ESMTP id 0D89837B729; Wed, 28 Mar 2001 10:15:35 -0800 (PST) (envelope-from stephanb@whacky.net) Received: (from stephanb@localhost) by enigma.whacky.net (8.11.3/8.11.3) id f2SIFYQ01955; Wed, 28 Mar 2001 20:15:34 +0200 (CEST) (envelope-from stephanb) Date: Wed, 28 Mar 2001 20:15:34 +0200 From: Stephan van Beerschoten To: current@FreeBSD.ORG Cc: stable@FreeBSD.ORG Subject: Re: chmod 666 /dev/null Message-ID: <20010328201533.B1877@enigma.whacky.net> References: <20010328201255.A1877@enigma.whacky.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010328201255.A1877@enigma.whacky.net>; from stephanb@whacky.net on Wed, Mar 28, 2001 at 08:12:55PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ouch .. ok this was meant to go to -stable. I don't know what made me sent this to -current.. damn. I'll cc this reply to -stable. My apologies. Anyway, I forgot to mention some into.. I do not have DEVFS in my kernel and this is my kernel: FreeBSD enigma.whacky.net 4.3-RC FreeBSD 4.3-RC #0: Wed Mar 28 10:40:13 CEST 2001 root@enigma.whacky.net:/usr/obj/usr/src/sys/ENIGMA i386 On Wed, 28 Mar 2001, Stephan van Beerschoten wrote: > I just rebooted my machine with the cvupped-and-compiled world > and kernel, I logged on and did the following: > > (stephanb@enigma|ttyp4)~> w > w: /dev/null: Permission denied > > Checking out /dev/null gave me this: > crw------- 1 root wheel 2, 2 Mar 28 20:00 /dev/null > > I had to chmod it to 666 again in order for me as non-root > to do a 'w' ... my question. Why this behaviour ? > > I've been running FreeBSD for years, but this puzzles me > > -Stephan > > -- > Stephan van Beerschoten [SVB21-RIPE] stephanb@whacky.net > PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27 > "To err is human, to forgive is Not Company Policy" > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- Stephan van Beerschoten [SVB21-RIPE] stephanb@whacky.net PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27 "To err is human, to forgive is Not Company Policy" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 10:18:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from vic.sabbo.net (vic.sabbo.net [193.193.218.112]) by hub.freebsd.org (Postfix) with ESMTP id 100C437B71B for ; Wed, 28 Mar 2001 10:18:01 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.3/8.11.2) with ESMTP id f2SIHEC54890; Wed, 28 Mar 2001 21:17:14 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3AC22A50.6AAE12A5@FreeBSD.org> Date: Wed, 28 Mar 2001 21:15:44 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Stephan van Beerschoten Cc: current@freebsd.org Subject: Re: chmod 666 /dev/null References: <20010328201255.A1877@enigma.whacky.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Stephan van Beerschoten wrote: > I just rebooted my machine with the cvupped-and-compiled world > and kernel, I logged on and did the following: > > (stephanb@enigma|ttyp4)~> w > w: /dev/null: Permission denied > > Checking out /dev/null gave me this: > crw------- 1 root wheel 2, 2 Mar 28 20:00 /dev/null > > I had to chmod it to 666 again in order for me as non-root > to do a 'w' ... my question. Why this behaviour ? > > I've been running FreeBSD for years, but this puzzles me I've also saw this once, but still wonder what the reason was. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 11:14: 8 2001 Delivered-To: freebsd-current@freebsd.org Received: from beta.root-servers.ch (beta.root-servers.ch [195.49.33.19]) by hub.freebsd.org (Postfix) with SMTP id 791A737B71C for ; Wed, 28 Mar 2001 11:13:59 -0800 (PST) (envelope-from gabriel_ambuehl@buz.ch) Received: (qmail 77188 invoked from network); 28 Mar 2001 19:13:58 -0000 Received: from dclient106-69.hispeed.ch (HELO work.root.li) (62.2.106.69) by beta.root-servers.ch with SMTP; 28 Mar 2001 19:13:58 -0000 Date: Wed, 28 Mar 2001 21:15:51 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.51) Educational Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <182378806815.20010328211551@buz.ch> To: Robert Watson Cc: Gabriel Ambuehl , Makoto MATSUSHITA , Subject: Re: cvsupit assumptions (was: Re: Re[2]: Can't build current...) In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hello Robert, Tuesday, March 27, 2001, 8:19:42 PM, you wrote: > I've actually heard that from a couple of other people lately -- that > cvsupit still assumes that crypto should not be pulled down, and the > crypto code is now assumed in the default build. This may just be a > product of the packagized version of cvsupit shipped in the past, but it > might also be the case that cvsupit needs to be updated to take into > account changes in our cvsup policies and source layout. Actually, it doesn't even ask the user what to do with crypto if 5 CURRENT is selected (can't remember for sure what it did when one selected 4 STABLE). So even if the user selects everything that is presented to him, src-crypto and src-secure won't be in the cvsup file and thus a normal attempt to build the system will break. Guess it is time to formulate a PR on this... Oh and while I'm on it: where is src/crypto/rijndael in the CVS? CVSWEB doesn't find it, neither does it get downloaded (this time using a complete supfile ;-)... (although I managed to get the necessary files after searching with google but obviously they are not on the FreeBSD site. Those seem to be used only by the kernel as world will build without them.) Best regards, Gabriel -----BEGIN PGP SIGNATURE----- Version: PGP 6.0.2i iQEVAwUBOsIqW8Za2WpymlDxAQF9pwgAtVjLwwE561veqFCtW7MsZ/j/qBj5NDAx UTaqNneKx4HRBrt5xfVS0LLwYyr3HubUzvnJy7rIa24h+/7YXwQQGzVphitF3meo VaQYIB+hei6ZSCuywXpoVnYEikkMBuHRaM/BxtajTWBTeugsPQX+83L6/yVQfHSr FF1ttkTcyCnLHQLTrz+zevtmBlRaZNyBJAMgKkDGAVqQQSFIF7mniJStlEnZsq9B J1tBWHrBQjLG2Y7CkGn3WaDO5VBrCMn9fvQTQoBZUmTJ7+AGjkyWILyeMZ/iPL87 j7rcRpLyqgGlNva83pr2p3qQxeE662nbW9z/IdENdCqc4hyU8pzGzA== =cAKe -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 11:24:28 2001 Delivered-To: freebsd-current@freebsd.org Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10]) by hub.freebsd.org (Postfix) with ESMTP id B407937B71A for ; Wed, 28 Mar 2001 11:24:25 -0800 (PST) (envelope-from gwk@hunter.munich.sgi.com) Received: from sgiger.munich.sgi.com (sgiger.munich.sgi.com [144.253.192.2]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via SMTP id VAA6135870 for <@eugate.sgi.com:current@freebsd.org>; Wed, 28 Mar 2001 21:24:24 +0200 (CEST) mail_from (gwk@hunter.munich.sgi.com) Received: from cuckoo.munich.sgi.com (cuckoo.munich.sgi.com [144.253.192.109]) by sgiger.munich.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id VAA12504 for ; Wed, 28 Mar 2001 21:23:25 +0200 Received: from hunter.munich.sgi.com (hunter.munich.sgi.com [144.253.197.18]) by cuckoo.munich.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id VAA35493 for ; Wed, 28 Mar 2001 21:23:24 +0200 (CEST) Received: (from gwk@localhost) by hunter.munich.sgi.com (8.11.1/8.11.1) id f2SJOQn32440 for current@freebsd.org; Wed, 28 Mar 2001 21:24:26 +0200 (CEST) (envelope-from gwk) Date: Wed, 28 Mar 2001 21:24:26 +0200 From: "Georg-W. Koltermann" To: current@freebsd.org Subject: lockup after resume Message-ID: <20010328212426.A32322@hunter.munich.sgi.com> Mail-Followup-To: current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am experiencing a strange lockup with -current as of about a week ago: It will suspend and resume, but after the resume the console is dead and the system hangs after a short while. When I type on the console after a resume, nothing is shown, neither echo nor command output. If I break into DDB, the output suddenly appears, just above the DDB prompt. I can continue to UNIX, type another command, again nothing visible. Breaking into DDB again shows what I typed, and the output. After a few round-trips of this sort the system locks up solidly. If I'm in X (XFree86-4.0.2) after the resume, the system will respond for a few seconds and then lock up. All this happens with the GENERIC kernel as well as my cardbus kernel. Should I assume the console needs resetting after the resume? How could I try a reset? I can't find anything obvious in vidcontrol(1) or kbdcontrol(1). Hardware is a Dell Inspiron 7500. -- Regards, Georg. ---------------------------------------------------------------------- Who in the world needs 2000 Windows? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 12: 9:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id A97D837B71A for ; Wed, 28 Mar 2001 12:09:29 -0800 (PST) (envelope-from jesper@skriver.dk) Received: by freesbee.wheel.dk (Postfix, from userid 1001) id 91B4F5D60; Wed, 28 Mar 2001 22:09:28 +0200 (CEST) Date: Wed, 28 Mar 2001 22:09:28 +0200 From: Jesper Skriver To: current@FreeBSD.org Subject: NEWCARD broken in -current Message-ID: <20010328220928.D95303@skriver.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-PGP-Fingerprint: 6B88 9CE8 66E9 E631 C9C5 5EB4 22AB F0EC F956 1C31 X-PGP-Public-Key: http://freesbee.wheel.dk/~jesper/gpgkey.pub Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica/Subsystem/Include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /usr/src/sys/dev/pccbb/pccbb.c In file included from /usr/src/sys/dev/pccbb/pccbb.c:56: /usr/src/sys/sys/mutex.h:87: field `mtx_object' has incomplete type /usr/src/sys/dev/pccbb/pccbb.c: In function `pccbb_detach': /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `MPASS' /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `LOCK_LOG_LOCK' /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `WITNESS_LOCK' /usr/src/sys/dev/pccbb/pccbb.c:539: warning: implicit declaration of function `WITNESS_UNLOCK' *** Error code 1 Stop in /usr/obj/usr/src/sys/TAM2. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. /Jesper -- Jesper Skriver, jesper(at)skriver(dot)dk - CCIE #5456 Work: Network manager @ AS3292 (Tele Danmark DataNetworks) Private: FreeBSD committer @ AS2109 (A much smaller network ;-) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 12:13:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id 347C937B71A for ; Wed, 28 Mar 2001 12:13:47 -0800 (PST) (envelope-from karsten@rohrbach.de) Received: (qmail 98729 invoked by uid 1000); 28 Mar 2001 20:14:07 -0000 Date: Wed, 28 Mar 2001 22:14:07 +0200 From: "Karsten W. Rohrbach" To: Peter Wemm Cc: Doug Barton , Warner Losh , Greg Lehey , Andrew Reilly , David O'Brien , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind Message-ID: <20010328221407.A98674@mail.webmonster.de> Mail-Followup-To: Peter Wemm , Doug Barton , Warner Losh , Greg Lehey , Andrew Reilly , David O'Brien , freebsd-current@FreeBSD.ORG References: <3AC18E42.DED4D2A5@DougBarton.net> <200103281424.f2SEOYh47811@mobile.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103281424.f2SEOYh47811@mobile.wemm.org>; from peter@netplex.com.au on Wed, Mar 28, 2001 at 06:24:34AM -0800 X-Arbitrary-Number-Of-The-Day: 42 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Wemm(peter@netplex.com.au)@2001.03.28/06:24:34(epoch+985757074s): > FYI: > > SYNOPSIS > portmap [-d] [-v] > > SYNOPSIS > rpcbind [-dilLs] yup, so i think it makes sense, to have the daemon called rpcbind, since it would probably break other people's configuration after making world. /k -- > die rechtschreibreform macht spas! KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 12:15:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id 28BC837B71E for ; Wed, 28 Mar 2001 12:15:22 -0800 (PST) (envelope-from ncbp@bank-pedersen.dk) Received: by freesbee.wheel.dk (Postfix, from userid 1002) id 6008A5D68; Wed, 28 Mar 2001 22:15:21 +0200 (CEST) Date: Wed, 28 Mar 2001 22:15:21 +0200 From: "Niels Chr. Bank-Pedersen" To: Jesper Skriver Cc: current@FreeBSD.org Subject: Re: NEWCARD broken in -current Message-ID: <20010328221521.G1082@bank-pedersen.dk> Mail-Followup-To: "Niels Chr. Bank-Pedersen" , Jesper Skriver , current@FreeBSD.org References: <20010328220928.D95303@skriver.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010328220928.D95303@skriver.dk>; from jesper@FreeBSD.org on Wed, Mar 28, 2001 at 10:09:28PM +0200 X-PGP-Fingerprint: 18D0 73F3 767F 3A40 CEBA C595 4783 D7F5 5DD1 FB8C X-PGP-Public-Key: http://freesbee.wheel.dk/~ncbp/gpgkey.pub Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 28, 2001 at 10:09:28PM +0200, Jesper Skriver wrote: > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica/Subsystem/Include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 > /usr/src/sys/dev/pccbb/pccbb.c > In file included from /usr/src/sys/dev/pccbb/pccbb.c:56: > /usr/src/sys/sys/mutex.h:87: field `mtx_object' has incomplete type > /usr/src/sys/dev/pccbb/pccbb.c: In function `pccbb_detach': > /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `MPASS' > /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `LOCK_LOG_LOCK' > /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `WITNESS_LOCK' > /usr/src/sys/dev/pccbb/pccbb.c:539: warning: implicit declaration of function `WITNESS_UNLOCK' > *** Error code 1 You'll need to #include and in /usr/src/sys/dev/pccbb/pccbb.c > /Jesper /Niels Chr. -- Niels Christian Bank-Pedersen, NCB1-RIPE. Network Manager, Tele Danmark NET, IP-section. "Hey, are any of you guys out there actually *using* RFC 2549?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 12:26:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-46.dsl.lsan03.pacbell.net [63.207.60.46]) by hub.freebsd.org (Postfix) with ESMTP id 362A137B722; Wed, 28 Mar 2001 12:26:17 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4C2D166F67; Wed, 28 Mar 2001 12:26:16 -0800 (PST) Date: Wed, 28 Mar 2001 12:26:16 -0800 From: Kris Kennaway To: Gabriel Ambuehl Cc: Robert Watson , Gabriel Ambuehl , Makoto MATSUSHITA , freebsd-current@freebsd.org Subject: Re: cvsupit assumptions (was: Re: Re[2]: Can't build current...) Message-ID: <20010328122616.A8720@xor.obsecurity.org> References: <182378806815.20010328211551@buz.ch> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <182378806815.20010328211551@buz.ch>; from gabriel_ambuehl@buz.ch on Wed, Mar 28, 2001 at 09:15:51PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 28, 2001 at 09:15:51PM +0200, Gabriel Ambuehl wrote: > Oh and while I'm on it: where is src/crypto/rijndael in the CVS? in src/sys/crypto/rijndael :-) > CVSWEB doesn't find it, neither does it get downloaded (this time > using a complete supfile ;-)... You need the src-sys-crypto cvsup collection. Kris --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6wkjoWry0BWjoQKURAtvSAJ48+3koroZnwRgjdu9Mk/l/TxTt1ACgjyOY 46wVo95/7oS6pAYvHp4eZaU= =Lzsl -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 12:53:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 3E77837B71B; Wed, 28 Mar 2001 12:53:09 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2SKqd958234; Wed, 28 Mar 2001 13:52:41 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103282052.f2SKqd958234@harmony.village.org> To: "Karsten W. Rohrbach" Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind Cc: Peter Wemm , Doug Barton , Greg Lehey , Andrew Reilly , "David O'Brien" , freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Wed, 28 Mar 2001 22:14:07 +0200." <20010328221407.A98674@mail.webmonster.de> References: <20010328221407.A98674@mail.webmonster.de> <3AC18E42.DED4D2A5@DougBarton.net> <200103281424.f2SEOYh47811@mobile.wemm.org> Date: Wed, 28 Mar 2001 13:52:39 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010328221407.A98674@mail.webmonster.de> "Karsten W. Rohrbach" writes: : Peter Wemm(peter@netplex.com.au)@2001.03.28/06:24:34(epoch+985757074s): : > FYI: : > : > SYNOPSIS : > portmap [-d] [-v] : > : > SYNOPSIS : > rpcbind [-dilLs] : : yup, so i think it makes sense, to have the daemon called rpcbind, since : it would probably break other people's configuration after making world. I do not. -v could easily be added to what is now rpcbind (even if it was ignored). -d mean the same thing for both. there's then no reason to change its name. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 12:56:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id DFFEE37B724 for ; Wed, 28 Mar 2001 12:56:09 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2SKu9c84121 for freebsd-current@FreeBSD.ORG; Wed, 28 Mar 2001 12:56:09 -0800 (PST) (envelope-from obrien) Date: Wed, 28 Mar 2001 12:56:08 -0800 From: "David O'Brien" To: freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind Message-ID: <20010328125608.A84094@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <3AC18E42.DED4D2A5@DougBarton.net> <200103281424.f2SEOYh47811@mobile.wemm.org> <20010328221407.A98674@mail.webmonster.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010328221407.A98674@mail.webmonster.de>; from karsten@rohrbach.de on Wed, Mar 28, 2001 at 10:14:07PM +0200 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 28, 2001 at 10:14:07PM +0200, Karsten W. Rohrbach wrote: > Peter Wemm(peter@netplex.com.au)@2001.03.28/06:24:34(epoch+985757074s): Drop this useless discussion, or take me off the blooming CC: list. Learn to use your editor! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 13:17:15 2001 Delivered-To: freebsd-current@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id 80D5B37B71E for ; Wed, 28 Mar 2001 13:17:10 -0800 (PST) (envelope-from jesper@skriver.dk) Received: by freesbee.wheel.dk (Postfix, from userid 1001) id C6B995D68; Wed, 28 Mar 2001 23:17:09 +0200 (CEST) Date: Wed, 28 Mar 2001 23:17:09 +0200 From: Jesper Skriver To: "Niels Chr. Bank-Pedersen" , current@FreeBSD.org Subject: Re: NEWCARD broken in -current Message-ID: <20010328231709.A96500@skriver.dk> References: <20010328220928.D95303@skriver.dk> <20010328221521.G1082@bank-pedersen.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010328221521.G1082@bank-pedersen.dk>; from ncbp@bank-pedersen.dk on Wed, Mar 28, 2001 at 10:15:21PM +0200 X-PGP-Fingerprint: 6B88 9CE8 66E9 E631 C9C5 5EB4 22AB F0EC F956 1C31 X-PGP-Public-Key: http://freesbee.wheel.dk/~jesper/gpgkey.pub Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 28, 2001 at 10:15:21PM +0200, Niels Chr. Bank-Pedersen wrote: > On Wed, Mar 28, 2001 at 10:09:28PM +0200, Jesper Skriver wrote: > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica/Subsystem/Include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 > > /usr/src/sys/dev/pccbb/pccbb.c > > In file included from /usr/src/sys/dev/pccbb/pccbb.c:56: > > /usr/src/sys/sys/mutex.h:87: field `mtx_object' has incomplete type > > /usr/src/sys/dev/pccbb/pccbb.c: In function `pccbb_detach': > > /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `MPASS' > > /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `LOCK_LOG_LOCK' > > /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `WITNESS_LOCK' > > /usr/src/sys/dev/pccbb/pccbb.c:539: warning: implicit declaration of function `WITNESS_UNLOCK' > > *** Error code 1 > > You'll need to #include and > in /usr/src/sys/dev/pccbb/pccbb.c Right, the below fixes it, should I commit ? Index: src/sys/dev/pccbb/pccbb.c =================================================================== RCS file: /home/ncvs/src/sys/dev/pccbb/pccbb.c,v retrieving revision 1.12 diff -u -r1.12 pccbb.c --- src/sys/dev/pccbb/pccbb.c 2001/02/09 06:08:52 1.12 +++ src/sys/dev/pccbb/pccbb.c 2001/03/28 20:51:20 @@ -53,6 +53,8 @@ #include #include #include +#include +#include #include #include /Jesper -- Jesper Skriver, jesper(at)skriver(dot)dk - CCIE #5456 Work: Network manager @ AS3292 (Tele Danmark DataNetworks) Private: FreeBSD committer @ AS2109 (A much smaller network ;-) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 13:22:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 7CB3B37B71A; Wed, 28 Mar 2001 13:22:21 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.1/8.11.1) with SMTP id f2SLLWh14714; Wed, 28 Mar 2001 16:21:32 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Wed, 28 Mar 2001 16:21:31 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Warner Losh Cc: "Karsten W. Rohrbach" , Peter Wemm , Doug Barton , Greg Lehey , Andrew Reilly , "David O'Brien" , freebsd-current@FreeBSD.ORG Subject: Re: ** HEADS UP ** portmap daemon renamed to rpcbind In-Reply-To: <200103282052.f2SKqd958234@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I do not. -v could easily be added to what is now rpcbind (even if it > was ignored). -d mean the same thing for both. there's then no reason > to change its name. Well, my feeling on the matter, since everyone gets to have an opinion today, is that we should stick with rpcbind: it's what everyone else who uses TIRPC calls it (as well as the entire source code tree). Given that it's not going to be MFC'd to RELENG_4, and everything in the universe is changing in -CURRENT, this minor change to improve our compliance with ${THERESTOFTHEWORLD} isn't a big problem. However, for consistency, it probably is the case that someone should go slap s/portmap/rpcbind/ s/PORTMAP/RPCBIND/ strategically through /etc and associated man pages. Maybe adding a compatibility check that maps PORTMAP into RPCBIND, and then prints a message on boot in the style of nsswitch. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 20:15:42 2001 Delivered-To: freebsd-current@freebsd.org Received: from cx344940-a.meta1.la.home.com (cx344940-a.meta1.la.home.com [24.6.21.74]) by hub.freebsd.org (Postfix) with ESMTP id BAC1B37B722 for ; Wed, 28 Mar 2001 20:15:39 -0800 (PST) (envelope-from conrads@cx344940-a.meta1.la.home.com) Received: (from conrads@localhost) by cx344940-a.meta1.la.home.com (8.11.3/8.11.3) id f2T4KXj82242 for freebsd-current@freebsd.org; Wed, 28 Mar 2001 22:20:33 -0600 (CST) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.4.7 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 28 Mar 2001 22:20:33 -0600 (CST) Organization: @Home Network From: Conrad Sabatier To: freebsd-current@freebsd.org Subject: Building aout ports in -current Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've been notified that one of the ports I'm responsible for, xswallow, will no longer build under -current. Here's a snip from the build log: ===> Building for xswallow-1.0.18 cd /tmp/a/ports/www/xswallow/work/xswallow/xswallow && cc -O -pipe -o xswallow.so -aout -shared -nostdlib -DXP_UNIX -I../include -I/usr/X11R6/include -L/usr/lib/compat/aout -lgcc UnixShell.c stubs.c as: could not exec aout/as in /usr/libexec: No such file or directory UnixShell.c: In function `readEntries2': UnixShell.c:498: output pipe has been closed cpp0: output pipe has been closed as: could not exec aout/as in /usr/libexec: No such file or directory stubs.c:15: output pipe has been closed *** Error code 1 Stop in /a/ports/www/xswallow. *** Error code 1 Is it no longer possible to build aout binaries in -current, or am I simply using the wrong approach here? Admittedly, I did employ a rather "ad hoc" method to get this package to compile, and up until now it's worked just fine. Any info that might help will be greatly appreciated. -- Conrad Sabatier conrads@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 20:26:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-46.dsl.lsan03.pacbell.net [63.207.60.46]) by hub.freebsd.org (Postfix) with ESMTP id 1734A37B725 for ; Wed, 28 Mar 2001 20:26:12 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5F35066F34; Wed, 28 Mar 2001 20:26:11 -0800 (PST) Date: Wed, 28 Mar 2001 20:26:11 -0800 From: Kris Kennaway To: Conrad Sabatier Cc: freebsd-current@freebsd.org Subject: Re: Building aout ports in -current Message-ID: <20010328202611.A13343@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from conrads@home.com on Wed, Mar 28, 2001 at 10:20:33PM -0600 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 28, 2001 at 10:20:33PM -0600, Conrad Sabatier wrote: > I've been notified that one of the ports I'm responsible for, xswallow, will no > longer build under -current. Here's a snip from the build log: a.out support is entirely optional thesedays for ports, so it's up to you whether or not you care about fixing your port to build that way. Kris --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6wrljWry0BWjoQKURAp1gAJwL3bAqg9MF7Vzh9gu6nqSuP1w5KwCcD+0B jd4LXZO2UOKBWCaW5pvmNHQ= =lZBZ -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Mar 28 21: 2:17 2001 Delivered-To: freebsd-current@freebsd.org Received: from cx344940-a.meta1.la.home.com (cx344940-a.meta1.la.home.com [24.6.21.74]) by hub.freebsd.org (Postfix) with ESMTP id AE78B37B720 for ; Wed, 28 Mar 2001 21:02:14 -0800 (PST) (envelope-from conrads@cx344940-a.meta1.la.home.com) Received: (from conrads@localhost) by cx344940-a.meta1.la.home.com (8.11.3/8.11.3) id f2T572J95040; Wed, 28 Mar 2001 23:07:02 -0600 (CST) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.4.7 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010328202611.A13343@xor.obsecurity.org> Date: Wed, 28 Mar 2001 23:07:02 -0600 (CST) Organization: @Home Network From: Conrad Sabatier To: Kris Kennaway Subject: Re: Building aout ports in -current Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 29-Mar-2001 Kris Kennaway wrote: > On Wed, Mar 28, 2001 at 10:20:33PM -0600, Conrad Sabatier wrote: >> I've been notified that one of the ports I'm responsible for, xswallow, will >> no longer build under -current. Here's a snip from the build log: > > a.out support is entirely optional these days for ports, so it's up to > you whether or not you care about fixing your port to build that way. Well, this is a plugin for Netscape, and (unless I'm mistaken) *must* be in aout format, or will ELF plugins work with Netscape??? -- Conrad Sabatier conrads@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 1:20: 8 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 04F7A37B71A for ; Thu, 29 Mar 2001 01:20:06 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id TAA20274; Thu, 29 Mar 2001 19:20:00 +1000 Date: Thu, 29 Mar 2001 19:19:20 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: "Georg-W. Koltermann" Cc: current@FreeBSD.ORG Subject: Re: lockup after resume In-Reply-To: <20010328212426.A32322@hunter.munich.sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 28 Mar 2001, Georg-W. Koltermann wrote: > I am experiencing a strange lockup with -current as of about a week > ago: It will suspend and resume, but after the resume the console is > dead and the system hangs after a short while. > > When I type on the console after a resume, nothing is shown, neither > echo nor command output. If I break into DDB, the output suddenly > appears, just above the DDB prompt. I can continue to UNIX, type > another command, again nothing visible. Breaking into DDB again shows > what I typed, and the output. After a few round-trips of this sort > the system locks up solidly. > > If I'm in X (XFree86-4.0.2) after the resume, the system will respond > for a few seconds and then lock up. > > All this happens with the GENERIC kernel as well as my cardbus kernel. > > Should I assume the console needs resetting after the resume? How > could I try a reset? I can't find anything obvious in vidcontrol(1) > or kbdcontrol(1). Assume that the i8254 needs reinitializing. The console driver just uses timeouts for screen updates. Timeouts depend on the i8254 generating interrupts. When you break into ddb, the screen gets updated directly. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 1:28: 6 2001 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-46.dsl.lsan03.pacbell.net [63.207.60.46]) by hub.freebsd.org (Postfix) with ESMTP id 7D59337B71B for ; Thu, 29 Mar 2001 01:28:02 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0A54666E9C; Thu, 29 Mar 2001 01:28:02 -0800 (PST) Date: Thu, 29 Mar 2001 01:28:01 -0800 From: Kris Kennaway To: Conrad Sabatier Cc: Kris Kennaway , freebsd-current@FreeBSD.ORG Subject: Re: Building aout ports in -current Message-ID: <20010329012801.A17772@xor.obsecurity.org> References: <20010328202611.A13343@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from conrads@home.com on Wed, Mar 28, 2001 at 11:07:02PM -0600 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 28, 2001 at 11:07:02PM -0600, Conrad Sabatier wrote: >=20 > On 29-Mar-2001 Kris Kennaway wrote: > > On Wed, Mar 28, 2001 at 10:20:33PM -0600, Conrad Sabatier wrote: > >> I've been notified that one of the ports I'm responsible for, xswallow= , will > >> no longer build under -current. Here's a snip from the build log: > >=20 > > a.out support is entirely optional these days for ports, so it's up to > > you whether or not you care about fixing your port to build that way. >=20 > Well, this is a plugin for Netscape, and (unless I'm mistaken) *must* be = in > aout format, or will ELF plugins work with Netscape??? Oops, you're right. Kris --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6wwAhWry0BWjoQKURAirOAJ9ra530ZuQoIVcly5VyZdDjvkus/ACdHm2y LjLfXV+/9WR0s7ine1GaF8w= =/gXj -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 2:36:23 2001 Delivered-To: freebsd-current@freebsd.org Received: from bbnmg1.net.external.hp.com (bbnmg1.net.external.hp.com [192.6.76.73]) by hub.freebsd.org (Postfix) with ESMTP id C3EAB37B726 for ; Thu, 29 Mar 2001 02:35:48 -0800 (PST) (envelope-from michaelc@tmbbobmc.bbn.hp.com) Received: from hpbbn.bbn.hp.com (hpbbn.bbn.hp.com [15.138.8.14]) by bbnmg1.net.external.hp.com (Postfix) with ESMTP id 2F5C4ED for ; Thu, 29 Mar 2001 12:35:44 +0200 (METDST) Received: from tmbbobmc.bbn.hp.com (tmbbobmc.bbn.hp.com [15.136.123.54]) by hpbbn.bbn.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit6.0.6) with ESMTP id MAA03786 for ; Thu, 29 Mar 2001 12:35:42 +0200 (METDST) Received: from localhost (michaelc@localhost) by tmbbobmc.bbn.hp.com (8.11.3/8.11.1) with ESMTP id f2TAZd162443 for ; Thu, 29 Mar 2001 12:35:40 +0200 (CEST) (envelope-from michaelc@tmbbobmc.bbn.hp.com) Date: Thu, 29 Mar 2001 12:35:38 +0200 (CEST) From: Michael Class Reply-To: To: Subject: malloc not recurseable? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, on a FBSD-5.0-current (as of yesterday) system I am having a question about the way malloc works. The manpage states that malloc cannot be recursed. Does this mean that our malloc is not thread safe? I checked the manpage on HPUX and there it explicitely states that malloc is thread-safe. The reason I am asking is that my X-Server is crashing randomly (not very often though, approx. once a day) with the following trace: (This is XFree86-4.0.3 from ports) #0 0x2820a9e8 in kill () from /usr/lib/libc.so.5 #1 0x2825bb3d in abort () from /usr/lib/libc.so.5 #2 0x2825a682 in isatty () from /usr/lib/libc.so.5 #3 0x2825a6b0 in isatty () from /usr/lib/libc.so.5 #4 0x2825b6a6 in malloc () from /usr/lib/libc.so.5 #5 0x80d19ff in Xalloc (amount=16) at utils.c:1225 #6 0x80cc30c in TimerSet (timer=0x0, flags=0, millis=50, func=0x8788ef0, arg=0x88acb00) at WaitFor.c:744 #7 0x87890fa in ?? () #8 0x878927d in ?? () #9 0x8788bf0 in ?? () #10 0x807da23 in xf86SigioReadInput (fd=7, closure=0x88acb00) at xf86Events.c:1039 #11 0x8093d48 in xf86SIGIO (sig=23) at sigio.c:99 #12 0xbfbfffac in ?? () #13 0x2825ad74 in isatty () from /usr/lib/libc.so.5 #14 0x2825afcd in isatty () from /usr/lib/libc.so.5 #15 0x2825b6f1 in malloc () from /usr/lib/libc.so.5 #16 0x80d19ff in Xalloc (amount=256) at utils.c:1225 #17 0x87578ac in ?? () #18 0x8757a98 in ?? () #19 0x8758f13 in ?? () #20 0x8759e26 in ?? () #21 0x80c8b6d in QueryFont (pFont=0x8c22a00, pReply=0xbfbfeba4, nProtoCCIStructs=256) at dixfonts.c:580 #22 0x80ad639 in ProcQueryFont (client=0x8b52d00) at dispatch.c:1388 #23 0x80ac045 in Dispatch () at dispatch.c:456 #24 0x80bc395 in main (argc=3, argv=0xbfbffdc0, envp=0xbfbffdd0) at main.c:439 #25 0x806b31d in _start () To me this looks like malloc is called in a signal-handler. But I am not sure, if this is the right interpretation. Any comments? TIA Michael ___________________________________________________________________________ Michael Class E-Mail: michael_class@hp.com E-Business Solution Division ___________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 2:38:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id 5DEE237B71E; Thu, 29 Mar 2001 02:38:39 -0800 (PST) (envelope-from DougB@DougBarton.net) Received: from DougBarton.net (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id CAA18451; Thu, 29 Mar 2001 02:38:34 -0800 (PST) (envelope-from DougB@DougBarton.net) Message-ID: <3AC310AA.EA852DEC@DougBarton.net> Date: Thu, 29 Mar 2001 02:38:34 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: John Baldwin , Terry Lambert , current@FreeBSD.ORG Subject: Re: Fun way to panic -current References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans wrote: > > On Wed, 28 Mar 2001, John Baldwin wrote: > > > On 28-Mar-01 Terry Lambert wrote: > > > Run the 4.3 mountd on it. > > > > > > Boom! Kernel memory allocation way to large; unrecoverable! > > Does this really panic -current? It panics old versions of -current, and > the -current mountd panics RELENG_4, but current versions of -current are > supposed to check the parameters passwd by mountd (etc.) enough to avoid > the panic. FYI, running releng_4 mountd on a releng_3 system also fails in a fairly spectacular fashion... occasionally panic'ing the system. Doug -- Perhaps the greatest damage the American system of education has done to its children is to teach them that their opinions are relevant simply because they are their opinions. Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 4: 6:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id A1F2E37B71B for ; Thu, 29 Mar 2001 04:06:05 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2TC5Le23030; Thu, 29 Mar 2001 15:05:21 +0300 (EEST) (envelope-from ru) Date: Thu, 29 Mar 2001 15:05:21 +0300 From: Ruslan Ermilov To: John Hay Cc: current@FreeBSD.org Subject: Re: make release broken in telnetd Message-ID: <20010329150521.B21904@sunbay.com> Mail-Followup-To: John Hay , current@FreeBSD.org References: <20010328181805.B24711@sunbay.com> <200103290808.f2T88om30321@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="9amGYk9869ThD9tj" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103290808.f2T88om30321@zibbi.icomtek.csir.co.za>; from jhay@icomtek.csir.co.za on Thu, Mar 29, 2001 at 10:08:50AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline John! Could you please try the attached patch and let me know? I had to move -DRELEASE_CRUNCH to *_fixit.conf so that ${OBJS} are computed correctly for usr.bin/telnet. On Thu, Mar 29, 2001 at 10:08:50AM +0200, John Hay wrote: > > On Wed, Mar 28, 2001 at 01:00:59PM +0300, Ruslan Ermilov wrote: > > [...] > > > I will commit the changes soon, and will let you know. Actually, > > > this brokeness is a good argument in favor of this change! :-) > > > > > Should be fixed now, commitlog attached. > > > > Yes it is getting past there, but now bombs when trying to build the > fixit crunch file because it can't find libtelnet. :-) See > release/fixit_crunch.conf and release/{i386|pc98}/fixit_crunch.conf. > > ####### > cc -O -pipe -DCRUNCHED_BINARY -c telnet_stub.c > ld -dc -r -o telnet.lo telnet_stub.o /usr/obj//usr/src/usr.bin/telnet/authenc.o /usr/obj//usr/src/usr.bin/telnet/commands.o /usr/obj//usr/src/usr.bin/telnet/main.o /usr/obj//usr/src/usr.bin/telnet/network.o /usr/obj//usr/src/usr.bin/telnet/ring.o /usr/obj//usr/src/usr.bin/telnet/sys_bsd.o /usr/obj//usr/src/usr.bin/telnet/telnet.o /usr/obj//usr/src/usr.bin/telnet/terminal.o /usr/obj//usr/src/usr.bin/telnet/tn3270.o /usr/obj//usr/src/usr.bin/telnet/utilities.o crunchide -k _crunched_telnet_stub telnet.lo > cc -static -o fixit_crunch fixit_crunch.o cat.lo chmod.lo chroot.lo cp.lo dd.lo df.lo echo.lo expr.lo kill.lo ln.lo ls.lo mkdir.lo mv.lo rm.lo rmdir.lo sleep.lo sync.lo chown.lo clri.lo disklabel.lo dmesg.lo fdisk.lo mknod.lo mount.lo reboot.lo restore.lo swapon.lo umount.lo mount_msdos.lo mount_cd9660.lo ftp.lo telnet.lo -lcrypt -ltelnet -lutil -ll -lm -lcurses -ltermcap -ledit -lgnuregex -lkvm -lz > /usr/libexec/elf/ld: cannot find -ltelnet > *** Error code 1 > > Stop in /usr/src/release/fixit_crunch. > ######### Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p Index: release/Makefile =================================================================== RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.599 diff -u -r1.599 Makefile --- release/Makefile 2001/03/27 01:06:58 1.599 +++ release/Makefile 2001/03/29 11:35:37 @@ -410,7 +410,7 @@ ( ( [ -f ${.CURDIR}/${MACHINE}/$${j}_crunch.conf ] && \ crunchgen ${.CURDIR}/${MACHINE}/$${j}_crunch.conf ) || \ ( crunchgen ${.CURDIR}/$${j}_crunch.conf ) ) && \ - ${MAKE} -DRELEASE_CRUNCH -f $${j}_crunch.mk subclean all \ + ${MAKE} -f $${j}_crunch.mk subclean all \ NOCRYPT=yes "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY") && \ mv $${j}_crunch/$${j}_crunch ${RD}/crunch/$${j} && \ true || { rm -rf $${j}_crunch ; false ; } ; \ Index: release/boot_crunch.conf =================================================================== RCS file: /home/ncvs/src/release/boot_crunch.conf,v retrieving revision 1.46 diff -u -r1.46 boot_crunch.conf --- release/boot_crunch.conf 2001/03/10 19:52:12 1.46 +++ release/boot_crunch.conf 2001/03/29 11:47:55 @@ -1,5 +1,7 @@ # $FreeBSD: src/release/boot_crunch.conf,v 1.46 2001/03/10 19:52:12 jkh Exp $ +buildopts -DRELEASE_CRUNCH + srcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin srcdirs /usr/src/gnu/usr.bin /usr/src/usr.sbin srcdirs /usr/src/usr.sbin/pccard Index: release/fixit_crunch.conf =================================================================== RCS file: /home/ncvs/src/release/fixit_crunch.conf,v retrieving revision 1.25 diff -u -r1.25 fixit_crunch.conf --- release/fixit_crunch.conf 2000/06/29 13:34:53 1.25 +++ release/fixit_crunch.conf 2001/03/29 11:38:02 @@ -1,5 +1,7 @@ # $FreeBSD: src/release/fixit_crunch.conf,v 1.25 2000/06/29 13:34:53 nyan Exp $ +buildopts -DRELEASE_CRUNCH + # first, we list the source dirs that our programs reside in. These are # searched in order listed to find the dir containing each program. @@ -33,5 +35,5 @@ # finally, we specify the libraries to link in with our binary -libs -lcrypt -ltelnet -lutil -ll -lm +libs -lcrypt -lutil -ll -lm libs -lcurses -ltermcap -ledit -lgnuregex -lkvm -lz Index: release/i386/fixit_crunch.conf =================================================================== RCS file: /home/ncvs/src/release/i386/fixit_crunch.conf,v retrieving revision 1.1 diff -u -r1.1 fixit_crunch.conf --- release/i386/fixit_crunch.conf 2000/06/29 13:34:54 1.1 +++ release/i386/fixit_crunch.conf 2001/03/29 11:48:17 @@ -1,5 +1,7 @@ # $FreeBSD: src/release/i386/fixit_crunch.conf,v 1.1 2000/06/29 13:34:54 nyan Exp $ +buildopts -DRELEASE_CRUNCH + # first, we list the source dirs that our programs reside in. These are # searched in order listed to find the dir containing each program. @@ -34,5 +36,5 @@ # finally, we specify the libraries to link in with our binary -libs -lcrypt -ltelnet -lutil -ll -lm +libs -lcrypt -lutil -ll -lm libs -lcurses -ltermcap -ledit -lgnuregex -lkvm -lz Index: release/pc98/fixit_crunch.conf =================================================================== RCS file: /home/ncvs/src/release/pc98/fixit_crunch.conf,v retrieving revision 1.1 diff -u -r1.1 fixit_crunch.conf --- release/pc98/fixit_crunch.conf 2000/06/29 13:34:54 1.1 +++ release/pc98/fixit_crunch.conf 2001/03/29 11:48:31 @@ -1,5 +1,7 @@ # $FreeBSD: src/release/pc98/fixit_crunch.conf,v 1.1 2000/06/29 13:34:54 nyan Exp $ +buildopts -DRELEASE_CRUNCH + # first, we list the source dirs that our programs reside in. These are # searched in order listed to find the dir containing each program. @@ -34,5 +36,5 @@ # finally, we specify the libraries to link in with our binary -libs -lcrypt -ltelnet -lutil -ll -lm +libs -lcrypt -lutil -ll -lm libs -lcurses -ltermcap -ledit -lgnuregex -lkvm -lz Index: usr.bin/telnet/Makefile =================================================================== RCS file: /home/ncvs/src/usr.bin/telnet/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- usr.bin/telnet/Makefile 2001/03/28 12:08:22 1.17 +++ usr.bin/telnet/Makefile 2001/03/29 11:51:14 @@ -36,6 +36,9 @@ PROG= telnet +SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \ + terminal.c tn3270.c utilities.c + CFLAGS+=-DKLUDGELINEMODE -DUSE_TERMIO #-DAUTHENTICATION -DENCRYPTION CFLAGS+=-DENV_HACK CFLAGS+=-DSKEY @@ -55,10 +58,12 @@ CFLAGS+=-DIPSEC DPADD+= ${LIBIPSEC} LDADD+= -lipsec +.else +.PATH: ${.CURDIR}/../../lib/libtelnet +# XXX This was copied from lib/libtelnet/Makefile. +SRCS+= genget.c getent.c misc.c +CFLAGS+= -DHAS_CGETENT .endif - -SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \ - terminal.c tn3270.c utilities.c # These are the sources that have encryption stuff in them. CRYPT_SRC= authenc.c commands.c externs.h main.c network.c --9amGYk9869ThD9tj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 9:11: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 1B50F37B71B; Thu, 29 Mar 2001 09:11:03 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.1/8.11.1) id f2THAvv42640; Thu, 29 Mar 2001 19:10:57 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200103291710.f2THAvv42640@zibbi.icomtek.csir.co.za> Subject: Re: make release broken in telnetd In-Reply-To: <20010329150521.B21904@sunbay.com> from Ruslan Ermilov at "Mar 29, 2001 03:05:21 pm" To: ru@FreeBSD.org (Ruslan Ermilov) Date: Thu, 29 Mar 2001 19:10:57 +0200 (SAT) Cc: current@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Ruslan, > > Could you please try the attached patch and let me know? > > I had to move -DRELEASE_CRUNCH to *_fixit.conf so that > ${OBJS} are computed correctly for usr.bin/telnet. I have tried it, but now it breaks in boot_crunch: ########## cc -O -pipe -DCRUNCHED_BINARY -c tunefs_stub.c ld -dc -r -o tunefs.lo tunefs_stub.o /usr/obj//usr/src/sbin/tunefs/tunefs.o crunchide -k _crunched_tunefs_stub tunefs.lo cc -static -o boot_crunch boot_crunch.o sh.lo find.lo sed.lo test.lo rm.lo pwd.l o ppp.lo sysinstall.lo newfs.lo minigzip.lo cpio.lo fsck.lo ifconfig.lo route.lo slattach.lo mount_nfs.lo dhclient.lo arp.lo hostname.lo rtsol.lo pccardc.lo pcc ardd.lo usbd.lo usbdevs.lo tunefs.lo -ll -ledit -lutil -lkvm -lmd -lcrypt -lftpi o -lz -lnetgraph -ldialog -lncurses -lmytinfo -ldisk -lipx ppp.lo: In function `MakeKey': ppp.lo(.text+0xfe): undefined reference to `des_set_odd_parity' ppp.lo: In function `DesEncrypt': ppp.lo(.text+0x142): undefined reference to `des_set_key' ppp.lo(.text+0x14f): undefined reference to `des_ecb_encrypt' ppp.lo: In function `MPPEKeyChange': ppp.lo(.text+0x7b6): undefined reference to `RC4_set_key' ppp.lo(.text+0x7ca): undefined reference to `RC4' ppp.lo: In function `MPPEOutput': ppp.lo(.text+0x85b): undefined reference to `RC4_set_key' ppp.lo(.text+0x898): undefined reference to `RC4' ppp.lo(.text+0x8bd): undefined reference to `RC4' ppp.lo: In function `MPPEInput': ppp.lo(.text+0x9f7): undefined reference to `RC4_set_key' ppp.lo(.text+0xa18): undefined reference to `RC4' ppp.lo(.text+0xa4e): undefined reference to `RC4' *** Error code 1 Stop in /usr/src/release/boot_crunch. *** Error code 1 ... ########### John -- John Hay -- John.Hay@icomtek.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 9:45:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from nyc.rr.com (nycsmtp2fb.rdc-nyc.rr.com [24.29.99.78]) by hub.freebsd.org (Postfix) with ESMTP id 9C5D237B718 for ; Thu, 29 Mar 2001 09:45:33 -0800 (PST) (envelope-from igb@igb.net) Received: from [192.168.1.100] ([66.65.38.59]) by nyc.rr.com with Microsoft SMTPSVC(5.5.1877.357.35); Thu, 29 Mar 2001 12:48:36 -0500 Mime-Version: 1.0 Message-Id: X-Message: from IGB.NET Date: Thu, 29 Mar 2001 12:43:50 -0500 To: freebsd-current@FreeBSD.org From: "IGB.NET" Subject: subscribe Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 10:41:15 2001 Delivered-To: freebsd-current@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id BCCAE37B71D for ; Thu, 29 Mar 2001 10:41:09 -0800 (PST) (envelope-from ncbp@bank-pedersen.dk) Received: by freesbee.wheel.dk (Postfix, from userid 1002) id CAA9F5D60; Thu, 29 Mar 2001 20:41:08 +0200 (CEST) Date: Thu, 29 Mar 2001 20:41:08 +0200 From: "Niels Chr. Bank-Pedersen" To: current@freebsd.org Subject: -current reliably panics during make release (current process = dd) Message-ID: <20010329204108.A98023@bank-pedersen.dk> Mail-Followup-To: "Niels Chr. Bank-Pedersen" , current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-PGP-Fingerprint: 18D0 73F3 767F 3A40 CEBA C595 4783 D7F5 5DD1 FB8C X-PGP-Public-Key: http://freesbee.wheel.dk/~ncbp/gpgkey.pub Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On a -current from this morning, I can reliably trigger a panic by "make release" (I believe the problem has existed for some time, though). The box can do make worlds without problem, but during make release, it stumples at the same place every time. This is a Dual P3 with all involved filesystems (/usr/src, /usr/obj and the chrootdir) nullfs-mounted from a SU vinum raid01 volume. monster# mount /dev/da0s1a on / (ufs, local, noatime, soft-updates) devfs on /dev (devfs, local) /dev/da3s1e on /usr (ufs, local, noatime, soft-updates) /dev/da0s1f on /var (ufs, local, noatime, soft-updates) procfs on /proc (procfs, local) /dev/vinum/vol/raid01 on /raid01 (ufs, NFS exported, local, noatime, soft-updates) /raid01/usr/src on /usr/src (nullfs, local, noatime) /raid01/usr/obj on /usr/obj (nullfs, local, noatime) /raid01/usr/ports on /usr/ports (nullfs, local, noatime) monster# The panic: Fatal trap 12: page fault while in kernel mode cpuid = 1; lapic.id = 00000000 fault virtual address = 0x58 fault code = supervisor read, page not present instruction pointer = 0x8:0xc016749e stack pointer = 0x10:0xe009ddf4 frame pointer = 0x10:0xe009ddf4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 88329 (dd) kernel: type 12 trap, code=0 CPU1 stopping CPUs: 0x00000001... stopped. Stopped at devsw+0x6: cmpl $0,0x58(%eax) db> trace devsw(0,c41c3280,0,4,e0b8a36c) at devsw+0x6 vn_ioctl(c41c3280,4004667a,e009ded0,dfb3d740,dfb3d740) at vn_ioctl+0xb5 ioctl(dfb3d740,e009df80,805b5c0,bfbff868,bfbff880) at ioctl+0x20a syscall(2f,2f,2f,bfbff880,bfbff868) at syscall+0x405 syscall_with_err_pushed() at syscall_with_err_pushed+0x1b db> I'll try to get a crashdump - 1GB (if anyone's interested?). Config attached. /Niels Chr. -- Niels Christian Bank-Pedersen, NCB1-RIPE. Network Manager, Tele Danmark NET, IP-section. "Hey, are any of you guys out there actually *using* RFC 2549?" --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=MONSTER machine i386 cpu I686_CPU ident MONSTER maxusers 128 hints "/boot/device.hints" #makeoptions DEBUG=-g options INET options FFS options SOFTUPDATES options NFS options CD9660 options DEVFS options PROCFS options COMPAT_43 options SCSI_DELAY=5000 options UCONSOLE options USERCONFIG options VISUAL_USERCONFIG options KTRACE options SYSVSHM options SYSVMSG options SYSVSEM options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV options SMP options APIC_IO options DDB device isa device pci device fdc device ata #device atadisk device atapicd #device atapifd #device atapist #options ATA_STATIC_ID device sym device scbus device da #device sa #device cd device pass device atkbdc 1 device atkbd device psm device vga device splash device sc 1 device npx device sio device ppc device ppbus device lpt device miibus device fxp device md device random device loop device ether device pty device bpf --YiEDa0DAkWCtVeE4-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 11:41:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 00F2C37B71D for ; Thu, 29 Mar 2001 11:41:09 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2TJf6a24408; Thu, 29 Mar 2001 11:41:06 -0800 (PST) Date: Thu, 29 Mar 2001 11:41:06 -0800 From: Alfred Perlstein To: michael_class@gmx.net Cc: current@FreeBSD.ORG Subject: Re: malloc not recurseable? Message-ID: <20010329114105.D9431@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from michaelc@tmbbobmc.bbn.hp.com on Thu, Mar 29, 2001 at 12:35:38PM +0200 X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Michael Class [010329 02:36] wrote: > Hello, > > on a FBSD-5.0-current (as of yesterday) system I am having a > question about the way malloc works. The manpage states > that malloc cannot be recursed. Does this mean that our > malloc is not thread safe? I checked the manpage on HPUX > and there it explicitely states that malloc is thread-safe. > > The reason I am asking is that my X-Server is crashing randomly > (not very often though, approx. once a day) with the following > trace: (This is XFree86-4.0.3 from ports) > > #0 0x2820a9e8 in kill () from /usr/lib/libc.so.5 > #1 0x2825bb3d in abort () from /usr/lib/libc.so.5 > #2 0x2825a682 in isatty () from /usr/lib/libc.so.5 > #3 0x2825a6b0 in isatty () from /usr/lib/libc.so.5 > #4 0x2825b6a6 in malloc () from /usr/lib/libc.so.5 > #5 0x80d19ff in Xalloc (amount=16) at utils.c:1225 > #6 0x80cc30c in TimerSet (timer=0x0, flags=0, millis=50, func=0x8788ef0, > arg=0x88acb00) at WaitFor.c:744 > #7 0x87890fa in ?? () > #8 0x878927d in ?? () > #9 0x8788bf0 in ?? () > #10 0x807da23 in xf86SigioReadInput (fd=7, closure=0x88acb00) > at xf86Events.c:1039 > #11 0x8093d48 in xf86SIGIO (sig=23) at sigio.c:99 > #12 0xbfbfffac in ?? () > #13 0x2825ad74 in isatty () from /usr/lib/libc.so.5 > #14 0x2825afcd in isatty () from /usr/lib/libc.so.5 > #15 0x2825b6f1 in malloc () from /usr/lib/libc.so.5 > #16 0x80d19ff in Xalloc (amount=256) at utils.c:1225 > #17 0x87578ac in ?? () > #18 0x8757a98 in ?? () > #19 0x8758f13 in ?? () > #20 0x8759e26 in ?? () > #21 0x80c8b6d in QueryFont (pFont=0x8c22a00, pReply=0xbfbfeba4, > nProtoCCIStructs=256) at dixfonts.c:580 > #22 0x80ad639 in ProcQueryFont (client=0x8b52d00) at dispatch.c:1388 > #23 0x80ac045 in Dispatch () at dispatch.c:456 > #24 0x80bc395 in main (argc=3, argv=0xbfbffdc0, envp=0xbfbffdd0) at main.c:439 > #25 0x806b31d in _start () > > To me this looks like malloc is called in a signal-handler. But I > am not sure, if this is the right interpretation. > Any comments? There's a difference between being thread safe and signal safe. Malloc is not signal safe and the XFree coders need to remove the signal handler's use of malloc, basically rework the problem they are trying to solve. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 13:13:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id D948A37B71C for ; Thu, 29 Mar 2001 13:13:52 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2TLDXG40864; Thu, 29 Mar 2001 13:13:34 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010328231709.A96500@skriver.dk> Date: Thu, 29 Mar 2001 13:13:09 -0800 (PST) From: John Baldwin To: Jesper Skriver Subject: Re: NEWCARD broken in -current Cc: current@FreeBSD.org, "Niels Chr. Bank-Pedersen" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 28-Mar-01 Jesper Skriver wrote: > On Wed, Mar 28, 2001 at 10:15:21PM +0200, Niels Chr. Bank-Pedersen wrote: >> On Wed, Mar 28, 2001 at 10:09:28PM +0200, Jesper Skriver wrote: >> > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs >> > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline >> > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys >> > -I/usr/src/sys/dev -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acp > ica/Subsystem/Include -D_KERNEL -include opt_global.h -elf > -mpreferred-stack-boundary=2 >> > /usr/src/sys/dev/pccbb/pccbb.c >> > In file included from /usr/src/sys/dev/pccbb/pccbb.c:56: >> > /usr/src/sys/sys/mutex.h:87: field `mtx_object' has incomplete type >> > /usr/src/sys/dev/pccbb/pccbb.c: In function `pccbb_detach': >> > /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of >> > function `MPASS' >> > /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of >> > function `LOCK_LOG_LOCK' >> > /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of >> > function `WITNESS_LOCK' >> > /usr/src/sys/dev/pccbb/pccbb.c:539: warning: implicit declaration of >> > function `WITNESS_UNLOCK' >> > *** Error code 1 >> >> You'll need to #include and >> in /usr/src/sys/dev/pccbb/pccbb.c > > Right, the below fixes it, should I commit ? > > Index: src/sys/dev/pccbb/pccbb.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/pccbb/pccbb.c,v > retrieving revision 1.12 > diff -u -r1.12 pccbb.c > --- src/sys/dev/pccbb/pccbb.c 2001/02/09 06:08:52 1.12 > +++ src/sys/dev/pccbb/pccbb.c 2001/03/28 20:51:20 > @@ -53,6 +53,8 @@ > #include > #include > #include > +#include > +#include > #include > > #include Please sort the includes or at least attempt to as that is style(9). You'll need to mvoe lock.h up before malloc.h. types.h is special, it belongs as the very first header unless sys/param.h is the first header (param.h includes types.h). -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 14: 9:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id 38F3937B718; Thu, 29 Mar 2001 14:09:07 -0800 (PST) (envelope-from jesper@skriver.dk) Received: by freesbee.wheel.dk (Postfix, from userid 1001) id E348C5D64; Fri, 30 Mar 2001 00:09:05 +0200 (CEST) Date: Fri, 30 Mar 2001 00:09:05 +0200 From: Jesper Skriver To: John Baldwin Cc: current@FreeBSD.org, "Niels Chr. Bank-Pedersen" Subject: Re: NEWCARD broken in -current Message-ID: <20010330000905.B13266@skriver.dk> References: <20010328231709.A96500@skriver.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Thu, Mar 29, 2001 at 01:13:09PM -0800 X-PGP-Fingerprint: 6B88 9CE8 66E9 E631 C9C5 5EB4 22AB F0EC F956 1C31 X-PGP-Public-Key: http://freesbee.wheel.dk/~jesper/gpgkey.pub Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Mar 29, 2001 at 01:13:09PM -0800, John Baldwin wrote: > > > > Index: src/sys/dev/pccbb/pccbb.c > > =================================================================== > > RCS file: /home/ncvs/src/sys/dev/pccbb/pccbb.c,v > > retrieving revision 1.12 > > diff -u -r1.12 pccbb.c > > --- src/sys/dev/pccbb/pccbb.c 2001/02/09 06:08:52 1.12 > > +++ src/sys/dev/pccbb/pccbb.c 2001/03/28 20:51:20 > > @@ -53,6 +53,8 @@ > > #include > > #include > > #include > > +#include > > +#include > > #include > > > > #include > > Please sort the includes or at least attempt to as that is style(9). You'll > need to mvoe lock.h up before malloc.h. types.h is special, it belongs as the > very first header unless sys/param.h is the first header (param.h includes > types.h). The above was committed, so would the below fix it right ? Index: src/sys/dev/pccbb/pccbb.c =================================================================== RCS file: /home/ncvs/src/sys/dev/pccbb/pccbb.c,v retrieving revision 1.13 diff -u -r1.13 pccbb.c --- src/sys/dev/pccbb/pccbb.c 2001/03/29 10:23:45 1.13 +++ src/sys/dev/pccbb/pccbb.c 2001/03/29 22:06:51 @@ -52,9 +52,8 @@ #include #include #include -#include -#include #include +#include #include #include /Jesper -- Jesper Skriver, jesper(at)skriver(dot)dk - CCIE #5456 Work: Network manager @ AS3292 (Tele Danmark DataNetworks) Private: FreeBSD committer @ AS2109 (A much smaller network ;-) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 21:44:46 2001 Delivered-To: freebsd-current@freebsd.org Received: from gratis.grondar.za (grouter.grondar.za [196.7.18.65]) by hub.freebsd.org (Postfix) with ESMTP id 9B32D37B71A for ; Thu, 29 Mar 2001 21:44:40 -0800 (PST) (envelope-from mark@grondar.za) Received: from grondar.za (root@gratis.grondar.za [196.7.18.133]) by gratis.grondar.za (8.11.1/8.11.1) with ESMTP id f2U5iXH94095 for ; Fri, 30 Mar 2001 07:44:36 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <200103300544.f2U5iXH94095@gratis.grondar.za> To: current@freebsd.org Subject: i586 FP optimizations hosed. Date: Fri, 30 Mar 2001 07:45:43 +0200 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I have an SMP kernel with I586 and I686 support. If I boot it on a 686 it works. On a 586 it craps out with CPU1 stopping CPUs: 0x00000001... Stopped. Stopped at i586_bzero_oops+0x1: jmp i586_bzero_oops late into the boot (during network/RPC init stuff). I thought the 586 FP stuff was disabled? M -- Mark Murray Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Mar 29 21:49: 4 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 27DCC37B71C for ; Thu, 29 Mar 2001 21:49:01 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2U5mjG52388; Thu, 29 Mar 2001 21:48:46 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010330000905.B13266@skriver.dk> Date: Thu, 29 Mar 2001 21:48:26 -0800 (PST) From: John Baldwin To: Jesper Skriver Subject: Re: NEWCARD broken in -current Cc: "Niels Chr. Bank-Pedersen" , current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 29-Mar-01 Jesper Skriver wrote: > On Thu, Mar 29, 2001 at 01:13:09PM -0800, John Baldwin wrote: >> > >> > Index: src/sys/dev/pccbb/pccbb.c >> > =================================================================== >> > RCS file: /home/ncvs/src/sys/dev/pccbb/pccbb.c,v >> > retrieving revision 1.12 >> > diff -u -r1.12 pccbb.c >> > --- src/sys/dev/pccbb/pccbb.c 2001/02/09 06:08:52 1.12 >> > +++ src/sys/dev/pccbb/pccbb.c 2001/03/28 20:51:20 >> > @@ -53,6 +53,8 @@ >> > #include >> > #include >> > #include >> > +#include >> > +#include >> > #include >> > >> > #include >> >> Please sort the includes or at least attempt to as that is style(9). You'll >> need to mvoe lock.h up before malloc.h. types.h is special, it belongs as >> the >> very first header unless sys/param.h is the first header (param.h includes >> types.h). > > The above was committed, so would the below fix it right ? > > Index: src/sys/dev/pccbb/pccbb.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/pccbb/pccbb.c,v > retrieving revision 1.13 > diff -u -r1.13 pccbb.c > --- src/sys/dev/pccbb/pccbb.c 2001/03/29 10:23:45 1.13 > +++ src/sys/dev/pccbb/pccbb.c 2001/03/29 22:06:51 > @@ -52,9 +52,8 @@ > #include > #include > #include > -#include > -#include > #include > +#include > #include > > #include Sure, as long as it compiles. :) -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 0: 9:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 0C82E37B71C; Fri, 30 Mar 2001 00:09:09 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2U88VJ57295; Fri, 30 Mar 2001 11:08:31 +0300 (EEST) (envelope-from ru) Date: Fri, 30 Mar 2001 11:08:31 +0300 From: Ruslan Ermilov To: John Hay Cc: Brian Somers , Josef Karthauser , current@FreeBSD.org Subject: Re: make release broken in telnetd Message-ID: <20010330110831.A50935@sunbay.com> Mail-Followup-To: John Hay , Brian Somers , Josef Karthauser , current@FreeBSD.ORG References: <20010329150521.B21904@sunbay.com> <200103291710.f2THAvv42640@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103291710.f2THAvv42640@zibbi.icomtek.csir.co.za>; from jhay@icomtek.csir.co.za on Thu, Mar 29, 2001 at 07:10:57PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! This was tricky. Due to the old bug in release/Makefile (it did not pass -DRELEASE_CRUNCH when building list of object files for crunched binary), ${OBJS} list for ppp was computed incorrectly, and ppp/Makefile had a special glue to build empty object files: : .if defined(RELEASE_CRUNCH) : # We must create these objects because crunchgen will link them, : # and we don't want any unused symbols to spoil the final link. : CFLAGS+=-DNONAT -DNORADIUS -DNOI4B -DNOSUID : OBJS+= chap_ms.o mppe.o id.o nat_cmd.o radius.o : chap_ms.o mppe.o id.o nat_cmd.o radius.o: : >null_${.PREFIX}.c : cc -c -o ${.TARGET} null_${.PREFIX}.c : .endif Recall that release/Makefile executes `make subclean all' against the crunchgen(1) generated .mk file. Previously, `subclean' was executed with the -DRELEASE_CRUNCH; this removed chap_ms.o, and subsequent `make all' had a chance to build chap_ms.o from the stub rule above: : # make -n -DRELEASE_CRUNCH chap_ms.o : >null_chap_ms.c : cc -c -o chap_ms.o null_chap_ms.c Now that -DRELEASE_CRUNCH is moved to crunchgen(1) .conf files (recall that I needed this so that ${OBJS} are computed correctly for telnet/Makefile), ppp/Makefile got broken. `subclean' does not cleans chap_ms.o, and subsequent `make all' considers it up-to-date. The attached patch should fix this. Please let me know... Actually, I have just committed a fix to crunchgen(1) so that it runs `make clean' with the ${BUILDOPTS}, to avoid possible failures in the future. This fix alone should be enough to fix the broken `make release', but please test with the attached patch too. : ru 2001/03/30 00:04:25 PST : : Modified files: : usr.sbin/crunch/crunchgen crunchgen.c : Log: : `buildopts' may affect the selection of object files. : Make sure we pass $(BUILDOPTS) to the `clean' target : so that `make clean' works on the same set of object : files. Otherwise, we may end up with an incorrectly : built and up-to-date object file. : : Revision Changes Path : 1.26 +2 -2 src/usr.sbin/crunch/crunchgen/crunchgen.c On Thu, Mar 29, 2001 at 07:10:57PM +0200, John Hay wrote: > Hi Ruslan, > > > > > Could you please try the attached patch and let me know? > > > > I had to move -DRELEASE_CRUNCH to *_fixit.conf so that > > ${OBJS} are computed correctly for usr.bin/telnet. > > I have tried it, but now it breaks in boot_crunch: > > ########## > cc -O -pipe -DCRUNCHED_BINARY -c tunefs_stub.c > ld -dc -r -o tunefs.lo tunefs_stub.o /usr/obj//usr/src/sbin/tunefs/tunefs.o > crunchide -k _crunched_tunefs_stub tunefs.lo > cc -static -o boot_crunch boot_crunch.o sh.lo find.lo sed.lo test.lo rm.lo pwd.l > o ppp.lo sysinstall.lo newfs.lo minigzip.lo cpio.lo fsck.lo ifconfig.lo route.lo > slattach.lo mount_nfs.lo dhclient.lo arp.lo hostname.lo rtsol.lo pccardc.lo pcc > ardd.lo usbd.lo usbdevs.lo tunefs.lo -ll -ledit -lutil -lkvm -lmd -lcrypt -lftpi > o -lz -lnetgraph -ldialog -lncurses -lmytinfo -ldisk -lipx > ppp.lo: In function `MakeKey': > ppp.lo(.text+0xfe): undefined reference to `des_set_odd_parity' > ppp.lo: In function `DesEncrypt': > ppp.lo(.text+0x142): undefined reference to `des_set_key' > ppp.lo(.text+0x14f): undefined reference to `des_ecb_encrypt' > ppp.lo: In function `MPPEKeyChange': > ppp.lo(.text+0x7b6): undefined reference to `RC4_set_key' > ppp.lo(.text+0x7ca): undefined reference to `RC4' > ppp.lo: In function `MPPEOutput': > ppp.lo(.text+0x85b): undefined reference to `RC4_set_key' > ppp.lo(.text+0x898): undefined reference to `RC4' > ppp.lo(.text+0x8bd): undefined reference to `RC4' > ppp.lo: In function `MPPEInput': > ppp.lo(.text+0x9f7): undefined reference to `RC4_set_key' > ppp.lo(.text+0xa18): undefined reference to `RC4' > ppp.lo(.text+0xa4e): undefined reference to `RC4' > *** Error code 1 > > Stop in /usr/src/release/boot_crunch. > *** Error code 1 > ... > ########### -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p Index: Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/Makefile,v retrieving revision 1.84 diff -u -p -r1.84 Makefile --- Makefile 2001/03/26 14:41:22 1.84 +++ Makefile 2001/03/30 07:16:55 @@ -92,13 +92,7 @@ DPADD+= ${LIBNETGRAPH} .endif .if defined(RELEASE_CRUNCH) -# We must create these objects because crunchgen will link them, -# and we don't want any unused symbols to spoil the final link. CFLAGS+=-DNONAT -DNORADIUS -DNOI4B -DNOSUID -OBJS+= chap_ms.o mppe.o id.o nat_cmd.o radius.o -chap_ms.o mppe.o id.o nat_cmd.o radius.o: - >null_${.PREFIX}.c - cc -c -o ${.TARGET} null_${.PREFIX}.c .endif .include --ikeVEW9yuYc//A+q-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 3: 1:23 2001 Delivered-To: freebsd-current@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id 06AF237B718 for ; Fri, 30 Mar 2001 03:01:21 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.pacbell.net ([207.214.149.180]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GB000LIUBXA4O@mta5.snfc21.pbi.net> for current@freebsd.org; Fri, 30 Mar 2001 03:00:47 -0800 (PST) Received: by zippy.pacbell.net (Postfix, from userid 1000) id A6D8417C9; Fri, 30 Mar 2001 03:00:43 -0800 (PST) Date: Fri, 30 Mar 2001 03:00:43 -0800 From: Alex Zepeda Subject: panic with recent kernel.. To: current@freebsd.org Message-id: <20010330030043.A575@zippy.mybox.zip> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The box itself is a dual P2-450, and I was attempting to rebuild a KDE library (ah the joys of doing that), and monitoring stuff with top. The first odd thing I noticed was that some of the processes showed up with an state field (namely sed, and a few others I think). Eventually the box panic'd, and instead of dumping to the swap partition, it hung while trying to reset the ATA devices. The trace I got was: Stopped at p_cansee+0x16 pushl 0(%eax) p_cansee p_can sysctl_kern_proc sysctl_root userland_sysctl __sysctl syscall syscall_with_err_pushed zippy:~#uname -a FreeBSD zippy.mybox.zip 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Thu Mar 29 19:31:43 PST 2001 root@zippy.mybox.zip:/usr/src/sys/compile/ZIPPY_SMP i386 - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 3:11:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by hub.freebsd.org (Postfix) with ESMTP id 1F83337B71D for ; Fri, 30 Mar 2001 03:11:14 -0800 (PST) (envelope-from netchild@leidinger.net) Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with esmtp (Exim 3.22 #1) id 14iwoC-0002sV-00 for current@freebsd.org; Fri, 30 Mar 2001 13:11:12 +0200 Received: from b85d1.pppool.de ([213.7.133.209] helo=Magelan.Leidinger.net) by mx1.freenet.de with esmtp (Exim 3.22 #1) id 14iwoA-0001Bq-00 for current@FreeBSD.ORG; Fri, 30 Mar 2001 13:11:11 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.3/8.11.3) with ESMTP id f2UB9Vo31517 for ; Fri, 30 Mar 2001 13:09:32 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200103301109.f2UB9Vo31517@Magelan.Leidinger.net> Date: Fri, 30 Mar 2001 13:09:21 +0200 (CEST) From: Alexander Leidinger Subject: Re: Recent interface/routing changes breaks on-demand PPP (+sppp) To: current@FreeBSD.ORG In-Reply-To: <20010319173608.A64735@sunbay.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Magelan.Leidinger.net id f2UB9Vo31517 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 19 M=E4r, Ruslan Ermilov wrote: > 3. The routing code was fixed to delete routes which use non-existent > interface addresses. This code will wipe such a route. > 5. This affects not only ppp(8). Add default route that points to the > LAN; change the IP address on interface; observe that the default > route has gone away. The reason is that if we don't do this, we > may end up using the old (now non-existing) local IP address. A little bit more on my problems with the defaultroute and sppp after the recent changes: - I didn't use ppp(8), I use isdnd(8) - my default dial-on-demand interface is isp1 - my rc.conf contains: defaultrouter=3D"-interface isp1" - the interface is down (ifconfig isp1 down) by default and gets turned = up (ifconfig isp1 up) at a login (which didn't triggers a dial out) - if I put the interface down the first time after a login I have to readd the defaultroute (only once, after additional "ifconfig down/up" I didn't have to readd the defaultroute, it stays) Bye, Alexander. --=20 Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint =3D C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 4:14:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by hub.freebsd.org (Postfix) with ESMTP id 08C9737B71E; Fri, 30 Mar 2001 04:14:53 -0800 (PST) (envelope-from netchild@leidinger.net) Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout0.freenet.de with esmtp (Exim 3.22 #1) id 14ixno-0001LD-00; Fri, 30 Mar 2001 14:14:52 +0200 Received: from b852a.pppool.de ([213.7.133.42] helo=Magelan.Leidinger.net) by mx0.freenet.de with esmtp (Exim 3.22 #1) id 14ixnm-0000D2-00; Fri, 30 Mar 2001 14:14:51 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.3/8.11.3) with ESMTP id f2UBafo45830; Fri, 30 Mar 2001 13:36:43 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200103301136.f2UBafo45830@Magelan.Leidinger.net> Date: Fri, 30 Mar 2001 13:36:39 +0200 (CEST) From: Alexander Leidinger Subject: Re: Recent interface/routing changes breaks on-demand PPP (+sppp) To: ru@FreeBSD.org Cc: current@freebsd.org In-Reply-To: <20010330142805.A77411@sunbay.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Magelan.Leidinger.net id f2UBafo45830 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 30 M=E4r, Ruslan Ermilov wrote: >> - if I put the interface down the first time after a login I have to >> readd the defaultroute (only once, after additional "ifconfig >> down/up" I didn't have to readd the defaultroute, it stays) >>=20 > This is only possible if you have a routing daemon running. I didn't have a routing daemon running. > Otherwise, if the default route points to interface X, and > you execute ``ifconfig X down'', all routes through X will > be deleted including the default. Previously, the routing > code did not delete ``static'' routes, now it does. What to do in this situation? I didn't want add the defaultroute everytime (POLA). Bye, Alexander. --=20 There's no place like ~ http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint =3D C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 4:21:51 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 39D2837B718 for ; Fri, 30 Mar 2001 04:21:44 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2UCLWk83409; Fri, 30 Mar 2001 15:21:32 +0300 (EEST) (envelope-from ru) Date: Fri, 30 Mar 2001 15:21:32 +0300 From: Ruslan Ermilov To: Alexander Leidinger Cc: current@FreeBSD.org Subject: Re: Recent interface/routing changes breaks on-demand PPP (+sppp) Message-ID: <20010330152132.C82273@sunbay.com> Mail-Followup-To: Alexander Leidinger , current@FreeBSD.org References: <20010330142805.A77411@sunbay.com> <200103301136.f2UBafo45830@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103301136.f2UBafo45830@Magelan.Leidinger.net>; from Alexander@leidinger.net on Fri, Mar 30, 2001 at 01:36:39PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 30, 2001 at 01:36:39PM +0200, Alexander Leidinger wrote: > On 30 Mar, Ruslan Ermilov wrote: > >> - if I put the interface down the first time after a login I have to > >> readd the defaultroute (only once, after additional "ifconfig > >> down/up" I didn't have to readd the defaultroute, it stays) > >> > > This is only possible if you have a routing daemon running. > > I didn't have a routing daemon running. > > > Otherwise, if the default route points to interface X, and > > you execute ``ifconfig X down'', all routes through X will > > be deleted including the default. Previously, the routing > > code did not delete ``static'' routes, now it does. > > What to do in this situation? I didn't want add the defaultroute > everytime (POLA). > But if we don't do this, we may end up using the wrong source IP address. Without my fixes, try this: 1) ifconfig isp1 X.X.X.1 .... 2) route add default -iface isp1 3) ifconfig isp1 X.X.X.2 4) ping some outside host 5) watch the packets will go from the wrong address (X.X.X.1) Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 5:41: 6 2001 Delivered-To: freebsd-current@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 3466D37B75B; Fri, 30 Mar 2001 05:40:59 -0800 (PST) (envelope-from netchild@leidinger.net) Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.22 #1) id 14iz98-0000Pv-00; Fri, 30 Mar 2001 15:40:58 +0200 Received: from a372b.pppool.de ([213.6.55.43] helo=Magelan.Leidinger.net) by mx0.freenet.de with esmtp (Exim 3.22 #1) id 14iz97-0000uy-00; Fri, 30 Mar 2001 15:40:57 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.3/8.11.3) with ESMTP id f2UDdro62427; Fri, 30 Mar 2001 15:39:54 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200103301339.f2UDdro62427@Magelan.Leidinger.net> Date: Fri, 30 Mar 2001 15:39:40 +0200 (CEST) From: Alexander Leidinger Subject: Re: Recent interface/routing changes breaks on-demand PPP (+sppp) To: ru@FreeBSD.org Cc: current@FreeBSD.org In-Reply-To: <20010330152132.C82273@sunbay.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Magelan.Leidinger.net id f2UDdro62427 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 30 M=E4r, Ruslan Ermilov wrote: >> What to do in this situation? I didn't want add the defaultroute >> everytime (POLA). >>=20 > But if we don't do this, we may end up using the wrong source IP > address. Without my fixes, try this: >=20 > 1) ifconfig isp1 X.X.X.1 .... > 2) route add default -iface isp1 > 3) ifconfig isp1 X.X.X.2 > 4) ping some outside host > 5) watch the packets will go from the wrong address (X.X.X.1) If I use route add default -interface isp1 I wan't to have the packets routed trough isp1. I don't care about how the routing table is held consistent, but I if the route is discarded without my interaction it not only violates POLA, in this case it's prohibits a valid use of the -interface feature (dial on demand via sppp is broken at the moment). Bye, Alexander. --=20 The dark ages were caused by the Y1K problem. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint =3D C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 6:24:36 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id AA9A337B71B; Fri, 30 Mar 2001 06:24:22 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2UENus96717; Fri, 30 Mar 2001 17:23:56 +0300 (EEST) (envelope-from ru) Date: Fri, 30 Mar 2001 17:23:55 +0300 From: Ruslan Ermilov To: Alexander Leidinger Cc: net@FreeBSD.org Subject: Re: Recent interface/routing changes breaks on-demand PPP (+sppp) Message-ID: <20010330172355.A94198@sunbay.com> Mail-Followup-To: Alexander Leidinger , net@FreeBSD.org References: <20010330152132.C82273@sunbay.com> <200103301339.f2UDdro62427@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103301339.f2UDdro62427@Magelan.Leidinger.net>; from Alexander@leidinger.net on Fri, Mar 30, 2001 at 03:39:40PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Redirected to -net] On Fri, Mar 30, 2001 at 03:39:40PM +0200, Alexander Leidinger wrote: > On 30 Mar, Ruslan Ermilov wrote: > > >> What to do in this situation? I didn't want add the defaultroute > >> everytime (POLA). > >> > > But if we don't do this, we may end up using the wrong source IP > > address. Without my fixes, try this: > > > > 1) ifconfig isp1 X.X.X.1 .... > > 2) route add default -iface isp1 > > 3) ifconfig isp1 X.X.X.2 > > 4) ping some outside host > > 5) watch the packets will go from the wrong address (X.X.X.1) > > If I use > route add default -interface isp1 > I wan't to have the packets routed trough isp1. I don't care about how > the routing table is held consistent, but I if the route is discarded > without my interaction it not only violates POLA, in this case it's > prohibits a valid use of the -interface feature (dial on demand via sppp > is broken at the moment). > OK, finally got it. When the interface goes down, the address is still valid, and there is no reason to delete (static?) routes that use this address, but the new code does. I was confused by the code comment below for the rip_ctlinput() function in raw_ip.c. The old code actually only deleted dynamically creates routes (ARP cache, etc.). IOW, that could be used as some sort of flush. : /* : * This function exists solely to receive the PRC_IFDOWN messages which : * are sent by if_down(). It looks for an ifaddr whose ifa_addr is sa, : * and calls in_ifadown() to remove all routes corresponding to that address. ^^^^^^^^^^ : * It also receives the PRC_IFUP messages from if_up() and reinstalls the : * interface routes. : */ I then modified in_ifadown() so that it deletes static routes as well that use this address. I will probably implement in_ifadelete() that will be called when the interface address is actually deleted (in_control(); SIOCDIFADDR), and restore the old behavior of in_ifadown(). This will take some time. Meanwhile, the following patch could be used as the temporary workaround: Index: raw_ip.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/raw_ip.c,v retrieving revision 1.75 diff -u -p -r1.75 raw_ip.c --- raw_ip.c 2001/03/16 20:00:53 1.75 +++ raw_ip.c 2001/03/30 14:09:20 @@ -398,7 +398,9 @@ rip_ctlinput(cmd, sa, vip) * thing to do, but at least if we are running * a routing process they will come back. */ +#if 0 in_ifadown(&ia->ia_ifa); +#endif break; } } Let me know if it works for you. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 6:56:29 2001 Delivered-To: freebsd-current@freebsd.org Received: from ad1.vsnl.net.in (ad1.vsnl.net.in [202.54.4.114]) by hub.freebsd.org (Postfix) with ESMTP id C0BF337B71E; Fri, 30 Mar 2001 06:55:13 -0800 (PST) (envelope-from pramukhc@vsnl.com) Received: from varun (unknown [61.1.46.149]) by ad1.vsnl.net.in (Postfix) with SMTP id A464D60301; Fri, 30 Mar 2001 20:21:52 +0530 (IST) Message-ID: <001c01c0b92a$2172a3a0$96c3fea9@bhavnagar.com> From: "Hiren Trivedi" To: Subject: Donation For Earthquake Relief Work Date: Fri, 30 Mar 2001 20:27:00 +0530 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0016_01C0B958.06B8AA40" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0016_01C0B958.06B8AA40 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0017_01C0B958.06C04B60" ------=_NextPart_001_0017_01C0B958.06C04B60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable -------------------------------------------------------------------------= ------- Format Your Message Here -------------------------------------------------------------------------= ------- Dear Sir, I am enclosing herewith brochure of BAPS Swaminarayan Sanstha for your = kind consideration. We are from one of the Centre - Bhavnagar = forwarding herewith our genune request for your valuable donation for = this work. As you know that Bhavnagar is a one of the earthquake = affected centre in which we are having experience of earthquake tremours = more than 500 since last 8 months. These tremours inspired us to work = for earthquake affected people. From Bhavnagar centre we have dispatched = huge quantity of all the required materials. Now earthquake affected = area require permanant housing facilities. To provide such type of = facilities we are requesting you to send your valuable donation to one = of the best and leading NGO of the world and oblige us. Thanking you, Yours faithfully, =20 Hiren Trivedi =20 -------------------------------------------------------------------------= ------- -------------------------------------------------------------------------= ------- -------------------------------------------------------------------------= ------- -------------------------------------------------------------------------= ------- -------------------------------------------------------------------------= ------- -------------------------------------------------------------------------= ------- -------------------------------------------------------------------------= ------- -------------------------------------------------------------------------= ------- ------=_NextPart_001_0017_01C0B958.06C04B60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Format=20 Your Message Here

Dear Sir,
I am enclosing herewith brochure of BAPS = Swaminarayan Sanstha=20 for your kind consideration. We are from one of the  Centre - = Bhavnagar=20 forwarding herewith our genune request for your valuable donation = for this=20 work. As you know that Bhavnagar is a one of the earthquake affected = centre in=20 which we are having experience of earthquake tremours more than 500=20 since last 8 months. These tremours inspired us to work for = earthquake=20 affected people. From Bhavnagar centre we have dispatched huge quantity = of all=20 the required materials. Now earthquake affected area require = permanant=20 housing facilities. To provide such type of facilities we are requesting = you to=20 send your valuable donation to one of the best and leading NGO of the = world and=20 oblige us.
Thanking you,
Yours faithfully,
 
Hiren Trivedi  









------=_NextPart_001_0017_01C0B958.06C04B60-- ------=_NextPart_000_0016_01C0B958.06B8AA40 Content-Type: image/gif; name="extract.gif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="extract.gif" R0lGODlhLQAkAPcAAAAAAAAAQAAAgAAA/wAgAAAgQAAggAAg/wBAAABAQABAgABA/wBgAABgQABg gABg/wCAAACAQACAgACA/wCgAACgQACggACg/wDAAADAQADAgADA/wD/AAD/QAD/gAD//yAAACAA QCAAgCAA/yAgACAgQCAggCAg/yBAACBAQCBAgCBA/yBgACBgQCBggCBg/yCAACCAQCCAgCCA/yCg ACCgQCCggCCg/yDAACDAQCDAgCDA/yD/ACD/QCD/gCD//0AAAEAAQEAAgEAA/0AgAEAgQEAggEAg /0BAAEBAQEBAgEBA/0BgAEBgQEBggEBg/0CAAECAQECAgECA/0CgAECgQECggECg/0DAAEDAQEDA gEDA/0D/AED/QED/gED//2AAAGAAQGAAgGAA/2AgAGAgQGAggGAg/2BAAGBAQGBAgGBA/2BgAGBg QGBggGBg/2CAAGCAQGCAgGCA/2CgAGCgQGCggGCg/2DAAGDAQGDAgGDA/2D/AGD/QGD/gGD//4AA AIAAQIAAgIAA/4AgAIAgQIAggIAg/4BAAIBAQIBAgIBA/4BgAIBgQIBggIBg/4CAAICAQICAgICA /4CgAICgQICggICg/4DAAIDAQIDAgIDA/4D/AID/QID/gID//6AAAKAAQKAAgKAA/6AgAKAgQKAg gKAg/6BAAKBAQKBAgKBA/6BgAKBgQKBggKBg/6CAAKCAQKCAgKCA/6CgAKCgQKCggKCg/6DAAKDA QKDAgKDA/6D/AKD/QKD/gKD//8AAAMAAQMAAgMAA/8AgAMAgQMAggMAg/8BAAMBAQMBAgMBA/8Bg AMBgQMBggMBg/8CAAMCAQMCAgMCA/8CgAMCgQMCggMCg/8DAAMDAQMDAgMDA/8D/AMD/QMD/gMD/ //8AAP8AQP8AgP8A//8gAP8gQP8ggP8g//9AAP9AQP9AgP9A//9gAP9gQP9ggP9g//+AAP+AQP+A gP+A//+gAP+gQP+ggP+g///AAP/AQP/AgP/A////AP//QP//gP///yH5BAEAAPwALAAAAAAtACQA AAjyACUJHEiwoMGDCBNK+sewocOHECNKjChwosWLGP9VzMgR4oCPIBtu7EjyH8iQDEeW5Hjyo8iF Kzu2HPAypsyWNW3q1AhzZ0yVPkkCDcpxKFGMRm0CWLr0YtKSSz9IldpU4tOOAKZqpWq1p9KtYAFQ 9BozK1OmWsVCvMoT4b+sH85GTbuWLFSweNU6ZKvwLVW5W/Xm/BoXMN2HfBP6xRu47k64cuFOFZzS 7t3IhxFbJimZMeXKQTsH/syT6NzJZx0flfs29d7Nq12DPiqRdWWFuHMPlDuQn+/fwIMLH07ct9zi yJMnP668uXN+Z59LXw7Ad0AAOw== ------=_NextPart_000_0016_01C0B958.06B8AA40-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 9:16:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 2166A37B71D for ; Fri, 30 Mar 2001 09:16:05 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2UHFXK91088; Fri, 30 Mar 2001 09:15:33 -0800 (PST) (envelope-from obrien) Date: Fri, 30 Mar 2001 09:15:33 -0800 From: "David O'Brien" To: Mark Murray Cc: current@freebsd.org Subject: Re: i586 FP optimizations hosed. Message-ID: <20010330091533.B90989@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <200103300544.f2U5iXH94095@gratis.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103300544.f2U5iXH94095@gratis.grondar.za>; from mark@grondar.za on Fri, Mar 30, 2001 at 07:45:43AM +0200 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 30, 2001 at 07:45:43AM +0200, Mark Murray wrote: > I thought the 586 FP stuff was disabled? Nope. Depending on how current you are, it was either left broken. I commited BDE's fix to exeception.s that fixed things for K6-2 users. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 9:38:42 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 6E4F937B718 for ; Fri, 30 Mar 2001 09:38:31 -0800 (PST) (envelope-from krepel@fokus.gmd.de) Received: from fokus.gmd.de (quant [193.175.133.183]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id TAA12839 for ; Fri, 30 Mar 2001 19:38:30 +0200 (MET DST) Message-ID: <3AC4C496.60861EB6@fokus.gmd.de> Date: Fri, 30 Mar 2001 19:38:30 +0200 From: Falco Krepel Organization: GMD FOKUS - CATS Group X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en, de-DE MIME-Version: 1.0 To: freebsd-current@FreeBSD.org Subject: new rc.diskless{1,2} files Content-Type: multipart/mixed; boundary="------------9C3EE933AA7CBB7E614C0D38" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------9C3EE933AA7CBB7E614C0D38 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have implemented good ideas from Mike Smith in my rc.diskless{1,2} files and make some other changes: 1. Now I use the kernel flag "vm.nswapdev" to determine if swap is available. 2. To determine if DEVFS are used I check the kernel flag "vfs.devfs.generation" as it done within the /etc/rc file. 3. I write "chk_err" and "mkmd" functions also in rc.diskless2 because the rc.diskless2 file is executed in the rc file: "sh rc.diskless2" When you change this call to ". rc.diskless2" than the mkmd function from rc.diskless2 could replace the mkmd function in rc.diskless1. The chk_err function in rc.diskless2 could be deleted. The following knobs must be added in the rc.conf: diskless_var_size="32m" diskless_tmp_enable="NO" diskless_tmp_size="32m" diskless_dev_size="2m" I am attaching the files here for those interested. Any comments are welcome. -- Falco Krepel Phone: +49-(0)30 - 34 63 - 7 276 GMD-FOKUS Fax: +49-(0)30 - 34 63 - 8 276 Kaiserin-Augusta-Allee 31 e-mail: krepel@fokus.gmd.de 10589 Berlin WWW: http://www.fokus.gmd.de/usr/krepel --------------9C3EE933AA7CBB7E614C0D38 Content-Type: text/plain; charset=us-ascii; name="rc.diskless1" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rc.diskless1" # Copyright (c) 1999 Matt Dillion # 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. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD: src/etc/rc.diskless1,v 1.6 2000/10/08 19:18:24 obrien Exp $ # # # /etc/rc.diskless1 - general BOOTP startup # # BOOTP has mounted / for us. Assume a read-only mount. We must then # - figure out our IP by querying the interface # - fill /conf/etc (writable) with files from /etc, and then update # per-machine files from /conf/*/ where * is the IP of the host, # the IP of the subnet, "default", or nothing. # - mount /conf/etc over /etc so we can see the new files. # # WARNING: i thing you should not change /etc/rc or strange things could # happen. # # The operator is in charge of setting /conf/*/etc/* things as appropriate. # Typically rc.conf and fstab need to be changed, but possibly # also other files such as inetd.conf etc. # chkerr: # # Routine to check for error # # checks error code and drops into shell on failure. # if shell exits, terminates script as well as /etc/rc. # chkerr() { case $1 in 0) ;; *) echo "$2 failed: dropping into /bin/sh" /bin/sh # RESUME ;; esac } # mkmd: # # Builds an md(4) disk of the size in $1 # Labels and newfs' it. # Mounts it on the destination in $2 # Returns the name of the created md device in md_device # Returns the name of the device containing the filesystem in md_filesystem mkmd() { md_device=`mdconfig -a -t malloc -s $1` chkerr $? "configuring md device" disklabel -rw $md_device auto chkerr $? "labelling md device" md_filesystem=/dev/$md_device"c" newfs $md_filesystem 2>&1 >/dev/null chkerr $? "making md device filesystem" mount $md_filesystem $2 chkerr $? "mounting md filesystem on $2" } # DEBUGGING # # set -v # Figure out our interface and IP. # bootp_ifc="" bootp_ipa="" bootp_ipbca="" iflist=`ifconfig -l` for i in ${iflist} ; do set `ifconfig ${i}` while [ $# -ge 1 ] ; do if [ "${bootp_ifc}" = "" -a "$1" = "inet" ] ; then bootp_ifc=${i} ; bootp_ipa=${2} ; shift fi if [ "${bootp_ipbca}" = "" -a "$1" = "broadcast" ] ; then bootp_ipbca=$2; shift fi shift done if [ "${bootp_ifc}" != "" ] ; then break fi done echo "Interface ${bootp_ifc} IP-Address ${bootp_ipa} Broadcast ${bootp_ipbca}" # Files in /etc are copied to /conf/etc which is writable. Then # per-machine configs from /conf/ip.address/etc are copied onto this # directory. First choice is using the client's IP, then the client's # broadcast address, then a default configuration. # This way we have some flexibility to handle clusters of machines # on separate subnets. # # up to now we don't have make swapon and so we must use malloc # mkmd 2m /mnt cp -Rp /etc/* /mnt chkerr $? "copy /etc template" if [ -d /conf/${bootp_ipa} ] ; then cp -Rp /conf/${bootp_ipa}/etc/* /mnt elif [ -d /conf/${bootp_ipbca} ] ; then cp -Rp /conf/${bootp_ipbca}/etc/* /mnt else cp -Rp /conf/default/etc/* /mnt fi # Make the new directory available as /etc # umount /mnt mount $md_filesystem /etc # Tell /etc/rc to run the specified script after # it does its mounts but before it does anything # else. # # This script is responsible for setting up the # diskless mount environment. This can be # overriden by /conf/ME/rc.conf.local if, for # example, you do not want to run the standard # system /etc/rc.diskless2 diskless_mount="/etc/rc.diskless2" --------------9C3EE933AA7CBB7E614C0D38 Content-Type: text/plain; charset=us-ascii; name="rc.diskless2" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rc.diskless2" # Copyright (c) 1999 Matt Dillon # 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. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD: src/etc/rc.diskless2,v 1.7 2000/10/08 19:18:24 obrien Exp $ # # # rc.diskless2 # # If there is a global system configuration file, suck it in. # if [ -r /etc/defaults/rc.conf ]; then . /etc/defaults/rc.conf source_rc_confs elif [ -r /etc/rc.conf ]; then . /etc/rc.conf fi # chkerr: # # Routine to check for error # # checks error code and drops into shell on failure. # if shell exits, terminates script as well as /etc/rc. # chkerr() { case $1 in 0) ;; *) echo "$2 failed: dropping into /bin/sh" /bin/sh # RESUME ;; esac } # mkmd: # # Builds an md(4) disk with malloc or swap depending on # the diskless client use swap with the size in $1 # Labels and newfs' it. # Mounts it on the destination in $2 # Returns the name of the created md device in md_device # Returns the name of the device containing the filesystem in md_filesystem # mkmd() { dlv=`/sbin/sysctl -n vm.nswapdev 2> /dev/null` if [ ${dlv:=0} != 0 ]; then md_device=`mdconfig -a -t swap -s $1` else md_device=`mdconfig -a -t malloc -s $1` fi chkerr $? "configuring md device" disklabel -rw $md_device auto chkerr $? "labelling md device" md_filesystem=/dev/$md_device"c" newfs $md_filesystem 2>&1 >/dev/null chkerr $? "making md device filesystem" mount $md_filesystem $2 chkerr $? "mounting md filesystem on $2" } # reconstruct /var # mkmd ${diskless_var_size} /var mtree -p /var -eU -f /etc/mtree/BSD.var.dist 2>&1 >/dev/null touch /var/log/cron touch /var/log/lpd-errs touch /var/log/maillog touch /var/log/messages touch /var/log/ppp.log touch /var/log/security touch /var/log/slip.log # Copy the templated /dev into a locally-writable version # if wo are not using DEVFS # if [ ! sysctl vfs.devfs.generation > /dev/null 2>&1 ]; then mkmd ${diskless_dev_size} /mnt cp -Rp /dev/* /mnt umount /mnt mount $md_filesystem /dev fi # Build a small /tmp # case ${diskless_tmp_enable} in [Yy][Ee][Ss]) mkmd ${diskless_tmp_size} /tmp ;; *) if [ ! -h /tmp -a ! -h /var/tmp ]; then mount_null /var/tmp /tmp fi ;; esac --------------9C3EE933AA7CBB7E614C0D38-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 9:57:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from milquetoast.cs.mcgill.ca (milquetoast.CS.McGill.CA [132.206.2.5]) by hub.freebsd.org (Postfix) with ESMTP id 30B6837B71B for ; Fri, 30 Mar 2001 09:57:06 -0800 (PST) (envelope-from mat@milquetoast.cs.mcgill.ca) Received: (from mat@localhost) by milquetoast.cs.mcgill.ca (8.9.3/8.9.3) id MAA20375; Fri, 30 Mar 2001 12:57:01 -0500 (EST) Date: Fri, 30 Mar 2001 12:57:01 -0500 From: Mathew KANNER To: Falco Krepel Cc: freebsd-current@FreeBSD.ORG Subject: Re: new rc.diskless{1,2} files Message-ID: <20010330125701.C17585@cs.mcgill.ca> References: <3AC4C496.60861EB6@fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: Falco Krepel's message [new rc.diskless{1,2} files] as of Fri, Mar 30, 2001 at 07:38:30PM +0200 Organization: I speak for myself, operating in Montreal, CANADA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mar 30, Falco Krepel wrote: > I have implemented good ideas from Mike Smith in my > rc.diskless{1,2} files and make some other changes: Hi, I don't have access to hardware to test diskless but have a few suggestions from looking at proposal. BOOTP probably isn't how most people are going to do it, instead they will be using PXE, perhaps we should retire the reference to BOOTP in the following. > # > # /etc/rc.diskless1 - general BOOTP startup > # > # BOOTP has mounted / for us. Assume a read-only mount. We must then > # - figure out our IP by querying the interface > # - fill /conf/etc (writable) with files from /etc, and then update > # per-machine files from /conf/*/ where * is the IP of the host, > # the IP of the subnet, "default", or nothing. > # - mount /conf/etc over /etc so we can see the new files. > # > # WARNING: i thing you should not change /etc/rc or strange things could ^^^^^^^^ > md_device=`mdconfig -a -t malloc -s $1` > chkerr $? "configuring md device" > disklabel -rw $md_device auto > chkerr $? "labelling md device" > md_filesystem=/dev/$md_device"c" > newfs $md_filesystem 2>&1 >/dev/null > chkerr $? "making md device filesystem" > mount $md_filesystem $2 Barring a change in newfs or mount, it would be nice if it could tunefs to enable softupdates. > bootp_ifc="" > bootp_ipa="" > bootp_ipbca="" > iflist=`ifconfig -l` > for i in ${iflist} ; do > set `ifconfig ${i}` > while [ $# -ge 1 ] ; do > if [ "${bootp_ifc}" = "" -a "$1" = "inet" ] ; then > bootp_ifc=${i} ; bootp_ipa=${2} ; shift > fi > if [ "${bootp_ipbca}" = "" -a "$1" = "broadcast" ] ; then > bootp_ipbca=$2; shift > fi > shift > done > if [ "${bootp_ifc}" != "" ] ; then > break > fi > done > echo "Interface ${bootp_ifc} IP-Address ${bootp_ipa} Broadcast ${bootp_ipbca}" IIRC, PXE sets a kernel env. with this info. Maybe we should try to grab that first and then fall back to the above. > [...] My final thought is that I remember having to stick a chkprintcap -d somewhere to make it a happy workstation. --Mat -- Mathew Kanner Sys Admin at large Obtuse quote: He [not me] understands: "This field of perception is void of perception of man." -- The Quintessence of Buddhism To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 10:46:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 32C2037B719 for ; Fri, 30 Mar 2001 10:46:54 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 19342 invoked by uid 0); 30 Mar 2001 18:46:52 -0000 Received: from p3e9bc0a5.dip.t-dialin.net (HELO forge.local) (62.155.192.165) by mail.gmx.net (mp005-rz3) with SMTP; 30 Mar 2001 18:46:52 -0000 Received: from tmm by forge.local with local (Exim 3.20 #1) id 14j3v9-0000ey-00; Fri, 30 Mar 2001 20:46:51 +0200 Date: Fri, 30 Mar 2001 20:46:51 +0200 From: Thomas Moestl To: Falco Krepel Cc: freebsd-current@FreeBSD.org Subject: Re: new rc.diskless{1,2} files Message-ID: <20010330204651.A2300@crow.dom2ip.de> Mail-Followup-To: Thomas Moestl , Falco Krepel , freebsd-current@FreeBSD.org References: <3AC4C496.60861EB6@fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AC4C496.60861EB6@fokus.gmd.de>; from krepel@fokus.gmd.de on Fri, Mar 30, 2001 at 07:38:30PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 30, 2001 at 07:38:30PM +0200, Falco Krepel wrote: > I have implemented good ideas from Mike Smith in my > rc.diskless{1,2} files and make some other changes: > > 1. Now I use the kernel flag "vm.nswapdev" to determine if swap is > available. Just a note - this might go away soon because the swap dev sysctls will probably be reorganized a little. There will be another method to determine this then. I'll keep you posted on this change if you wish. - thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 12:13:45 2001 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 5CA0637B71B for ; Fri, 30 Mar 2001 12:13:42 -0800 (PST) (envelope-from mjacob@feral.com) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id MAA19188 for ; Fri, 30 Mar 2001 12:13:47 -0800 Date: Fri, 30 Mar 2001 12:13:41 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: current@freebsd.org Subject: hmm.... spinlocks.. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG pic_initialize(): lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff kernel trap 12 with interrupts disabled panic: spin lock sched lock held by 0xc7ba8a60 for > 5 seconds cpuid = 0; lapic.id = 00000000 Debugger("panic") CPU0 stopping CPUs: 0x00000002... stopped. Stopped at Debugger+0x45: pushl %ebx db> t Debugger(c02e3759) at Debugger+0x45 panic(c02e2d60,c02fb929,c7ba8a60,c7ba7b80,fffea000) at panic+0xd0 _mtx_lock_spin(c0357400,0,80246,c02e3a48,2fb) at _mtx_lock_spin+0x6e wakeup(c3709378,c3709378,c0eec000,c0f71400,c3709454) at wakeup+0x67 bufdone(c3709378,c7fbff40,c0131efb,c3709378,c0f71400) at bufdone+0x385 bufdonebio(c3709378) at bufdonebio+0xe dadone(c0f5d100,c0f71400) at dadone+0x1f7 camisr(c032a834) at camisr+0x231 ithread_loop(c0b2f080,c7fbffa8) at ithread_loop+0x247 fork_exit(c019898c,c0b2f080,c7fbffa8) at fork_exit+0x83 fork_trampoline() at fork_trampoline+0x8 Top of tree.. adaptec controller.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 12:43: 2 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 7DD5D37B71B for ; Fri, 30 Mar 2001 12:42:58 -0800 (PST) (envelope-from krepel@fokus.gmd.de) Received: from fokus.gmd.de (dial-17 [193.174.152.238]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id WAA25527; Fri, 30 Mar 2001 22:42:55 +0200 (MET DST) Message-ID: <3AC4EFD9.585ECC77@fokus.gmd.de> Date: Fri, 30 Mar 2001 21:43:08 +0100 From: Falco Reply-To: krepel@fokus.gmd.de X-Mailer: Mozilla 4.76 (Macintosh; U; PPC) X-Accept-Language: en,de MIME-Version: 1.0 To: Mathew KANNER Cc: freebsd-current@FreeBSD.ORG Subject: Re: new rc.diskless{1,2} files References: <3AC4C496.60861EB6@fokus.gmd.de> <20010330125701.C17585@cs.mcgill.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mathew KANNER wrote: > > On Mar 30, Falco Krepel wrote: > > I have implemented good ideas from Mike Smith in my > > rc.diskless{1,2} files and make some other changes: > > Hi, > I don't have access to hardware to test diskless but have a > few suggestions from looking at proposal. > > BOOTP probably isn't how most people are going to do it, > instead they will be using PXE, perhaps we should retire the reference > to BOOTP in the following. Yes. I also using PXE for diskless operation. > > > md_device=`mdconfig -a -t malloc -s $1` > > chkerr $? "configuring md device" > > disklabel -rw $md_device auto > > chkerr $? "labelling md device" > > md_filesystem=/dev/$md_device"c" > > newfs $md_filesystem 2>&1 >/dev/null > > chkerr $? "making md device filesystem" > > mount $md_filesystem $2 > > Barring a change in newfs or mount, it would be nice if it > could tunefs to enable softupdates. OK. This make sense for bid MDs when the physical memory isn't enough. In my opinion is it for smaller MD residing only in memory as fast as with tunfs enabled. But it souldn't be a disadvantage to alwasy enable this option. > > > bootp_ifc="" > > bootp_ipa="" > > bootp_ipbca="" > > iflist=`ifconfig -l` > > for i in ${iflist} ; do > > set `ifconfig ${i}` > > while [ $# -ge 1 ] ; do > > if [ "${bootp_ifc}" = "" -a "$1" = "inet" ] ; then > > bootp_ifc=${i} ; bootp_ipa=${2} ; shift > > fi > > if [ "${bootp_ipbca}" = "" -a "$1" = "broadcast" ] ; then > > bootp_ipbca=$2; shift > > fi > > shift > > done > > if [ "${bootp_ifc}" != "" ] ; then > > break > > fi > > done > > echo "Interface ${bootp_ifc} IP-Address ${bootp_ipa} Broadcast ${bootp_ipbca}" > > IIRC, PXE sets a kernel env. with this info. Maybe we should > try to grab that first and then fall back to the above. > This is left from the original version. I will check this option. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 13: 7:17 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id F04E437B71F; Fri, 30 Mar 2001 13:07:08 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f2UL78P22393; Fri, 30 Mar 2001 23:07:09 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: audit@freebsd.org, current@freebsd.org Subject: Call for review... PR 25577 From: Poul-Henning Kamp Date: Fri, 30 Mar 2001 23:07:08 +0200 Message-ID: <22391.985986428@critter> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Any comments/reviews before we commit the patch to PR25577 ? Get the up to date version here: http://www.one-eyed-alien.net/~brooks/FreeBSD/ifconfig.diff -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 13:14:23 2001 Delivered-To: freebsd-current@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id CF79237B71B; Fri, 30 Mar 2001 13:14:19 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.3/8.11.2) with ESMTP id f2ULEDg88769; Fri, 30 Mar 2001 13:14:14 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: phk@FreeBSD.ORG Cc: audit@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Call for review... PR 25577 In-Reply-To: <22391.985986428@critter> References: <22391.985986428@critter> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010330131413I.jkh@osd.bsdi.com> Date: Fri, 30 Mar 2001 13:14:13 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 6 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Cool. Does this mean that any of the foocontrol programs can go away? I've long wished that we could have some of the wireless control stuff go directly into ifconfig rather than having to run an external program before bringing up the interface. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 13:19:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 2573137B742; Fri, 30 Mar 2001 13:19:12 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2ULJ5O05533; Fri, 30 Mar 2001 14:19:05 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103302119.f2ULJ5O05533@harmony.village.org> To: Jordan Hubbard Subject: Re: Call for review... PR 25577 Cc: phk@FreeBSD.ORG, audit@FreeBSD.ORG, current@FreeBSD.ORG In-reply-to: Your message of "Fri, 30 Mar 2001 13:14:13 PST." <20010330131413I.jkh@osd.bsdi.com> References: <20010330131413I.jkh@osd.bsdi.com> <22391.985986428@critter> Date: Fri, 30 Mar 2001 14:17:50 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010330131413I.jkh@osd.bsdi.com> Jordan Hubbard writes: : Cool. Does this mean that any of the foocontrol programs can go away? : I've long wished that we could have some of the wireless control stuff : go directly into ifconfig rather than having to run an external : program before bringing up the interface. Mostly. There are still some minor issues, but the vast majority of the functionality they provide can go poof. My comment to the patch would be lose the ifdef. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 13:20:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id D927B37B71F; Fri, 30 Mar 2001 13:20:18 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f2ULKGP22566; Fri, 30 Mar 2001 23:20:16 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Jordan Hubbard Cc: audit@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Call for review... PR 25577 In-Reply-To: Your message of "Fri, 30 Mar 2001 13:14:13 -0800." <20010330131413I.jkh@osd.bsdi.com> Date: Fri, 30 Mar 2001 23:20:16 +0200 Message-ID: <22564.985987216@critter> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010330131413I.jkh@osd.bsdi.com>, Jordan Hubbard writes: >Cool. Does this mean that any of the foocontrol programs can go away? As far as I can see, anything short of firmware updates can be done by ifconfig and therefore, presumably, foocontrol can die for 802.11-valued foo. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 13:36:40 2001 Delivered-To: freebsd-current@freebsd.org Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by hub.freebsd.org (Postfix) with ESMTP id B21E837B71E for ; Fri, 30 Mar 2001 13:36:37 -0800 (PST) (envelope-from rb@gid.co.uk) Received: (from uucp@localhost) by isbalham.ist.co.uk (8.11.1/8.11.1) with UUCP id f2ULaMC06735 for current@freebsd.org; Fri, 30 Mar 2001 22:36:22 +0100 (BST) (envelope-from rb@gid.co.uk) Received: from [194.32.164.2] (eccles [194.32.164.2]) by seagoon.gid.co.uk (8.9.3/8.9.3) with ESMTP id WAA23248 for ; Fri, 30 Mar 2001 22:26:33 +0100 (BST) (envelope-from rb@gid.co.uk) X-Sender: rb@194.32.164.1 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 30 Mar 2001 22:26:31 +0100 To: current@freebsd.org From: Bob Bishop Subject: ahc_intr - referenced scb not valid... panic for safety Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Just had one of these on yesterday's -current. Anyone interested in the details? -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 13:54:30 2001 Delivered-To: freebsd-current@freebsd.org Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by hub.freebsd.org (Postfix) with ESMTP id EF6E337B71A for ; Fri, 30 Mar 2001 13:54:27 -0800 (PST) (envelope-from gibbs@scsiguy.com) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.2/8.9.3) with ESMTP id f2ULsHs33351; Fri, 30 Mar 2001 14:54:18 -0700 (MST) (envelope-from gibbs@scsiguy.com) Message-Id: <200103302154.f2ULsHs33351@aslan.scsiguy.com> To: Bob Bishop Cc: current@FreeBSD.ORG Subject: Re: ahc_intr - referenced scb not valid... panic for safety In-Reply-To: Your message of "Fri, 30 Mar 2001 22:26:31 +0100." Date: Fri, 30 Mar 2001 14:54:17 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Hi, > >Just had one of these on yesterday's -current. Anyone interested in the >details? Nah. Its probably just you, or something specific to your system. It couldn't possibly be a bug in *my* code. ;-) Of course I'm interested! -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 14:10: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20]) by hub.freebsd.org (Postfix) with ESMTP id BAD1237B71A for ; Fri, 30 Mar 2001 14:10:04 -0800 (PST) (envelope-from Adrian@nu-earth.demon.co.uk) Received: from nu-earth.demon.co.uk ([212.229.139.211] helo=nue001) by tele-post-20.mail.demon.net with smtp (Exim 2.12 #2) id 14j75n-000LrQ-0K for freebsd-current@freebsd.org; Fri, 30 Mar 2001 22:10:03 +0000 From: "Adrian Browne" To: Subject: usb modems Date: Fri, 30 Mar 2001 23:09:57 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was wondering if anyone has had any success with a usb isdn 3com modem or other usb modem types. I have a usb scanner and printer that works great on release 5.0-20010120, but i have failed miserably to get a usb/modem to work. Does anyone know? or could some one advise me of the best approach to a fix or a how2. I ve tried www.usb.org and well errmm no succes :( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 14:39:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by hub.freebsd.org (Postfix) with ESMTP id 2047337B718 for ; Fri, 30 Mar 2001 14:39:50 -0800 (PST) (envelope-from cbh@teabag.demon.co.uk) Received: from teabag.demon.co.uk ([193.237.4.110] helo=teabag.cbhnet) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 14j7Ya-000E58-0V; Fri, 30 Mar 2001 23:39:49 +0100 Received: from localhost (cbh@localhost) by teabag.cbhnet (8.11.3/8.11.0) with ESMTP id f2UMdra00946; Fri, 30 Mar 2001 23:39:53 +0100 (BST) (envelope-from cbh@teabag.demon.co.uk) Date: Fri, 30 Mar 2001 23:39:53 +0100 (BST) From: Chris Hedley X-X-Sender: To: "Justin T. Gibbs" Cc: Subject: Re: ahc_intr - referenced scb not valid... panic for safety In-Reply-To: <200103302154.f2ULsHs33351@aslan.scsiguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 30 Mar 2001, Justin T. Gibbs wrote: > >Just had one of these on yesterday's -current. Anyone interested in the > >details? > > Nah. Its probably just you, or something specific to your system. > It couldn't possibly be a bug in *my* code. > > ;-) > > Of course I'm interested! I'm getting these too (I thought it was just me, since it's my first day of going back to -current after a six month hiatus - I've hit myself with the clue-stick thoroughly and put it on a different slice this time... but I digress!) so I can give some additional info, if required. Don't have a copy of the dump handy, but the offending controller is a 7895 (possibly a 7899 [39160] but I think the 7895 gets hit first) Cheers, Chris. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 14:46:58 2001 Delivered-To: freebsd-current@freebsd.org Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by hub.freebsd.org (Postfix) with ESMTP id 5CCB837B71E for ; Fri, 30 Mar 2001 14:46:54 -0800 (PST) (envelope-from gibbs@scsiguy.com) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.2/8.9.3) with ESMTP id f2UMkEs35097; Fri, 30 Mar 2001 15:46:14 -0700 (MST) (envelope-from gibbs@scsiguy.com) Message-Id: <200103302246.f2UMkEs35097@aslan.scsiguy.com> To: Chris Hedley Cc: current@freebsd.org Subject: Re: ahc_intr - referenced scb not valid... panic for safety In-Reply-To: Your message of "Fri, 30 Mar 2001 23:39:53 +0100." Date: Fri, 30 Mar 2001 15:46:14 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I'm getting these too (I thought it was just me, since it's my first day >of going back to -current after a six month hiatus - I've hit myself with >the clue-stick thoroughly and put it on a different slice this time... but >I digress!) so I can give some additional info, if required. Don't have a >copy of the dump handy, but the offending controller is a 7895 (possibly a >7899 [39160] but I think the 7895 gets hit first) I really need the complete set of messages printed out prior to the panic. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 14:54:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 3249D37B71A for ; Fri, 30 Mar 2001 14:54:09 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f2UMrPY05575; Fri, 30 Mar 2001 14:53:25 -0800 (PST) (envelope-from dillon) Date: Fri, 30 Mar 2001 14:53:25 -0800 (PST) From: Matt Dillon Message-Id: <200103302253.f2UMrPY05575@earth.backplane.com> To: Falco Cc: Mathew KANNER , freebsd-current@FreeBSD.ORG Subject: Re: new rc.diskless{1,2} files References: <3AC4C496.60861EB6@fokus.gmd.de> <20010330125701.C17585@cs.mcgill.ca> <3AC4EFD9.585ECC77@fokus.gmd.de> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> :> On Mar 30, Falco Krepel wrote: :> > I have implemented good ideas from Mike Smith in my :> > rc.diskless{1,2} files and make some other changes: :> :> Hi, :> I don't have access to hardware to test diskless but have a :> few suggestions from looking at proposal. :> :> BOOTP probably isn't how most people are going to do it, :> instead they will be using PXE, perhaps we should retire the reference :> to BOOTP in the following. : :Yes. I also using PXE for diskless operation. BOOTP is not mutually exclusive to PXE. PXE is just a way to load the kernel up. Once the kernel is running, it uses BOOTP to get its NFS mounts, swap, etc... -- P.S. To anyone who wants to cleanup the rc.diskless files, please be my guest! I wrote them originally and they worked 'ok', but then some people mangled them and ever since they haven't worked right. I don't have time to clean them up myself. They could use a complete rewriting, IMHO. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 14:57:52 2001 Delivered-To: freebsd-current@freebsd.org Received: from mobile.hub.org (SHW39-29.accesscable.net [24.138.39.29]) by hub.freebsd.org (Postfix) with ESMTP id 84FCF37B71B for ; Fri, 30 Mar 2001 14:57:49 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by mobile.hub.org (8.11.1/8.11.1) with ESMTP id f2UMapT78780 for ; Fri, 30 Mar 2001 18:37:09 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: mobile.hub.org: scrappy owned process doing -bs Date: Fri, 30 Mar 2001 18:36:51 -0400 (AST) From: The Hermit Hacker To: Subject: ssh: no RSA support in libssl and libcrypto. See ssl(8). Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG how does one fix this? *puzzled look* there is no ssl(8) that I can seem to find to See, and nothing apparent in the UPGRADING file ... system uptodate as of last night, and mergemaster just finished completing ... ssh: no RSA support in libssl and libcrypto. See ssl(8). Disabling protocol version 1 DH_generate_key Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 15: 1:51 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 0F8C337B719; Fri, 30 Mar 2001 15:01:50 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2UN1fG78488; Fri, 30 Mar 2001 15:01:41 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010330091533.B90989@dragon.nuxi.com> Date: Fri, 30 Mar 2001 15:01:18 -0800 (PST) From: John Baldwin To: "David O'Brien" Subject: Re: i586 FP optimizations hosed. Cc: current@FreeBSD.org, Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 30-Mar-01 David O'Brien wrote: > On Fri, Mar 30, 2001 at 07:45:43AM +0200, Mark Murray wrote: >> I thought the 586 FP stuff was disabled? > > Nope. Depending on how current you are, it was either left broken. > I commited BDE's fix to exeception.s that fixed things for K6-2 users. It looks like it is just broken in the SMP case. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 15: 2: 0 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 2A9CE37B71B for ; Fri, 30 Mar 2001 15:01:52 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2UN1hG78492; Fri, 30 Mar 2001 15:01:43 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 30 Mar 2001 15:01:19 -0800 (PST) From: John Baldwin To: Matthew Jacob Subject: RE: hmm.... spinlocks.. Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 30-Mar-01 Matthew Jacob wrote: > > > pic_initialize(): > lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff > kernel trap 12 with interrupts disabled > panic: spin lock sched lock held by 0xc7ba8a60 for > 5 seconds > cpuid = 0; lapic.id = 00000000 > Debugger("panic") > > CPU0 stopping CPUs: 0x00000002... stopped. > Stopped at Debugger+0x45: pushl %ebx > db> t > Debugger(c02e3759) at Debugger+0x45 > panic(c02e2d60,c02fb929,c7ba8a60,c7ba7b80,fffea000) at panic+0xd0 > _mtx_lock_spin(c0357400,0,80246,c02e3a48,2fb) at _mtx_lock_spin+0x6e > wakeup(c3709378,c3709378,c0eec000,c0f71400,c3709454) at wakeup+0x67 > bufdone(c3709378,c7fbff40,c0131efb,c3709378,c0f71400) at bufdone+0x385 > bufdonebio(c3709378) at bufdonebio+0xe > dadone(c0f5d100,c0f71400) at dadone+0x1f7 > camisr(c032a834) at camisr+0x231 > ithread_loop(c0b2f080,c7fbffa8) at ithread_loop+0x247 > fork_exit(c019898c,c0b2f080,c7fbffa8) at fork_exit+0x83 > fork_trampoline() at fork_trampoline+0x8 Did you get a crashdump (probably not.) If you look at sched_lock, one of the words will be a pointer to the process owning the lock in question. Unfortunately it's not the first word anymore (something I may change in the future). On the alpha it would be 'sched_lock+48'. The pointer there points to the process owning the lock (and you can look up the process via ps). If you have a crash dump then I have some gdb macros that make it easy to get a backtrace of that process. If not, then, well, it gets harder. :-P Hmm, it might be nice to be able to ask ddb to give a backtrace of any arbitrary process. Maybe I'll add a new command for that.. The trick is that we want to know who grabbed sched_lock where and then started spinning with it. Using KTR with KTR_LOCK turned on and using the 'show ktr' command in ddb could also be used to see which process was the last to grab sched_lock and where it was grabbed. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 15:18:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 0FDF537B71B; Fri, 30 Mar 2001 15:18:27 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f2UNI9W13235; Fri, 30 Mar 2001 15:18:09 -0800 Date: Fri, 30 Mar 2001 15:18:09 -0800 From: Brooks Davis To: Jordan Hubbard Cc: phk@FreeBSD.ORG, audit@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Call for review... PR 25577 Message-ID: <20010330151809.B22598@Odin.AC.HMC.Edu> References: <22391.985986428@critter> <20010330131413I.jkh@osd.bsdi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="VrqPEDrXMn8OVzN4" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010330131413I.jkh@osd.bsdi.com>; from jkh@osd.bsdi.com on Fri, Mar 30, 2001 at 01:14:13PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --VrqPEDrXMn8OVzN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 30, 2001 at 01:14:13PM -0800, Jordan Hubbard wrote: > Cool. Does this mean that any of the foocontrol programs can go away? > I've long wished that we could have some of the wireless control stuff > go directly into ifconfig rather than having to run an external > program before bringing up the interface. They won't go away, but 99.99% of people won't have to touch them. There are a number of vendor specific settings that I didn't attempt to build generic ioctl interfaces for, but you really don't need them most of the time. I'm planning to add some more features to the ioctl interface over time including the stuff necessicary to build generic version of the pretty GUI apps you get in Windows. As an extra bonus, this stuff should let you install with a floppy and a wireless nic. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --VrqPEDrXMn8OVzN4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6xRQwXY6L6fI4GtQRArfmAKCtNewElli27won4+LNOOAVmw7KEgCeME01 51QEjnagOcNTXTifSpCIRAg= =OUCm -----END PGP SIGNATURE----- --VrqPEDrXMn8OVzN4-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 15:21:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from finch-post-11.mail.demon.net (finch-post-11.mail.demon.net [194.217.242.39]) by hub.freebsd.org (Postfix) with ESMTP id 2CD6237B720 for ; Fri, 30 Mar 2001 15:21:18 -0800 (PST) (envelope-from cbh@teabag.demon.co.uk) Received: from teabag.demon.co.uk ([193.237.4.110] helo=teabag.cbhnet) by finch-post-11.mail.demon.net with esmtp (Exim 2.12 #1) id 14j8Ci-000A3p-0B; Fri, 30 Mar 2001 23:21:16 +0000 Received: from localhost (cbh@localhost) by teabag.cbhnet (8.11.3/8.11.0) with ESMTP id f2UNLJG00822; Sat, 31 Mar 2001 00:21:20 +0100 (BST) (envelope-from cbh@teabag.demon.co.uk) Date: Sat, 31 Mar 2001 00:21:19 +0100 (BST) From: Chris Hedley X-X-Sender: To: "Justin T. Gibbs" Cc: Subject: Re: ahc_intr - referenced scb not valid... panic for safety In-Reply-To: <200103302246.f2UMkEs35097@aslan.scsiguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 30 Mar 2001, Justin T. Gibbs wrote: > I really need the complete set of messages printed out prior to the panic. Okay, here yer go (transcribed using hi-tech ballpoint and scribbly handwriting, I'm afraid!) Waiting 5 seconds for SCSI devices to settle ahc0:A:3: ahc_intr - referenced SCB not valid during seqinit 0x71 scb(255) ahc0: Dumping Card State in Message-in phase, at SEQADDR 0x18d SCSISEQ = 0x12, SBLKCTL = 0x2 DFCNTRL = 0x4, DFSTATUS = 0x65 LASTPHASE = 0xe0, SCSISIGI = 0xe6, SXFRCTL0 = 0x88 SSTAT0 = 0x6, SSTAT1 = 0x3 STACK == 0x161, 0x14b, 0x0, 0xea SCB count = 20 Kernel NEXTQSCB = 6 Card NEXTQSCB = 21 QINFO entries: 14 4 5 Waiting Queue entries: Disconnected Queue entries: QOUTFIFO entries: Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 14 15 16 14 15 16 14 15 16 14 15 16 [etc...] Pending list: 5 4 14 3 Kernel Free SCB list: 15 16 17 18 19 0 1 2 7 8 9 13 12 11 10 Untagged Q(3): 3 Untagged Q(4): 14 Untagged Q(5): 4 Untagged Q(6): 5 panic: for safety Chris. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 15:51:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 0EF5637B719; Fri, 30 Mar 2001 15:51:31 -0800 (PST) (envelope-from david@catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.10.0/8.10.0) id f2UNpRo26499; Fri, 30 Mar 2001 15:51:27 -0800 (PST) Date: Fri, 30 Mar 2001 15:51:27 -0800 (PST) From: David Wolfskill Message-Id: <200103302351.f2UNpRo26499@bunrab.catwhisker.org> To: audit@FreeBSD.ORG, current@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: Call for review... PR 25577 In-Reply-To: <22391.985986428@critter> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From: Poul-Henning Kamp >Date: Fri, 30 Mar 2001 23:07:08 +0200 >Any comments/reviews before we commit the patch to PR25577 ? OK; I've built today's -CURRENT (this time, after applying Brooks' patchset; I had built -CURRENT earlier today). Here's a (slightly sanitized) ifconfig output: m758712358[1] ifconfig gif0: flags=8010 mtu 1280 gif1: flags=8010 mtu 1280 gif2: flags=8010 mtu 1280 gif3: flags=8010 mtu 1280 lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 faith0: flags=8000 mtu 1500 an0: flags=8843 mtu 1500 inet6 fe80::240:96ff:fe34:4ee9%an0 prefixlen 64 scopeid 0x8 inet 207.76.207.214 netmask 0xffffff00 broadcast 207.76.207.255 ether 00:40:96:34:4e:e9 media: autoselect (DS/11Mbps) status: associated supported media: autoselect autoselect DS/11Mbps DS/11Mbps DS/5.5Mbps DS/5.5Mbps DS/2Mbps DS/2Mbps DS/1Mbps DS/1Mbps ssid stationname "" channel 6 authmode OPEN powersavemode OFF powersavesleep 200 wepmode OFF weptxkey 2 wepkey 1:64-bit m758712358[2] So I haven't got so far as to actually *use* the ifconfig capabilities to get the card configured -- I had already worked up a script to do that with ancontrol, and I wanted to get this out sooner than it would take me to re-work that. First, this looks very promising; I like the direction and the bulk of the implementation (from what I've seen so far). One concern, and this may well affect other NIC flavors, is the list of media types is a little annoying to parse. Hmmm... speaking Perl, I suppose it could be characterized as /^\s+supported media:(\s[\S+(\s)?)+$/ Nevertheless, I believe it would be a little easier to parse (both for people & simple scripts) if the separator before "" were different from the one between adjacent supported media. Or am I just being rather denser than usual? Thanks, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 15:54:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id F0B6037B71D for ; Fri, 30 Mar 2001 15:54:41 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 4469 invoked by uid 0); 30 Mar 2001 23:54:40 -0000 Received: from p3e9bc0a5.dip.t-dialin.net (HELO forge.local) (62.155.192.165) by mail.gmx.net (mp004-rz3) with SMTP; 30 Mar 2001 23:54:40 -0000 Received: from tmm by forge.local with local (Exim 3.20 #1) id 14j8j0-0001NJ-00; Sat, 31 Mar 2001 01:54:38 +0200 Date: Sat, 31 Mar 2001 01:54:37 +0200 From: Thomas Moestl To: The Hermit Hacker Cc: freebsd-current@freebsd.org Subject: Re: ssh: no RSA support in libssl and libcrypto. See ssl(8). Message-ID: <20010331015437.A5130@crow.dom2ip.de> Mail-Followup-To: Thomas Moestl , The Hermit Hacker , freebsd-current@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from scrappy@hub.org on Fri, Mar 30, 2001 at 06:36:51PM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 30, 2001 at 06:36:51PM -0400, The Hermit Hacker wrote: > > how does one fix this? *puzzled look* there is no ssl(8) that I can seem > to find to See, and nothing apparent in the UPGRADING file ... system > uptodate as of last night, and mergemaster just finished completing ... > > ssh: no RSA support in libssl and libcrypto. See ssl(8). > Disabling protocol version 1 > DH_generate_key Do you have device random in your kernel configuration? Absence of a working random device triggers this bug. The need for this is also documented in UPDATING. - thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 16:13:55 2001 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id E192237B71F; Fri, 30 Mar 2001 16:13:50 -0800 (PST) (envelope-from mjacob@feral.com) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id QAA20270; Fri, 30 Mar 2001 16:13:56 -0800 Date: Fri, 30 Mar 2001 16:13:50 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: John Baldwin Cc: current@FreeBSD.ORG Subject: RE: hmm.... spinlocks.. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 30 Mar 2001, John Baldwin wrote: > > On 30-Mar-01 Matthew Jacob wrote: > > > > > > pic_initialize(): > > lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff > > kernel trap 12 with interrupts disabled > > panic: spin lock sched lock held by 0xc7ba8a60 for > 5 seconds > > cpuid = 0; lapic.id = 00000000 > > Debugger("panic") > > > > CPU0 stopping CPUs: 0x00000002... stopped. > > Stopped at Debugger+0x45: pushl %ebx > > db> t > > Debugger(c02e3759) at Debugger+0x45 > > panic(c02e2d60,c02fb929,c7ba8a60,c7ba7b80,fffea000) at panic+0xd0 > > _mtx_lock_spin(c0357400,0,80246,c02e3a48,2fb) at _mtx_lock_spin+0x6e > > wakeup(c3709378,c3709378,c0eec000,c0f71400,c3709454) at wakeup+0x67 > > bufdone(c3709378,c7fbff40,c0131efb,c3709378,c0f71400) at bufdone+0x385 > > bufdonebio(c3709378) at bufdonebio+0xe > > dadone(c0f5d100,c0f71400) at dadone+0x1f7 > > camisr(c032a834) at camisr+0x231 > > ithread_loop(c0b2f080,c7fbffa8) at ithread_loop+0x247 > > fork_exit(c019898c,c0b2f080,c7fbffa8) at fork_exit+0x83 > > fork_trampoline() at fork_trampoline+0x8 > > Did you get a crashdump (probably not.) If you look at sched_lock, one of the > words will be a pointer to the process owning the lock in question. > Unfortunately it's not the first word anymore (something I may change in the > future). On the alpha it would be 'sched_lock+48'. The pointer there points > to the process owning the lock (and you can look up the process via ps). If > you have a crash dump then I have some gdb macros that make it easy to get a > backtrace of that process. If not, then, well, it gets harder. :-P Hmm, it > might be nice to be able to ask ddb to give a backtrace of any arbitrary > process. Maybe I'll add a new command for that.. > > The trick is that we want to know who grabbed sched_lock where and then started > spinning with it. Using KTR with KTR_LOCK turned on and using the 'show ktr' > command in ddb could also be used to see which process was the last to grab > sched_lock and where it was grabbed. If it happens again, I''ll try. This was, btw, i386. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 16:20:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id 0BA1237B71C for ; Fri, 30 Mar 2001 16:20:26 -0800 (PST) (envelope-from greid@ukug.uk.freebsd.org) Received: from sobek.openirc.co.uk ([62.252.9.24]) by mta06-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010331002024.ZDNM285.mta06-svc.ntlworld.com@sobek.openirc.co.uk>; Sat, 31 Mar 2001 01:20:24 +0100 Date: Sat, 31 Mar 2001 01:20:22 +0100 (BST) From: George Reid X-Sender: greid@sobek.openirc.co.uk To: Thomas Moestl Cc: The Hermit Hacker , freebsd-current@FreeBSD.ORG Subject: Re: ssh: no RSA support in libssl and libcrypto. See ssl(8). In-Reply-To: <20010331015437.A5130@crow.dom2ip.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 31 Mar 2001, Thomas Moestl wrote: > Do you have > device random > in your kernel configuration? Absence of a working random device > triggers this bug. The need for this is also documented in UPDATING. Also, /dev/urandom is now a symlink to /dev/random. A quick "cd /dev; rm urandom; ln -s random urandom" fixed this problem for me. G To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 16:35:38 2001 Delivered-To: freebsd-current@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id A753437B718; Fri, 30 Mar 2001 16:35:31 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f2V0ZUk25585; Fri, 30 Mar 2001 16:35:30 -0800 Date: Fri, 30 Mar 2001 16:35:30 -0800 From: Brooks Davis To: David Wolfskill Cc: audit@FreeBSD.ORG, current@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: Call for review... PR 25577 Message-ID: <20010330163530.A23549@Odin.AC.HMC.Edu> References: <22391.985986428@critter> <200103302351.f2UNpRo26499@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103302351.f2UNpRo26499@bunrab.catwhisker.org>; from david@catwhisker.org on Fri, Mar 30, 2001 at 03:51:27PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 30, 2001 at 03:51:27PM -0800, David Wolfskill wrote: > One concern, and this may well affect other NIC flavors, is the list of > media types is a little annoying to parse. Hmmm... speaking Perl, I > suppose it could be characterized as >=20 > /^\s+supported media:(\s[\S+(\s)?)+$/ > > Nevertheless, I believe it would be a little easier to parse (both for > people & simple scripts) if the separator before "" were > different from the one between adjacent supported media. > > Or am I just being rather denser than usual? No, you're entirely correct. However, this isn't my fault. ;-) The problem here is that our ifconfig's if_media support is really crappy. My proposed solution is to take the -m option from {Net,Open}BSD. Without the -m flag they don't display the supported media list. With it, they display it in a much cleaner manner with one possability per line. It's on my todo list though anyone else could deal with it as well. I figured this patch was big enough without adding a bunch of cleanups to it. As it stands, there is a cleanup of a bug that ment you could never see some mediaopt's in the supported list. Instead you'd see the same media type twice with not differences. Apparently no one actually uses mediaopts other then full-duplex. ;-) -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6xSZRXY6L6fI4GtQRAhypAKDGafbjih2bR3i60euj6nU0qx5ciQCfVDoo P/nJPpxBMAUQKXbOuVBZHPM= =oSRH -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 16:42:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 26A9337B71B for ; Fri, 30 Mar 2001 16:42:21 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2V0g4G81232; Fri, 30 Mar 2001 16:42:04 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 30 Mar 2001 16:41:41 -0800 (PST) From: John Baldwin To: Matthew Jacob Subject: RE: hmm.... spinlocks.. Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 31-Mar-01 Matthew Jacob wrote: > > On Fri, 30 Mar 2001, John Baldwin wrote: > >> >> On 30-Mar-01 Matthew Jacob wrote: >> > >> > >> > pic_initialize(): >> > lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff >> > kernel trap 12 with interrupts disabled >> > panic: spin lock sched lock held by 0xc7ba8a60 for > 5 seconds >> > cpuid = 0; lapic.id = 00000000 >> > Debugger("panic") >> > >> > CPU0 stopping CPUs: 0x00000002... stopped. >> > Stopped at Debugger+0x45: pushl %ebx >> > db> t >> > Debugger(c02e3759) at Debugger+0x45 >> > panic(c02e2d60,c02fb929,c7ba8a60,c7ba7b80,fffea000) at panic+0xd0 >> > _mtx_lock_spin(c0357400,0,80246,c02e3a48,2fb) at _mtx_lock_spin+0x6e >> > wakeup(c3709378,c3709378,c0eec000,c0f71400,c3709454) at wakeup+0x67 >> > bufdone(c3709378,c7fbff40,c0131efb,c3709378,c0f71400) at bufdone+0x385 >> > bufdonebio(c3709378) at bufdonebio+0xe >> > dadone(c0f5d100,c0f71400) at dadone+0x1f7 >> > camisr(c032a834) at camisr+0x231 >> > ithread_loop(c0b2f080,c7fbffa8) at ithread_loop+0x247 >> > fork_exit(c019898c,c0b2f080,c7fbffa8) at fork_exit+0x83 >> > fork_trampoline() at fork_trampoline+0x8 >> >> Did you get a crashdump (probably not.) If you look at sched_lock, one of >> the >> words will be a pointer to the process owning the lock in question. >> Unfortunately it's not the first word anymore (something I may change in the >> future). On the alpha it would be 'sched_lock+48'. The pointer there >> points >> to the process owning the lock (and you can look up the process via ps). If >> you have a crash dump then I have some gdb macros that make it easy to get a >> backtrace of that process. If not, then, well, it gets harder. :-P Hmm, it >> might be nice to be able to ask ddb to give a backtrace of any arbitrary >> process. Maybe I'll add a new command for that.. >> >> The trick is that we want to know who grabbed sched_lock where and then >> started >> spinning with it. Using KTR with KTR_LOCK turned on and using the 'show >> ktr' >> command in ddb could also be used to see which process was the last to grab >> sched_lock and where it was grabbed. > > If it happens again, I''ll try. This was, btw, i386. Oh, duh. Umm, on i386 it's 'sched_lock + 28'. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 16:42:54 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 4F54837B718; Fri, 30 Mar 2001 16:42:49 -0800 (PST) (envelope-from david@catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.10.0/8.10.0) id f2V0gmo26654; Fri, 30 Mar 2001 16:42:48 -0800 (PST) Date: Fri, 30 Mar 2001 16:42:48 -0800 (PST) From: David Wolfskill Message-Id: <200103310042.f2V0gmo26654@bunrab.catwhisker.org> To: brooks@one-eyed-alien.net, david@catwhisker.org Subject: Re: Call for review... PR 25577 Cc: audit@FreeBSD.ORG, current@FreeBSD.ORG, phk@FreeBSD.ORG In-Reply-To: <20010330163530.A23549@Odin.AC.HMC.Edu> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Fri, 30 Mar 2001 16:35:30 -0800 >From: Brooks Davis >> Or am I just being rather denser than usual? >No, you're entirely correct. However, this isn't my fault. ;-).... OK; fair enough (and thanks for the reality check). :-} So far, it (the patchset) seems to not break anything (which is a moderately nice characteristic), and it looks to have some very useful capabilities. And yes, I think you (Broooks) are correct in judging that the -m (for displaying the mediaopts, and then one per line) is probably better for a separate patch. I'll try to spend some more time with it over the weekend, but I certainly see no objection to committing it as it stands presently. I *may* try it out on -STABLE (not entirely altruism on my part; it would make my life simpler). Cheers, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 16:48:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 9F1DB37B719; Fri, 30 Mar 2001 16:48:21 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f2V0mGA27752; Fri, 30 Mar 2001 16:48:16 -0800 Date: Fri, 30 Mar 2001 16:48:15 -0800 From: Brooks Davis To: David Wolfskill Cc: audit@FreeBSD.ORG, current@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: Call for review... PR 25577 Message-ID: <20010330164815.A26890@Odin.AC.HMC.Edu> References: <20010330163530.A23549@Odin.AC.HMC.Edu> <200103310042.f2V0gmo26654@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103310042.f2V0gmo26654@bunrab.catwhisker.org>; from david@catwhisker.org on Fri, Mar 30, 2001 at 04:42:48PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 30, 2001 at 04:42:48PM -0800, David Wolfskill wrote: > I'll try to spend some more time with it over the weekend, but I > certainly see no objection to committing it as it stands presently. > I *may* try it out on -STABLE (not entirely altruism on my part; it > would make my life simpler). If anyone wants to try it one -stable, there's a patch against it at: http://www.one-eyed-alien.net/~brooks/FreeBSD/ifconfig.diff-stable The fact that wi hasn't been repo-copied in to sys/dev in stable plus the spl->mutex changes mean the patches against -current don't apply cleanly. The patches work great for me under -stable with a Lucent (wi) card, but I couldn't get my Cisco (an) card to work with or without them. It's probably something to do with the ancient pile of junk I'm using for stable laptop testing. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6xSlPXY6L6fI4GtQRAvgoAKDevxdU9hOmDqmsXbMpjLHPhdFhYACg3zzv uFtyM0pgdp/6Bql5DZTU6mA= =4owK -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 20: 6:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 4BBAC37B720 for ; Fri, 30 Mar 2001 20:06:49 -0800 (PST) (envelope-from mjacob@feral.com) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id UAA21027 for ; Fri, 30 Mar 2001 20:06:54 -0800 Date: Fri, 30 Mar 2001 20:06:48 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: current@freebsd.org Subject: free vnode isn't (DEVFS related) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Pretty much top of tree today: panic: getnewvnode: free vnode isn't cpuid = 0; lapic.id = 00000000 Debugger("panic") CPU0 stopping CPUs: 0x00000002... stopped. Stopped at Debugger+0x45: pushl %ebx db> t Debugger(c02e3819) at Debugger+0x45 panic(c02e7f38,c0fd8c80,c0339320,c0fd8c80,c8b4b880) at panic+0xd0 getnewvnode(11,c0fea000,c0eb4400,c8f5cc50,c0fd8c80) at getnewvnode+0xb2 devfs_allocv(c0fd8c80,c0fea000,c8f5cea4,c8b4b880,c105a018) at devfs_allocv+0x8d devfs_lookupx(c8f5cd20,c105a018,1,0,c8b4b880) at devfs_lookupx+0x4b4 devfs_lookup(c8f5cd20,c81a3d80,c8f5ceb8,c8f5ce90,c8b4b880) at devfs_lookup+0x31 lookup(c8f5ce90,c8f5cf80,0,3,c8b4b880) at lookup+0x291 namei(c8f5ce90,c8f5cf80,0,3,1) at namei+0x13b vn_open(c8f5ce90,c8f5ce5c,0,c8b4b880,0) at vn_open+0x23b open(c8b4b880,c8f5cf80,2806cc3c,2806ba97,8052834) at open+0xd6 syscall(2f,2f,2f,8052834,2806ba97) at syscall+0x3fd syscall_with_err_pushed() at syscall_with_err_pushed+0x1b This occurred when I attempted run iostat on da0. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 21: 3:13 2001 Delivered-To: freebsd-current@freebsd.org Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by hub.freebsd.org (Postfix) with ESMTP id 8A7DD37B718 for ; Fri, 30 Mar 2001 21:03:01 -0800 (PST) (envelope-from gibbs@scsiguy.com) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.2/8.9.3) with ESMTP id f2V52Fs44379; Fri, 30 Mar 2001 22:02:40 -0700 (MST) (envelope-from gibbs@scsiguy.com) Message-Id: <200103310502.f2V52Fs44379@aslan.scsiguy.com> To: Chris Hedley Cc: current@freebsd.org Subject: Re: ahc_intr - referenced scb not valid... panic for safety In-Reply-To: Your message of "Sat, 31 Mar 2001 00:21:19 +0100." Date: Fri, 30 Mar 2001 22:02:15 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >On Fri, 30 Mar 2001, Justin T. Gibbs wrote: >> I really need the complete set of messages printed out prior to the panic. > >Okay, here yer go (transcribed using hi-tech ballpoint and scribbly >handwriting, I'm afraid!) This is certainly a bug, but some things about what you've written make me believe that its not quite acurate. Its really important that the messages be correct for me to figure out what is going wrong. Can you try one more time? Any chance you have a second computer that could be on the receiving end of a serial console to record the output verbatum? Also, your 4.3-BETA kernel seems to work okay. Can you give me the revision ids on all of the files in sys/dev/aic7xxx that were used to generate that kernel? Any chance you could step through the commits on the -stable branch from that date forward to see which ones broke the driver for you? The three subsequent commits are: revision 1.94.2.13 date: 2001/03/21 05:00:00; author: gibbs; state: Exp; lines: +7 -8 MFC rev 1.115. Don't allow our DMA engine to be re-enabled late in the shutdown phase of a data transfer by the idle loop fetching an S/G segment. Approved by: jkh ---------------------------- revision 1.94.2.12 date: 2001/03/19 15:09:26; author: gibbs; state: Exp; lines: +4 -3 MFC: Fix phase table lookup and PCI 2.1 retry bug workaround. Approved by: jkh ---------------------------- revision 1.94.2.11 date: 2001/03/12 14:57:43; author: gibbs; state: Exp; lines: +101 -70 MFC: Update to top of tree. You can feed the dates into cvs via the -D option to sync to particular points. Be sure to add 10 minutes to these dates to account for time stamp squew during the commit. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Mar 30 22:24:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 9531A37B720; Fri, 30 Mar 2001 22:24:42 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id QAA09533; Sat, 31 Mar 2001 16:24:38 +1000 Date: Sat, 31 Mar 2001 16:23:40 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: John Baldwin Cc: "David O'Brien" , current@FreeBSD.ORG, Mark Murray Subject: Re: i586 FP optimizations hosed. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 30 Mar 2001, John Baldwin wrote: > On 30-Mar-01 David O'Brien wrote: > > On Fri, Mar 30, 2001 at 07:45:43AM +0200, Mark Murray wrote: > >> I thought the 586 FP stuff was disabled? > > > > Nope. Depending on how current you are, it was either left broken. > > I commited BDE's fix to exeception.s that fixed things for K6-2 users. > > It looks like it is just broken in the SMP case. It is more just broken than before in the SMP case. Premptive context switching in the kernel did most of the breaking, and recent changes added sanity checks that detected a very broken case. With preemptive context switching, the following can happen: - we start using the FPU on a CPU with a free FPU (we used to free the FPU in some cases; now we only use optimizations in bcopy/bzero if the FPU was free to begin with). - we do a preemptive context switch and come back using a different FPU. The different CPU might even be unfree, and that case is now detected. In other cases, we just corrupt data by using different FPU registers :-(. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 1:16:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id 9940837B719; Sat, 31 Mar 2001 01:16:47 -0800 (PST) (envelope-from dmlb@dmlb.org) Received: from dmlb.org ([62.253.135.104]) by mta05-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010331091646.WYLD272.mta05-svc.ntlworld.com@dmlb.org>; Sat, 31 Mar 2001 10:16:46 +0100 Received: from dmlb by dmlb.org with local (Exim 3.03 #1) id 14jHUz-0001wC-00; Sat, 31 Mar 2001 10:16:45 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010330151809.B22598@Odin.AC.HMC.Edu> Date: Sat, 31 Mar 2001 10:16:44 +0100 (BST) From: Duncan Barclay To: Brooks Davis Subject: Re: Call for review... PR 25577 Cc: current@FreeBSD.ORG, audit@FreeBSD.ORG, phk@FreeBSD.ORG, Jordan Hubbard Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Brooks, Can I suggest you add a DS22 for DS 22Mb/s which is going through final approvals at the IEEE. I'll wait for these patches to settle down and merge the functionality into the raylink driver. Are you planning on making a unified interface for things like the signal strenght cache? Duncan -- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@dmlb.org | the alcoholics, and the permanently stoned. dmlb@freebsd.org| Steven King To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 2:15:15 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 19BE937B71B; Sat, 31 Mar 2001 02:15:13 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2VAFCJ12345; Sat, 31 Mar 2001 02:15:12 -0800 (PST) Date: Sat, 31 Mar 2001 02:15:12 -0800 From: Alfred Perlstein To: current@freebsd.org Cc: peter@freebsd.org Subject: is it supposed to be this broken? Message-ID: <20010331021512.H9431@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is cute... If you disable a device using /boot/device.hints like so: hint.ppc.0.disabled="1" hint.ppc.1.disabled="1" hint.ppbus.0.disabled="1" hint.ppbus.1.disabled="1" you get this: ppc1: at port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on isa0 or how about this: hint.fdc.0.at="isa" hint.fdc.0.port="0x3F0" hint.fdc.0.irq="6" hint.fdc.0.drq="2" hint.fd.0.at="fdc0" hint.fd.0.drive="0" hint.fd.1.at="fdc0" hint.fd.1.drive="1" hint.fdc.0.disabled="1" hint.fdc.1.disabled="1" hint.fd.0.disabled="1" hint.fd.1.disabled="1" results in: fdc1: at port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on isa0 I'm not sure what's going on here, i know that even "boot -c" then doing "di " doesn't seem to work anymore. What I'd like you to do is try to disable your floppy drive and/or lpt port without removing it from your kernel. If it's possible please let me know. thanks, -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 6:56:29 2001 Delivered-To: freebsd-current@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id AF04137B718; Sat, 31 Mar 2001 06:56:23 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f2VEuJA28558; Sat, 31 Mar 2001 06:56:19 -0800 Date: Sat, 31 Mar 2001 06:56:19 -0800 From: Brooks Davis To: Duncan Barclay Cc: current@FreeBSD.ORG, audit@FreeBSD.ORG, phk@FreeBSD.ORG, Jordan Hubbard Subject: Re: Call for review... PR 25577 Message-ID: <20010331065619.A27505@Odin.AC.HMC.Edu> References: <20010330151809.B22598@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from dmlb@dmlb.org on Sat, Mar 31, 2001 at 10:16:44AM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 31, 2001 at 10:16:44AM +0100, Duncan Barclay wrote: > Can I suggest you add a DS22 for DS 22Mb/s which is going through final > approvals at the IEEE. I've added it and updated the diff for -current. I'll mess with the -stable diff Thursday when I get back from my short vacation. > I'll wait for these patches to settle down and merge the functionality > into the raylink driver. Sounds good. We'll need to figure out how to specify hopsets. You can either overload channel or add a new hopset option. > Are you planning on making a unified interface for things like the signal > strenght cache? I'm not sure at this point. It's probalby a good idea, though it may be to expensive to populate on interfaces. For instance, the an driver only sets one of the three possible values. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6xfASXY6L6fI4GtQRAiAoAKCRs010k50laPweFlEbGBO0fJ40GgCdFVH0 D3zTpiMtdwyS/us0vGrDUDM= =3DKM -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 7:16:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from midget.dons.net.au (daniel.lnk.telstra.net [139.130.137.70]) by hub.freebsd.org (Postfix) with ESMTP id 22F3737B71D for ; Sat, 31 Mar 2001 07:16:12 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (guppy.dons.net.au [203.31.81.9]) by midget.dons.net.au (8.11.3/8.9.3) with ESMTP id f2VFE5i18578; Sun, 1 Apr 2001 00:44:05 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sun, 01 Apr 2001 00:44:05 +0930 (CST) From: "Daniel O'Connor" To: Adrian Browne Subject: RE: usb modems Cc: freebsd-current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 30-Mar-01 Adrian Browne wrote: > I was wondering if anyone has had any success with a usb isdn 3com modem or > other usb modem types. I have a usb scanner and printer that works great on > release 5.0-20010120, but i have failed miserably to get a usb/modem to > work. Does anyone know? or could some one advise me of the best approach to > a fix or a how2. I ve tried www.usb.org and well errmm no succes :( I recently bought a NetCOMM Roadster II which works very well.. (At least I can dial up and stuff - haven't exaustivly tested it) You may have a Win Modem :( --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 10:24:34 2001 Delivered-To: freebsd-current@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 0CDBE37B71D; Sat, 31 Mar 2001 10:24:31 -0800 (PST) (envelope-from dima@unixfreak.org) Received: from spike.unixfreak.org (spike [63.198.170.139]) by bazooka.unixfreak.org (Postfix) with ESMTP id B61F83E23; Sat, 31 Mar 2001 10:24:30 -0800 (PST) To: Alfred Perlstein Cc: current@freebsd.org, peter@freebsd.org Subject: Re: is it supposed to be this broken? In-Reply-To: <20010331021512.H9431@fw.wintelcom.net>; from bright@wintelcom.net on "Sat, 31 Mar 2001 02:15:12 -0800" Date: Sat, 31 Mar 2001 10:24:27 -0800 From: Dima Dorfman Message-Id: <20010331182430.B61F83E23@bazooka.unixfreak.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein writes: > What I'd like you to do is try to disable your floppy drive > and/or lpt port without removing it from your kernel. > > If it's possible please let me know. It works for me by just sticking 'hint.fd.0.disabled="1"' into /boot/device.hints. I.e., I can't reproduce it on -current from 2001/03/27. Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 10:31:28 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 8A1E837B71A; Sat, 31 Mar 2001 10:31:25 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2VIVMO14143; Sat, 31 Mar 2001 11:31:22 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103311831.f2VIVMO14143@harmony.village.org> To: Alfred Perlstein Subject: Re: is it supposed to be this broken? Cc: current@FreeBSD.ORG, peter@FreeBSD.ORG In-reply-to: Your message of "Sat, 31 Mar 2001 02:15:12 PST." <20010331021512.H9431@fw.wintelcom.net> References: <20010331021512.H9431@fw.wintelcom.net> Date: Sat, 31 Mar 2001 11:30:07 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010331021512.H9431@fw.wintelcom.net> Alfred Perlstein writes: : This is cute... : hint.ppc.1.disabled="1" : ppc1: at port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on : isa0 That should work. However, if it doesn't, consider removing the 'at' lines from your hints file. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 11:20:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.noos.fr (aragon.noos.net [212.198.2.75]) by hub.freebsd.org (Postfix) with ESMTP id 16C6E37B719 for ; Sat, 31 Mar 2001 11:20:51 -0800 (PST) (envelope-from christian.dang@noos.fr) Received: (qmail 2959539 invoked by uid 0); 31 Mar 2001 20:20:48 -0000 Received: from r82m152.cybercable.tm.fr (HELO noos.fr) ([195.132.82.152]) (envelope-sender ) by aragon.noos.net (qmail-ldap-1.03) with SMTP for ; 31 Mar 2001 20:20:48 -0000 Message-ID: <3AC62E25.8D810CAA@noos.fr> Date: Sat, 31 Mar 2001 21:21:09 +0200 From: Christian dang X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: fr, en MIME-Version: 1.0 To: current@FreeBSD.org Subject: subscribe Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 12:14:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 3649837B71E for ; Sat, 31 Mar 2001 12:14:06 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) id f2VKE5P02349 for current@FreeBSD.ORG.AVP; Sat, 31 Mar 2001 22:14:05 +0200 (CEST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) with UUCP id f2VKE5g02343 for current@FreeBSD.ORG; Sat, 31 Mar 2001 22:14:05 +0200 (CEST) (envelope-from leifn@neland.dk) Received: from gina (dhcp0.neland.dk [192.168.5.100]) by arnold.neland.dk (8.11.3/8.11.0) with SMTP id f2VKDro05291 for ; Sat, 31 Mar 2001 22:13:54 +0200 (CEST) (envelope-from leifn@neland.dk) Message-ID: <01d601c0ba1f$242f3540$6405a8c0@neland.dk> Reply-To: "Leif Neland" From: "Leif Neland" To: References: <200103300544.f2U5iXH94095@gratis.grondar.za> Subject: Re: i586 FP optimizations hosed. Date: Sat, 31 Mar 2001 18:34:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by ns.internet.dk id f2VKE5g02343 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Mark Murray" To: Sent: Friday, March 30, 2001 7:45 AM Subject: i586 FP optimizations hosed. > Hi > > I have an SMP kernel with I586 and I686 support. If I boot it > on a 686 it works. On a 586 it craps out with > > CPU1 stopping CPUs: 0x00000001... Stopped. > Stopped at i586_bzero_oops+0x1: jmp i586_bzero_oops > I get panics on that instructions too on my old 60MHz P5. I've got a core dump, will tell more when I can interpret it... Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 12:42:49 2001 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id E7F5E37B718; Sat, 31 Mar 2001 12:42:46 -0800 (PST) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.2/8.11.2) with ESMTP id f2VD6dX07055; Sat, 31 Mar 2001 05:06:39 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200103311306.f2VD6dX07055@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Alfred Perlstein Cc: current@freebsd.org, peter@freebsd.org Subject: Re: is it supposed to be this broken? In-reply-to: Your message of "Sat, 31 Mar 2001 02:15:12 PST." <20010331021512.H9431@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 31 Mar 2001 05:06:39 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > This is cute... > > If you disable a device using /boot/device.hints like so: > hint.ppc.0.disabled="1" > hint.ppc.1.disabled="1" > hint.ppbus.0.disabled="1" > hint.ppbus.1.disabled="1" > > you get this: > ppc1: at port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on > isa0 That's because the PnP entity is still matched. You can't disable PnP devices; it just doesn't work that way. 8) -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 19:43:50 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id CECA337B719; Sat, 31 Mar 2001 19:43:47 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f313hlU06347; Sat, 31 Mar 2001 19:43:47 -0800 (PST) Date: Sat, 31 Mar 2001 19:43:47 -0800 From: Alfred Perlstein To: Mike Smith Cc: current@freebsd.org, peter@freebsd.org Subject: Re: is it supposed to be this broken? Message-ID: <20010331194347.I9431@fw.wintelcom.net> References: <20010331021512.H9431@fw.wintelcom.net> <200103311306.f2VD6dX07055@mass.dis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103311306.f2VD6dX07055@mass.dis.org>; from msmith@freebsd.org on Sat, Mar 31, 2001 at 05:06:39AM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Mike Smith [010331 12:41] wrote: > > This is cute... > > > > If you disable a device using /boot/device.hints like so: > > hint.ppc.0.disabled="1" > > hint.ppc.1.disabled="1" > > hint.ppbus.0.disabled="1" > > hint.ppbus.1.disabled="1" > > > > you get this: > > ppc1: at port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on > > isa0 > > That's because the PnP entity is still matched. You can't disable PnP > devices; it just doesn't work that way. 8) You mean it's impossible to disable lpt/floppy in a pnp system and use thier IRQs for anything else unless you remove the drivers from the kernel? Why? Also, is there any system in place so that I can tell a device to go away? (one that isn't pccard/cardbus) ? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 20:28:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from turtle.looksharp.net (cc360882-a.strhg1.mi.home.com [24.2.221.22]) by hub.freebsd.org (Postfix) with ESMTP id 930D537B71D for ; Sat, 31 Mar 2001 20:28:22 -0800 (PST) (envelope-from bsdx@looksharp.net) Received: from localhost (bsdx@localhost) by turtle.looksharp.net (8.11.1/8.11.1) with ESMTP id f314ZGd03953; Sat, 31 Mar 2001 23:35:16 -0500 (EST) (envelope-from bsdx@looksharp.net) Date: Sat, 31 Mar 2001 23:35:16 -0500 (EST) From: Adam To: Alfred Perlstein Cc: Subject: Re: is it supposed to be this broken? In-Reply-To: <20010331194347.I9431@fw.wintelcom.net> Message-ID: <20010331233328.D66986-100000@turtle.looksharp.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 31 Mar 2001, Alfred Perlstein wrote: >* Mike Smith [010331 12:41] wrote: >> > This is cute... >> > >> > If you disable a device using /boot/device.hints like so: >> > hint.ppc.0.disabled="1" >> > hint.ppc.1.disabled="1" >> > hint.ppbus.0.disabled="1" >> > hint.ppbus.1.disabled="1" >> > >> > you get this: >> > ppc1: at port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on >> > isa0 >> >> That's because the PnP entity is still matched. You can't disable PnP >> devices; it just doesn't work that way. 8) > >You mean it's impossible to disable lpt/floppy in a pnp system >and use thier IRQs for anything else unless you remove the drivers >from the kernel? > >Why? > >Also, is there any system in place so that I can tell a device to >go away? (one that isn't pccard/cardbus) ? > >-- >-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] I thought you had to disable hardware in the bios to make it actually go away, otherwise an interrupt is still "there" even if FreeBSD isn't putting the usual device driver on it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 20:46: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id E8C9C37B71C; Sat, 31 Mar 2001 20:46:06 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f314k3q03105; Sat, 31 Mar 2001 21:46:03 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200104010446.f314k3q03105@harmony.village.org> To: Alfred Perlstein Subject: Re: is it supposed to be this broken? Cc: Mike Smith , current@FreeBSD.ORG, peter@FreeBSD.ORG In-reply-to: Your message of "Sat, 31 Mar 2001 19:43:47 PST." <20010331194347.I9431@fw.wintelcom.net> References: <20010331194347.I9431@fw.wintelcom.net> <20010331021512.H9431@fw.wintelcom.net> <200103311306.f2VD6dX07055@mass.dis.org> Date: Sat, 31 Mar 2001 21:44:48 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010331194347.I9431@fw.wintelcom.net> Alfred Perlstein writes: : You mean it's impossible to disable lpt/floppy in a pnp system : and use thier IRQs for anything else unless you remove the drivers : from the kernel? That's right. : Why? because no one has implement it. : Also, is there any system in place so that I can tell a device to : go away? (one that isn't pccard/cardbus) ? Nope. Not from userland. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 21: 3:58 2001 Delivered-To: freebsd-current@freebsd.org Received: from reason.queens.unimelb.edu.au (reason.queens.unimelb.edu.au [203.28.244.109]) by hub.freebsd.org (Postfix) with SMTP id BAD1137B719 for ; Sat, 31 Mar 2001 21:03:56 -0800 (PST) (envelope-from ajn@reason.queens.unimelb.edu.au) Received: (qmail 1373 invoked by uid 1001); 1 Apr 2001 05:16:42 -0000 Date: Sun, 1 Apr 2001 15:16:42 +1000 From: Andrew Newlands To: freebsd-current@FreeBSD.org Subject: buildkernel fails with random device Message-ID: <20010401151642.A1357@reason.queens.unimelb.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If I attempt to build a kernel with the random device it bombs out with this message: Error output: make: don't know how to make /usr/src/sys/crypto/rijndael/rijndael-alg-fst.c. Stop The kernel build happily if I comment out the random device in the configuration file. Cheers, Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 21:44:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 8F96837B71A; Sat, 31 Mar 2001 21:44:35 -0800 (PST) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.2/8.11.2) with ESMTP id f315hU305592; Sat, 31 Mar 2001 21:43:30 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200104010543.f315hU305592@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Alfred Perlstein Cc: current@freebsd.org, peter@freebsd.org Subject: Re: is it supposed to be this broken? In-reply-to: Your message of "Sat, 31 Mar 2001 19:43:47 PST." <20010331194347.I9431@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 31 Mar 2001 21:43:30 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > ppc1: at port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on > > > isa0 > > > > That's because the PnP entity is still matched. You can't disable PnP > > devices; it just doesn't work that way. 8) > > You mean it's impossible to disable lpt/floppy in a pnp system > and use thier IRQs for anything else unless you remove the drivers > from the kernel? > > Why? Because you can't use their IRQs anyway; the PnP data for devices like that is a statement of fact - IRQ 7 is connected to the super-IO chip and you simply *CANNOT* use it for another device. > Also, is there any system in place so that I can tell a device to > go away? (one that isn't pccard/cardbus) ? Not at this time, no. Why would you want to, short of reloading the driver? -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 22:17:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 1B30E37B71D for ; Sat, 31 Mar 2001 22:17:14 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.11.3/8.11.3) id f316KPm56956 for FreeBSD-current@freebsd.org; Sat, 31 Mar 2001 22:20:25 -0800 (PST) (envelope-from sgk) Date: Sat, 31 Mar 2001 22:20:25 -0800 From: Steve Kargl To: FreeBSD-current@freebsd.org Subject: third party shared library and ldconfig Message-ID: <20010331222025.A56763@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I recently installed NAGWare's Fortran 95 compiler, and it installed its shared libraries into /usr/local/lib/NAGWare. To get the compiler to work, I of course needed to use "ldconfig -m". When I rebooted the system, I found that the ldconfig portion of /etc/rc does not recurse into subdirectories of /usr/local/lib (which is probably a Good Thing), so I had to manually run "ldconfig -m" to add /usr/local/lib/NAGWare. There appear to be several options: (1) Upon booting run "ldconfig -m". This could be done either manually by root or perhaps from rc.local. (2) Move the NAGWare shared libraries up one directory into /usr/local/lib. This is simple, but would make updating third party software more difficult because of possible stale libraries. (3) Edit /etc/rc to explicitly include /usr/local/lib/NAGWare This becomes an annoyance when running mergemaster. It also isn't a general solution for other third party software installations. (4) Tell all users on the system to add the directory to a LD_LIBRARY_PATH variable. (5) Add another knob to rc.conf. A possible solution to the third party software problem introduces the extra_ldconfig_paths to /etc/rc.conf and apply this diff to /etc/rc --- rc.orig Sat Mar 31 21:35:03 2001 +++ rc Sat Mar 31 22:14:40 2001 @@ -544,6 +544,11 @@ _LDC="${_LDC} ${i}" fi done + for i in ${extra_ldconfig_paths}; do + if [ -d "${i}" ]; then + _LDC="${_LDC} ${i}" + fi + done echo 'ELF ldconfig path:' ${_LDC} ${ldconfig} -elf ${_LDC} ;; -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 22:27:54 2001 Delivered-To: freebsd-current@freebsd.org Received: from cartier.cirx.org (cartier.cirx.org [211.72.15.243]) by hub.freebsd.org (Postfix) with ESMTP id 0DFFC37B71B for ; Sat, 31 Mar 2001 22:27:49 -0800 (PST) (envelope-from clive@CirX.ORG) Received: from cartier.cirx.org (nullmail@localhost [127.0.0.1]) by cartier.cirx.org (8.11.3/8.11.3) with SMTP id f316Ra497762; Sun, 1 Apr 2001 14:27:36 +0800 (CST) (envelope-from clive@CirX.ORG) Received: (nullmailer pid 97758 invoked by uid 1000); Sun, 01 Apr 2001 06:27:36 -0000 Date: Sun, 1 Apr 2001 14:27:36 +0800 From: Clive Lin To: Steve Kargl Cc: FreeBSD-current@FreeBSD.ORG Subject: Re: third party shared library and ldconfig Message-ID: <20010401142736.A97661@cartier.cirx.org> References: <20010331222025.A56763@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010331222025.A56763@troutmask.apl.washington.edu>; from sgk@troutmask.apl.washington.edu on Sat, Mar 31, 2001 at 10:20:25PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm just curious, why not just redefine ldconfig_paths in /etc/rc.conf, which is already in /etc/defaults/rc.conf ? Or install a script in ${PREFIX}/etc/rc.d .. this is how ports like postgresql or mysql, achive this goal. On Sat, Mar 31, 2001 at 10:20:25PM -0800, Steve Kargl wrote: > (5) Add another knob to rc.conf. A possible solution to > the third party software problem introduces the > extra_ldconfig_paths to /etc/rc.conf and apply this > diff to /etc/rc -- pub 1024D/F8D2B472 2000-08-05 Clive Lin Key fingerprint = 7F9D 57A8 55C7 AA18 49B5 3820 570B 27F6 F8D2 B472 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 22:39:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10]) by hub.freebsd.org (Postfix) with ESMTP id 4A3FF37B718; Sat, 31 Mar 2001 22:39:08 -0800 (PST) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id WAA14214; Sat, 31 Mar 2001 22:38:47 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.3/8.11.1) id f316cdD83408; Sat, 31 Mar 2001 22:38:39 -0800 (PST) (envelope-from bmah) Message-Id: <200104010638.f316cdD83408@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: Poul-Henning Kamp Cc: Jordan Hubbard , audit@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Call for review... PR 25577 In-Reply-To: <22564.985987216@critter> References: <22564.985987216@critter> Comments: In-reply-to Poul-Henning Kamp message dated "Fri, 30 Mar 2001 23:20:16 +0200." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1727279998P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 31 Mar 2001 22:38:39 -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --==_Exmh_1727279998P Content-Type: text/plain; charset=us-ascii If memory serves me right, Poul-Henning Kamp wrote: > In message <20010330131413I.jkh@osd.bsdi.com>, Jordan Hubbard writes: > >Cool. Does this mean that any of the foocontrol programs can go away? > > As far as I can see, anything short of firmware updates can be > done by ifconfig and therefore, presumably, foocontrol can die > for 802.11-valued foo. Uhhh...I don't think this is quite true. I'm not an expert on the an(4) driver, but ancontrol -S and ancontrol -C give a lot more information that the new ifconfig, and I'm pretty sure that ancontrol (8) lets you twiddle things that ifconfig doesn't. (Antenna diversity and transmit power spring to mind, also it is not immediately obvious to me how to set ad-hoc mode using ifconfig(8)). I think that a *majority* of functionality can be done with ifconfig, and that someone would only need to use ancontrol if they really wanted to do something esoteric (or at least unusual). More comments to come...I'm typing up some feedback based on playing with the -stable version. Bruce. --==_Exmh_1727279998P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6xszv2MoxcVugUsMRArtKAJ0SkqTIjYLBsp6EpJkxy3lAWZhw6QCgk2Md VsbZNPl2k6Fel+lR0+VxM5A= =lSnw -----END PGP SIGNATURE----- --==_Exmh_1727279998P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 22:42:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id E3E3237B71C for ; Sat, 31 Mar 2001 22:42:26 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) id f316gPb90967 for current@FreeBSD.ORG.AVP; Sun, 1 Apr 2001 08:42:25 +0200 (CEST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) with UUCP id f316gPb90953; Sun, 1 Apr 2001 08:42:25 +0200 (CEST) (envelope-from leifn@neland.dk) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.11.3/8.11.0) with ESMTP id f316gCv01317; Sun, 1 Apr 2001 08:42:14 +0200 (CEST) (envelope-from leifn@neland.dk) Date: Sun, 1 Apr 2001 08:42:12 +0200 (CEST) From: Leif Neland To: Dag-Erling Smorgrav Cc: Subject: Re: Interesting backtrace... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 18 Mar 2001, Dag-Erling Smorgrav wrote: > Anyway, here's the backtrace: > > root@des /var/crash# gdb -k ... > This GDB was configured as "i386-unknown-freebsd". > (kgdb) source ~des/kgdb <-- What's in here? I guess it is commands to load the crash dump into the debugger. Could you post it, please? So I can make pretty backtraces too :-) > (kgdb) kernel 1 Because that command doesn't work for me.. Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 22:43:36 2001 Delivered-To: freebsd-current@freebsd.org Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.43.88]) by hub.freebsd.org (Postfix) with ESMTP id ECF1637B719; Sat, 31 Mar 2001 22:43:29 -0800 (PST) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-2.cisco.com (8.9.3/8.9.1) with ESMTP id WAA09014; Sat, 31 Mar 2001 22:43:48 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.3/8.11.1) id f316hPr83541; Sat, 31 Mar 2001 22:43:25 -0800 (PST) (envelope-from bmah) Message-Id: <200104010643.f316hPr83541@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: Poul-Henning Kamp , Jordan Hubbard , audit@FreeBSD.ORG, current@FreeBSD.ORG Cc: bmah@FreeBSD.ORG Subject: Re: Call for review... PR 25577 In-Reply-To: <200104010638.f316cdD83408@bmah-freebsd-0.cisco.com> References: <22564.985987216@critter> <200104010638.f316cdD83408@bmah-freebsd-0.cisco.com> Comments: In-reply-to "Bruce A. Mah" message dated "Sat, 31 Mar 2001 22:38:39 -0800." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1767685066P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 31 Mar 2001 22:43:25 -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --==_Exmh_1767685066P Content-Type: text/plain; charset=us-ascii I stupidly wrote: > it is not immediately obvious to me how to > set ad-hoc mode using ifconfig(8)). Please disregard...I see it now. Must be my allergy meds, yeah, that's it... :-) Bruce. --==_Exmh_1767685066P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6xs4N2MoxcVugUsMRAijeAKDn0PznxkG15yv7jyd+lcrwk/5g0wCbBAkl giXteaovEkO3pcIH9ZTfkR8= =PoRo -----END PGP SIGNATURE----- --==_Exmh_1767685066P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Mar 31 22:50: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11]) by hub.freebsd.org (Postfix) with ESMTP id 5669B37B719; Sat, 31 Mar 2001 22:49:57 -0800 (PST) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-1.cisco.com (8.9.3/8.9.1) with ESMTP id WAA08667; Sat, 31 Mar 2001 22:49:44 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.3/8.11.1) id f316nix83661; Sat, 31 Mar 2001 22:49:44 -0800 (PST) (envelope-from bmah) Message-Id: <200104010649.f316nix83661@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: Brooks Davis Cc: David Wolfskill , audit@FreeBSD.ORG, current@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: Call for review... PR 25577 In-Reply-To: <20010330164815.A26890@Odin.AC.HMC.Edu> References: <20010330163530.A23549@Odin.AC.HMC.Edu> <200103310042.f2V0gmo26654@bunrab.catwhisker.org> <20010330164815.A26890@Odin.AC.HMC.Edu> Comments: In-reply-to Brooks Davis message dated "Fri, 30 Mar 2001 16:48:15 -0800." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1819147488P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 31 Mar 2001 22:49:44 -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --==_Exmh_1819147488P Content-Type: text/plain; charset=us-ascii If memory serves me right, Brooks Davis wrote: > If anyone wants to try it one -stable, there's a patch against it at: > > http://www.one-eyed-alien.net/~brooks/FreeBSD/ifconfig.diff-stable Cool, thanks for making this available. > The fact that wi hasn't been repo-copied in to sys/dev in stable plus > the spl->mutex changes mean the patches against -current don't apply > cleanly. The patches work great for me under -stable with a Lucent (wi) > card, but I couldn't get my Cisco (an) card to work with or without > them. It's probably something to do with the ancient pile of junk I'm > using for stable laptop testing. I just re-built world with your patches on an IBM T20 with a Cisco Aironet 342 PCMCIA card. Basic send and receive seem OK, I used the new ifconfig to turn on WEP and set the SSID and I am now typing over the an0 interface to send this mail. Few comments here: 1. Seems like I needed to ifconfig the interface up before my other commands would take effect. I don't recall needing to do any such thing with the old driver before I could do ancontrol. Is this a change in behavior or did I miss something? 2. I think there is an off-by-one error in the listing of wepkeys. I have exactly one 128-bit key set, which I'm using as the transmit key. I'm pretty sure that this is key was configured as number 3 (if starting from 1) or 2 (if starting from 0). I'm not using any of the other four keys supported, but I do not know their exact configurations. "ifconfig an0" returns (santized): constellation:bmah% ifconfig an0 an0: flags=8843 mtu 1500 inet6 fe80::XX:XX:XX:XX%an0 prefixlen 64 scopeid 0x5 inet XX.XX.XX.XX netmask 0xffffff00 broadcast XX.XX.XX.XX inet6 fec0::XX:XX:XX:XX: prefixlen 64 ether XX:XX:XX:XX:XX:XX media: autoselect (DS/11Mbps) status: associated supported media: autoselect autoselect DS/11Mbps DS/11Mbps DS/5.5Mbps DS/5.5Mbps DS/2Mbps DS/2Mbps DS/1Mbps DS/1Mbps ssid XXX stationname "" channel 6 authmode OPEN powersavemode OFF powersavesleep 200 wepmode ON weptxkey 3 wepkey 1:64-bit wepkey 2:128-bit wepkey 3:64-bit Just for the record, I think there's a similar problem in ancontrol(8). The tail of "ancontrol -C" is: WEP Key status: Key 0 is set 40 bits Key 1 is set 128 bits Key 2 is set 40 bits Key 3 is unset The active transmit key is 2 If I had to guess, I'd say that if there is an array of WEP keys, the programs are starting to read one key too late into the array when they display them. There also seems to be a little disagreement as to whether keys are numbered starting from 0 or 1. I did all the key management from within Windows 2000, using the Cisco-supplied utilities. If it's helpful, I can reboot and take some notes from that side. 3. In the "SEE ALSO" section of ieee80211, there is a hanging comma after the cross-reference to wicontrol(8). Thanks for taking the time to do a -STABLE patch...much appreciated. Bruce. --==_Exmh_1819147488P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6xs+I2MoxcVugUsMRArtpAKC38c8XmMPyVIpGj3DedO27Fz6ZKgCggJE8 VvL9wvShDGPvczIiXK/tSgI= =yN5I -----END PGP SIGNATURE----- --==_Exmh_1819147488P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message