From owner-freebsd-current Sun Jul 7 2: 2:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DB5237B400 for ; Sun, 7 Jul 2002 02:02:28 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6410643E42 for ; Sun, 7 Jul 2002 02:02:27 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.3/8.12.3) with ESMTP id g6793v0M022279; Sun, 7 Jul 2002 02:04:01 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207070904.g6793v0M022279@gw.catspoiler.org> Date: Sun, 7 Jul 2002 02:03:01 -0700 (PDT) From: Don Lewis Subject: Re: cvs commit: src/sys/tools vnode_if.awk To: jroberson@chesapeake.net Cc: current@FreeBSD.ORG In-Reply-To: <20020707024045.J25604-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 7 Jul, Jeff Roberson wrote: > On Sat, 6 Jul 2002, Jeff Roberson wrote: >> - Use 'options DEBUG_VFS_LOCKS' instead of the DEBUG_ALL_VFS_LOCKS >> environment variable to enable the lock verifiction code. > This was previously disabled because our locking was so bad that we could > not boot with this option enabled. I can now boot, compile a kernel, and > reboot without catching any locking asserts. This means that we are safe > at our current level of debugging, but we are certainly not out of the > woods wrt VFS locking yet. > > If you have a crash test box I would appreciate it if you would enable > this kernel option. If it catches any errors you will be droped into the > debugger where you can get a backtrace (type: tr) and mail it to me && > current@ to avoid dups. It wasn't able to sucessfully boot with this enabled. I'm hand transcribing this, so apologies for any typos: [fsck finishes] Doing initial network setup: host.conf hostname. VOP_READ: 0xc6737800 is not locked but should be Debugger("Lock violation. ") Debugger(c0420fe4) at Debugger+0x45 vn_rdwr(0,c6737800,c6425000,55ac,0,0,1,8,c22c7200,df241aec,c22cc0c0) at vn_rdwr+0x18d linker_hints_lookup(c04750a0,c,c62df000,5,0) at linker_hints_lookup+0x2d9 linker_search_module(c62df000,5,0,0,c0415120) at linker_search_module+0x43 linker_load_module(0,c62df000,0,0,df241cdc) at linker_load_module+0x72 kldload(c22cc0c0,df241d14,1,0,296) at kldload+0xc3 syscall(...) If I disable the panic and continue the boot process, I see the following in dmesg: da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enable d da0: 35003MB (71687370 512 byte sectors: 255H 63S/T 4462C) /usr/src/sys/vm/uma_core.c:1332: could sleep with "kernel linker" locked from /u sr/src/sys/kern/kern_linker.c:1798 VOP_READ: 0xc6737800 is not locked but should be VOP_GETVOBJECT: 0xc6737800 is not locked but should be VOP_GETVOBJECT: 0xc6737800 is not locked but should be VOP_BMAP: 0xc6737800 is not locked but should be VOP_GETVOBJECT: 0xc6737800 is not locked but should be VOP_GETVOBJECT: 0xc6737800 is not locked but should be VOP_READ: 0xc6737800 is not locked but should be VOP_READ: 0xc6737800 is not locked but should be VOP_READ: 0xc6737800 is not locked but should be To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 2: 3:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2187D37B400 for ; Sun, 7 Jul 2002 02:03:40 -0700 (PDT) Received: from mail.freebsdmall.com (www.freebsdmall.com [66.220.2.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDD8443E31 for ; Sun, 7 Jul 2002 02:03:39 -0700 (PDT) (envelope-from murray@freebsdmall.com) Received: by mail.freebsdmall.com (Postfix, from userid 2074) id 9A0092E884; Sun, 7 Jul 2002 02:03:39 -0700 (PDT) Date: Sun, 7 Jul 2002 02:03:39 -0700 From: Murray Stokely To: Julian Elischer Cc: FreeBSD current users Subject: 5.0 DP2 (was Re: KSE M-III status & junior hacker project.) Message-ID: <20020707020339.F11035@freebsdmall.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from julian@elischer.org on Sat, Jul 06, 2002 at 04:57:08PM -0700 X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jul 06, 2002 at 04:57:08PM -0700, Julian Elischer wrote: > Well with various hints from here and there I have fixed > the ^Z/fg problem (at least it seems fixed to me and others that > have tested) This basically leaves only one outstanding > problem that I know of which is a problem that Warner has with a > particular progam. (This may also be fixed but I don't know) Hi Julian, Thanks for your progress on KSE! How long should we wait before branching in Perforce for 5.0 DP2? I would like to give at least 10 more days for this and other changes to settle before making the branch. If all goes well, I would like to release 5.0 DP2 at the end of this month. - Murray To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 2:31:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3D7F37B400; Sun, 7 Jul 2002 02:31:04 -0700 (PDT) Received: from isrv.tric.tomsk.gov.ru (isrv.tric.tomsk.gov.ru [80.89.134.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FFE043E54; Sun, 7 Jul 2002 02:31:02 -0700 (PDT) (envelope-from mike@tric.tomsk.gov.ru) Received: from draco (bond3.dialup.sobes [192.168.1.230]) by isrv.tric.tomsk.gov.ru (8.12.3/8.12.3) with SMTP id g679UeIm087386; Sun, 7 Jul 2002 16:30:52 +0700 (NOVST) (envelope-from mike@tric.tomsk.gov.ru) Message-ID: <009901c22598$f48f3d80$e601a8c0@draco> From: "Michael O. Boev" To: Cc: Subject: ifconfig problem Date: Sun, 7 Jul 2002 16:30:35 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello! I've upgraded one of my boxes (4.5-RELEASE to FreeBSD 4.6-RELEASE) and encountered the following problem: After the upgrade it won't bring one of its two identical interfaces (ed0 and ed1) up at the boot-time. The internal one(ed1) was brought up cleanly, the external one(ed0) didn't get up. The only difference between them was that i was setting a specific MAC address on ed0. My rc.conf line for ed0 was like: ifconfig_ed0="inet 1.2.3.4 lladdr 01:02:03:04:05:06" And the ifconfig at the boot time said that it: "can't set link-level netmask or broadcast". Changing "lladdr" to "link" or "ether" didn't help, nor did interchanging the order of these addresses on the config line. Now I've found that I still can bring the interface up by executing two separate ifconfigs like: ifconfig ed0 lladdr 01:02:03:04:05:06 ifconfig ed0 inet 1.2.3.4 My current workaround is to set MAC in /etc/rc.early and the IP in rc.conf. My investigation revealed that this error message was introduced during the MFC of /src/sbin/ifconfig/ifconfig.c, version 1.51.2.16, 2002/04/03 by ru. I suspect that I've no real intention to set any link level netmask or broadcasts. Therefore, there must be an programming error somewhere in ifconfig.c, I even suppose it is in the setifaddr function, but I can't say it for sure, because I lack knowledge to understand the code in whole. I will make a PR soon, if there're no sudden objections. Best wishes, Mike Boev. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 2:52:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75C0637B400 for ; Sun, 7 Jul 2002 02:52:51 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B17143E54 for ; Sun, 7 Jul 2002 02:52:51 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.3/8.12.3) with ESMTP id g679sS0M022345; Sun, 7 Jul 2002 02:54:32 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207070954.g679sS0M022345@gw.catspoiler.org> Date: Sun, 7 Jul 2002 02:53:31 -0700 (PDT) From: Don Lewis Subject: sshd is complaining about /var/log/lastlog permission To: Dag-Erling Smorgrav , current@FreeBSD.ORG MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sshd on my current box is logging messsages about "sshd[pid]: /var/log/lastlog: permission denied" on my recently updated -current box. The permission on this file are the defaults. Could this be a side effect of the new privilege separation stuff? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 2:58:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D462637B400 for ; Sun, 7 Jul 2002 02:58:32 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E88943E3B for ; Sun, 7 Jul 2002 02:58:32 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 9B25A534A; Sun, 7 Jul 2002 11:58:27 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Don Lewis Cc: current@FreeBSD.ORG Subject: Re: sshd is complaining about /var/log/lastlog permission References: <200207070954.g679sS0M022345@gw.catspoiler.org> From: Dag-Erling Smorgrav Date: 07 Jul 2002 11:58:26 +0200 In-Reply-To: <200207070954.g679sS0M022345@gw.catspoiler.org> Message-ID: Lines: 11 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Don Lewis writes: > Sshd on my current box is logging messsages about > "sshd[pid]: /var/log/lastlog: permission denied" on my recently updated > -current box. The permission on this file are the defaults. Could this > be a side effect of the new privilege separation stuff? Yes, but it's harmless. I just haven't had time to sort it out yet. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 3:23:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EEBB37B400 for ; Sun, 7 Jul 2002 03:23:27 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5A1243E31 for ; Sun, 7 Jul 2002 03:23:26 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id g67ANNv50393; Sun, 7 Jul 2002 06:23:23 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Sun, 7 Jul 2002 06:23:23 -0400 (EDT) From: Jeff Roberson To: Don Lewis Cc: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/tools vnode_if.awk In-Reply-To: <200207070904.g6793v0M022279@gw.catspoiler.org> Message-ID: <20020707062124.Y25604-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 7 Jul 2002, Don Lewis wrote: > On 7 Jul, Jeff Roberson wrote: > > On Sat, 6 Jul 2002, Jeff Roberson wrote: > > >> - Use 'options DEBUG_VFS_LOCKS' instead of the DEBUG_ALL_VFS_LOCKS > >> environment variable to enable the lock verifiction code. > > > If you have a crash test box I would appreciate it if you would enable > > this kernel option. If it catches any errors you will be droped into the > > debugger where you can get a backtrace (type: tr) and mail it to me && > > current@ to avoid dups. > > It wasn't able to sucessfully boot with this enabled. I'm hand > transcribing this, so apologies for any typos: > > [fsck finishes] > Doing initial network setup: host.conf hostname. > VOP_READ: 0xc6737800 is not locked but should be > Debugger("Lock violation. > ") > > > Debugger(c0420fe4) at Debugger+0x45 > vn_rdwr(0,c6737800,c6425000,55ac,0,0,1,8,c22c7200,df241aec,c22cc0c0) at > vn_rdwr+0x18d > linker_hints_lookup(c04750a0,c,c62df000,5,0) at > linker_hints_lookup+0x2d9 > linker_search_module(c62df000,5,0,0,c0415120) at > linker_search_module+0x43 > linker_load_module(0,c62df000,0,0,df241cdc) at linker_load_module+0x72 > kldload(c22cc0c0,df241d14,1,0,296) at kldload+0xc3 > syscall(...) Oh, I don't use kernel modules on my main dev box. Thanks! I'll have this resolved tomorrow. More below. > > > If I disable the panic and continue the boot process, I see the > following in dmesg: > > > da0 at ahc0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-3 device > da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enable > d > da0: 35003MB (71687370 512 byte sectors: 255H 63S/T 4462C) > /usr/src/sys/vm/uma_core.c:1332: could sleep with "kernel linker" locked from /u > sr/src/sys/kern/kern_linker.c:1798 > VOP_READ: 0xc6737800 is not locked but should be > VOP_GETVOBJECT: 0xc6737800 is not locked but should be > VOP_GETVOBJECT: 0xc6737800 is not locked but should be > VOP_BMAP: 0xc6737800 is not locked but should be > VOP_GETVOBJECT: 0xc6737800 is not locked but should be > VOP_GETVOBJECT: 0xc6737800 is not locked but should be > VOP_READ: 0xc6737800 is not locked but should be > VOP_READ: 0xc6737800 is not locked but should be > VOP_READ: 0xc6737800 is not locked but should be > These are all also from the linker. I just verified by loading a module. Thanks, Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 3:45:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 192F737B400 for ; Sun, 7 Jul 2002 03:45:11 -0700 (PDT) Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9458443E3B for ; Sun, 7 Jul 2002 03:45:10 -0700 (PDT) (envelope-from joe@tao.org.uk) Received: by tao.org.uk (Postfix, from userid 100) id 2545EA8; Sun, 7 Jul 2002 11:44:39 +0100 (BST) Date: Sun, 7 Jul 2002 11:44:39 +0100 From: Josef Karthauser To: Craig Rodrigues Cc: current@freebsd.org Subject: Re: Does uplcom(4) support Bencole 08303? Message-ID: <20020707104439.GO2813@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Craig Rodrigues , current@freebsd.org References: <20020706214854.A9138@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020706214854.A9138@attbi.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jul 06, 2002 at 09:48:54PM -0400, Craig Rodrigues wrote: > > Would the Bencole 08303 cable be supported by the uplcom(4) driver? > > I can't tell on the manufacturer's web site, nor on the packaging > for the cable itself if it is based on the > Prolific PL-2303 chipset or not. > Sorry Craig I don't know. Maybe you could purchase one on sale or return. If it works be sure to let us know won't you? :). Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 3:47:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7146737B400 for ; Sun, 7 Jul 2002 03:47:10 -0700 (PDT) Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA16843E09 for ; Sun, 7 Jul 2002 03:47:09 -0700 (PDT) (envelope-from joe@tao.org.uk) Received: by tao.org.uk (Postfix, from userid 100) id 72689A8; Sun, 7 Jul 2002 11:46:38 +0100 (BST) Date: Sun, 7 Jul 2002 11:46:38 +0100 From: Josef Karthauser To: Julian Elischer Cc: FreeBSD current users Subject: Re: KSE M-III status & junior hacker project. Message-ID: <20020707104638.GP2813@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Julian Elischer , FreeBSD current users References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jul 06, 2002 at 04:57:08PM -0700, Julian Elischer wrote: > > Well with various hints from here and there I have fixed > the ^Z/fg problem (at least it seems fixed to me and others that > have tested) This basically leaves only one outstanding > problem that I know of which is a problem that Warner has with a > particular progam. (This may also be fixed but I don't know) > > If anyone knows of something that was broken by the KSE commit, > (i.e. it worked just before and not after) and is STILL > broken please let me know because I think I can pretty much declare that > chapter finished, and I'd like to get on with "extending" KSE > functionality. This will be the start of Milestone IV, which would be > add support for threads to run on multiple processors. > Coincident with that some work should also proceed on gradually > identifying and cleaning up places in the kernel where multithreading > is just not ready.. e.g. which thread status do you get when you type ^T? I've absolutely no idea what's causing it, but I'm still having random reboots of current after some uptime with no dumps. I'll install a new kernel today and report back if it still happens. Maybe someone can help me to track it down. Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 4: 3:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DCA437B400 for ; Sun, 7 Jul 2002 04:03:54 -0700 (PDT) Received: from mail.unixguru.nl (cc49923-a.emmen1.dr.nl.home.com [212.204.178.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2057A43E4A for ; Sun, 7 Jul 2002 04:03:53 -0700 (PDT) (envelope-from richard@unixguru.nl) Received: from mail (mail [192.168.10.4]) by mail.unixguru.nl (8.12.5/8.12.5) with ESMTP id g67B3o0S039823 for ; Sun, 7 Jul 2002 13:03:51 +0200 (CEST) (envelope-from richard@unixguru.nl) Date: Sun, 7 Jul 2002 13:03:50 +0200 (CEST) From: Richard To: FreeBSD current users Subject: Build errors in /usr/src/gnu/usr.bin/cc/cc1plus with today's current In-Reply-To: <20020707104638.GP2813@genius.tao.org.uk> Message-ID: <20020707125248.B96504-100000@mail.unixguru.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, The last few days I unable to get a complete make world. This morning I did a make clean in /usr/src and a rm -rf /usr/obj. After this cvsup (from cvsup.freebsd.org) I started make world, then i'm getting the folowing errors: /usr/src/gnu/usr.bin/cc/cc_tools/freebsd-native.h:61:25: attempt to use poisoned "malloc" /usr/src/gnu/usr.bin/cc/cc_tools/freebsd-native.h:62:25: attempt to use poisoned "calloc" /usr/src/gnu/usr.bin/cc/cc_tools/freebsd-native.h:63:25: attempt to use poisoned "realloc" /usr/src/gnu/usr.bin/cc/cc_tools/freebsd-native.h:64:25: attempt to use poisoned "strdup" mkdep: compile failed *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/cc1plus. Yesterday after a good make world, make installworld (in single user) produced a debug prompt (dont't have logging anymore :-( ), could it be that that caused the problems I have now? Greetings, Richard. ---- An OS is like swiss cheese, the bigger it is, the more holes you get! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 4:27:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFBBB37B400; Sun, 7 Jul 2002 04:27:35 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 6AA8E43E31; Sun, 7 Jul 2002 04:27:34 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 7 Jul 2002 12:27:33 +0100 (BST) To: Don Lewis Cc: Georg.Koltermann@mscsoftware.com, obrien@FreeBSD.ORG, current@FreeBSD.ORG, mckusick@mckusick.com Subject: Re: dump(8) is hosed In-Reply-To: Your message of "Sat, 06 Jul 2002 21:57:24 PDT." <200207070458.g674wI0M021931@gw.catspoiler.org> Date: Sun, 07 Jul 2002 12:27:31 +0100 From: Ian Dowse Message-ID: <200207071227.aa27815@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200207070458.g674wI0M021931@gw.catspoiler.org>, Don Lewis writes: > >I was finally finally able to reproduce this by creating a large file >before doing the dump. Dump(8) is *very* hosed. The UFS2 import broke >it's ability to follow multiple levels of indirect blocks. Thanks for tracking this down! One thing is that the code was using the static pointers to avoid having to malloc and free blocks every time. Keeping an array of NIADDR pointers and using `ind_level' as the index is an alternative (patch below) - I doubt the performance difference is noticable but it avoids having to remember the free() before each return. I'll commit your printf format changes first anyway - thanks! Ian Index: traverse.c =================================================================== RCS file: /dump/FreeBSD-CVS/src/sbin/dump/traverse.c,v retrieving revision 1.19 diff -u -r1.19 traverse.c --- traverse.c 21 Jun 2002 06:17:57 -0000 1.19 +++ traverse.c 7 Jul 2002 10:44:55 -0000 @@ -275,10 +275,13 @@ { int ret = 0; int i; - static caddr_t idblk; + static caddr_t idblks[NIADDR]; + caddr_t idblk; - if (idblk == NULL && (idblk = malloc(sblock->fs_bsize)) == NULL) + if (idblks[ind_level] == NULL && + (idblks[ind_level] = malloc(sblock->fs_bsize)) == NULL) quit("dirindir: cannot allocate indirect memory.\n"); + idblk = idblks[ind_level]; bread(fsbtodb(sblock, blkno), idblk, (int)sblock->fs_bsize); if (ind_level <= 0) { for (i = 0; *filesize > 0 && i < NINDIR(sblock); i++) { @@ -501,10 +505,13 @@ dmpindir(ino_t ino, ufs2_daddr_t blk, int ind_level, off_t *size) { int i, cnt; - static caddr_t idblk; + static caddr_t idblks[NIADDR]; + caddr_t idblk; - if (idblk == NULL && (idblk = malloc(sblock->fs_bsize)) == NULL) + if (idblks[ind_level] == NULL && + (idblks[ind_level] = malloc(sblock->fs_bsize)) == NULL) quit("dmpindir: cannot allocate indirect memory.\n"); + idblk = idblks[ind_level]; if (blk != 0) bread(fsbtodb(sblock, blk), idblk, (int) sblock->fs_bsize); else To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 4:38:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D16737B401 for ; Sun, 7 Jul 2002 04:38:21 -0700 (PDT) Received: from relay5.kornet.net (relay5.kornet.net [211.48.62.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id D87EF43E52 for ; Sun, 7 Jul 2002 04:38:20 -0700 (PDT) (envelope-from leaders06@kornet.net) Received: from ursxsearj57rfwb (61.73.153.80) by relay5.kornet.net; 7 Jul 2002 20:38:18 +0900 Message-ID: <3d28282a3d87d7f1@relay5.kornet.net> (added by relay5.kornet.net) From: =?ks_c_5601-1987?B?x9Gw5riuxKG//sDMxay3tA==?= To: freebsd-current@freebsd.org Subject: =?ks_c_5601-1987?B?W7GksO1dIGZyZWVic2QtY3VycmVudLTUIL7Is+fHz73KtM+x7j8gxvK7/bW/vsgstOe9xcC7IL/VwLi3ziC48L3KtM+02SE=?= Date: Sun, 07 Jul 2002 20:38:39 +0900 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0207_01C0F38A.93A39C00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0207_01C0F38A.93A39C00 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: base64 x9GxubDmwaYguK7Eob/+wMwgxay3tCAgIA0KDQogICAgIA0KDQogICAgIA0KDQogICAgIA0K DQogICAgIA0KDQogICAgICANCg0KICAgICANCg0KICAgICANCg0KICAgICANCg0KICAgICAN Cg0KICAgICANCg0KICANCrHNx8/AxyC9wrb0vvjAzCDIq7q4vLogwPzA2iC/7MbtwLsguriz u7DUILXIIMGhIMGkwd/I9yC757D6ILXluLO0z7TZLg0KIMGkurjF673FuMHAzL/rw8vB+Ln9 ILHUwaTAuyDB2Lz2x8+/qSCxpLDtuN7Az8DTwLsgIMelvcPHz7+0wLi45ywgvPa9xbDFus4g wOXEobimILi2t8PHz7DtIMDWvcC0z7TZLg0KCQkJCQmxzcfPwMcgwPzA2iC/7MbtIMHWvNK0 wiDAzsXNs90gu/PAxyCw+LCztcggwOW80r+hvK0gvcC15sfPv7TAuLjnLCAgwPrI8bTCILHN x8/AxyDA/MDav+zG7SDB1rzSIL/cDQogvu62sMfRILCzwM7BpLq4tbUgsKHB9rDtIMDWwfYg vsrAuLnHt84gvsi9ycfPvcOx4iC52bb4tM+02S4NCgkJCQkJvPa9xcC7IL/4xKEgIL7KwLi9 w7jpILz2vcWwxbrOuKYgxay4r8fYICDB1r3KvcO/5C4NCiANCiAgIA== ------=_NextPart_000_0207_01C0F38A.93A39C00 Content-Type: text/html; charset="ks_c_5601-1987" Content-Transfer-Encoding: base64 PCEtLSBzYXZlZCBmcm9tIHVybD0oMDAyMilodHRwOi8vaW50ZXJuZXQuZS1tYWlsIC0tPg0K PCEtLSBzYXZlZCBmcm9tIHVybD0oMDAyMilodHRwOi8vaW50ZXJuZXQuZS1tYWlsIC0tPg0K PGh0bWw+DQoNCjxoZWFkPg0KPHRpdGxlPsfRsbmw5sGmILiuxKG//sDMIMWst7Q8L3RpdGxl Pg0KPG1ldGEgbmFtZT0iZ2VuZXJhdG9yIiBjb250ZW50PSJOYW1vIFdlYkVkaXRvciB2NC4w Ij4NCjwvaGVhZD4NCg0KPGJvZHkgYmdjb2xvcj0id2hpdGUiIHRleHQ9ImJsYWNrIiBsaW5r PSJibHVlIiB2bGluaz0icHVycGxlIiBhbGluaz0icmVkIj4NCjx0YWJsZSBhbGlnbj0iY2Vu dGVyIiBib3JkZXI9IjAiIGNlbGxwYWRkaW5nPSIwIiBjZWxsc3BhY2luZz0iMCIgd2lkdGg9 IjY1OCI+DQogICAgPHRyPg0KICAgICAgICA8dGQ+DQogICAgICAgICAgICA8cD48aW1nIHNy Yz0iaHR0cDovL3d3dy5tYWlscGFydG5lci5jby5rci9lbWFpbC8wNDIyL2ltYWdlL2ltZ18w MS5naWYiIHdpZHRoPSI2NTgiIGhlaWdodD0iMTAyIiBib3JkZXI9IjAiPjwvcD4NCiAgICAg ICAgPC90ZD4NCiAgICA8L3RyPg0KICAgIDx0cj4NCiAgICAgICAgPHRkPg0KICAgICAgICAg ICAgPHA+PGltZyBzcmM9Imh0dHA6Ly93d3cubWFpbHBhcnRuZXIuY28ua3IvZW1haWwvMDQy Mi9pbWFnZS9pbWdfMDIuZ2lmIiB3aWR0aD0iNjU4IiBoZWlnaHQ9IjE4NiIgYm9yZGVyPSIw Ij48L3A+DQogICAgICAgIDwvdGQ+DQogICAgPC90cj4NCiAgICA8dHI+DQogICAgICAgIDx0 ZD4NCiAgICAgICAgICAgIDxwPjxpbWcgc3JjPSJodHRwOi8vd3d3Lm1haWxwYXJ0bmVyLmNv LmtyL2VtYWlsLzA0MjIvaW1hZ2UvaW1nXzAzLmdpZiIgd2lkdGg9IjY1OCIgaGVpZ2h0PSI1 NSIgYm9yZGVyPSIwIiB1c2VtYXA9IiNJbWFnZU1hcDEiPjwvcD4NCiAgICAgICAgPC90ZD4N CiAgICA8L3RyPg0KICAgIDx0cj4NCiAgICAgICAgPHRkPg0KICAgICAgICAgICAgPHA+PGlt ZyBzcmM9Imh0dHA6Ly93d3cubWFpbHBhcnRuZXIuY28ua3IvZW1haWwvMDQyMi9pbWFnZS9p bWdfMDQuZ2lmIiB3aWR0aD0iNjU4IiBoZWlnaHQ9IjEzOCIgYm9yZGVyPSIwIj48L3A+DQog ICAgICAgIDwvdGQ+DQogICAgPC90cj4NCiAgICA8dHI+DQogICAgICAgIDx0ZD4NCiAgICAg ICAgICAgIDxwPjxpbWcgc3JjPSJodHRwOi8vd3d3Lm1haWxwYXJ0bmVyLmNvLmtyL2VtYWls LzA0MjIvaW1hZ2UvaW1nXzA1LmdpZiIgd2lkdGg9IjY1OCIgaGVpZ2h0PSI0NiIgYm9yZGVy PSIwIj48L3A+DQogICAgICAgIDwvdGQ+DQogICAgPC90cj4NCiAgICA8dHI+DQogICAgICAg IDx0ZD4NCiAgICAgICAgICAgIA0KICAgICAgPHA+PGltZyBzcmM9Imh0dHA6Ly93d3cubWFp bHBhcnRuZXIuY28ua3IvZW1haWwvMDQyMi9pbWFnZS9pbWdfMDYuZ2lmIiB3aWR0aD0iNjU4 IiBoZWlnaHQ9IjE4MyIgYm9yZGVyPSIwIiB1c2VtYXA9IiNNYXAiPjwvcD4NCiAgICAgICAg PC90ZD4NCiAgICA8L3RyPg0KICAgIDx0cj4NCiAgICAgICAgPHRkPg0KICAgICAgICAgICAg PHA+PGltZyBzcmM9Imh0dHA6Ly93d3cubWFpbHBhcnRuZXIuY28ua3IvZW1haWwvMDQyMi9p bWFnZS9pbWdfMDcuZ2lmIiB3aWR0aD0iNjU4IiBoZWlnaHQ9IjEwOSIgYm9yZGVyPSIwIj48 L3A+DQogICAgICAgIDwvdGQ+DQogICAgPC90cj4NCiAgICA8dHI+DQogICAgICAgIDx0ZD4N CiAgICAgICAgICAgIDxwPjxpbWcgc3JjPSJodHRwOi8vd3d3Lm1haWxwYXJ0bmVyLmNvLmty L2VtYWlsLzA0MjIvaW1hZ2UvaW1nXzA4LmdpZiIgd2lkdGg9IjY1OCIgaGVpZ2h0PSIxMTQi IGJvcmRlcj0iMCI+PC9wPg0KICAgICAgICA8L3RkPg0KICAgIDwvdHI+DQogICAgPHRyPg0K ICAgICAgICA8dGQ+DQogICAgICAgICAgICA8cD48aW1nIHNyYz0iaHR0cDovL3d3dy5tYWls cGFydG5lci5jby5rci9lbWFpbC8wNDIyL2ltYWdlL2ltZ18wOS5naWYiIHdpZHRoPSI2NTgi IGhlaWdodD0iMTM2IiBib3JkZXI9IjAiPjwvcD4NCiAgICAgICAgPC90ZD4NCiAgICA8L3Ry Pg0KICAgIDx0cj4NCiAgICAgICAgPHRkPg0KICAgICAgICAgICAgPHA+PGltZyBzcmM9Imh0 dHA6Ly93d3cubWFpbHBhcnRuZXIuY28ua3IvZW1haWwvMDQyMi9pbWFnZS9pbWdfMTAuZ2lm IiB3aWR0aD0iNjU4IiBoZWlnaHQ9IjU0IiBib3JkZXI9IjAiIHVzZW1hcD0iI0ltYWdlTWFw MiI+PC9wPg0KICAgICAgICA8L3RkPg0KICAgIDwvdHI+DQogICAgPHRyPg0KICAgICAgICA8 dGQ+DQogICAgICAgICAgICA8cD48aW1nIHNyYz0iaHR0cDovL3d3dy5tYWlscGFydG5lci5j by5rci9lbWFpbC8wNDIyL2ltYWdlL2ltZ18xMS5naWYiIHdpZHRoPSI2NTgiIGhlaWdodD0i MzgiIGJvcmRlcj0iMCI+PC9wPg0KICAgICAgICA8L3RkPg0KICAgIDwvdHI+DQo8L3RhYmxl Pg0KPHRhYmxlIHdpZHRoPSI2NTgiIGJvcmRlcj0iMCIgYWxpZ249ImNlbnRlciI+DQo8dHI+ PHRkIGJnY29sb3I9IiNlNmU2ZTYiIGFsaWduPSJjZW50ZXIiPjxzcGFuIHN0eWxlPSJmb250 LXNpemU6OXB0OyI+PGJyPrHNx8/AxyC9wrb0vvjAzCDIq7q4vLogwPzA2iC/7MbtwLsguriz u7DUILXIIMGhIMGkwd/I9yC757D6ILXluLO0z7TZLjxicj4NCiAgICAgICAgICAgICAgICAg ICAgwaS6uMXrvcW4wcDMv+vDy8H4uf0gsdTBpMC7IMHYvPbHz7+pIDxiPjxmb250IGNvbG9y PSIjRkYwMDAwIj6xpLDtuN7AzzwvZm9udD48L2I+wNPAuyANCiAgICAgICAgICAgICAgICAg ICAgx6W9w8fPv7TAuLjnLCC89r3FsMW6ziDA5cShuKYguLa3w8fPsO0gwNa9wLTPtNkuPGJy Pg0KCQkJCQmxzcfPwMcgwPzA2iC/7MbtIMHWvNK0wiDAzsXNs90gu/PAxyCw+LCztcggwOW8 0r+hvK0gvcC15sfPv7TAuLjnLCANCiAgICAgICAgICAgICAgICAgICAgwPrI8bTCILHNx8/A xyDA/MDav+zG7SDB1rzSIL/cPGJyPiC+7rawx9EgsLPAzsGkuri1tSCwocH2sO0gwNbB9iC+ ysC4uce3ziC+yL3Jx8+9w7HiILnZtvi0z7TZLjxicj4NCgkJCQkJvPa9xcC7IL/4xKEgDQog ICAgICAgICAgICAgICAgICAgIL7KwLi9w7jpIDxhIGhyZWY9Im1haWx0bzpoeXVuMTAzMTBA a29ybmV0Lm5ldCI+PGZvbnQgY29sb3I9ImJsdWUiPrz2vcWwxbrOPC9mb250PjwvYT64piDF rLivx9ggDQogICAgICAgICAgICAgICAgICAgIMHWvcq9w7/kLjwvc3Bhbj48YnI+Jm5ic3A7 PC90ZD48L3RyPjwvdGFibGU+DQo8YnI+DQo8bWFwIG5hbWU9IkltYWdlTWFwMSI+DQo8YXJl YSBzaGFwZT0icmVjdCIgY29vcmRzPSIxMCwgNywgMTU4LCA1MyIgaHJlZj0iaHR0cDovL3d3 dy5tYWlscGFydG5lci5jby5rci9lbWFpbC8wNDIyL2lucHV0LmFzcCIgdGFyZ2V0PSJfYmxh bmsiPg0KPC9tYXA+PG1hcCBuYW1lPSJJbWFnZU1hcDIiPg0KPGFyZWEgc2hhcGU9InJlY3Qi IGNvb3Jkcz0iNTAyLCAzLCA2NTMsIDQ5IiBocmVmPSJodHRwOi8vd3d3Lm1haWxwYXJ0bmVy LmNvLmtyL2VtYWlsLzA0MjIvaW5wdXQuYXNwIiB0YXJnZXQ9Il9ibGFuayI+DQo8L21hcD4N CjxtYXAgbmFtZT0iTWFwIj4NCiAgPGFyZWEgc2hhcGU9InJlY3QiIGNvb3Jkcz0iNDUsMywy MjEsMTgwIiBocmVmPSJodHRwOi8vd3d3Lm1haWxwYXJ0bmVyLmNvLmtyL2VtYWlsLzA0MjIv aW5wdXQuYXNwIiB0YXJnZXQ9Il9ibGFuayI+DQogIDxhcmVhIHNoYXBlPSJyZWN0IiBjb29y ZHM9IjI0MCwzLDQxNSwxODAiIGhyZWY9Imh0dHA6Ly93d3cubWFpbHBhcnRuZXIuY28ua3Iv ZW1haWwvMDQyMi9pbnB1dC5hc3AiIHRhcmdldD0iX2JsYW5rIj4NCiAgPGFyZWEgc2hhcGU9 InJlY3QiIGNvb3Jkcz0iNDM0LDMsNjEwLDE4MSIgaHJlZj0iaHR0cDovL3d3dy5tYWlscGFy dG5lci5jby5rci9lbWFpbC8wNDIyL2lucHV0LmFzcCIgdGFyZ2V0PSJfYmxhbmsiPg0KPC9t YXA+DQo8L2JvZHk+DQoNCjwvaHRtbD4NCg== ------=_NextPart_000_0207_01C0F38A.93A39C00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 4:39:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58ABC37B401; Sun, 7 Jul 2002 04:39:45 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E16E143E52; Sun, 7 Jul 2002 04:39:44 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.3/8.12.3) with ESMTP id g67BfJ0M022797; Sun, 7 Jul 2002 04:41:23 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207071141.g67BfJ0M022797@gw.catspoiler.org> Date: Sun, 7 Jul 2002 04:40:22 -0700 (PDT) From: Don Lewis Subject: Re: dump(8) is hosed To: iedowse@maths.tcd.ie Cc: Georg.Koltermann@mscsoftware.com, obrien@FreeBSD.ORG, current@FreeBSD.ORG, mckusick@mckusick.com In-Reply-To: <200207071227.aa27815@salmon.maths.tcd.ie> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 7 Jul, Ian Dowse wrote: > In message <200207070458.g674wI0M021931@gw.catspoiler.org>, Don Lewis writes: >> >>I was finally finally able to reproduce this by creating a large file >>before doing the dump. Dump(8) is *very* hosed. The UFS2 import broke >>it's ability to follow multiple levels of indirect blocks. > > Thanks for tracking this down! One thing is that the code was using > the static pointers to avoid having to malloc and free blocks every > time. Keeping an array of NIADDR pointers and using `ind_level' as > the index is an alternative (patch below) - I doubt the performance > difference is noticable but it avoids having to remember the free() > before each return. Prior to the UFS2 import, the code used an automatic array on the stack, which was even cleaner. If you want to dynamically size the array and don't mind a potential portability problem you could use alloca(). The only time you'll take the performance hit is on large files, since the small ones won't have indirect blocks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 6: 2: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3C4B37B400 for ; Sun, 7 Jul 2002 06:01:58 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A35C43E31 for ; Sun, 7 Jul 2002 06:01:46 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.4/8.12.4) with ESMTP id g67D1k25069563 for ; Sun, 7 Jul 2002 06:01:46 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.4/8.12.4/Submit) id g67D1kEM069562 for current@freebsd.org; Sun, 7 Jul 2002 06:01:46 -0700 (PDT) Date: Sun, 7 Jul 2002 06:01:46 -0700 (PDT) From: David Wolfskill Message-Id: <200207071301.g67D1kEM069562@bunrab.catwhisker.org> To: current@freebsd.org Subject: "panic: lockmgr: locking against myself" with yesterday's -CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I got the word about the changes to vfs_subr.c & vfs_bio.c fixing the "hang" at shutdown for yesterday's -CURRENT fairly late in the day yesterday, and since the problem didn't seem (as far as I could tell) to affect normal operation, I figured I'd just pick up the change at the following update (which would be this morning). However, once I started the "make -j8 buildworld" on this SMP machine (this morning), I got a panic. Here's a cut-and-paste from the serial console: Recovering vi editor sessions:. Initial rc.i386 initialization:. Configuring syscons: blanktime. Additional ABI support:. Local package initiCalization:reating DISK md10 md10: invalid primary partition table: no magic md10: invalid primary partition table: no magic [1] 232 Floating point exception (core dumped) Jul 7 05:41:21 freebeast kernel: pid 232 (newfs), uid 0: exited on signal 8 (core dumped) apache cvsupd . Additional TCP options:. Starting background filesystem checks Sun Jul 7 05:41:23 PDT 2002 FreeBSD/i386 (freebeast.catwhisker.org) (cuaa0) login: panic: lockmgr: locking against myself cpuid = 0; lapic.id = 00000000 Debugger("panic") Stopped at Debugger+0x46: xchgl %ebx,in_Debugger.0 db> tr Debugger(c030085a) at Debugger+0x46 panic(c02fe680,7,0,ce6811c0,2010022) at panic+0xd6 lockmgr(ce6811c0,2010022,c0347060,c1584cc0) at lockmgr+0x36b BUF_TIMELOCK(ce681114,22,c03085c1,0,0) at BUF_TIMELOCK+0x62 getblk(c421a200,e44030,0,2000,0) at getblk+0x97 breadn(c421a200,e44030,0,2000,0) at breadn+0x2f bread(c421a200,e44030,0,2000,0,d69d7920) at bread+0x20 ffs_blkfree(c41ad800,c421a200,723f8e,0,400) at ffs_blkfree+0x2ba ffs_truncate(c469a300,0,0,0,0) at ffs_truncate+0xff5 ufs_inactive(d69d7bac,d69d7bc4,c01eecd1,d69d7bac,c03312c0) at ufs_inactive+0x8e ufs_vnoperate(d69d7bac) at ufs_vnoperate+0x13 vrele(c469a300,ce76ce60,c46a5258,d69d7bec,c029d4fd) at vrele+0xb1 vm_object_vndeallocate(c46a5258,ce76ce60,ce76ce60,d69d7bfc,c01ee0c6) at vm_object_vndeallocate+0x6e vm_object_deallocate(c46a5258,c09b5334,d69d7c14,c01e3673,ce76ce60) at vm_object_deallocate+0x35 brelvp(ce76ce60) at brelvp+0xd2 vfs_vmio_release(ce76ce60) at vfs_vmio_release+0x14f getnewbuf(0,0,2000,4000,200010a4) at getnewbuf+0x15e geteblk(2000,0,c02fe5e2,23b,ce681114) at geteblk+0x23 bwrite(ce681114,d69d7cb0,c0188a5d,ce681114,2710) at bwrite+0x126 bawrite(ce681114) at bawrite+0x14 spec_fsync(d69d7ce0,d69d7d1c,c01ee24a,d69d7ce0,3d2837b7) at spec_fsync+0xc9 spec_vnoperate(d69d7ce0,3d2837b7,c41ba200,c0331380,c41b6e00) at spec_vnoperate+0x13 sched_sync(0,d69d7d48,c1584cc0,c01ee154,0) at sched_sync+0xf6 fork_exit(c01ee154,0,d69d7d48) at fork_exit+0xa8 fork_trampoline() at fork_trampoline+0x37 db> show pcpu 0 cpuid = 0 curthread = 0xc1584cc0: pid 7 "syncer" curpcb = 0xd69d7da0 fpcurthread = none idlethread = 0xc1583d80: pid 12 "idle: cpu0" currentldt = 0x28 spin locks held: db> show pcpu 1 cpuid = 1 curthread = 0xc1583e40: pid 11 "idle: cpu1" curpcb = 0xd699eda0 fpcurthread = none idlethread = 0xc1583e40: pid 11 "idle: cpu1" currentldt = 0x28 spin locks held: db> show locks exclusive sleep mutex Giant r = 1 (0xc0340d00) locked @ /usr/src/sys/vm/vm_object.c:1721 db> I'm going ahead and sending this in because it seems fairly different from the traceback that was reported for yesterday's "hang", so there might be some other problem that is shows. I will go ahead and reboot, and upgrade the kernel first, then see how a "make buildworld" goes. Cheers, david -- David H. Wolfskill david@catwhisker.org Trying to support or use Microsoft products makes about as much sense as painting the outside of a house with watercolors. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 6:27:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CDE837B400; Sun, 7 Jul 2002 06:27:17 -0700 (PDT) Received: from mobile.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id D759643E52; Sun, 7 Jul 2002 06:27:15 -0700 (PDT) (envelope-from dirkx@covalent.net) Received: from localhost.leiden.webweaving.org (localhost.leiden.webweaving.org [127.0.0.1] (may be forged)) by mobile.webweaving.org (8.12.2/8.10.2) with ESMTP id g67DNoDH002991; Sun, 7 Jul 2002 15:23:50 +0200 (CEST) X-Curiosity: Killed the Cat X-Huis-aan-Huis-deur-sticker: nee-nee X-Spam: no X-Passed: MX on Gandalf.WebWeaving.org Sun, 7 Jul 2002 15:23:50 +0200 (CEST) and masked X-No-Spam: Neither the receipients nor the senders email address(s) are to be used for Unsolicited (Commercial) Email without the explicit written consent of either party; as a per-message fee is incurred for inbound and outbound traffic to the originator. Date: Sun, 7 Jul 2002 15:23:50 +0200 (CEST) From: dirkx@covalent.net X-X-Sender: dirkx@mobile.webweaving.org To: dl-freebsd@catspoiler.org Cc: Georg.Koltermann@mscsoftware.com, obrien@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: dump(8) is hosed In-Reply-To: <200207070045.g670jC0M021663@gw.catspoiler.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 6 Jul 2002, Don Lewis wrote: > > For me it is broken in a different way. For a small FS like / it works, > > but dumping my /home, which is 4G, I get > > > > DUMP: read error from /dev/ad0s5e: Invalid argument: [sector -1054739789]: count=-1 > > DUMP: read error from /dev/ad0s5e: Invalid argument: [sector -1054739788]: count=-1 ... > I'm not able to reproduce this here on a freshly built 11 GB filesystem. > It only contains about 2 GB of data, but the data is fairly uniformly > spread over all the cylinder groups. I'm running a version of -current > built Fri Jul 5 13:07:05 PDT 2002, though I don't recall seeing any > likely looking commits since the first report of this problem. This seems very similar to the dump() problem I reported a week ago. I've not been able to reproduce this on machines with a recent newfs; only on older disk which have been in use for a longer period of time and have filled up a few times. It may be some fragementation or splitting/following through of references which is the issue. When booting into a 4.1 cdrom; and then mounting the second cdrom with the full file system/fixit -> a dump works fine. So it is almost certainly -CURRENT related. Dw. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 8: 7: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA86237B400 for ; Sun, 7 Jul 2002 08:07:01 -0700 (PDT) Received: from orion.gate5.de (orion.gate5.de [212.84.193.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 658FD43E42 for ; Sun, 7 Jul 2002 08:07:00 -0700 (PDT) (envelope-from erdgeist@gate5.de) Received: (qmail 77542 invoked by uid 1075); 7 Jul 2002 15:05:46 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 7 Jul 2002 15:05:46 -0000 Date: Sun, 7 Jul 2002 17:05:46 +0200 (CEST) From: Dirk Engling Reply-To: erdgeist@gate5.de To: freebsd-current@freebsd.org Subject: Fatal double fault Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Fatal double fault: eip = 0xc01f75ba esp = 0xcdcecff8 ebp = 0xcdced03c panic: double fault Debugger("panic") Stopped at Debugger+0x45: xchgl %ebx,in_Debugger.0 db> trace Debugger(c02324bfc) at Debugger+0x45 panic(c034cf19,c034d445,cdced03c,0,0) at panic+0x74 dblfault_handler(c03aa510,c03aa598,c03aa620,0,0) at dblfault_handler+0x52 This happened, while I tried to recompile my kernel which tends to stop all tasks after a random uptime. In this state I can ^Z the task but am not able to start any new tasks from the shell, and have to power-switch the machine down. Any suggestions? Regards erdgeist ----------------------------------------- fnord! id 0x17B701E5 size 1024 | type rsa 11F8 8FF3 0508 09F9 DC6A 2AB3 AA67 C8CF To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 8:29:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E30737B49C for ; Sun, 7 Jul 2002 08:29:10 -0700 (PDT) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6444443E42 for ; Sun, 7 Jul 2002 08:29:09 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd01.sul.t-online.de by mailout11.sul.t-online.com with smtp id 17RDyD-0003pv-05; Sun, 07 Jul 2002 17:29:05 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.215.231]) by fmrl01.sul.t-online.com with esmtp id 17RDxz-1KuFE0C; Sun, 7 Jul 2002 17:28:51 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g67FSox71668; Sun, 7 Jul 2002 17:28:50 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.3/8.12.3) with ESMTP id g67FShJX053056; Sun, 7 Jul 2002 17:28:47 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200207071528.g67FShJX053056@Magelan.Leidinger.net> Date: Sun, 7 Jul 2002 17:28:43 +0200 (CEST) From: Alexander Leidinger Subject: Re: Removing perl in make world To: sheldonh@starjuice.net Cc: current@FreeBSD.ORG In-Reply-To: <20020705152402.GD775@starjuice.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 5 Jul, Sheldon Hearn wrote: > If you want to clean out crap left behind by `make world', just do this: > > make world > rm -r /usr/include # Make world really should overwrite > make installincludes # header files! > find /bin /sbin /usr/bin /usr/sbin /usr/lib /usr/libexec /usr/share \ > -type f -mtime +1 -delete Just a side note for those who want to try this: - you need to mkdir /usr/include after the rm - you delete init.bak this way Bye, Alexander. -- I believe the technical term is "Oops!" http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 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 Sun Jul 7 9: 7:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 508CC37B400 for ; Sun, 7 Jul 2002 09:07:20 -0700 (PDT) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A5BF43E09 for ; Sun, 7 Jul 2002 09:07:19 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd07.sul.t-online.de by mailout03.sul.t-online.com with smtp id 17REZB-0001qV-0D; Sun, 07 Jul 2002 18:07:17 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.215.231]) by fmrl07.sul.t-online.com with esmtp id 17REZ9-1kCC5wC; Sun, 7 Jul 2002 18:07:15 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g67G7Ex71774 for ; Sun, 7 Jul 2002 18:07:14 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.3/8.12.3) with ESMTP id g67G78JX076844 for ; Sun, 7 Jul 2002 18:07:12 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200207071607.g67G78JX076844@Magelan.Leidinger.net> Date: Sun, 7 Jul 2002 18:07:08 +0200 (CEST) From: Alexander Leidinger Subject: buildkernel error with ENABLE_VFS_IOOPT/ZERO_COPY_SOCKETS To: current@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, -current from today fails in kern/kern_subr.c: ../../../kern/kern_subr.c:220: warning: function declaration isn't a prototype ---snip--- #if defined(ENABLE_VFS_IOOPT) || defined(ZERO_COPY_SOCKETS) /* * Experimental support for zero-copy I/O */ static int userspaceco(cp, cnt, uio, obj, disposable) caddr_t cp; u_int cnt; struct uio *uio; struct vm_object *obj; int disposable; { ---snip--- Bye, Alexander. -- Weird enough for government work. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 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 Sun Jul 7 9:18:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CCCE37B400 for ; Sun, 7 Jul 2002 09:18:42 -0700 (PDT) Received: from prism.flugsvamp.com (66-191-112-47.mad.wi.charter.com [66.191.112.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AEF343E09 for ; Sun, 7 Jul 2002 09:18:41 -0700 (PDT) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.6/8.11.6) id g67GHRR77928; Sun, 7 Jul 2002 11:17:27 -0500 (CDT) (envelope-from jlemon) Date: Sun, 7 Jul 2002 11:17:27 -0500 From: Jonathan Lemon To: David Xu Cc: Jonathan Lemon , David Schultz , current@FreeBSD.ORG Subject: Re: i386 trap code Message-ID: <20020707111727.A77366@prism.flugsvamp.com> References: <20020706110658.A36596@prism.flugsvamp.com> <20020707065950.88612.qmail@web20901.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20020707065950.88612.qmail@web20901.mail.yahoo.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jul 06, 2002 at 11:59:50PM -0700, David Xu wrote: > Jonthan, > > I just use DOS program as an example, for any program, if it wants to go > into VM86 mode, it is very easy, just calls i386_vm86() to initailize its > VM86 pcb extension, setups some memory area, then call sigreturn() to turn > into VM86 mode. > I think global in_vm86call flags is a bug under SMP, it creates a race > condition. suppose this scenario: > CPU A is running a simple VM86 code program. > CPU B is running vm86_intcall() by some kernel driver (vesa module ?) > CPU B set in_vm86call = 1 > CPU A gets a fault trap. > CPU A runs trap(), and find that in_vm86call is set and handles the trap > as it is running vm86_intcall(), but it is not true and make a mess. Yes, as I mentioned earlier, the way the original vm86 bioscall worked was to prevent an AST until the BIOS was done. This relied on the giant lock for correctness, since we only allowed one CPU into the kernel at once. There probably needs to be some work done for -current in this area. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 9:40:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA71337B400 for ; Sun, 7 Jul 2002 09:40:11 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 219C543E31 for ; Sun, 7 Jul 2002 09:40:11 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020707164010.HWWW903.sccrmhc03.attbi.com@InterJet.elischer.org>; Sun, 7 Jul 2002 16:40:10 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id JAA23742; Sun, 7 Jul 2002 09:38:28 -0700 (PDT) Date: Sun, 7 Jul 2002 09:38:26 -0700 (PDT) From: Julian Elischer To: Dirk Engling Cc: freebsd-current@freebsd.org Subject: Re: Fatal double fault In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG from ddb, type 'ps' On Sun, 7 Jul 2002, Dirk Engling wrote: > > Fatal double fault: > eip = 0xc01f75ba > esp = 0xcdcecff8 > ebp = 0xcdced03c > panic: double fault > Debugger("panic") > Stopped at Debugger+0x45: xchgl %ebx,in_Debugger.0 > db> trace > Debugger(c02324bfc) at Debugger+0x45 > panic(c034cf19,c034d445,cdced03c,0,0) at panic+0x74 > dblfault_handler(c03aa510,c03aa598,c03aa620,0,0) at dblfault_handler+0x52 > > This happened, while I tried to recompile > my kernel which tends to stop all tasks > after a random uptime. > In this state I can ^Z the task but am not > able to start any new tasks from the shell, > and have to power-switch the machine down. > > Any suggestions? > > Regards > > erdgeist > > ----------------------------------------- > fnord! > id 0x17B701E5 size 1024 | type rsa > 11F8 8FF3 0508 09F9 DC6A 2AB3 AA67 C8CF > > > 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 Jul 7 10:53:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11C8137B400 for ; Sun, 7 Jul 2002 10:53:20 -0700 (PDT) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BB1243E65 for ; Sun, 7 Jul 2002 10:53:19 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd03.sul.t-online.de by mailout01.sul.t-online.com with smtp id 17RGDk-0001Xt-0D; Sun, 07 Jul 2002 19:53:16 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.215.231]) by fmrl03.sul.t-online.com with esmtp id 17RGEH-1Ks2pkC; Sun, 7 Jul 2002 19:53:49 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g67HrBx72153 for ; Sun, 7 Jul 2002 19:53:11 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with ESMTP id g67Hr4DN045784 for ; Sun, 7 Jul 2002 19:53:08 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200207071753.g67Hr4DN045784@Magelan.Leidinger.net> Date: Sun, 7 Jul 2002 19:53:04 +0200 (CEST) From: Alexander Leidinger Subject: floating point problems after update from a pre gcc3.1 world To: current@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've updated to todays current from a -current as of May 1 and I get the following error from my mailer (tkrat 2.0.3, written in tcl/tk): ---snip--- expected floating-point number but got "0.0<45132" expected floating-point number but got "0.0<45132" while executing ".f1.t.messlist.scroll set 0.0<45132 1" (vertical scrolling command executed by text) ---snip--- It doesn't crash, the only misbehaving I observe is: after deleting a mail it doesn't advance to the next available mail anymore (and pops up an error box with the above error). Any ideas what the reason is? Bye, Alexander. -- To boldly go where I surely don't belong. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 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 Sun Jul 7 10:59:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09F6437B400 for ; Sun, 7 Jul 2002 10:59:55 -0700 (PDT) Received: from nightmare.lothlorien.no (lothlorien.no [217.8.137.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id A153D43E42 for ; Sun, 7 Jul 2002 10:59:53 -0700 (PDT) (envelope-from killer@lothlorien.no) Received: from vampire.lothlorien.no (vampire.lothlorien.no [192.168.1.1]) by nightmare.lothlorien.no (8.12.3/8.12.3) with ESMTP id g67HxoS9001721 for ; Sun, 7 Jul 2002 19:59:50 +0200 (CEST) (envelope-from killer@lothlorien.no) Subject: Mouse wheel. From: Thomas Ugland To: current@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 07 Jul 2002 19:59:50 +0200 Message-Id: <1026064790.93282.4.camel@vampire.lothlorien.no> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm not sure if this is current releated or XFree releated, but I'm giving it a go here. I updated from -current Jun 27, to a Jul 07 version today, and since that fixed the problem with compiling XFree86-4-Server and libs, I recompiled those and upgraded those. (new'er port versions). Now my mouse wheel only works in one 'direction'. If I try to use the wheel, it looks like it emits the same signal, even if I move it up or down. (It scrolls down). It used to work before I did the upgrades, just cant figure out where the problem is.. (mwheel works correctly in other OS'es). -- Thomas Ugland -> If everything is coming your way then you're in the wrong lane. <- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 11: 3:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0061137B401 for ; Sun, 7 Jul 2002 11:03:44 -0700 (PDT) Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF30D43E3B for ; Sun, 7 Jul 2002 11:03:43 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd10.sul.t-online.de by mailout08.sul.t-online.com with smtp id 17RGNq-00069Q-06; Sun, 07 Jul 2002 20:03:42 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.215.231]) by fmrl10.sul.t-online.com with esmtp id 17RGNl-11pXsGC; Sun, 7 Jul 2002 20:03:37 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g67I3bx72215 for ; Sun, 7 Jul 2002 20:03:37 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with ESMTP id g67I3VDN045848 for ; Sun, 7 Jul 2002 20:03:35 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200207071803.g67I3VDN045848@Magelan.Leidinger.net> Date: Sun, 7 Jul 2002 20:03:31 +0200 (CEST) From: Alexander Leidinger Subject: top core dumps after update from a pre 3.1 system To: current@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've updated to todays -current from a May 1 one. Now I get a core dump in top before it is able tp print the percentages for use, nice and so on. There are two paths to the core dump. First one: ---snip--- (gdb) bt #0 0x2807adc4 in _nc_memmove () from /usr/lib/libncurses.so.5 #1 0x2807b0ef in tgoto () from /usr/lib/libncurses.so.5 #2 0x0804a93a in free () #3 0x0804a3d7 in free () #4 0x0804cb38 in clear () #5 0x080492c0 in free () ---snip--- Next one: ---snip--- (gdb) bt #0 0x281472a0 in __vfprintf () from /usr/lib/libc.so.5 #1 0x281461f8 in __vfprintf () from /usr/lib/libc.so.5 #2 0x28139649 in sprintf () from /usr/lib/libc.so.5 #3 0x0804b2fa in free () #4 0x0804cb2d in clear () #5 0x080492c0 in free () ---snip--- Bye, Alexander. -- It is easier to fix Unix than to live with NT. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 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 Sun Jul 7 11:10:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8456637B401 for ; Sun, 7 Jul 2002 11:10:16 -0700 (PDT) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8549D43E3B for ; Sun, 7 Jul 2002 11:10:15 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd04.sul.t-online.de by mailout06.sul.t-online.com with smtp id 17RGU9-0001jB-01; Sun, 07 Jul 2002 20:10:13 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.215.231]) by fmrl04.sul.t-online.com with esmtp id 17RGTd-1bCFrUC; Sun, 7 Jul 2002 20:09:41 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g67I9ex72254 for ; Sun, 7 Jul 2002 20:09:40 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with ESMTP id g67I9YDN045860 for ; Sun, 7 Jul 2002 20:09:38 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200207071809.g67I9YDN045860@Magelan.Leidinger.net> Date: Sun, 7 Jul 2002 20:09:34 +0200 (CEST) From: Alexander Leidinger Subject: Re: top core dumps after update from a pre 3.1 system To: current@FreeBSD.ORG In-Reply-To: <200207071803.g67I3VDN045848@Magelan.Leidinger.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 7 Jul, An: current@FreeBSD.ORG wrote: > I've updated to todays -current from a May 1 one. Now I get a core dump I hope it's clear that I forgot to put "gcc" in front of "3.1" in the subject... Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 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 Sun Jul 7 11:15: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C610F37B400 for ; Sun, 7 Jul 2002 11:15:03 -0700 (PDT) Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33E6A43E3B for ; Sun, 7 Jul 2002 11:15:03 -0700 (PDT) (envelope-from scottl@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.10.2+Sun/8.10.2) with ESMTP id g67IEor28804; Sun, 7 Jul 2002 11:14:50 -0700 (PDT) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id LAA09286; Sun, 7 Jul 2002 11:14:50 -0700 (PDT) Received: from hollin.btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id MAA10582; Sun, 7 Jul 2002 12:14:47 -0600 (MDT) Received: from hollin.btc.adaptec.com (localhost [127.0.0.1]) by hollin.btc.adaptec.com (8.12.3/8.12.3) with ESMTP id g67IAnrP036443; Sun, 7 Jul 2002 12:10:49 -0600 (MDT) (envelope-from scottl@hollin.btc.adaptec.com) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.12.3/8.12.3/Submit) id g67IAmhI036442; Sun, 7 Jul 2002 12:10:48 -0600 (MDT) Date: Sun, 7 Jul 2002 12:10:48 -0600 From: Scott Long To: Thomas Ugland Cc: current@freebsd.org Subject: Re: Mouse wheel. Message-ID: <20020707181048.GA36415@hollin.btc.adaptec.com> References: <1026064790.93282.4.camel@vampire.lothlorien.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1026064790.93282.4.camel@vampire.lothlorien.no> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 07, 2002 at 07:59:50PM +0200, Thomas Ugland wrote: > I'm not sure if this is current releated or XFree releated, but > I'm giving it a go here. > > I updated from -current Jun 27, to a Jul 07 version today, and > since that fixed the problem with compiling XFree86-4-Server > and libs, I recompiled those and upgraded those. (new'er port > versions). Now my mouse wheel only works in one 'direction'. > > If I try to use the wheel, it looks like it emits the same signal, > even if I move it up or down. (It scrolls down). > > It used to work before I did the upgrades, just cant figure out where > the problem is.. (mwheel works correctly in other OS'es). This happened to me too, and I thought I was going crazy. When I disabled moused and let X talk directly to the mouse, the wheel worked correctly. When I turned on moused debugging, it showed that it was receiving the correct events from the mouse, so I can only assume that the problem is higher up. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 11:34:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D55137B400 for ; Sun, 7 Jul 2002 11:34:56 -0700 (PDT) Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3146543E52 for ; Sun, 7 Jul 2002 11:34:55 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g67IYsY62865; Sun, 7 Jul 2002 12:34:54 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g67IYpG92192; Sun, 7 Jul 2002 12:34:52 -0600 (MDT) (envelope-from imp@village.org) Date: Sun, 07 Jul 2002 12:34:06 -0600 (MDT) Message-Id: <20020707.123406.26740511.imp@village.org> To: joe@tao.org.uk Cc: julian@elischer.org, current@FreeBSD.ORG Subject: Re: KSE M-III status & junior hacker project. From: "M. Warner Losh" In-Reply-To: <20020707104638.GP2813@genius.tao.org.uk> References: <20020707104638.GP2813@genius.tao.org.uk> X-Mailer: Mew version 2.1 on Emacs 21.1 / 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020707104638.GP2813@genius.tao.org.uk> Josef Karthauser writes: : I've absolutely no idea what's causing it, but I'm still having random reboots : of current after some uptime with no dumps. I'll install a new kernel : today and report back if it still happens. Maybe someone can help me to : track it down. I had similar problems when Julian first committed KSE III, but I've not had them since updating to more recent, and stable, kernels. Now I get random panics with core dumps :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 11:48:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB80437B400 for ; Sun, 7 Jul 2002 11:48:29 -0700 (PDT) Received: from CPE0030ab0ef2bb.cpe.net.cable.rogers.com (CPE0030ab0ef2bb.cpe.net.cable.rogers.com [24.103.202.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C31743E31 for ; Sun, 7 Jul 2002 11:48:29 -0700 (PDT) (envelope-from munish@CPE0030ab0ef2bb.cpe.net.cable.rogers.com) Received: by CPE0030ab0ef2bb.cpe.net.cable.rogers.com (Postfix, from userid 1001) id 54D4F212; Sun, 7 Jul 2002 14:50:05 -0400 (EDT) Date: Sun, 7 Jul 2002 14:50:05 -0400 From: Munish Chopra To: FreeBSD current users Subject: Re: KSE M-III status & junior hacker project. Message-ID: <20020707185005.GA313@CPE0030ab0ef2bb.cpe.net.cable.rogers.com> Mail-Followup-To: FreeBSD current users References: <20020707104638.GP2813@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020707104638.GP2813@genius.tao.org.uk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-07-07 11:46 +0000, Josef Karthauser wrote: > > I've absolutely no idea what's causing it, but I'm still having random reboots > of current after some uptime with no dumps. I'll install a new kernel > today and report back if it still happens. Maybe someone can help me to > track it down. > Same happens to me, in addition the file systems aren't unmounted cleanly even if I manually shut down the machine. I built world with sources from around 11:30PM EST yesterday, and so far I've had only one random reboot (so I guess it's 'partly fixed'), as opposed to one every hour on average. I only caught something useful on one of the reboots as I was hanging around the console for a while: panic: lockmgr: draining against myself syncing disks... panic: bwrite: buffer is not busy ??? This was before my latest world/kernel. I'm about to build world again in the hope that something has fixed it. I'm assuming that my initial worries that KSE was causing this may be wrong and it's the vfs changes that have been going in lately (correct me if I'm way off here). -- Munish Chopra The FreeBSD NVIDIA Driver Initiative http://nvidia.netexplorer.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 11:50:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 410D037B400 for ; Sun, 7 Jul 2002 11:50:23 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3E9D43E42 for ; Sun, 7 Jul 2002 11:50:21 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.5/8.12.2) with ESMTP id g67Io9oi089107; Sun, 7 Jul 2002 11:50:09 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.5/Submit) id g67Io8d0089106; Sun, 7 Jul 2002 11:50:08 -0700 (PDT) Date: Sun, 7 Jul 2002 11:50:08 -0700 From: "David O'Brien" To: Ian Dowse Cc: Don Lewis , Georg.Koltermann@mscsoftware.com, current@FreeBSD.ORG, mckusick@mckusick.com Subject: Re: dump(8) is hosed Message-ID: <20020707185008.GC58914@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG Mail-Followup-To: David O'Brien , Ian Dowse , Don Lewis , Georg.Koltermann@mscsoftware.com, current@FreeBSD.ORG, mckusick@mckusick.com References: <200207070458.g674wI0M021931@gw.catspoiler.org> <200207071227.aa27815@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207071227.aa27815@salmon.maths.tcd.ie> User-Agent: Mutt/1.4i 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 07, 2002 at 12:27:31PM +0100, Ian Dowse wrote: > I'll commit your printf format changes first anyway - thanks! Just to make sure, you're not going to fix the problem dump problem; just fix the bad screen output. Correct? Since I've got a very reproduceable test case; I wanted to test the commit candidate to make sure we totally nab this bug now. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 11:54:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D97637B400 for ; Sun, 7 Jul 2002 11:54:16 -0700 (PDT) Received: from CPE0030ab0ef2bb.cpe.net.cable.rogers.com (CPE0030ab0ef2bb.cpe.net.cable.rogers.com [24.103.202.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE7CB43E4A for ; Sun, 7 Jul 2002 11:54:15 -0700 (PDT) (envelope-from munish@CPE0030ab0ef2bb.cpe.net.cable.rogers.com) Received: by CPE0030ab0ef2bb.cpe.net.cable.rogers.com (Postfix, from userid 1001) id 80530212; Sun, 7 Jul 2002 14:55:52 -0400 (EDT) Date: Sun, 7 Jul 2002 14:55:52 -0400 From: Munish Chopra To: current@FreeBSD.ORG Subject: Re: "panic: lockmgr: locking against myself" with yesterday's -CURRENT Message-ID: <20020707185552.GB313@CPE0030ab0ef2bb.cpe.net.cable.rogers.com> Mail-Followup-To: current@FreeBSD.ORG References: <200207071301.g67D1kEM069562@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207071301.g67D1kEM069562@bunrab.catwhisker.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-07-07 06:01 +0000, David Wolfskill wrote: > I got the word about the changes to vfs_subr.c & vfs_bio.c fixing > the "hang" at shutdown for yesterday's -CURRENT fairly late in the > day yesterday, and since the problem didn't seem (as far as I could > tell) to affect normal operation, I figured I'd just pick up the > change at the following update (which would be this morning). > > However, once I started the "make -j8 buildworld" on this SMP machine > (this morning), I got a panic. Here's a cut-and-paste from the > serial console: > > Recovering vi editor sessions:. > Initial rc.i386 initialization:. > Configuring syscons: blanktime. > Additional ABI support:. > Local package initiCalization:reating DISK md10 > md10: invalid primary partition table: no magic > md10: invalid primary partition table: no magic > [1] 232 Floating point exception (core dumped) > Jul 7 05:41:21 freebeast kernel: pid 232 (newfs), uid 0: exited on signal 8 (core dumped) > apache cvsupd > . > Additional TCP options:. > Starting background filesystem checks > > Sun Jul 7 05:41:23 PDT 2002 > > FreeBSD/i386 (freebeast.catwhisker.org) (cuaa0) > > login: panic: lockmgr: locking against myself This is exactly what's showing up for me (and possibly others) in the "KSE M-III status & junior hacker project." thread. I'm currently building world too (this is a UP machine btw.), I guess we'll see if the most recent commits change this. -- Munish Chopra The FreeBSD NVIDIA Driver Initiative http://nvidia.netexplorer.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 12: 5: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AF1737B400 for ; Sun, 7 Jul 2002 12:05:03 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C06743E09 for ; Sun, 7 Jul 2002 12:05:01 -0700 (PDT) (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 FAA19591; Mon, 8 Jul 2002 05:04:45 +1000 Date: Mon, 8 Jul 2002 05:07:46 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Alexander Leidinger Cc: current@FreeBSD.ORG Subject: Re: floating point problems after update from a pre gcc3.1 world In-Reply-To: <200207071753.g67Hr4DN045784@Magelan.Leidinger.net> Message-ID: <20020708050611.K12835-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 7 Jul 2002, Alexander Leidinger wrote: > I've updated to todays current from a -current as of May 1 and I get the > following error from my mailer (tkrat 2.0.3, written in tcl/tk): > ---snip--- > expected floating-point number but got "0.0<45132" > expected floating-point number but got "0.0<45132" > while executing > ".f1.t.messlist.scroll set 0.0<45132 1" > (vertical scrolling command executed by text) > ---snip--- Compilng libc with gcc3 -O2 does this. PR: 40209 Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 12:20:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E23937B400; Sun, 7 Jul 2002 12:20:22 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5FE543E31; Sun, 7 Jul 2002 12:20:21 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020707192021.XLAU29588.sccrmhc01.attbi.com@InterJet.elischer.org>; Sun, 7 Jul 2002 19:20:21 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA24457; Sun, 7 Jul 2002 12:06:43 -0700 (PDT) Date: Sun, 7 Jul 2002 12:06:42 -0700 (PDT) From: Julian Elischer To: Murray Stokely Cc: FreeBSD current users Subject: Re: 5.0 DP2 (was Re: KSE M-III status & junior hacker project.) In-Reply-To: <20020707020339.F11035@freebsdmall.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hopefully some of the new work that will be done on kse can be done on the mainline now without breaking nonKSE activities.. in other words, most of the real "it breaks current behaviour" changes have been passed for a while so new code can be off in "if (KSE_mode) { }" clauses that will have no effect on normal usage. I think that as far as KSE is concerned, you could branch pretty much any time now.. If there turn out to be problems that we fix they can always be merged over later. On Sun, 7 Jul 2002, Murray Stokely wrote: > On Sat, Jul 06, 2002 at 04:57:08PM -0700, Julian Elischer wrote: > > Well with various hints from here and there I have fixed > > the ^Z/fg problem (at least it seems fixed to me and others that > > have tested) This basically leaves only one outstanding > > problem that I know of which is a problem that Warner has with a > > particular progam. (This may also be fixed but I don't know) > > Hi Julian, > > Thanks for your progress on KSE! How long should we wait before > branching in Perforce for 5.0 DP2? I would like to give at least 10 > more days for this and other changes to settle before making the > branch. If all goes well, I would like to release 5.0 DP2 at the end > of this month. > > - Murray > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 13:22:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BD5437B400 for ; Sun, 7 Jul 2002 13:22:44 -0700 (PDT) Received: from nightmare.lothlorien.no (lothlorien.no [217.8.137.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2173643E31 for ; Sun, 7 Jul 2002 13:22:43 -0700 (PDT) (envelope-from killer@lothlorien.no) Received: from vampire.lothlorien.no (vampire.lothlorien.no [192.168.1.1]) by nightmare.lothlorien.no (8.12.3/8.12.3) with ESMTP id g67JspS9001885; Sun, 7 Jul 2002 21:54:51 +0200 (CEST) (envelope-from killer@lothlorien.no) Subject: Re: Mouse wheel. From: Thomas Ugland To: Scott Long Cc: current@FreeBSD.ORG In-Reply-To: <20020707181048.GA36415@hollin.btc.adaptec.com> References: <1026064790.93282.4.camel@vampire.lothlorien.no> <20020707181048.GA36415@hollin.btc.adaptec.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 07 Jul 2002 21:54:50 +0200 Message-Id: <1026071691.93795.1.camel@vampire.lothlorien.no> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2002-07-07 at 20:10, Scott Long wrote: > On Sun, Jul 07, 2002 at 07:59:50PM +0200, Thomas Ugland wrote: > > I'm not sure if this is current releated or XFree releated, but > > I'm giving it a go here. > > > > I updated from -current Jun 27, to a Jul 07 version today, and > > since that fixed the problem with compiling XFree86-4-Server > > and libs, I recompiled those and upgraded those. (new'er port > > versions). Now my mouse wheel only works in one 'direction'. > > > > If I try to use the wheel, it looks like it emits the same signal, > > even if I move it up or down. (It scrolls down). > > > > It used to work before I did the upgrades, just cant figure out where > > the problem is.. (mwheel works correctly in other OS'es). > > This happened to me too, and I thought I was going crazy. When I > disabled moused and let X talk directly to the mouse, the wheel > worked correctly. When I turned on moused debugging, it showed > that it was receiving the correct events from the mouse, so I > can only assume that the problem is higher up. I don't use the mouse daemon normally, but tried it out to see if it would work while using it. But I still had the same problem, so I'm stuck with the half functioning mouse wheel :) -- Thomas Ugland -> If everything is coming your way then you're in the wrong lane. <- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 13:32: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7D1E37B400 for ; Sun, 7 Jul 2002 13:32:04 -0700 (PDT) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id E818E43E4A for ; Sun, 7 Jul 2002 13:32:03 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd05.sul.t-online.de by mailout06.sul.t-online.com with smtp id 17RIhI-0001FO-03; Sun, 07 Jul 2002 22:31:56 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.215.231]) by fmrl05.sul.t-online.com with esmtp id 17RIh4-0L5XYOC; Sun, 7 Jul 2002 22:31:42 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g67KVfx72916; Sun, 7 Jul 2002 22:31:41 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with ESMTP id g67KVYDN069825; Sun, 7 Jul 2002 22:31:38 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200207072031.g67KVYDN069825@Magelan.Leidinger.net> Date: Sun, 7 Jul 2002 22:31:34 +0200 (CEST) From: Alexander Leidinger Subject: Re: floating point problems after update from a pre gcc3.1 world To: bde@zeta.org.au Cc: current@FreeBSD.ORG In-Reply-To: <20020708050611.K12835-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 8 Jul, Bruce Evans wrote: > Compilng libc with gcc3 -O2 does this. > > PR: 40209 Thanks, after recompiling libc{,_r} it works as expected. Bye, Alexander. -- The best things in life are free, but the expensive ones are still worth a look. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 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 Sun Jul 7 13:36: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9C1937B400 for ; Sun, 7 Jul 2002 13:35:56 -0700 (PDT) Received: from itesec.hsc.fr (itesec.hsc.fr [192.70.106.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDF4643E52 for ; Sun, 7 Jul 2002 13:35:55 -0700 (PDT) (envelope-from yb@sainte-barbe.org) Received: from taz.hsc.fr (ogoun.hsc.fr [192.70.106.75]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "ogoun.hsc.fr", Issuer "HSC CA" (verified OK)) by itesec.hsc.fr (Postfix) with ESMTP id 43BB920FA3 for ; Sun, 7 Jul 2002 22:35:54 +0200 (CEST) Received: by taz.hsc.fr (Postfix, from userid 1000) id 71879585; Sun, 7 Jul 2002 22:35:45 +0200 (CEST) Date: Sun, 7 Jul 2002 22:35:45 +0200 From: Yann Berthier To: current@FreeBSD.ORG Subject: Re: Mouse wheel. Message-ID: <20020707203545.GA400@hsc.fr> References: <1026064790.93282.4.camel@vampire.lothlorien.no> <20020707181048.GA36415@hollin.btc.adaptec.com> <1026071691.93795.1.camel@vampire.lothlorien.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1026071691.93795.1.camel@vampire.lothlorien.no> X-Organization: Herve Schauer Consultants X-Web: http://www.hsc.fr/ X-Operating-System: FreeBSD 5.0-CURRENT User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 07 Jul 2002, Thomas Ugland wrote: > On Sun, 2002-07-07 at 20:10, Scott Long wrote: > > On Sun, Jul 07, 2002 at 07:59:50PM +0200, Thomas Ugland wrote: > > > I'm not sure if this is current releated or XFree releated, but > > > I'm giving it a go here. > > > > > > I updated from -current Jun 27, to a Jul 07 version today, and > > > since that fixed the problem with compiling XFree86-4-Server > > > and libs, I recompiled those and upgraded those. (new'er port > > > versions). Now my mouse wheel only works in one 'direction'. > > > > > > If I try to use the wheel, it looks like it emits the same signal, > > > even if I move it up or down. (It scrolls down). > > > > > > It used to work before I did the upgrades, just cant figure out where > > > the problem is.. (mwheel works correctly in other OS'es). > > > > This happened to me too, and I thought I was going crazy. When I > > disabled moused and let X talk directly to the mouse, the wheel > > worked correctly. When I turned on moused debugging, it showed > > that it was receiving the correct events from the mouse, so I > > can only assume that the problem is higher up. > > I don't use the mouse daemon normally, but tried it out to see if it > would work while using it. But I still had the same problem, so I'm > stuck with the half functioning mouse wheel :) Not sure if it will work for you, but I should use '-z 4 5' with moused to overcome this problem. Ciao, - yann. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 13:36:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0F3D37B400 for ; Sun, 7 Jul 2002 13:36:26 -0700 (PDT) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id BECA343E52 for ; Sun, 7 Jul 2002 13:36:25 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd08.sul.t-online.de by mailout05.sul.t-online.com with smtp id 17RIlb-0003wH-01; Sun, 07 Jul 2002 22:36:23 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.215.231]) by fmrl08.sul.t-online.com with esmtp id 17RIlO-1bajDMC; Sun, 7 Jul 2002 22:36:10 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g67KaAx72937 for ; Sun, 7 Jul 2002 22:36:10 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with ESMTP id g67Ka4DN069846 for ; Sun, 7 Jul 2002 22:36:08 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200207072036.g67Ka4DN069846@Magelan.Leidinger.net> Date: Sun, 7 Jul 2002 22:36:04 +0200 (CEST) From: Alexander Leidinger Subject: Re: top core dumps after update from a pre 3.1 system To: current@FreeBSD.ORG In-Reply-To: <200207071803.g67I3VDN045848@Magelan.Leidinger.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 7 Jul, An: current@FreeBSD.ORG wrote: > I've updated to todays -current from a May 1 one. Now I get a core dump > in top before it is able tp print the percentages for use, nice and so > on. There are two paths to the core dump. PR 40209 is also responsible for this problem. Bye, Alexander. -- ...and that is how we know the Earth to be banana-shaped. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 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 Sun Jul 7 13:39:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F274937B400 for ; Sun, 7 Jul 2002 13:39:10 -0700 (PDT) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ECD943E52 for ; Sun, 7 Jul 2002 13:39:10 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd03.sul.t-online.de by mailout10.sul.t-online.com with smtp id 17RIoD-0006yz-03; Sun, 07 Jul 2002 22:39:05 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.215.231]) by fmrl03.sul.t-online.com with esmtp id 17RIoX-0z9BHkC; Sun, 7 Jul 2002 22:39:25 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g67Kclx72941; Sun, 7 Jul 2002 22:38:47 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with ESMTP id g67KcdDN069850; Sun, 7 Jul 2002 22:38:43 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200207072038.g67KcdDN069850@Magelan.Leidinger.net> Date: Sun, 7 Jul 2002 22:38:39 +0200 (CEST) From: Alexander Leidinger Subject: Re: Mouse wheel. To: scott_long@btc.adaptec.com Cc: killer@lothlorien.no, current@FreeBSD.ORG In-Reply-To: <20020707181048.GA36415@hollin.btc.adaptec.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 7 Jul, Scott Long wrote: [mwheel not working correctly] > This happened to me too, and I thought I was going crazy. When I > disabled moused and let X talk directly to the mouse, the wheel > worked correctly. When I turned on moused debugging, it showed > that it was receiving the correct events from the mouse, so I > can only assume that the problem is higher up. Wild guess: Any change libc is compiled with higher optimizations (PR 40209)? Bye, Alexander. -- ...and that is how we know the Earth to be banana-shaped. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 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 Sun Jul 7 13:46:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 651F737B400; Sun, 7 Jul 2002 13:46:57 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1872E43E52; Sun, 7 Jul 2002 13:46:56 -0700 (PDT) (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 GAA23932; Mon, 8 Jul 2002 06:46:38 +1000 Date: Mon, 8 Jul 2002 06:49:39 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Don Lewis Cc: iedowse@maths.tcd.ie, , , , Subject: Re: dump(8) is hosed In-Reply-To: <200207071141.g67BfJ0M022797@gw.catspoiler.org> Message-ID: <20020708055510.C13007-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 7 Jul 2002, Don Lewis wrote: > On 7 Jul, Ian Dowse wrote: > > Thanks for tracking this down! One thing is that the code was using > > the static pointers to avoid having to malloc and free blocks every > > time. Keeping an array of NIADDR pointers and using `ind_level' as > > the index is an alternative (patch below) - I doubt the performance > > difference is noticable but it avoids having to remember the free() > > before each return. > > Prior to the UFS2 import, the code used an automatic array on the stack, > which was even cleaner. If you want to dynamically size the array and > don't mind a potential portability problem you could use alloca(). A non-dynamic auto array of unions or 2 arrays would be almost as simple as the old code. Dynamic sizing is especially moot in dump(8), since dump(8) rejects filesystems with fs_bsize > MAXBSIZE up front. (newfs(8) dumps core attempting to create such filesystems, and fsck_ffs(8) doesn't seem to be much better -- both use MAXBSIZE without checking that fs_bsize <= MAXBSIZE). BTW, I have tried reducing MINBSIZE to 512. An fs_bsize of 2048 seems to work provided some sanity tests are "fixed". newfs and fsck_ffs were happier with this than the kernel since their sanity checks are weaker (or more correct for an unlimited ufs). The sanity checks in dump seem to be more like the ones in the kernel. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 14:35:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AE8837B487 for ; Sun, 7 Jul 2002 14:35:49 -0700 (PDT) Received: from mx2.datanet.hu (mx2.datanet.hu [194.149.13.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA78143E4A for ; Sun, 7 Jul 2002 14:35:48 -0700 (PDT) (envelope-from sziszi@bsd.hu) Received: from fonix.adamsfamily.xx (nilus-1635.adsl.datanet.hu [195.56.94.111]) by mx2.datanet.hu (DataNet) with ESMTP id 738B358A3 for ; Sun, 7 Jul 2002 23:35:47 +0200 (CEST) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.5/8.12.5) with ESMTP id g67LZkMM000886 for ; Sun, 7 Jul 2002 23:35:46 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.5/8.12.5/Submit) id g67LZkwp000885 for freebsd-current@freebsd.org; Sun, 7 Jul 2002 23:35:46 +0200 (CEST) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Sun, 7 Jul 2002 23:35:46 +0200 From: Szilveszter Adam To: freebsd-current@freebsd.org Subject: problems with natd, ipfw Message-ID: <20020707213546.GA743@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello everybody, I upgraded to yesterday's -CURRENT and have made a few observations: 1) The natd does not work. This is known, but I have tracked it to its interaction with libalias, which means that any program that uses libalias functions is also affected (and indeed, ppp(8)'s -nat option does not work either). If I downgrade the file src/sys/netinet/ip_fw.h to the version from June 27, and recompile libalias and natd, things will work. 2) and much more alarmingly: Although the new ipfw really seems to process the ruleset faster, some rules appear to do nothing! I have a "default-to-deny" setup, so theoretically this should mean that I should be cut off from the net if the allow rules do not work. And indeed, flushing all rules gives the expected behaviour. But as soon as I load the ruleset file (which is the same as previously and then it worked as expected) the fw becomes wide-open, the only rules that appear to work are the divert for natd, and the allow rules. But the deny rules do nothing, it seems that even the "catch-all" implicit deny rule at the bottom does nothing. Am I going insane, or is this real? Also, I have observed that when loading the rules from the ruleset file, ipfw prints two lines for each, one with the expected rule number and one with all zeros. I don't know if it's significant though. It is like this: 00000 deny log ip from any to any 03600 deny log ip from any to any This did not happen previously... -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 14:46:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14ED437B400 for ; Sun, 7 Jul 2002 14:46:26 -0700 (PDT) Received: from ns0.seaman.net (ns0.seaman.net [168.215.64.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2819543E31 for ; Sun, 7 Jul 2002 14:46:24 -0700 (PDT) (envelope-from dick@seaman.org) Received: from tbird.internal.seaman.net (tbird [192.168.10.12]) by ns0.seaman.net (8.12.5/8.12.5) with ESMTP id g67LjrcK037585; Sun, 7 Jul 2002 16:45:53 -0500 (CDT) (envelope-from dick@seaman.org) Received: (from dick@localhost) by tbird.internal.seaman.net (8.11.6/8.11.6) id g67LjqR22374; Sun, 7 Jul 2002 16:45:52 -0500 Date: Sun, 7 Jul 2002 16:45:52 -0500 From: "Richard Seaman, Jr." To: Szilveszter Adam Cc: freebsd-current@FreeBSD.ORG Subject: Re: problems with natd, ipfw Message-ID: <20020707164552.P3283@seaman.org> Mail-Followup-To: "Richard Seaman, Jr." , Szilveszter Adam , freebsd-current@FreeBSD.ORG References: <20020707213546.GA743@fonix.adamsfamily.xx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020707213546.GA743@fonix.adamsfamily.xx>; from sziszi@bsd.hu on Sun, Jul 07, 2002 at 11:35:46PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 07, 2002 at 11:35:46PM +0200, Szilveszter Adam wrote: > Hello everybody, > > I upgraded to yesterday's -CURRENT and have made a few observations: > 2) and much more alarmingly: Although the new ipfw really seems to > process the ruleset faster, some rules appear to do nothing! I > have a "default-to-deny" setup, so theoretically this should mean that I > should be cut off from the net if the allow rules do not work. And > indeed, flushing all rules gives the expected behaviour. But as soon as > I load the ruleset file (which is the same as previously and then it > worked as expected) the fw becomes wide-open, the only rules that appear > to work are the divert for natd, and the allow rules. But the deny rules > do nothing, it seems that even the "catch-all" implicit deny rule at the > bottom does nothing. Am I going insane, or is this real? Don't know. But, I do know that logging seemed to be messed up. My old ruleset only logged a few rules, and after upgrading I seemed to get a log entry for every packet. It was so overwhelming that I didn't even try to analyze it. Since I needed natd on the machine in question, I just reverted all the new ipfw code, and haven't spent much time at it. > Also, I have observed that when loading the rules from the ruleset file, > ipfw prints two lines for each, one with the expected rule number and > one with all zeros. I don't know if it's significant though. > > It is like this: > > 00000 deny log ip from any to any > 03600 deny log ip from any to any Yes, I saw this. However, 'ipfw l' doesn't include a 00000 rule, and the rule list appears correct. -- Richard Seaman, Jr. email: dick@seaman.org 5182 N. Maple Lane phone: 262-367-5450 Nashotah WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 14:49:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5399A37B401; Sun, 7 Jul 2002 14:49:30 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id D77B343E31; Sun, 7 Jul 2002 14:49:28 -0700 (PDT) (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 HAA27071; Mon, 8 Jul 2002 07:49:21 +1000 Date: Mon, 8 Jul 2002 07:52:22 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Alexander Leidinger Cc: current@FreeBSD.ORG, Subject: Re: buildkernel error with ENABLE_VFS_IOOPT/ZERO_COPY_SOCKETS In-Reply-To: <200207071607.g67G78JX076844@Magelan.Leidinger.net> Message-ID: <20020708074116.T13321-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 7 Jul 2002, Alexander Leidinger wrote: > -current from today fails in kern/kern_subr.c: > > ../../../kern/kern_subr.c:220: warning: function declaration isn't a prototype > > ---snip--- > #if defined(ENABLE_VFS_IOOPT) || defined(ZERO_COPY_SOCKETS) > /* > * Experimental support for zero-copy I/O > */ > static int > userspaceco(cp, cnt, uio, obj, disposable) > caddr_t cp; > u_int cnt; > struct uio *uio; > struct vm_object *obj; > int disposable; > { > ---snip--- This happens when ENABLE_VFS_IOOPT is configured by ZERO_COPY_SOCKETS is not configured. I don't like the #includes and declarations being in an unusual order just to avoid ifdefs. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 15: 2:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71BA537B400 for ; Sun, 7 Jul 2002 15:02:43 -0700 (PDT) Received: from ns0.seaman.net (ns0.seaman.net [168.215.64.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78E6443E31 for ; Sun, 7 Jul 2002 15:02:42 -0700 (PDT) (envelope-from dick@seaman.org) Received: from tbird.internal.seaman.net (tbird [192.168.10.12]) by ns0.seaman.net (8.12.5/8.12.5) with ESMTP id g67M2QcK037697; Sun, 7 Jul 2002 17:02:26 -0500 (CDT) (envelope-from dick@seaman.org) Received: (from dick@localhost) by tbird.internal.seaman.net (8.11.6/8.11.6) id g67M2QM22508; Sun, 7 Jul 2002 17:02:26 -0500 Date: Sun, 7 Jul 2002 17:02:26 -0500 From: "Richard Seaman, Jr." To: Szilveszter Adam Cc: freebsd-current@FreeBSD.ORG Subject: Re: problems with natd, ipfw Message-ID: <20020707170226.Q3283@seaman.org> Mail-Followup-To: "Richard Seaman, Jr." , Szilveszter Adam , freebsd-current@FreeBSD.ORG References: <20020707213546.GA743@fonix.adamsfamily.xx> <20020707164552.P3283@seaman.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020707164552.P3283@seaman.org>; from dick@seaman.org on Sun, Jul 07, 2002 at 04:45:52PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 07, 2002 at 04:45:52PM -0500, Richard Seaman, Jr. wrote: > On Sun, Jul 07, 2002 at 11:35:46PM +0200, Szilveszter Adam wrote: > > Hello everybody, > > > > I upgraded to yesterday's -CURRENT and have made a few observations: > > > 2) and much more alarmingly: Although the new ipfw really seems to > > process the ruleset faster, some rules appear to do nothing! I > > have a "default-to-deny" setup, so theoretically this should mean that I > > should be cut off from the net if the allow rules do not work. And > > indeed, flushing all rules gives the expected behaviour. But as soon as > > I load the ruleset file (which is the same as previously and then it > > worked as expected) the fw becomes wide-open, the only rules that appear > > to work are the divert for natd, and the allow rules. But the deny rules > > do nothing, it seems that even the "catch-all" implicit deny rule at the > > bottom does nothing. Am I going insane, or is this real? > > Don't know. But, I do know that logging seemed to be messed up. My old > ruleset only logged a few rules, and after upgrading I seemed to get a > log entry for every packet. It was so overwhelming that I didn't even > try to analyze it. Since I needed natd on the machine in question, > I just reverted all the new ipfw code, and haven't spent much time at it. I just went back to the old log files, and based on a spot check, the log files do indeed record as "accepted" packets that should have been denied by the ruleset (and which are currently denied without logging using the same ruleset and the "old" ipfw). -- Richard Seaman, Jr. email: dick@seaman.org 5182 N. Maple Lane phone: 262-367-5450 Nashotah WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 15:29: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B05737B400 for ; Sun, 7 Jul 2002 15:29:01 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49E7143E09 for ; Sun, 7 Jul 2002 15:29:01 -0700 (PDT) (envelope-from mtm@pacbell.net) Received: from kokeb.ambesa.net ([64.166.87.35]) by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GYW007NDH4C2O@mta7.pltn13.pbi.net> for freebsd-current@freebsd.org; Sun, 07 Jul 2002 15:29:00 -0700 (PDT) Received: from kokeb.ambesa.net (tanstaafl@localhost [IPv6:::1]) by kokeb.ambesa.net (8.12.5/8.12.5) with ESMTP id g67MSrVb005279 for ; Sun, 07 Jul 2002 15:28:53 -0700 Received: (from mtm@localhost) by kokeb.ambesa.net (8.12.5/8.12.5/Submit) id g67MSpZx005278; Sun, 07 Jul 2002 15:28:51 -0700 (PDT) Date: Sun, 07 Jul 2002 15:28:51 -0700 From: Mike Makonnen Subject: benign bug in src/sys/kern/kern_resource.c:limcopy() ? To: freebsd-current@freebsd.org Message-id: <20020707152851.3ddc58dc.makonnen@pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello folks, The limcopy() function bcopy()s a struct rlimit, but the len argument to bcopy() is given as sizeof(struct plimit). This hasn't caused any problems so far because the destination address is the first member of struct plimit and all the other member of plimit are initialized immediately thereafter. The patch follows. Cheers, Mike Makonnen Index: sys/kern/kern_resource.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_resource.c,v retrieving revision 1.106 diff -u -r1.106 kern_resource.c --- sys/kern/kern_resource.c 29 Jun 2002 02:00:01 -0000 1.106 +++ sys/kern/kern_resource.c 7 Jul 2002 22:01:54 -0000 @@ -811,7 +811,7 @@ MALLOC(copy, struct plimit *, sizeof(struct plimit), M_SUBPROC, M_WAITOK); - bcopy(lim->pl_rlimit, copy->pl_rlimit, sizeof(struct plimit)); + bcopy(lim->pl_rlimit, copy->pl_rlimit, sizeof(struct rlimit)); copy->p_lflags = 0; copy->p_refcnt = 1; return (copy); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 15:36:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D81137B400 for ; Sun, 7 Jul 2002 15:36:39 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39FA043E52 for ; Sun, 7 Jul 2002 15:36:36 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id g67MaXD96989; Sun, 7 Jul 2002 18:36:33 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Sun, 7 Jul 2002 18:36:33 -0400 (EDT) From: Jeff Roberson To: Don Lewis Cc: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/tools vnode_if.awk In-Reply-To: <200207070904.g6793v0M022279@gw.catspoiler.org> Message-ID: <20020707183557.M62445-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 7 Jul 2002, Don Lewis wrote: > > It wasn't able to sucessfully boot with this enabled. I'm hand > transcribing this, so apologies for any typos: > [snip] > > > Debugger(c0420fe4) at Debugger+0x45 > vn_rdwr(0,c6737800,c6425000,55ac,0,0,1,8,c22c7200,df241aec,c22cc0c0) at > vn_rdwr+0x18d > linker_hints_lookup(c04750a0,c,c62df000,5,0) at > linker_hints_lookup+0x2d9 > linker_search_module(c62df000,5,0,0,c0415120) at > linker_search_module+0x43 > linker_load_module(0,c62df000,0,0,df241cdc) at linker_load_module+0x72 > kldload(c22cc0c0,df241d14,1,0,296) at kldload+0xc3 > syscall(...) > Revision 1.91 of kern_linker.c fixes this problem. Can you try again? Thanks! Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 16:42:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C80A637B400 for ; Sun, 7 Jul 2002 16:42:27 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A179643E09 for ; Sun, 7 Jul 2002 16:42:21 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.3/8.12.3) with ESMTP id g67Nhs0M024152 for ; Sun, 7 Jul 2002 16:43:58 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207072343.g67Nhs0M024152@gw.catspoiler.org> Date: Sun, 7 Jul 2002 16:42:59 -0700 (PDT) From: Don Lewis Subject: "pipe mutex" vs. "sigio lock" lock order reversal To: current@FreeBSD.ORG MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This error showed up in my logs this morning while I was building some ports on a uni-processor box. I'm running a version of -current from July 7 about 1 AM PDT. Jul 7 07:47:09 scratch kernel: lock order reversal Jul 7 07:47:09 scratch kernel: 1st 0xcabf7980 pipe mutex (pipe mutex) @ /usr/src/sys/kern/sys_pipe.c:451 Jul 7 07:47:09 scratch kernel: 2nd 0xc0474300 sigio lock (sigio lock) @ /usr/src/sys/kern/kern_sig.c:2113 I don't understand all the new locking stuff in -current, but it looks to me like maybe there should be a PIPE_UNLOCK()/PIPE_LOCK() wrapper around the following code in sys_pipe.c since a SIGIO could happen during the msleep(). /* * Handle non-blocking mode operation or * wait for more data. */ if (fp->f_flag & FNONBLOCK) { error = EAGAIN; } else { rpipe->pipe_state |= PIPE_WANTR; if ((error = msleep(rpipe, PIPE_MTX(rpipe), PRIBIO | PCATCH, "piperd", 0)) == 0) error = pipelock(rpipe, 1); } if (error) goto unlocked_error; I don't see a way for the locks to be asserted in the opposite order, though I suppose there might be a case of PROC_LOCK() followed by PIPE_LOCK() that would conflict with SIGIO_LOCK() followed by PROC_LOCK(). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 17:43:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA13537B400 for ; Sun, 7 Jul 2002 17:43:47 -0700 (PDT) Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30F8243E58 for ; Sun, 7 Jul 2002 17:43:47 -0700 (PDT) (envelope-from arlankfo@verizon.net) Received: from verizon.net ([138.88.91.168]) by out010.verizon.net (InterMail vM.5.01.05.05 201-253-122-126-105-20020426) with ESMTP id <20020708004346.KCKX13841.out010.verizon.net@verizon.net> for ; Sun, 7 Jul 2002 19:43:46 -0500 To: freebsd-current@freebsd.org Subject: ppp sig10's in current From: "Andrew Lankford" Reply-To: "Andrew Lankford" Date: Sun, 07 Jul 2002 20:43:45 -0400 Message-Id: <20020708004346.KCKX13841.out010.verizon.net@verizon.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Just thought I'd throw in some more bad news >:-). ppp in current core dumps on me. It starts up in ddial mode ok, does its job for a while, and then dies. I tried starting it again, and it just sat there instead of going into the background and returning the prompt, leaving me with no recourse but to ^c it. My latest buildworld: FreeBSD 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Sun Jul 7 13:26:22 EDT 2002 I've got the core dump handy. Here's the log: Jul 7 13:36:04 ppp[179]: Phase: Received NGM_PPPOE_ACNAME (hook "RES-ESR-DSL1") Jul 7 13:36:05 ppp[179]: Phase: Received NGM_PPPOE_SESSIONID Jul 7 13:36:05 ppp[179]: Phase: Received NGM_PPPOE_SUCCESS Jul 7 13:36:05 ppp[179]: Phase: deflink: carrier -> login Jul 7 13:36:05 ppp[179]: Phase: deflink: login -> lcp Jul 7 13:36:05 ppp[179]: LCP: FSM: Using "deflink" as a transport Jul 7 13:36:05 ppp[179]: LCP: deflink: State change Initial --> Closed Jul 7 13:36:05 ppp[179]: LCP: deflink: State change Closed --> Stopped Jul 7 13:36:05 ppp[179]: LCP: deflink: RecvConfigReq(1) state = Stopped Jul 7 13:36:05 ppp[179]: LCP: MRU[4] 1492 Jul 7 13:36:05 ppp[179]: LCP: AUTHPROTO[4] 0xc023 (PAP) Jul 7 13:36:05 ppp[179]: LCP: MAGICNUM[6] 0x64cb56b4 Jul 7 13:36:05 ppp[179]: LCP: deflink: SendConfigReq(1) state = Stopped Jul 7 13:36:05 ppp[179]: LCP: MRU[4] 1492 Jul 7 13:36:05 ppp[179]: LCP: MAGICNUM[6] 0xc140bb73 Jul 7 13:36:05 ppp[179]: LCP: QUALPROTO[8] proto c025, interval 30000ms Jul 7 13:36:05 ppp[179]: LCP: deflink: SendConfigAck(1) state = Stopped Jul 7 13:36:05 ppp[179]: LCP: MRU[4] 1492 Jul 7 13:36:05 ppp[179]: LCP: AUTHPROTO[4] 0xc023 (PAP) Jul 7 13:36:05 ppp[179]: LCP: MAGICNUM[6] 0x64cb56b4 Jul 7 13:36:05 ppp[179]: LCP: deflink: LayerStart Jul 7 13:36:05 ppp[179]: LCP: deflink: State change Stopped --> Ack-Sent Jul 7 13:36:05 ppp[179]: LCP: deflink: RecvConfigAck(1) state = Ack-Sent Jul 7 13:36:05 ppp[179]: LCP: MRU[4] 1492 Jul 7 13:36:05 ppp[179]: LCP: MAGICNUM[6] 0xc140bb73 Jul 7 13:36:05 ppp[179]: LCP: QUALPROTO[8] proto c025, interval 30000ms Jul 7 13:36:05 ppp[179]: LCP: deflink: State change Ack-Sent --> Opened Jul 7 13:36:05 ppp[179]: LCP: deflink: LayerUp Jul 7 13:36:05 ppp[179]: Phase: bundle: Authenticate Jul 7 13:36:05 ppp[179]: Phase: deflink: his = PAP, mine = none Jul 7 13:36:05 ppp[179]: Phase: Pap Output: Jul 7 13:36:05 ppp[179]: Phase: Pap Input: SUCCESS () Jul 7 13:36:05 ppp[179]: Phase: deflink: lcp -> open Jul 7 13:36:05 ppp[179]: Phase: bundle: Network Jul 7 13:36:05 ppp[179]: IPCP: FSM: Using "deflink" as a transport Jul 7 13:36:05 ppp[179]: IPCP: deflink: State change Initial --> Closed Jul 7 13:36:05 ppp[179]: IPCP: deflink: LayerStart. Jul 7 13:36:05 ppp[179]: IPCP: deflink: SendConfigReq(1) state = Closed Jul 7 13:36:05 ppp[179]: IPCP: IPADDR[6] 10.10.10.9 Jul 7 13:36:05 ppp[179]: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Jul 7 13:36:05 ppp[179]: IPCP: deflink: State change Closed --> Req-Sent Jul 7 13:36:05 ppp[179]: IPCP: deflink: RecvConfigReq(1) state = Req-Sent Jul 7 13:36:05 ppp[179]: IPCP: IPADDR[6] 10.1.61.1 Jul 7 13:36:05 ppp[179]: IPCP: deflink: SendConfigAck(1) state = Req-Sent Jul 7 13:36:05 ppp[179]: IPCP: IPADDR[6] 10.1.61.1 Jul 7 13:36:05 ppp[179]: IPCP: deflink: State change Req-Sent --> Ack-Sent Jul 7 13:36:05 ppp[179]: LCP: deflink: RecvProtocolRej(2) state = Opened Jul 7 13:36:05 ppp[179]: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected! Jul 7 13:36:05 ppp[179]: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent Jul 7 13:36:05 ppp[179]: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Jul 7 13:36:05 ppp[179]: IPCP: deflink: SendConfigReq(2) state = Ack-Sent Jul 7 13:36:05 ppp[179]: IPCP: IPADDR[6] 10.10.10.9 Jul 7 13:36:05 ppp[179]: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent Jul 7 13:36:05 ppp[179]: IPCP: IPADDR[6] 138.88.18.7 Jul 7 13:36:05 ppp[179]: IPCP: IPADDR[6] changing address: 10.10.10.9 --> 138.88.18.7 Jul 7 13:36:05 ppp[179]: IPCP: deflink: SendConfigReq(3) state = Ack-Sent Jul 7 13:36:05 ppp[179]: IPCP: IPADDR[6] 138.88.18.7 Jul 7 13:36:05 ppp[179]: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent Jul 7 13:36:05 ppp[179]: IPCP: IPADDR[6] 138.88.18.7 Jul 7 13:36:05 ppp[179]: IPCP: deflink: State change Ack-Sent --> Opened Jul 7 13:36:05 ppp[179]: IPCP: deflink: LayerUp. Jul 7 13:36:05 ppp[179]: IPCP: myaddr 138.88.18.7 hisaddr = 10.1.61.1 Jul 7 13:36:06 ppp[179]: LCP: deflink: RecvEchoRequest(1) state = Opened Jul 7 13:36:06 ppp[179]: LCP: deflink: SendEchoReply(1) state = Opened Jul 7 13:36:39 ppp[179]: LCP: deflink: RecvEchoRequest(2) state = Opened Jul 7 13:36:39 ppp[179]: LCP: deflink: SendEchoReply(2) state = Opened Jul 7 13:37:12 ppp[179]: LCP: deflink: RecvEchoRequest(3) state = Opened Jul 7 13:37:12 ppp[179]: LCP: deflink: SendEchoReply(3) state = Opened Jul 7 13:38:38 ppp[586]: Phase: Using interface: tun0 Jul 7 13:38:38 ppp[586]: Phase: deflink: Created in closed state To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 18:11:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6143037B405 for ; Sun, 7 Jul 2002 18:11:38 -0700 (PDT) Received: from relay1.kornet.net (relay1.kornet.net [211.48.62.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8783743E4A for ; Sun, 7 Jul 2002 18:11:36 -0700 (PDT) (envelope-from leaders06@kornet.net) Received: from ursxsearj57rfwb (61.73.152.26) by relay1.kornet.net; 8 Jul 2002 10:11:34 +0900 Message-ID: <3d28e6c73d4a75b2@relay1.kornet.net> (added by relay1.kornet.net) From: =?ks_c_5601-1987?B?x9Gw5riuxKG//sDMxay3tA==?= To: current@freebsd.org Subject: =?ks_c_5601-1987?B?W7GksO1dIGN1cnJlbnS01CC+yLPnx8+9yrTPse4/IMbyu/21v77ILLTnvcXAuyC/1cC4t84guPC9yrTPtNkh?= Date: Mon, 08 Jul 2002 10:11:56 +0900 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0107_01C0F11A.93A56C00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0107_01C0F11A.93A56C00 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: base64 x9GxubDmwaYguK7Eob/+wMwgxay3tCAgIA0KDQogICAgIA0KDQogICAgIA0KDQogICAgIA0K DQogICAgIA0KDQogICAgICANCg0KICAgICANCg0KICAgICANCg0KICAgICANCg0KICAgICAN Cg0KICAgICANCg0KICANCrHNx8/AxyC9wrb0vvjAzCDIq7q4vLogwPzA2iC/7MbtwLsguriz u7DUILXIIMGhIMGkwd/I9yC757D6ILXluLO0z7TZLg0KIMGkurjF673FuMHAzL/rw8vB+Ln9 ILHUwaTAuyDB2Lz2x8+/qSCxpLDtuN7Az8DTwLsgIMelvcPHz7+0wLi45ywgvPa9xbDFus4g wOXEobimILi2t8PHz7DtIMDWvcC0z7TZLg0KCQkJCQmxzcfPwMcgwPzA2iC/7MbtIMHWvNK0 wiDAzsXNs90gu/PAxyCw+LCztcggwOW80r+hvK0gvcC15sfPv7TAuLjnLCAgwPrI8bTCILHN x8/AxyDA/MDav+zG7SDB1rzSIL/cDQogvu62sMfRILCzwM7BpLq4tbUgsKHB9rDtIMDWwfYg vsrAuLnHt84gvsi9ycfPvcOx4iC52bb4tM+02S4NCgkJCQkJvPa9xcC7IL/4xKEgIL7KwLi9 w7jpILz2vcWwxbrOuKYgxay4r8fYICDB1r3KvcO/5C4NCiANCiAgIA== ------=_NextPart_000_0107_01C0F11A.93A56C00 Content-Type: text/html; charset="ks_c_5601-1987" Content-Transfer-Encoding: base64 PCEtLSBzYXZlZCBmcm9tIHVybD0oMDAyMilodHRwOi8vaW50ZXJuZXQuZS1tYWlsIC0tPg0K PCEtLSBzYXZlZCBmcm9tIHVybD0oMDAyMilodHRwOi8vaW50ZXJuZXQuZS1tYWlsIC0tPg0K PGh0bWw+DQoNCjxoZWFkPg0KPHRpdGxlPsfRsbmw5sGmILiuxKG//sDMIMWst7Q8L3RpdGxl Pg0KPG1ldGEgbmFtZT0iZ2VuZXJhdG9yIiBjb250ZW50PSJOYW1vIFdlYkVkaXRvciB2NC4w Ij4NCjwvaGVhZD4NCg0KPGJvZHkgYmdjb2xvcj0id2hpdGUiIHRleHQ9ImJsYWNrIiBsaW5r PSJibHVlIiB2bGluaz0icHVycGxlIiBhbGluaz0icmVkIj4NCjx0YWJsZSBhbGlnbj0iY2Vu dGVyIiBib3JkZXI9IjAiIGNlbGxwYWRkaW5nPSIwIiBjZWxsc3BhY2luZz0iMCIgd2lkdGg9 IjY1OCI+DQogICAgPHRyPg0KICAgICAgICA8dGQ+DQogICAgICAgICAgICA8cD48aW1nIHNy Yz0iaHR0cDovL3d3dy5tYWlscGFydG5lci5jby5rci9lbWFpbC8wNDIyL2ltYWdlL2ltZ18w MS5naWYiIHdpZHRoPSI2NTgiIGhlaWdodD0iMTAyIiBib3JkZXI9IjAiPjwvcD4NCiAgICAg ICAgPC90ZD4NCiAgICA8L3RyPg0KICAgIDx0cj4NCiAgICAgICAgPHRkPg0KICAgICAgICAg ICAgPHA+PGltZyBzcmM9Imh0dHA6Ly93d3cubWFpbHBhcnRuZXIuY28ua3IvZW1haWwvMDQy Mi9pbWFnZS9pbWdfMDIuZ2lmIiB3aWR0aD0iNjU4IiBoZWlnaHQ9IjE4NiIgYm9yZGVyPSIw Ij48L3A+DQogICAgICAgIDwvdGQ+DQogICAgPC90cj4NCiAgICA8dHI+DQogICAgICAgIDx0 ZD4NCiAgICAgICAgICAgIDxwPjxpbWcgc3JjPSJodHRwOi8vd3d3Lm1haWxwYXJ0bmVyLmNv LmtyL2VtYWlsLzA0MjIvaW1hZ2UvaW1nXzAzLmdpZiIgd2lkdGg9IjY1OCIgaGVpZ2h0PSI1 NSIgYm9yZGVyPSIwIiB1c2VtYXA9IiNJbWFnZU1hcDEiPjwvcD4NCiAgICAgICAgPC90ZD4N CiAgICA8L3RyPg0KICAgIDx0cj4NCiAgICAgICAgPHRkPg0KICAgICAgICAgICAgPHA+PGlt ZyBzcmM9Imh0dHA6Ly93d3cubWFpbHBhcnRuZXIuY28ua3IvZW1haWwvMDQyMi9pbWFnZS9p bWdfMDQuZ2lmIiB3aWR0aD0iNjU4IiBoZWlnaHQ9IjEzOCIgYm9yZGVyPSIwIj48L3A+DQog ICAgICAgIDwvdGQ+DQogICAgPC90cj4NCiAgICA8dHI+DQogICAgICAgIDx0ZD4NCiAgICAg ICAgICAgIDxwPjxpbWcgc3JjPSJodHRwOi8vd3d3Lm1haWxwYXJ0bmVyLmNvLmtyL2VtYWls LzA0MjIvaW1hZ2UvaW1nXzA1LmdpZiIgd2lkdGg9IjY1OCIgaGVpZ2h0PSI0NiIgYm9yZGVy PSIwIj48L3A+DQogICAgICAgIDwvdGQ+DQogICAgPC90cj4NCiAgICA8dHI+DQogICAgICAg IDx0ZD4NCiAgICAgICAgICAgIA0KICAgICAgPHA+PGltZyBzcmM9Imh0dHA6Ly93d3cubWFp bHBhcnRuZXIuY28ua3IvZW1haWwvMDQyMi9pbWFnZS9pbWdfMDYuZ2lmIiB3aWR0aD0iNjU4 IiBoZWlnaHQ9IjE4MyIgYm9yZGVyPSIwIiB1c2VtYXA9IiNNYXAiPjwvcD4NCiAgICAgICAg PC90ZD4NCiAgICA8L3RyPg0KICAgIDx0cj4NCiAgICAgICAgPHRkPg0KICAgICAgICAgICAg PHA+PGltZyBzcmM9Imh0dHA6Ly93d3cubWFpbHBhcnRuZXIuY28ua3IvZW1haWwvMDQyMi9p bWFnZS9pbWdfMDcuZ2lmIiB3aWR0aD0iNjU4IiBoZWlnaHQ9IjEwOSIgYm9yZGVyPSIwIj48 L3A+DQogICAgICAgIDwvdGQ+DQogICAgPC90cj4NCiAgICA8dHI+DQogICAgICAgIDx0ZD4N CiAgICAgICAgICAgIDxwPjxpbWcgc3JjPSJodHRwOi8vd3d3Lm1haWxwYXJ0bmVyLmNvLmty L2VtYWlsLzA0MjIvaW1hZ2UvaW1nXzA4LmdpZiIgd2lkdGg9IjY1OCIgaGVpZ2h0PSIxMTQi IGJvcmRlcj0iMCI+PC9wPg0KICAgICAgICA8L3RkPg0KICAgIDwvdHI+DQogICAgPHRyPg0K ICAgICAgICA8dGQ+DQogICAgICAgICAgICA8cD48aW1nIHNyYz0iaHR0cDovL3d3dy5tYWls cGFydG5lci5jby5rci9lbWFpbC8wNDIyL2ltYWdlL2ltZ18wOS5naWYiIHdpZHRoPSI2NTgi IGhlaWdodD0iMTM2IiBib3JkZXI9IjAiPjwvcD4NCiAgICAgICAgPC90ZD4NCiAgICA8L3Ry Pg0KICAgIDx0cj4NCiAgICAgICAgPHRkPg0KICAgICAgICAgICAgPHA+PGltZyBzcmM9Imh0 dHA6Ly93d3cubWFpbHBhcnRuZXIuY28ua3IvZW1haWwvMDQyMi9pbWFnZS9pbWdfMTAuZ2lm IiB3aWR0aD0iNjU4IiBoZWlnaHQ9IjU0IiBib3JkZXI9IjAiIHVzZW1hcD0iI0ltYWdlTWFw MiI+PC9wPg0KICAgICAgICA8L3RkPg0KICAgIDwvdHI+DQogICAgPHRyPg0KICAgICAgICA8 dGQ+DQogICAgICAgICAgICA8cD48aW1nIHNyYz0iaHR0cDovL3d3dy5tYWlscGFydG5lci5j by5rci9lbWFpbC8wNDIyL2ltYWdlL2ltZ18xMS5naWYiIHdpZHRoPSI2NTgiIGhlaWdodD0i MzgiIGJvcmRlcj0iMCI+PC9wPg0KICAgICAgICA8L3RkPg0KICAgIDwvdHI+DQo8L3RhYmxl Pg0KPHRhYmxlIHdpZHRoPSI2NTgiIGJvcmRlcj0iMCIgYWxpZ249ImNlbnRlciI+DQo8dHI+ PHRkIGJnY29sb3I9IiNlNmU2ZTYiIGFsaWduPSJjZW50ZXIiPjxzcGFuIHN0eWxlPSJmb250 LXNpemU6OXB0OyI+PGJyPrHNx8/AxyC9wrb0vvjAzCDIq7q4vLogwPzA2iC/7MbtwLsguriz u7DUILXIIMGhIMGkwd/I9yC757D6ILXluLO0z7TZLjxicj4NCiAgICAgICAgICAgICAgICAg ICAgwaS6uMXrvcW4wcDMv+vDy8H4uf0gsdTBpMC7IMHYvPbHz7+pIDxiPjxmb250IGNvbG9y PSIjRkYwMDAwIj6xpLDtuN7AzzwvZm9udD48L2I+wNPAuyANCiAgICAgICAgICAgICAgICAg ICAgx6W9w8fPv7TAuLjnLCC89r3FsMW6ziDA5cShuKYguLa3w8fPsO0gwNa9wLTPtNkuPGJy Pg0KCQkJCQmxzcfPwMcgwPzA2iC/7MbtIMHWvNK0wiDAzsXNs90gu/PAxyCw+LCztcggwOW8 0r+hvK0gvcC15sfPv7TAuLjnLCANCiAgICAgICAgICAgICAgICAgICAgwPrI8bTCILHNx8/A xyDA/MDav+zG7SDB1rzSIL/cPGJyPiC+7rawx9EgsLPAzsGkuri1tSCwocH2sO0gwNbB9iC+ ysC4uce3ziC+yL3Jx8+9w7HiILnZtvi0z7TZLjxicj4NCgkJCQkJvPa9xcC7IL/4xKEgDQog ICAgICAgICAgICAgICAgICAgIL7KwLi9w7jpIDxhIGhyZWY9Im1haWx0bzpoeXVuMTAzMTBA a29ybmV0Lm5ldCI+PGZvbnQgY29sb3I9ImJsdWUiPrz2vcWwxbrOPC9mb250PjwvYT64piDF rLivx9ggDQogICAgICAgICAgICAgICAgICAgIMHWvcq9w7/kLjwvc3Bhbj48YnI+Jm5ic3A7 PC90ZD48L3RyPjwvdGFibGU+DQo8YnI+DQo8bWFwIG5hbWU9IkltYWdlTWFwMSI+DQo8YXJl YSBzaGFwZT0icmVjdCIgY29vcmRzPSIxMCwgNywgMTU4LCA1MyIgaHJlZj0iaHR0cDovL3d3 dy5tYWlscGFydG5lci5jby5rci9lbWFpbC8wNDIyL2lucHV0LmFzcCIgdGFyZ2V0PSJfYmxh bmsiPg0KPC9tYXA+PG1hcCBuYW1lPSJJbWFnZU1hcDIiPg0KPGFyZWEgc2hhcGU9InJlY3Qi IGNvb3Jkcz0iNTAyLCAzLCA2NTMsIDQ5IiBocmVmPSJodHRwOi8vd3d3Lm1haWxwYXJ0bmVy LmNvLmtyL2VtYWlsLzA0MjIvaW5wdXQuYXNwIiB0YXJnZXQ9Il9ibGFuayI+DQo8L21hcD4N CjxtYXAgbmFtZT0iTWFwIj4NCiAgPGFyZWEgc2hhcGU9InJlY3QiIGNvb3Jkcz0iNDUsMywy MjEsMTgwIiBocmVmPSJodHRwOi8vd3d3Lm1haWxwYXJ0bmVyLmNvLmtyL2VtYWlsLzA0MjIv aW5wdXQuYXNwIiB0YXJnZXQ9Il9ibGFuayI+DQogIDxhcmVhIHNoYXBlPSJyZWN0IiBjb29y ZHM9IjI0MCwzLDQxNSwxODAiIGhyZWY9Imh0dHA6Ly93d3cubWFpbHBhcnRuZXIuY28ua3Iv ZW1haWwvMDQyMi9pbnB1dC5hc3AiIHRhcmdldD0iX2JsYW5rIj4NCiAgPGFyZWEgc2hhcGU9 InJlY3QiIGNvb3Jkcz0iNDM0LDMsNjEwLDE4MSIgaHJlZj0iaHR0cDovL3d3dy5tYWlscGFy dG5lci5jby5rci9lbWFpbC8wNDIyL2lucHV0LmFzcCIgdGFyZ2V0PSJfYmxhbmsiPg0KPC9t YXA+DQo8L2JvZHk+DQoNCjwvaHRtbD4NCg== ------=_NextPart_000_0107_01C0F11A.93A56C00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 18:14:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8034337B400 for ; Sun, 7 Jul 2002 18:14:37 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EE6B43E3B for ; Sun, 7 Jul 2002 18:14:36 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.3/8.12.3) with ESMTP id g681GI0M024294 for ; Sun, 7 Jul 2002 18:16:22 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207080116.g681GI0M024294@gw.catspoiler.org> Date: Sun, 7 Jul 2002 18:15:23 -0700 (PDT) From: Don Lewis Subject: ps fails to build with -Werror To: current@FreeBSD.ORG MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This should be lots of fun for someone to fix ... ===> bin/ps cc -O -pipe -DLAZY_PS -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror -c /usr/src/bin/ps/fmt.c cc -O -pipe -DLAZY_PS -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror -c /usr/src/bin/ps/keyword.c cc -O -pipe -DLAZY_PS -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror -c /usr/src/bin/ps/nlist.c cc -O -pipe -DLAZY_PS -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror -c /usr/src/bin/ps/print.c cc1: warnings being treated as errors /usr/src/bin/ps/print.c: In function `started': /usr/src/bin/ps/print.c:400: warning: `%y' yields only last 2 digits of year /usr/src/bin/ps/print.c: In function `lstarted': /usr/src/bin/ps/print.c:417: warning: `%c' yields only last 2 digits of year in some locales on non-BSD systems /usr/src/bin/ps/print.c: In function `printval': /usr/src/bin/ps/print.c:686: warning: format not a string literal, argument types not checked /usr/src/bin/ps/print.c:689: warning: format not a string literal, argument types not checked /usr/src/bin/ps/print.c:692: warning: format not a string literal, argument types not checked /usr/src/bin/ps/print.c:695: warning: format not a string literal, argument types not checked /usr/src/bin/ps/print.c:698: warning: format not a string literal, argument types not checked /usr/src/bin/ps/print.c:701: warning: format not a string literal, argument types not checked /usr/src/bin/ps/print.c:704: warning: format not a string literal, argument types not checked /usr/src/bin/ps/print.c:707: warning: format not a string literal, argument types not checked /usr/src/bin/ps/print.c:710: warning: format not a string literal, argument types not checked *** Error code 1 Stop in /usr/src/bin/ps. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 19:40: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AEF937B400 for ; Sun, 7 Jul 2002 19:40:01 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 2028543E52 for ; Sun, 7 Jul 2002 19:39:57 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 36903 invoked by uid 1000); 8 Jul 2002 03:10:43 -0000 Date: Sun, 7 Jul 2002 20:10:43 -0700 (PDT) From: Nate Lawson To: current@freebsd.org Subject: dev_t semantics Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am using dev->si_drv1 to store my softc (as are other drivers). What guarantees do I have about multiple opens/closes not stepping on each other's toes? How does -stable compare to -current in this regard? Thanks, Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 19:45: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D16F337B400 for ; Sun, 7 Jul 2002 19:44:58 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE57843E09 for ; Sun, 7 Jul 2002 19:44:57 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.5/8.12.5) with ESMTP id g682ivKi062087; Sun, 7 Jul 2002 20:44:57 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.5/8.12.5/Submit) id g682it0L062086; Sun, 7 Jul 2002 20:44:55 -0600 (MDT) (envelope-from ken) Date: Sun, 7 Jul 2002 20:44:55 -0600 From: "Kenneth D. Merry" To: Bruce Evans Cc: Alexander Leidinger , current@FreeBSD.ORG Subject: Re: buildkernel error with ENABLE_VFS_IOOPT/ZERO_COPY_SOCKETS Message-ID: <20020707204455.A62060@panzer.kdm.org> References: <200207071607.g67G78JX076844@Magelan.Leidinger.net> <20020708074116.T13321-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020708074116.T13321-100000@gamplex.bde.org>; from bde@zeta.org.au on Mon, Jul 08, 2002 at 07:52:22AM +1000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jul 08, 2002 at 07:52:22 +1000, Bruce Evans wrote: > On Sun, 7 Jul 2002, Alexander Leidinger wrote: > > > -current from today fails in kern/kern_subr.c: > > > > ../../../kern/kern_subr.c:220: warning: function declaration isn't a prototype > > > > ---snip--- > > #if defined(ENABLE_VFS_IOOPT) || defined(ZERO_COPY_SOCKETS) > > /* > > * Experimental support for zero-copy I/O > > */ > > static int > > userspaceco(cp, cnt, uio, obj, disposable) > > caddr_t cp; > > u_int cnt; > > struct uio *uio; > > struct vm_object *obj; > > int disposable; > > { > > ---snip--- > > This happens when ENABLE_VFS_IOOPT is configured by ZERO_COPY_SOCKETS is > not configured. > > I don't like the #includes and declarations being in an unusual order > just to avoid ifdefs. The attached patch should fix both issues. Let me know whether this fixes it for you. Ken -- Kenneth Merry ken@kdm.org --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="kern_subr.c.20020707" ==== //depot/FreeBSD-zero/src/sys/kern/kern_subr.c#15 - /usr/home/ken/perforce/FreeBSD-zero/src/sys/kern/kern_subr.c ==== *** /tmp/tmp.40864.0 Sun Jul 7 20:44:13 2002 --- /usr/home/ken/perforce/FreeBSD-zero/src/sys/kern/kern_subr.c Sun Jul 7 20:43:57 2002 *************** *** 56,87 **** #include #include #include SYSCTL_INT(_kern, KERN_IOV_MAX, iov_max, CTLFLAG_RD, NULL, UIO_MAXIOV, "Maximum number of elements in an I/O vector; sysconf(_SC_IOV_MAX)"); ! #ifdef ZERO_COPY_SOCKETS ! #include ! #include ! #include ! #include ! #include ! #include ! #include ! #include ! #include ! #include ! #include ! #include ! #include /* Declared in uipc_socket.c */ extern int so_zero_copy_receive; static int vm_pgmoveco(vm_map_t mapa, vm_object_t srcobj, vm_offset_t kaddr, vm_offset_t uaddr); - static int userspaceco(caddr_t cp, u_int cnt, struct uio *uio, - struct vm_object *obj, int disposable); static int vm_pgmoveco(mapa, srcobj, kaddr, uaddr) --- 56,82 ---- #include #include #include + #ifdef ZERO_COPY_SOCKETS + #include + #endif /* ZERO_COPY_SOCKETS */ + #if defined(ZERO_COPY_SOCKETS) || defined(ENABLE_VFS_IOOPT) + #include + #endif SYSCTL_INT(_kern, KERN_IOV_MAX, iov_max, CTLFLAG_RD, NULL, UIO_MAXIOV, "Maximum number of elements in an I/O vector; sysconf(_SC_IOV_MAX)"); ! #if defined(ZERO_COPY_SOCKETS) || defined(ENABLE_VFS_IOOPT) ! static int userspaceco(caddr_t cp, u_int cnt, struct uio *uio, ! struct vm_object *obj, int disposable); ! #endif /* ZERO_COPY_SOCKETS || ENABLE_VFS_IOOPT */ + #ifdef ZERO_COPY_SOCKETS /* Declared in uipc_socket.c */ extern int so_zero_copy_receive; static int vm_pgmoveco(vm_map_t mapa, vm_object_t srcobj, vm_offset_t kaddr, vm_offset_t uaddr); static int vm_pgmoveco(mapa, srcobj, kaddr, uaddr) --82I3+IH0IqGh5yIs-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 20:28:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3945437B400 for ; Sun, 7 Jul 2002 20:28:33 -0700 (PDT) Received: from april.chuckr.org (april.chuckr.org [66.92.147.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7848143E09 for ; Sun, 7 Jul 2002 20:28:32 -0700 (PDT) (envelope-from chuckr@chuckr.org) Received: from localhost (chuckr@localhost) by april.chuckr.org (8.11.6/8.11.3) with ESMTP id g683SV701765 for ; Sun, 7 Jul 2002 23:28:31 -0400 (EDT) (envelope-from chuckr@chuckr.org) Date: Sun, 7 Jul 2002 23:28:30 -0400 (EDT) From: Chuck Robey To: FreeBSD-current Subject: current.freebsd.org Message-ID: <20020707232658.U945-100000@april.chuckr.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG is that machine dead? Is it still the source of current snaps? I need to re-install (having booting problems between old version of FreeBSD and new one, easiest fix is just to re-install) and I want to know where to go for a snap of current. Anyone got one? ---------------------------------------------------------------------------- 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 Sun Jul 7 20:29:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F9E537B400 for ; Sun, 7 Jul 2002 20:29:55 -0700 (PDT) Received: from leviathan.inethouston.net (leviathan.inethouston.net [66.64.12.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id F325043E09 for ; Sun, 7 Jul 2002 20:29:54 -0700 (PDT) (envelope-from dwcjr@inethouston.net) Received: by leviathan.inethouston.net (Postfix, from userid 1001) id 2CE563198DF; Sun, 7 Jul 2002 22:29:55 -0500 (CDT) Date: Sun, 7 Jul 2002 22:29:55 -0500 From: "David W. Chapman Jr." To: Chuck Robey Cc: FreeBSD-current Subject: Re: current.freebsd.org Message-ID: <20020708032955.GA55828@leviathan.inethouston.net> Reply-To: "David W. Chapman Jr." Mail-Followup-To: Chuck Robey , FreeBSD-current References: <20020707232658.U945-100000@april.chuckr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020707232658.U945-100000@april.chuckr.org> X-Operating-System: FreeBSD 4.6-STABLE i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 07, 2002 at 11:28:30PM -0400, Chuck Robey wrote: > is that machine dead? Is it still the source of current snaps? I need to > re-install (having booting problems between old version of FreeBSD and new > one, easiest fix is just to re-install) and I want to know where to go for > a snap of current. > > Anyone got one? Have you tried the jp site? It should be on the list of the ftp sites from sysinstall. Last I checked you could ftp install via ftp from the jp site that hosted the latest snaps. -- David W. Chapman Jr. dwcjr@inethouston.net Raintree Network Services, Inc. dwcjr@freebsd.org FreeBSD Committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 20:49: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F01737B401 for ; Sun, 7 Jul 2002 20:49:01 -0700 (PDT) Received: from april.chuckr.org (april.chuckr.org [66.92.147.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8327243E54 for ; Sun, 7 Jul 2002 20:49:00 -0700 (PDT) (envelope-from chuckr@chuckr.org) Received: from localhost (chuckr@localhost) by april.chuckr.org (8.11.6/8.11.3) with ESMTP id g683mlG01831; Sun, 7 Jul 2002 23:48:47 -0400 (EDT) (envelope-from chuckr@chuckr.org) Date: Sun, 7 Jul 2002 23:48:47 -0400 (EDT) From: Chuck Robey To: "David W. Chapman Jr." Cc: FreeBSD-current Subject: Re: current.freebsd.org In-Reply-To: <20020708032955.GA55828@leviathan.inethouston.net> Message-ID: <20020707234658.C945-100000@april.chuckr.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 7 Jul 2002, David W. Chapman Jr. wrote: > On Sun, Jul 07, 2002 at 11:28:30PM -0400, Chuck Robey wrote: > > is that machine dead? Is it still the source of current snaps? I need to > > re-install (having booting problems between old version of FreeBSD and new > > one, easiest fix is just to re-install) and I want to know where to go for > > a snap of current. > > > > Anyone got one? > > Have you tried the jp site? It should be on the list of the ftp > sites from sysinstall. Last I checked you could ftp install via ftp > from the jp site that hosted the latest snaps. Nope. I checked ftp,ftp2, and ftp3.jp.freebsd.org, and the best they had was a copy of the old 5.0DP1 release. That's months old now, I don't want to install that unless I must. > > ---------------------------------------------------------------------------- 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 Sun Jul 7 20:53:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F80637B400 for ; Sun, 7 Jul 2002 20:53:53 -0700 (PDT) Received: from isris.pair.com (isris.pair.com [209.68.2.39]) by mx1.FreeBSD.org (Postfix) with SMTP id 81CB043E58 for ; Sun, 7 Jul 2002 20:53:52 -0700 (PDT) (envelope-from rooneg@isris.pair.com) Received: (qmail 42091 invoked by uid 3130); 8 Jul 2002 03:53:51 -0000 Date: Sun, 7 Jul 2002 23:53:51 -0400 From: Garrett Rooney To: Chuck Robey Cc: "David W. Chapman Jr." , FreeBSD-current Subject: Re: current.freebsd.org Message-ID: <20020708035351.GE70572@electricjellyfish.net> References: <20020708032955.GA55828@leviathan.inethouston.net> <20020707234658.C945-100000@april.chuckr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020707234658.C945-100000@april.chuckr.org> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 07, 2002 at 11:48:47PM -0400, Chuck Robey wrote: > On Sun, 7 Jul 2002, David W. Chapman Jr. wrote: > > > On Sun, Jul 07, 2002 at 11:28:30PM -0400, Chuck Robey wrote: > > > is that machine dead? Is it still the source of current snaps? I need to > > > re-install (having booting problems between old version of FreeBSD and new > > > one, easiest fix is just to re-install) and I want to know where to go for > > > a snap of current. > > > > > > Anyone got one? > > > > Have you tried the jp site? It should be on the list of the ftp > > sites from sysinstall. Last I checked you could ftp install via ftp > > from the jp site that hosted the latest snaps. > > Nope. I checked ftp,ftp2, and ftp3.jp.freebsd.org, and the best they had > was a copy of the old 5.0DP1 release. That's months old now, I don't want > to install that unless I must. try snapshots.jp.freebsd.org -garrett -- garrett rooney Remember, any design flaw you're rooneg@electricjellyfish.net sufficiently snide about becomes http://electricjellyfish.net/ a feature. -- Dan Sugalski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 21: 7:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8993B37B400 for ; Sun, 7 Jul 2002 21:07:25 -0700 (PDT) Received: from ref5.freebsd.org (ref5.FreeBSD.org [216.136.204.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A74543E09 for ; Sun, 7 Jul 2002 21:07:25 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from ref5.freebsd.org (localhost [127.0.0.1]) by ref5.freebsd.org (8.12.5/8.12.5) with ESMTP id g6847Ogr036042 for ; Sun, 7 Jul 2002 21:07:25 -0700 (PDT) (envelope-from des@ref5.freebsd.org) Received: (from des@localhost) by ref5.freebsd.org (8.12.5/8.12.5/Submit) id g6847OLi036027 for current@freebsd.org; Sun, 7 Jul 2002 21:07:24 -0700 (PDT) Date: Sun, 7 Jul 2002 21:07:24 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200207080407.g6847OLi036027@ref5.freebsd.org> To: current@freebsd.org Subject: i386 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ===> bin/ps ... /local0/scratch/des/src/bin/ps/print.c: In function `printval': /local0/scratch/des/src/bin/ps/print.c:686: warning: format not a string literal, argument types not checked /local0/scratch/des/src/bin/ps/print.c:689: warning: format not a string literal, argument types not checked /local0/scratch/des/src/bin/ps/print.c:692: warning: format not a string literal, argument types not checked /local0/scratch/des/src/bin/ps/print.c:695: warning: format not a string literal, argument types not checked /local0/scratch/des/src/bin/ps/print.c:698: warning: format not a string literal, argument types not checked /local0/scratch/des/src/bin/ps/print.c:701: warning: format not a string literal, argument types not checked /local0/scratch/des/src/bin/ps/print.c:704: warning: format not a string literal, argument types not checked /local0/scratch/des/src/bin/ps/print.c:707: warning: format not a string literal, argument types not checked /local0/scratch/des/src/bin/ps/print.c:710: warning: format not a string literal, argument types not checked *** Error code 1 Stop in /local0/scratch/des/src/bin/ps. *** Error code 1 Stop in /local0/scratch/des/src/bin. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 21:29:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEEA137B400 for ; Sun, 7 Jul 2002 21:29:21 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 200B343E4A for ; Sun, 7 Jul 2002 21:29:21 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.5/8.12.2) with ESMTP id g684TJoi092589; Sun, 7 Jul 2002 21:29:19 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.5/Submit) id g684TIrY092588; Sun, 7 Jul 2002 21:29:18 -0700 (PDT) Date: Sun, 7 Jul 2002 21:29:18 -0700 From: "David O'Brien" To: Chuck Robey Cc: FreeBSD-current Subject: Re: current.freebsd.org Message-ID: <20020708042918.GA92568@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG Mail-Followup-To: David O'Brien , Chuck Robey , FreeBSD-current References: <20020707232658.U945-100000@april.chuckr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020707232658.U945-100000@april.chuckr.org> User-Agent: Mutt/1.4i 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 07, 2002 at 11:28:30PM -0400, Chuck Robey wrote: > is that machine dead? It's dead Jim. I've asked hostmaster@freebsd.org to CNAME current and releng4 to the .jp snap server. Perhaps a reminder to hostmaster by someone else would help. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 21:33:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCFB937B400; Sun, 7 Jul 2002 21:33:06 -0700 (PDT) Received: from april.chuckr.org (april.chuckr.org [66.92.147.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4C1E43E42; Sun, 7 Jul 2002 21:32:23 -0700 (PDT) (envelope-from chuckr@chuckr.org) Received: from localhost (chuckr@localhost) by april.chuckr.org (8.11.6/8.11.3) with ESMTP id g684WLi02204; Mon, 8 Jul 2002 00:32:21 -0400 (EDT) (envelope-from chuckr@chuckr.org) Date: Mon, 8 Jul 2002 00:32:21 -0400 (EDT) From: Chuck Robey To: "David O'Brien" Cc: FreeBSD-current Subject: Re: current.freebsd.org In-Reply-To: <20020708042918.GA92568@dragon.nuxi.com> Message-ID: <20020708003004.W945-100000@april.chuckr.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 7 Jul 2002, David O'Brien wrote: > On Sun, Jul 07, 2002 at 11:28:30PM -0400, Chuck Robey wrote: > > is that machine dead? > > It's dead Jim. I've asked hostmaster@freebsd.org to CNAME current and > releng4 to the .jp snap server. Perhaps a reminder to hostmaster by > someone else would help. Ohhhkay. The .jp site I found stopped making snaps on 6/21. Seeing as current only stabilized in the last day or so, I think first I'll write them and ask if it's going to start back up again. Manfred Antar told me about ftp.kddlabs.co.jp, which is the "good" site. > ---------------------------------------------------------------------------- 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 Sun Jul 7 21:36:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E99E637B400; Sun, 7 Jul 2002 21:36:08 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12A0B43E67; Sun, 7 Jul 2002 21:35:06 -0700 (PDT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id E34192A7EA; Sun, 7 Jul 2002 21:34:55 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id A2E6F4C2B9; Sun, 7 Jul 2002 21:34:55 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 8D9993808; Sun, 7 Jul 2002 21:34:55 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Dag-Erling Smorgrav Cc: current@freebsd.org Subject: Re: i386 tinderbox failure In-Reply-To: <200207080407.g6847OLi036027@ref5.freebsd.org> Date: Sun, 07 Jul 2002 21:34:55 -0700 From: Peter Wemm Message-Id: <20020708043455.8D9993808@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Heh, you *did* ask for -Werror to be turned back on. :-) Dag-Erling Smorgrav wrote: > -------------------------------------------------------------- > >>> Rebuilding the temporary build tree > -------------------------------------------------------------- > >>> stage 1: bootstrap tools > -------------------------------------------------------------- > >>> stage 2: cleaning up the object tree > -------------------------------------------------------------- > >>> stage 2: rebuilding the object tree > -------------------------------------------------------------- > >>> stage 2: build tools > -------------------------------------------------------------- > >>> stage 3: cross tools > -------------------------------------------------------------- > >>> stage 4: populating /home/des/tinderbox/i386/obj/local0/scratch/des/src/i 386/usr/include > -------------------------------------------------------------- > >>> stage 4: building libraries > -------------------------------------------------------------- > >>> stage 4: make dependencies > -------------------------------------------------------------- > >>> stage 4: building everything.. > -------------------------------------------------------------- > ===> bin/ps > ... > /local0/scratch/des/src/bin/ps/print.c: In function `printval': > /local0/scratch/des/src/bin/ps/print.c:686: warning: format not a string lite ral, argument types not checked > /local0/scratch/des/src/bin/ps/print.c:689: warning: format not a string lite ral, argument types not checked > /local0/scratch/des/src/bin/ps/print.c:692: warning: format not a string lite ral, argument types not checked > /local0/scratch/des/src/bin/ps/print.c:695: warning: format not a string lite ral, argument types not checked > /local0/scratch/des/src/bin/ps/print.c:698: warning: format not a string lite ral, argument types not checked > /local0/scratch/des/src/bin/ps/print.c:701: warning: format not a string lite ral, argument types not checked > /local0/scratch/des/src/bin/ps/print.c:704: warning: format not a string lite ral, argument types not checked > /local0/scratch/des/src/bin/ps/print.c:707: warning: format not a string lite ral, argument types not checked > /local0/scratch/des/src/bin/ps/print.c:710: warning: format not a string lite ral, argument types not checked > *** Error code 1 > > Stop in /local0/scratch/des/src/bin/ps. > *** Error code 1 > > Stop in /local0/scratch/des/src/bin. > *** Error code 1 > > Stop in /local0/scratch/des/src. > *** Error code 1 > > Stop in /local0/scratch/des/src. > *** Error code 1 > > Stop in /local0/scratch/des/src. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "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 Jul 7 21:41:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18A0337B400 for ; Sun, 7 Jul 2002 21:41:15 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4FBD43E09 for ; Sun, 7 Jul 2002 21:41:14 -0700 (PDT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 7BA0A2A8A5 for ; Sun, 7 Jul 2002 21:41:14 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 2ECA14C2B9 for ; Sun, 7 Jul 2002 21:41:14 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 22412380A for ; Sun, 7 Jul 2002 21:41:14 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: current@freebsd.org Subject: fsck hosed? Date: Sun, 07 Jul 2002 21:41:14 -0700 From: Peter Wemm Message-Id: <20020708044114.22412380A@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It seems to be aborting the 'process all file systems' loop when it modifies a file system. eg: WARNING: / was not properly dismounted Enter full pathname of shell or RETURN for /bin/sh: # fsck -y ** /dev/da0a ** Last Mounted on / ** Root filesystem ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 509 files, 38827 used, 205772 free (92 frags, 25710 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** ** /dev/da0e ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 9907 files, 154990 used, 826537 free (2393 frags, 103018 blocks, 0.2% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** ** /dev/da0f ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? yes SUMMARY INFORMATION BAD SALVAGE? yes BLK(S) MISSING IN BIT MAPS SALVAGE? yes 146 files, 580 used, 122131 free (83 frags, 15256 blocks, 0.1% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** ***** FILE SYSTEM WAS MODIFIED ***** # [[[ Uhh, what? What about the rest of the file systems? ]]] # cat /etc/fstab #Device Mountpoint FStype Options Dump Pass# /dev/da0a / ufs rw 1 1 /dev/da0b none swap sw 0 0 /dev/da0e /usr ufs rw 2 2 /dev/da0f /var ufs rw 2 2 /dev/da0g /tmp ufs rw 2 2 /dev/da0h /s ufs rw,nosuid,nodev 2 2 /dev/da1e /t ufs rw,nosuid,nodev 2 2 /dev/cd0a /cdrom cd9660 ro,noauto 0 0 freefall:/c /freefall/c nfs ro,bg,intr,soft,nodev,nosuid 0 0 freefall:/d /freefall/d nfs rw,bg,intr,soft,nodev,nosuid 0 0 # fsck -y ** /dev/da0a ** Last Mounted on / ** Root filesystem ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 509 files, 38827 used, 205772 free (92 frags, 25710 blocks, 0.0% fragmentation) ** /dev/da0e ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 9907 files, 154990 used, 826537 free (2393 frags, 103018 blocks, 0.2% fragmentation) ** /dev/da0f ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 146 files, 580 used, 122131 free (83 frags, 15256 blocks, 0.1% fragmentation) ** /dev/da0g ** Last Mounted on /tmp ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 4 files, 3 used, 122708 free (20 frags, 15336 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** ** /dev/da0h ** Last Mounted on /s ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 49948 files, 494996 used, 5375777 free (2105 frags, 671709 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** ** /dev/da1e ** Last Mounted on /t ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 18285 files, 205326 used, 4098363 free (2715 frags, 511956 blocks, 0.1% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** # fsck -p /dev/da0a: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/da0a: clean, 205772 free (92 frags, 25710 blocks, 0.0% fragmentation) /dev/da0e: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/da0e: clean, 826537 free (2393 frags, 103018 blocks, 0.2% fragmentation) /dev/da1e: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/da1e: clean, 4098363 free (2715 frags, 511956 blocks, 0.1% fragmentation) /dev/da0f: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/da0f: clean, 122131 free (83 frags, 15256 blocks, 0.1% fragmentation) /dev/da0g: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/da0g: clean, 122708 free (20 frags, 15336 blocks, 0.0% fragmentation) /dev/da0h: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/da0h: clean, 5375777 free (2105 frags, 671709 blocks, 0.0% fragmentation) # halt Notice how it completely exited after da0f and printing "WAS MODIFIED" ? Not to mention how we cannot shut down cleanly. :-( Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "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 Jul 7 21:48:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 145B837B400 for ; Sun, 7 Jul 2002 21:48:10 -0700 (PDT) Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DEE543E42 for ; Sun, 7 Jul 2002 21:48:09 -0700 (PDT) (envelope-from matusita@jp.FreeBSD.org) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g684m7n44323 for ; Mon, 8 Jul 2002 13:48:08 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) In-Reply-To: <20020708003004.W945-100000@april.chuckr.org> References: <20020708042918.GA92568@dragon.nuxi.com> <20020708003004.W945-100000@april.chuckr.org> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) 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: 18 From: Makoto Matsushita To: FreeBSD-current Subject: Re: current.freebsd.org Date: Mon, 08 Jul 2002 13:48:04 +0900 Message-Id: <20020708134804L.matusita@jp.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG chuckr> Ohhhkay. The .jp site I found stopped making snaps on 6/21. Mainly because kern.flp was flood. Any tiny breakages refuse to make a distribution. chuckr> Manfred Antar told me about ftp.kddlabs.co.jp, which is the chuckr> "good" site. It mirrors snapshots.jp.FreeBSD.org daily, if my log analysis is correct. snapshots.jp.FreeBSD.org is now becoming too busy ftp site, many connections are rejected because of max connection limit. I'm now seeking donors of network bandwidth and PCs (but I don't know I can find or not). Anyway, sorry for inconveniences at this time. -- - 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 Sun Jul 7 21:59:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1740937B400; Sun, 7 Jul 2002 21:59:47 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4F6643E09; Sun, 7 Jul 2002 21:59:46 -0700 (PDT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 6174D2A7D6; Sun, 7 Jul 2002 21:32:56 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 185E34C2B9; Sun, 7 Jul 2002 21:32:56 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id F01D43808; Sun, 7 Jul 2002 21:32:55 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: obrien@FreeBSD.ORG Cc: Chuck Robey , FreeBSD-current Subject: Re: current.freebsd.org In-Reply-To: <20020708042918.GA92568@dragon.nuxi.com> Date: Sun, 07 Jul 2002 21:32:55 -0700 From: Peter Wemm Message-Id: <20020708043255.F01D43808@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "David O'Brien" wrote: > On Sun, Jul 07, 2002 at 11:28:30PM -0400, Chuck Robey wrote: > > is that machine dead? > > It's dead Jim. I've asked hostmaster@freebsd.org to CNAME current and > releng4 to the .jp snap server. Perhaps a reminder to hostmaster by > someone else would help. Are the ftp paths equivalent? I seem to recall that current.freebsd.org is referenced in sysinstall. Will just a CNAME work? Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "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 Jul 7 22:41:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4833637B400 for ; Sun, 7 Jul 2002 22:41:11 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2F3243E52 for ; Sun, 7 Jul 2002 22:41:10 -0700 (PDT) (envelope-from dl@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.3/8.12.3) with ESMTP id g685eo0M024808; Sun, 7 Jul 2002 22:40:55 -0700 (PDT) (envelope-from dl@catspoiler.org) Message-Id: <200207080540.g685eo0M024808@gw.catspoiler.org> Date: Sun, 7 Jul 2002 22:40:51 -0700 (PDT) From: Don Lewis Subject: Re: cvs commit: src/sys/tools vnode_if.awk To: jroberson@chesapeake.net Cc: dl-freebsd@catspoiler.org, current@FreeBSD.ORG In-Reply-To: <20020707183557.M62445-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 7 Jul, Jeff Roberson wrote: > > > On Sun, 7 Jul 2002, Don Lewis wrote: >> Debugger(c0420fe4) at Debugger+0x45 >> vn_rdwr(0,c6737800,c6425000,55ac,0,0,1,8,c22c7200,df241aec,c22cc0c0) at >> vn_rdwr+0x18d >> linker_hints_lookup(c04750a0,c,c62df000,5,0) at >> linker_hints_lookup+0x2d9 >> linker_search_module(c62df000,5,0,0,c0415120) at >> linker_search_module+0x43 >> linker_load_module(0,c62df000,0,0,df241cdc) at linker_load_module+0x72 >> kldload(c22cc0c0,df241d14,1,0,296) at kldload+0xc3 >> syscall(...) >> > > Revision 1.91 of kern_linker.c fixes this problem. Can you try again? Looks good! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 23:24:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 630E337B400 for ; Sun, 7 Jul 2002 23:24:29 -0700 (PDT) Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8730B43E42 for ; Sun, 7 Jul 2002 23:24:28 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g686ORY65295; Mon, 8 Jul 2002 00:24:27 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g686OQG95440; Mon, 8 Jul 2002 00:24:26 -0600 (MDT) (envelope-from imp@village.org) Date: Mon, 08 Jul 2002 00:24:16 -0600 (MDT) Message-Id: <20020708.002416.130619382.imp@village.org> To: nate@root.org Cc: current@FreeBSD.ORG Subject: Re: dev_t semantics From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 2.1 on Emacs 21.1 / 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: Nate Lawson writes: : I am using dev->si_drv1 to store my softc (as are other drivers). What : guarantees do I have about multiple opens/closes not stepping on each : other's toes? How does -stable compare to -current in this regard? You don't have any guarantees. si_drv1 is for each dev_t. Multiple opens of the same minor device share the same dev_t. Stable and current are exactly the same in this reguard. You cannot easily have the semantics that you want :-( Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jul 7 23:29: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB35337B401 for ; Sun, 7 Jul 2002 23:28:56 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8601943E52 for ; Sun, 7 Jul 2002 23:28:56 -0700 (PDT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 4F6D82A7EA for ; Sun, 7 Jul 2002 23:28:55 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 0D1A44C49E for ; Sun, 7 Jul 2002 23:28:55 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 02DE03808 for ; Sun, 7 Jul 2002 23:28:55 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: current@freebsd.org Subject: Remember my ill-fated i386 smp pmap optimizations? Date: Sun, 07 Jul 2002 23:28:54 -0700 From: Peter Wemm Message-Id: <20020708062855.02DE03808@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A few months ago, I had a bit of a disaster with some pmap optimizations. After committing, all hell broke loose. It was backed out completely. I finally found the problem (diff cleaned up to highlight the problem): pmap_mapdev() ... for (tmpva = va; size > 0; ) { pte = vtopte(tmpva); *pte = pa | PG_RW | PG_V | pgeflag; size -= PAGE_SIZE; tmpva += PAGE_SIZE; - pa += PAGE_SIZE; } invltlb(); Excuse me while I go outside and shoot myself. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "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 Mon Jul 8 0: 0:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BFBD37B405 for ; Mon, 8 Jul 2002 00:00:58 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C39843E5E for ; Mon, 8 Jul 2002 00:00:57 -0700 (PDT) (envelope-from des@sparc64.style9.org) Received: from bowie.private (d141-203-124.home.cgocable.net [24.141.203.124]) by espresso.q9media.com (Postfix) with ESMTP id 55CD49C0B for ; Mon, 8 Jul 2002 02:57:01 -0400 (EDT) Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.5/8.12.5) with ESMTP id g68726Dm015752 for ; Mon, 8 Jul 2002 07:02:06 GMT (envelope-from des@bowie.private) Received: (from des@localhost) by bowie.private (8.12.5/8.12.5/Submit) id g687267W015750 for current@freebsd.org; Mon, 8 Jul 2002 07:02:06 GMT Date: Mon, 8 Jul 2002 07:02:06 GMT From: Dag-Erling Smorgrav Message-Id: <200207080702.g687267W015750@bowie.private> To: current@freebsd.org Subject: sparc64 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mon Jul 8 07:00:00 GMT 2002 cvs [update aborted]: /home/ncvs/CVSROOT: Interrupted system call To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 0:20:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB39037B401 for ; Mon, 8 Jul 2002 00:20:48 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 5074643E4A for ; Mon, 8 Jul 2002 00:20:47 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 8 Jul 2002 08:20:46 +0100 (BST) Date: Mon, 8 Jul 2002 08:20:42 +0100 From: David Malone To: Mike Makonnen Cc: freebsd-current@freebsd.org Subject: Re: benign bug in src/sys/kern/kern_resource.c:limcopy() ? Message-ID: <20020708072042.GA49370@walton.maths.tcd.ie> References: <20020707152851.3ddc58dc.makonnen@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020707152851.3ddc58dc.makonnen@pacbell.net> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 07, 2002 at 03:28:51PM -0700, Mike Makonnen wrote: > MALLOC(copy, struct plimit *, sizeof(struct plimit), > M_SUBPROC, M_WAITOK); > - bcopy(lim->pl_rlimit, copy->pl_rlimit, sizeof(struct plimit)); > + bcopy(lim->pl_rlimit, copy->pl_rlimit, sizeof(struct rlimit)); Since pl_rlimit is an array of struct rlimits, don't we want: bcopy(lim->pl_rlimit, copy->pl_rlimit, sizeof(struct rlimit)*RLIM_NLIMITS); or maybe: bcopy(&(lim->pl_rlimit[0]), &(copy->pl_rlimit[0]), sizeof(lim->pl_rlimit)); rather than just copying the first limit? It might be better to just bcopy the whole struct plimit and make a note that other fields need to be reset. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 0:21:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 558F937B400 for ; Mon, 8 Jul 2002 00:21:52 -0700 (PDT) Received: from mail.viasoft.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A52743E09 for ; Mon, 8 Jul 2002 00:21:48 -0700 (PDT) (envelope-from davidx@viasoft.com.cn) Received: from davidwnt (davidwnt.viasoft.com.cn [192.168.1.239]) by mail.viasoft.com.cn (8.9.3/8.9.3) with SMTP id PAA06134; Mon, 8 Jul 2002 15:37:58 +0800 Message-ID: <01d801c2264e$db1b4fe0$ef01a8c0@davidwnt> From: "David Xu" To: , "Peter Wemm" References: <20020708062855.02DE03808@overcee.wemm.org> Subject: Re: Remember my ill-fated i386 smp pmap optimizations? Date: Mon, 8 Jul 2002 15:12:43 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gartner: Apache is vulnerable, we recommend switching back to IIS to = protect yourselves ----- Original Message -----=20 From: "Peter Wemm" To: Sent: Monday, July 08, 2002 2:28 PM Subject: Remember my ill-fated i386 smp pmap optimizations? > A few months ago, I had a bit of a disaster with some pmap = optimizations. > After committing, all hell broke loose. It was backed out completely. >=20 > I finally found the problem (diff cleaned up to highlight the = problem): >=20 > pmap_mapdev() > ... > for (tmpva =3D va; size > 0; ) { > pte =3D vtopte(tmpva); > *pte =3D pa | PG_RW | PG_V | pgeflag; > size -=3D PAGE_SIZE; > tmpva +=3D PAGE_SIZE; > - pa +=3D PAGE_SIZE; :( > } > invltlb(); >=20 > Excuse me while I go outside and shoot myself. >=20 > Cheers, > -Peter > -- > Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com > "All of this is for nothing if we don't go to the stars" - JMS/B5 sorry for a bit OT, but why are pmap_mapdev and pmap_unmapdev still = using old C language parameter style? I saw other functions in pmap using ANSI C style. David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 1: 0:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7923837B405 for ; Mon, 8 Jul 2002 01:00:14 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2D6243E3B for ; Mon, 8 Jul 2002 01:00:13 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020708080012.TRN903.sccrmhc03.attbi.com@InterJet.elischer.org>; Mon, 8 Jul 2002 08:00:12 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id AAA27431; Mon, 8 Jul 2002 00:54:28 -0700 (PDT) Date: Mon, 8 Jul 2002 00:54:27 -0700 (PDT) From: Julian Elischer To: David Xu Cc: current@FreeBSD.ORG, Peter Wemm Subject: Re: Remember my ill-fated i386 smp pmap optimizations? In-Reply-To: <01d801c2264e$db1b4fe0$ef01a8c0@davidwnt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 8 Jul 2002, David Xu wrote: > > sorry for a bit OT, but why are pmap_mapdev and pmap_unmapdev still using > old C language parameter style? I saw other functions in pmap using ANSI > C style. > because until recently it was not 'kosher' to change them, but thank god we have now got past that lunacy, now it's just because no-one has committed changes to do it (yet). julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 1: 0:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4510537B42F for ; Mon, 8 Jul 2002 01:00:27 -0700 (PDT) Received: from 12-234-90-219.client.attbi.com (12-234-90-219.client.attbi.com [12.234.90.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id D463343E65 for ; Mon, 8 Jul 2002 01:00:24 -0700 (PDT) (envelope-from DougB@FreeBSD.org) Received: from Master.gorean.org (master.gorean.org [10.0.0.2]) by 12-234-90-219.client.attbi.com (8.12.3/8.12.3) with ESMTP id g6880IBw094671; Mon, 8 Jul 2002 01:00:18 -0700 (PDT) (envelope-from DougB@FreeBSD.org) Received: from localhost (doug@localhost) by Master.gorean.org (8.12.5/8.12.5/Submit) with ESMTP id g687YQfb002405; Mon, 8 Jul 2002 00:34:27 -0700 (PDT) X-Authentication-Warning: Master.gorean.org: doug owned process doing -bs Date: Mon, 8 Jul 2002 00:34:26 -0700 (PDT) From: Doug Barton To: Dag-Erling Smorgrav Cc: current@FreeBSD.org Subject: Re: sparc64 tinderbox failure In-Reply-To: <200207080702.g687267W015750@bowie.private> Message-ID: <20020708003316.L2247-100000@master.gorean.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Would it be possible to get better granularity on when things like this are sent to the list? Maybe some flag to set that says, "Hey, I started an actual buildworld, so from here on out any errors get mailed to the list." Doug On Mon, 8 Jul 2002, Dag-Erling Smorgrav wrote: > Mon Jul 8 07:00:00 GMT 2002 > cvs [update aborted]: /home/ncvs/CVSROOT: Interrupted system call > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 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 Mon Jul 8 1:18: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0415437B400 for ; Mon, 8 Jul 2002 01:17:59 -0700 (PDT) Received: from sanne.nlnetlabs.nl (sanne.nlnetlabs.nl [213.53.69.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6118B43E5E for ; Mon, 8 Jul 2002 01:17:57 -0700 (PDT) (envelope-from ted@sanne.nlnetlabs.nl) Received: from sanne.nlnetlabs.nl (localhost.nlnetlabs.nl [127.0.0.1]) by sanne.nlnetlabs.nl (8.12.5/8.12.5) with ESMTP id g688HtN2046988 for ; Mon, 8 Jul 2002 10:17:55 +0200 (CEST) (envelope-from ted@sanne.nlnetlabs.nl) Received: (from ted@localhost) by sanne.nlnetlabs.nl (8.12.5/8.12.5/Submit) id g688Hr7v046987 for freebsd-current@FreeBSD.org; Mon, 8 Jul 2002 10:17:53 +0200 (CEST) Date: Mon, 8 Jul 2002 10:17:53 +0200 (CEST) From: Ted Lindgreen Message-Id: <200207080817.g688Hr7v046987@sanne.nlnetlabs.nl> To: freebsd-current@FreeBSD.org Subject: Mousewheel problem after compiling X on CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG After re-compiling XFree86-Server-4.2.0_3 on current, my mousewheel (Logitech usb wheel mouse, connected via sysmouse) produces only downward, or button-5, events on scrolling either up or down. The problem appears to be the compilation of line 1508 in /usr/ports/x11-servers/XFree86-4-Server/work/xc/programs/Xserver/hw/xfree86/input/mouse/mouse.c Changing this line: dz = ((char)(pBuf[5] << 1) + (char)(pBuf[6] << 1)) / 2; into dz = ((signed char)(pBuf[5] << 1) + (signed char)(pBuf[6] << 1)) >> 1; works around the problem. I copied this change from an earlier change to moused.c in revision 1.56 to work around the same problem there. -- ted To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 1:46:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 284FA37B400; Mon, 8 Jul 2002 01:46:42 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B67543E09; Mon, 8 Jul 2002 01:46:37 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g688kXP48908; Mon, 8 Jul 2002 11:46:33 +0300 (EEST) (envelope-from ru) Date: Mon, 8 Jul 2002 11:46:33 +0300 From: Ruslan Ermilov To: "David E. O'Brien" Cc: current@FreeBSD.org Subject: Re: cvs commit: src/share/mk bsd.sys.mk Message-ID: <20020708084633.GA47134@sunbay.com> References: <200207071847.g67IlqGc010115@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <200207071847.g67IlqGc010115@freefall.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 07, 2002 at 11:47:52AM -0700, David E. O'Brien wrote: > obrien 2002/07/07 11:47:52 PDT >=20 > Modified files: > share/mk bsd.sys.mk=20 > Log: > Be more strict with WARNS now -- the GCC 3.1 turmoil is behind us. > =20 > Revision Changes Path > 1.10 +6 -0 src/share/mk/bsd.sys.mk >=20 I'm sure you know that it's now about the time for -DNO_WERRROR to build -CURRENT: =3D=3D=3D> bin/chmod cc -O -pipe -march=3Dpentiumpro -Werror -Wall -Wno-format-y2k -Wno-uninit= ialized -Wformat=3D2 -Wno-format-extra-args -Werror -c /CURRENT/usr/src/bi= n/chmod/chmod.c cc1: warnings being treated as errors /CURRENT/usr/src/bin/chmod/chmod.c: In function `main': /CURRENT/usr/src/bin/chmod/chmod.c:174: warning: null format string *** Error code 1 Stop in /CURRENT/usr/src/bin/chmod. *** Error code 1 Cheers, --=20 Ruslan Ermilov Sysadmin and 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 --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9KVFpUkv4P6juNwoRAioMAKCEOr6jNFLL4BUYi65lrVReeSofkQCfanhs 7hlswejTK7WeCyZ2fOe+Zg4= =thNP -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 1:58:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE97037B400; Mon, 8 Jul 2002 01:58:27 -0700 (PDT) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C6FA43E31; Mon, 8 Jul 2002 01:58:27 -0700 (PDT) (envelope-from mtm@pacbell.net) Received: from kokeb.ambesa.net ([64.166.85.115]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GYX001K7A9FQH@mta5.snfc21.pbi.net>; Mon, 08 Jul 2002 01:58:27 -0700 (PDT) Received: from kokeb.ambesa.net (smmsp@localhost [IPv6:::1]) by kokeb.ambesa.net (8.12.5/8.12.5) with ESMTP id g688wHVb060197; Mon, 08 Jul 2002 01:58:18 -0700 Received: (from mtm@localhost) by kokeb.ambesa.net (8.12.5/8.12.5/Submit) id g688dqGR059874; Mon, 08 Jul 2002 01:39:52 -0700 (PDT) Date: Mon, 08 Jul 2002 01:39:52 -0700 From: Mike Makonnen Subject: Re: benign bug in src/sys/kern/kern_resource.c:limcopy() ? In-reply-to: <20020708072042.GA49370@walton.maths.tcd.ie> To: David Malone Cc: freebsd-current@FreeBSD.ORG, alfred@FreeBSD.ORG Message-id: <20020708013952.105b9bfc.makonnen@pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20020707152851.3ddc58dc.makonnen@pacbell.net> <20020708072042.GA49370@walton.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 08 Jul 2002 08:20:42 +0100 David Malone wrote: > > bcopy(&(lim->pl_rlimit[0]), &(copy->pl_rlimit[0]), > sizeof(lim->pl_rlimit)); > > rather than just copying the first limit? It might be better to just > bcopy the whole struct plimit and make a note that other fields need > to be reset. > yeah, you're right. I replaced one benign bug with a worse one. Alfred emailed me about it earlier, but I wasn't paying attention. Sorry :( Cheers, Mike Makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 2:26:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F62437B400 for ; Mon, 8 Jul 2002 02:26:48 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC12943E54 for ; Mon, 8 Jul 2002 02:26:47 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g689QAh69717; Mon, 8 Jul 2002 02:26:10 -0700 (PDT) (envelope-from rizzo) Date: Mon, 8 Jul 2002 02:26:10 -0700 From: Luigi Rizzo To: "Richard Seaman, Jr." , "Joel M. Baldwin" , freebsd-current@FreeBSD.ORG Subject: Re: natd core dumping with bus error Message-ID: <20020708022610.A69669@iguana.icir.org> References: <237537741.1025633076@[192.168.1.20]> <20020704092038.M3283@seaman.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020704092038.M3283@seaman.org>; from dick@seaman.org on Thu, Jul 04, 2002 at 09:20:38AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Could you clarify the problem ? I believe the problem appears when you _do_ use punch_fw, otherwise the modified code is never called. cheers luigi On Thu, Jul 04, 2002 at 09:20:38AM -0500, Richard Seaman, Jr. wrote: > On Tue, Jul 02, 2002 at 06:04:36PM -0700, Joel M. Baldwin wrote: > > > > > > Something has messed up natd. If I don't have the > > punch_fw option in the /etc/natd.conf file it eventuially > > core dumps with a bus error. I think this started JUST > > BEFORE the KSE commit. > > Yes, I've seen the same thing on a pre-KSE kernel. The error > occurs in PunchFWHole in alias_db.c in libalias. Reverting > the following commit seems to fix it (I haven't had a chance > to investigate further): > > luigi 2002/06/27 16:02:18 PDT > > Modified files: > sbin/ipfw Makefile > sys/netinet ip_dummynet.c ip_fw.h > sys/conf files > lib/libalias alias_db.c > Added files: > sbin/ipfw ipfw2.c > sys/netinet ip_fw2.c > Log: > The new ipfw code. > > > > -- > Richard Seaman, Jr. email: dick@seaman.org > 5182 N. Maple Lane phone: 262-367-5450 > Nashotah WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 2:45:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38FF137B400; Mon, 8 Jul 2002 02:45:33 -0700 (PDT) Received: from outel.org (dcn177-152.dcn.davis.ca.us [168.150.177.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6BED43E09; Mon, 8 Jul 2002 02:45:32 -0700 (PDT) (envelope-from qumqats@outel.org) Received: from localhost (winxp [192.168.1.20]) by outel.org (8.12.5/8.12.5) with ESMTP id g689jBuE054426; Mon, 8 Jul 2002 02:45:25 -0700 (PDT) (envelope-from qumqats@outel.org) Date: Mon, 08 Jul 2002 02:46:02 -0700 From: "Joel M. Baldwin" To: Luigi Rizzo , "Richard Seaman, Jr." , freebsd-current@FreeBSD.ORG Subject: Re: natd core dumping with bus error Message-ID: <194718830.1026096362@[192.168.1.20]> In-Reply-To: <20020708022610.A69669@iguana.icir.org> References: <237537741.1025633076@[192.168.1.20]> <20020704092038.M3283@seaman.org> <20020708022610.A69669@iguana.icir.org> X-Mailer: Mulberry/3.0.0a3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I started out without punch_fw. natd was core dumping on me. I eventually figured out that if I added punch_fw in, natd no longer core dumped. I've left it in, things seem to work better anyway with it in. I've put a core dump file at Here is my original message: > Something has messed up natd. If I don't have the > punch_fw option in the /etc/natd.conf file it eventuially > core dumps with a bus error. I think this started JUST > BEFORE the KSE commit. > > > > /etc/natd.conf: ( note that this works. comment out the > punch_fw option and it core dumps ) > use_sockets yes > same_ports yes > unregistered_only yes > interface rl0 > punch_fw 5000:50 > > > > natd stuff in /etc/rc.conf: > natd_enable="YES" > natd_flags="-f /etc/natd.conf" > natd_interface="rl0" # rl0-external ifc : fxp0-internal ifc > > > > ipfw list: ( this is the SIMPLE firewall type rules with > the addition of rules 400 and 500 ) > 00100 allow ip from any to any via lo0 > 00200 deny ip from any to 127.0.0.0/8 > 00300 deny ip from 127.0.0.0/8 to any > 00400 allow tcp from any to any via fxp0 > 00500 allow udp from any to any via fxp0 > 00600 deny ip from 192.168.1.0/24 to any in via rl0 > 00700 deny ip from 168.150.177.152 to any in via fxp0 > 00800 deny ip from any to 10.0.0.0/8 via rl0 > 00900 deny ip from any to 172.16.0.0/12 via rl0 > 01000 deny ip from any to 192.168.0.0/16 via rl0 > 01100 deny ip from any to 0.0.0.0/8 via rl0 > 01200 deny ip from any to 169.254.0.0/16 via rl0 > 01300 deny ip from any to 192.0.2.0/24 via rl0 > 01400 deny ip from any to 224.0.0.0/4 via rl0 > 01500 deny ip from any to 240.0.0.0/4 via rl0 > 01600 divert 8668 ip from any to any via rl0 > 01700 deny ip from 10.0.0.0/8 to any via rl0 > 01800 deny ip from 172.16.0.0/12 to any via rl0 > 01900 deny ip from 192.168.0.0/16 to any via rl0 > 02000 deny ip from 0.0.0.0/8 to any via rl0 > 02100 deny ip from 169.254.0.0/16 to any via rl0 > 02200 deny ip from 192.0.2.0/24 to any via rl0 > 02300 deny ip from 224.0.0.0/4 to any via rl0 > 02400 deny ip from 240.0.0.0/4 to any via rl0 > 02500 allow tcp from any to any established > 02600 allow ip from any to any frag > 02700 allow tcp from any to 168.150.177.152 25 setup > 02800 allow tcp from any to 168.150.177.152 53 setup > 02900 allow udp from any to 168.150.177.152 53 > 03000 allow udp from 168.150.177.152 53 to any > 03100 allow tcp from any to 168.150.177.152 80 setup > 03200 deny log tcp from any to any in via rl0 setup > 03300 allow tcp from any to any setup > 03400 allow udp from 168.150.177.152 to any 53 keep-state > 65535 deny ip from any to any > > > > gdb traceback: > su-2.05# gdb -c natd.core /sbin/natd > GNU gdb 5.2.0 (FreeBSD) 20020627 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are welcome to change it and/or distribute copies of it under > certain conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. This GDB was configured as "i386-undermydesk-freebsd"...(no > debugging symbols found)... Core was generated by `natd'. > Program terminated with signal 10, Bus error. ># 0 0x08050c27 in ?? () > (gdb) bt ># 0 0x08050c27 in ?? () ># 1 0x0804f0f0 in ?? () ># 2 0x0804f0a6 in ?? () ># 3 0x080503b5 in ?? () ># 4 0x0804b489 in ?? () ># 5 0x08048b38 in ?? () ># 6 0x080487ee in ?? () ># 7 0x08048131 in ?? () > (gdb) > > > If you need something else to diagnose this let me know and I'll > do whatever I can to help. --On Monday, July 08, 2002 2:26 AM -0700 Luigi Rizzo wrote: > Could you clarify the problem ? > I believe the problem appears when you _do_ use punch_fw, > otherwise the modified code is never called. > > cheers > luigi > > On Thu, Jul 04, 2002 at 09:20:38AM -0500, Richard Seaman, Jr. wrote: >> On Tue, Jul 02, 2002 at 06:04:36PM -0700, Joel M. Baldwin wrote: >> > >> > >> > Something has messed up natd. If I don't have the >> > punch_fw option in the /etc/natd.conf file it eventuially >> > core dumps with a bus error. I think this started JUST >> > BEFORE the KSE commit. >> >> Yes, I've seen the same thing on a pre-KSE kernel. The error >> occurs in PunchFWHole in alias_db.c in libalias. Reverting >> the following commit seems to fix it (I haven't had a chance >> to investigate further): >> >> luigi 2002/06/27 16:02:18 PDT >> >> Modified files: >> sbin/ipfw Makefile >> sys/netinet ip_dummynet.c ip_fw.h >> sys/conf files >> lib/libalias alias_db.c >> Added files: >> sbin/ipfw ipfw2.c >> sys/netinet ip_fw2.c >> Log: >> The new ipfw code. >> >> >> >> -- >> Richard Seaman, Jr. email: dick@seaman.org >> 5182 N. Maple Lane phone: 262-367-5450 >> Nashotah WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 4: 0:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5E1937B400; Mon, 8 Jul 2002 04:00:27 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4917E43E58; Mon, 8 Jul 2002 04:00:27 -0700 (PDT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 2D5CC2A7D6; Mon, 8 Jul 2002 04:00:27 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id D89154C248; Mon, 8 Jul 2002 04:00:26 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id D67CB3811; Mon, 8 Jul 2002 04:00:26 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Ruslan Ermilov Cc: "David E. O'Brien" , current@FreeBSD.org Subject: Re: cvs commit: src/share/mk bsd.sys.mk In-Reply-To: <20020708084633.GA47134@sunbay.com> Date: Mon, 08 Jul 2002 04:00:26 -0700 From: Peter Wemm Message-Id: <20020708110026.D67CB3811@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ruslan Ermilov wrote: > On Sun, Jul 07, 2002 at 11:47:52AM -0700, David E. O'Brien wrote: > > obrien 2002/07/07 11:47:52 PDT > >=20 > > Modified files: > > share/mk bsd.sys.mk=20 > > Log: > > Be more strict with WARNS now -- the GCC 3.1 turmoil is behind us. > > =20 > > Revision Changes Path > > 1.10 +6 -0 src/share/mk/bsd.sys.mk > >=20 > I'm sure you know that it's now about the time for -DNO_WERRROR to > build -CURRENT: > > =3D=3D=3D> bin/chmod > cc -O -pipe -march=3Dpentiumpro -Werror -Wall -Wno-format-y2k -Wno-uninit= > ialized -Wformat=3D2 -Wno-format-extra-args -Werror -c /CURRENT/usr/src/bi= > n/chmod/chmod.c > cc1: warnings being treated as errors > /CURRENT/usr/src/bin/chmod/chmod.c: In function `main': > /CURRENT/usr/src/bin/chmod/chmod.c:174: warning: null format string > *** Error code 1 > Stop in /CURRENT/usr/src/bin/chmod. > *** Error code 1 See the "Subject: -Werror removed from bsd.sys.mk" posting on -arch from DES. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "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 Mon Jul 8 4:12:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F175337B400; Mon, 8 Jul 2002 04:12:32 -0700 (PDT) Received: from ns0.seaman.net (ns0.seaman.net [168.215.64.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB3D343E5E; Mon, 8 Jul 2002 04:12:31 -0700 (PDT) (envelope-from dick@seaman.org) Received: from tbird.internal.seaman.net (tbird [192.168.10.12]) by ns0.seaman.net (8.12.5/8.12.5) with ESMTP id g68BCRcK040382; Mon, 8 Jul 2002 06:12:27 -0500 (CDT) (envelope-from dick@seaman.org) Received: (from dick@localhost) by tbird.internal.seaman.net (8.11.6/8.11.6) id g68BCQT27578; Mon, 8 Jul 2002 06:12:26 -0500 Date: Mon, 8 Jul 2002 06:12:26 -0500 From: "Richard Seaman, Jr." To: Luigi Rizzo Cc: "Joel M. Baldwin" , freebsd-current@FreeBSD.ORG Subject: Re: natd core dumping with bus error Message-ID: <20020708061226.R3283@seaman.org> Mail-Followup-To: "Richard Seaman, Jr." , Luigi Rizzo , "Joel M. Baldwin" , freebsd-current@FreeBSD.ORG References: <237537741.1025633076@[192.168.1.20]> <20020704092038.M3283@seaman.org> <20020708022610.A69669@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020708022610.A69669@iguana.icir.org>; from luigi@FreeBSD.ORG on Mon, Jul 08, 2002 at 02:26:10AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 08, 2002 at 02:26:10AM -0700, Luigi Rizzo wrote: > Could you clarify the problem ? > I believe the problem appears when you _do_ use punch_fw, > otherwise the modified code is never called. > > cheers > luigi I did not have punch_fw enabled when I encountered the problem. I created a debug version of natd (but not libalias) and saw that the bus error was in PunchFWHole. Since I didn't have a debug version of libalias, I can't tell you what line. Perhaps PunchFWHole is being called when its not supposed to be, with bad values? -- Richard Seaman, Jr. email: dick@seaman.org 5182 N. Maple Lane phone: 262-367-5450 Nashotah WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 4:49:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A908B37B400 for ; Mon, 8 Jul 2002 04:49:10 -0700 (PDT) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7F3243E52 for ; Mon, 8 Jul 2002 04:48:04 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd11.sul.t-online.de by mailout06.sul.t-online.com with smtp id 17RWzX-0002CS-00; Mon, 08 Jul 2002 13:47:43 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.109.6]) by fmrl11.sul.t-online.com with esmtp id 17RWzH-1wPDjkC; Mon, 8 Jul 2002 13:47:27 +0200 Received: from Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g68BlQx75853; Mon, 8 Jul 2002 13:47:26 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Message-ID: <3D2989E0.5050008@Leidinger.net> Date: Mon, 08 Jul 2002 13:47:28 +0100 From: Alexander Leidinger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:0.9.9) Gecko/20020311 X-Accept-Language: de, en-us MIME-Version: 1.0 To: "Kenneth D. Merry" Cc: Bruce Evans , current@FreeBSD.ORG Subject: Re: buildkernel error with ENABLE_VFS_IOOPT/ZERO_COPY_SOCKETS References: <200207071607.g67G78JX076844@Magelan.Leidinger.net> <20020708074116.T13321-100000@gamplex.bde.org> <20020707204455.A62060@panzer.kdm.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kenneth D. Merry wrote: > The attached patch should fix both issues. I give it a try later (perhaps tomorrow). Bye, Alexander. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 5:46:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6863737B401; Mon, 8 Jul 2002 05:46:05 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAB7243E09; Mon, 8 Jul 2002 05:46:04 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.5/8.12.5) with ESMTP id g68Cjvwr000350; Mon, 8 Jul 2002 05:46:01 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207081246.g68Cjvwr000350@gw.catspoiler.org> Date: Mon, 8 Jul 2002 05:45:57 -0700 (PDT) From: Don Lewis Subject: struct stat and _POSIX_SOURCE To: current@FreeBSD.org, bde@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Building OpenOffice is broken in -current because of a problem in . If _POSIX_SOURCE is defined, does not #include to get the definition of struct timespec, and it substitutes alternate structure members for the struct timespec members. Unfortunately it still attempts to pad the structure with bit fields whose width is relies on the definition of struct timespec. Making: ../unxfbsd.pro/obj/cppsetup.obj gcc31 -w -c -I. -I. -I../inc -I../inc -I../unx/inc -I../unxfbsd.pro/inc -I. -I/usr/ports/editors/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc/dont_use_stl -I/usr/ports/editors/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc/external -I/usr/ports/editors/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc -I/usr/ports/editors/openoffice/work/oo_1.0_src/solenv/unxfbsd/inc -I/usr/ports/editors/openoffice/work/oo_1.0_src/solenv/inc -I/usr/ports/editors/openoffice/work/oo_1.0_src/res -I/usr/include -I/usr/ports/editors/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc/dont_use_stl -I/usr/ports/editors/openoffice/work/oo_1.0_src/solenv/inc/Xp31 -I/usr/local/jdk1.3.1/include -I/usr/local/jdk1.3.1/include/freebsd -I/usr/local/jdk1.3.1/include/green_threads/include -I/usr/X11R6/include -I/lib/gcc-lib/i386-portbld-freebsd5.0/3.1.1/include -I/usr/include -I. -I../res -I. -I/usr/ports/editors/openoffice/work/oo_1.0_src/solenv/unxfbsdi/usr/include -I/usr/X11R6/in! clude -O -pipe -fPIC -DFREEBSD -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300 -D_USE_NAMESPACE -D_USE_NAMESPACE=1 -DX86 -DNEW_SOLAR -DSTLPORT_VERSION=400 -DOSVERSION=500037 -D_THREAD_SAFE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=641 -DBUILD=7663 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRC641 -DNO_X11 -DXP_PC -DHW_THREADS -DINCLUDEDIR=\".\" -DSINGLETHREAD -o ../unxfbsd.pro/obj/cppsetup.o cppsetup.c In file included from def.h:50, from cppsetup.c:29: /usr/include/sys/stat.h:127: sizeof applied to an incomplete type /usr/include/sys/stat.h:128: sizeof applied to an incomplete type dmake: Error code 1, while making '../unxfbsd.pro/obj/cppsetup.obj' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 6:25: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58C3237B400 for ; Mon, 8 Jul 2002 06:25:06 -0700 (PDT) Received: from leviathan.inethouston.net (leviathan.inethouston.net [66.64.12.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9E9543E3B for ; Mon, 8 Jul 2002 06:25:05 -0700 (PDT) (envelope-from dwcjr@inethouston.net) Received: from dwcjr (dwcjr [192.168.0.248]) by leviathan.inethouston.net (Postfix) with ESMTP id CA0483198DF; Mon, 8 Jul 2002 08:25:01 -0500 (CDT) Message-ID: <019201c22682$ddad6ed0$f800a8c0@dwcjr> From: "David W. Chapman Jr." To: "Garrett Rooney" , "Chuck Robey" Cc: "FreeBSD-current" References: <20020708032955.GA55828@leviathan.inethouston.net> <20020707234658.C945-100000@april.chuckr.org> <20020708035351.GE70572@electricjellyfish.net> Subject: Re: current.freebsd.org Date: Mon, 8 Jul 2002 08:25:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > On Sun, Jul 07, 2002 at 11:28:30PM -0400, Chuck Robey wrote: > > > > is that machine dead? Is it still the source of current snaps? = I need to > > > > re-install (having booting problems between old version of = FreeBSD and new > > > > one, easiest fix is just to re-install) and I want to know where = to go for > > > > a snap of current. > > > > > > > > Anyone got one? > > > > > > Have you tried the jp site? It should be on the list of the ftp > > > sites from sysinstall. Last I checked you could ftp install via = ftp > > > from the jp site that hosted the latest snaps. > >=20 > > Nope. I checked ftp,ftp2, and ftp3.jp.freebsd.org, and the best = they had > > was a copy of the old 5.0DP1 release. That's months old now, I = don't want > > to install that unless I must. >=20 > try snapshots.jp.freebsd.org >=20 That's the site I meant! :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 6:52:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 793F137B400 for ; Mon, 8 Jul 2002 06:52:31 -0700 (PDT) Received: from draco.macsch.com (ns1.mscsoftware.com [192.207.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1227743E3B for ; Mon, 8 Jul 2002 06:52:31 -0700 (PDT) (envelope-from Georg.Koltermann@mscsoftware.com) Received: from mailmuc.muc.eu.mscsoftware.com (mailmuc.muc.macsch.com [161.34.37.20]) by draco.macsch.com (8.9.3/8.9.3) with ESMTP id GAA01750; Mon, 8 Jul 2002 06:52:10 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mailmuc.muc.eu.mscsoftware.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g68DoHp25219; Mon, 8 Jul 2002 15:50:17 +0200 Cc: freebsd-current@FreeBSD.ORG Content-Transfer-Encoding: 7bit Content-Type: text/plain Date: 08 Jul 2002 15:50:45 +0200 From: "Georg-W. Koltermann" In-Reply-To: <20020708044114.22412380A@overcee.wemm.org> Message-Id: <1026136245.61276.58.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Received: from hunter.muc.macsch.com by mailmuc.muc.eu.mscsoftware.com (AvMailGate-2.0.0.6) id 25191-33F3A541; Mon, 08 Jul 2002 15:50:09 +0200 References: <20020708044114.22412380A@overcee.wemm.org> Subject: Re: fsck hosed? To: Peter Wemm X-AntiVirus: OK! AntiVir MailGate Version 2.0.0.6 at mailmuc has not found any known virus in this email. X-Mailer: Ximian Evolution 1.0.5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yes, I see that as well. Another symptom is that fsck -p now always announces "unexpected inconsistencies" and drops back to singleuser when it indeed was able to fix the problems, i.e. it marks the filesystem clean and a manual fsck does not report anything unusual. My last cvsup was with date=2002.06.27.22.00.00 (pre-KSE III, post-UFS2). -- Regards, Georg. Am Mo, 2002-07-08 um 06.41 schrieb Peter Wemm: > It seems to be aborting the 'process all file systems' loop when it modifies > a file system. eg: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 7: 9: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D294937B400 for ; Mon, 8 Jul 2002 07:08:59 -0700 (PDT) Received: from web20907.mail.yahoo.com (web20907.mail.yahoo.com [216.136.226.229]) by mx1.FreeBSD.org (Postfix) with SMTP id 26E4D43E31 for ; Mon, 8 Jul 2002 07:08:59 -0700 (PDT) (envelope-from bsddiy@yahoo.com) Message-ID: <20020708140858.25117.qmail@web20907.mail.yahoo.com> Received: from [218.108.158.108] by web20907.mail.yahoo.com via HTTP; Mon, 08 Jul 2002 07:08:58 PDT Date: Mon, 8 Jul 2002 07:08:58 -0700 (PDT) From: David Xu Subject: Re: natd core dumping with bus error To: "Richard Seaman, Jr." , Luigi Rizzo Cc: "Joel M. Baldwin" , "freebsd-current@FreeBSD.ORG" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG you have turned on "nat enable yes" in ppp.conf, and but you havn't turned ip_foward on in sysctl, so core dumped. David Xu ----- Original Message ----- From: "Richard Seaman, Jr." To: "Luigi Rizzo" Cc: "Joel M. Baldwin" ; Sent: Monday, July 08, 2002 7:12 PM Subject: Re: natd core dumping with bus error > On Mon, Jul 08, 2002 at 02:26:10AM -0700, Luigi Rizzo wrote: > > Could you clarify the problem ? > > I believe the problem appears when you _do_ use punch_fw, > > otherwise the modified code is never called. > > > > cheers > > luigi > > I did not have punch_fw enabled when I encountered the problem. > I created a debug version of natd (but not libalias) and > saw that the bus error was in PunchFWHole. Since I didn't have > a debug version of libalias, I can't tell you what line. > > Perhaps PunchFWHole is being called when its not supposed to be, > with bad values? > > -- > Richard Seaman, Jr. email: dick@seaman.org > 5182 N. Maple Lane phone: 262-367-5450 > Nashotah WI 53058 fax: 262-367-5852 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 7:18:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A892037B405; Mon, 8 Jul 2002 07:18:07 -0700 (PDT) Received: from ns0.seaman.net (ns0.seaman.net [168.215.64.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81F0A43E54; Mon, 8 Jul 2002 07:18:06 -0700 (PDT) (envelope-from dick@seaman.org) Received: from tbird.internal.seaman.net (tbird [192.168.10.12]) by ns0.seaman.net (8.12.5/8.12.5) with ESMTP id g68EI4cK040975; Mon, 8 Jul 2002 09:18:05 -0500 (CDT) (envelope-from dick@seaman.org) Received: (from dick@localhost) by tbird.internal.seaman.net (8.11.6/8.11.6) id g68EI4328785; Mon, 8 Jul 2002 09:18:04 -0500 Date: Mon, 8 Jul 2002 09:18:04 -0500 From: "Richard Seaman, Jr." To: David Xu Cc: "Richard Seaman, Jr." , Luigi Rizzo , "Joel M. Baldwin" , "freebsd-current@FreeBSD.ORG" Subject: Re: natd core dumping with bus error Message-ID: <20020708091804.S3283@seaman.org> Mail-Followup-To: "Richard Seaman, Jr." , David Xu , Luigi Rizzo , "Joel M. Baldwin" , "freebsd-current@FreeBSD.ORG" References: <20020708140858.25117.qmail@web20907.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020708140858.25117.qmail@web20907.mail.yahoo.com>; from bsddiy@yahoo.com on Mon, Jul 08, 2002 at 07:08:58AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 08, 2002 at 07:08:58AM -0700, David Xu wrote: > you have turned on "nat enable yes" in ppp.conf, > and but you havn't turned ip_foward on in sysctl, > so core dumped. > > David Xu Well, I'm not running ppp, and never indicated I was. I'm running natd. # sysctl -a | grep forward net.inet.ip.forwarding: 1 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 Everything works fine with pre "new-ipfw", and has for years. Same rules, same configuration, and with "new ipfw", core dump. -- Richard Seaman, Jr. email: dick@seaman.org 5182 N. Maple Lane phone: 262-367-5450 Nashotah WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 7:24: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AFCA37B400 for ; Mon, 8 Jul 2002 07:23:59 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0477843E3B for ; Mon, 8 Jul 2002 07:23:58 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.5/8.12.5) with ESMTP id g68ENiwr000522; Mon, 8 Jul 2002 07:23:48 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207081423.g68ENiwr000522@gw.catspoiler.org> Date: Mon, 8 Jul 2002 07:23:44 -0700 (PDT) From: Don Lewis Subject: Re: cvs commit: src/sys/tools vnode_if.awk To: jroberson@chesapeake.net Cc: current@FreeBSD.ORG In-Reply-To: <20020707024045.J25604-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 7 Jul, Jeff Roberson wrote: > On Sat, 6 Jul 2002, Jeff Roberson wrote: >> Log: >> - Use 'options DEBUG_VFS_LOCKS' instead of the DEBUG_ALL_VFS_LOCKS >> environment variable to enable the lock verifiction code. > If you have a crash test box I would appreciate it if you would enable > this kernel option. If it catches any errors you will be droped into the > debugger where you can get a backtrace (type: tr) and mail it to me && > current@ to avoid dups. Here's another one that happened while I was building the Mozilla port. VOP_GETATTR: 0xc7445100 is not locked but should be Debugger("Lock violation. ") Stopped at Debugger+0x45: xchgl %ebx,in_Debugger.0 db> tr Debugger(c041b364) at Debugger+0x45 coredump(c6a2c180) at coredump+0x470 sigexit(c6a2c180,b,0,e54f8000,c6a2c180) at sigexit+0xa4 postsig(b) at postsig+0xe9 ast(e5514d48) at ast+0x27e doreti_ast() at doreti_ast+0x1a I don't know why this particular core dump triggered the bug. I've seen lots that didn't. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 7:28:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B39F537B400 for ; Mon, 8 Jul 2002 07:28:08 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id B371F43E31 for ; Mon, 8 Jul 2002 07:27:37 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g68ERbpI001987 for ; Mon, 8 Jul 2002 07:27:37 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g68ERbZt001986 for current@freebsd.org; Mon, 8 Jul 2002 07:27:37 -0700 (PDT) Date: Mon, 8 Jul 2002 07:27:37 -0700 (PDT) From: David Wolfskill Message-Id: <200207081427.g68ERbZt001986@bunrab.catwhisker.org> To: current@freebsd.org Subject: panic for today: "kernel trap 12 with interrupts disabled" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG CVSup started at 0347 hrs. Pacfic Daylight (7 hrs. west of GMT/UTC) from cvsup14.freebsd.org. Build/install/mergemaster was uneventful. Reboot after mergemaster proceeded as if nothing strange was about to happen, then (cut/pasted from serial console): ... SMP: enabled INTs: 2, 3, 4, 6, 7, 9, 10, 14, 15, apic_imen: 0xffff3923 BIOS Geometries: 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. procfs registered Timecounters tick every 10.000 msec APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 bpf: lo0 attached bpf: ppp0 attached acpi_cpu: CPU throttling enabled, 2 steps from 100% to 50.0% ata1-slave: timeout waiting for interrupt ata1-slave: ATA identify failed ad0: success setting UDMA5 on VIA chip Creating DISK ad0 ar: FreeBSD check1 failed ad0: ATA-5 disk at ata0-master ad0: 39203MB (80288480 sectors), 79651 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA100 ad0: piomode=4 dmamode=2 udmamode=5 cblid=1 ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1 ata1-master: success setting PIO4 on generic chip acd0: CDROM drive at ata1 as master acd0: read 5500KB/s (21KB/s), 128KB buffer, PIO4 acd0: Reads: CD-R, CD-RW, CD-DA stream, packet acd0: Writes: acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray, unlocked, lock protected acd0: Medium: no/blank disc aMMoPu:n tCiPnUg1 raopoitc _firnoimt iuaflsi:z/ed(e)v:/ l 0 s 4 a int0: 0x00010700 lint1: 0x0kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; lapic.id = 00000000 fault virtual address = 0x18 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01c7c12 stack pointer = 0x10:0xd69eb9d4 frame pointer = 0x10:0xd69eb9f8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 4 (pagezero) kernel: type 12 trap, code=0 Stopped at witness_lock+0x1a6: movl 0x18(%eax),%eax db> tr witness_lock(c03b1600,8,c0320323,c7e,3f8) at witness_lock+0x1a6 _mtx_lock_spin_flags(c03b1600,0,c0320323,c7e,0) at _mtx_lock_spin_flags+0x89 siocnputc(c037ed00,6b) at siocnputc+0x6f cnputc(6b) at cnputc+0x43 putchar(6b,d69ebb54) at putchar+0xae kvprintf(c0327f40,c01c3da4,d69ebb54,a,d69ebb74) at kvprintf+0x77 printf(c0327f40,c) at printf+0x43 trap(c0380018,10,c0300010,c0341100,c03aa36c) at trap+0xb5 calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc01c7c12, esp = 0xd69ebbe0, ebp = 0xd69ebc04 --- witness_lock(c0341100,a,c02fd100,1d1,d69ebc5c) at witness_lock+0x1a6 _mtx_lock_spin_flags(c0341100,2,c02fd100,1d1,d69ebc5c) at _mtx_lock_spin_flags+0x89 statclock(d69ebc5c,c1585f00,d69ebcb4,c02c26d4,0) at statclock+0x1d rtcintr(0) at rtcintr+0x12 Xfastintr8() at Xfastintr8+0xc4 --- interrupt, eip = 0xc01c83a8, esp = 0xd69ebca0, ebp = 0xd69ebcb4 --- witness_unlock(c03581c0,8,c031e175,55,c03581c0,1,c02ffb60,153) at witness_unlock+0x16c _mtx_unlock_flags(c03581c0,0,c031e175,55,ff) at _mtx_unlock_flags+0x55 vm_page_zero_idle(1f0004,c02a1d24,c419d000,0,d69ebd34) at vm_page_zero_idle+0xb0 vm_pagezero(0,d69ebd48,c1585f00,c02a1d24,0) at vm_pagezero+0x6e fork_exit(c02a1d24,0,d69ebd48) at fork_exit+0xa8 fork_trampoline() at fork_trampoline+0x37 db> show pcpu 0 cpuid = 0 curthread = 0xc1585f00: pid 4 "pagezero" curpcb = 0xd69ebda0 fpcurthread = none idlethread = 0xc1584d80: pid 12 "idle: cpu0" currentldt = 0x28 spin locks held: db> show pcpu 1 cpuid = 1 curthread = 0xc1584e40: pid 11 "idle: cpu1" curpcb = 0 fpcurthread = none idlethread = 0xc1584e40: pid 11 "idle: cpu1" currentldt = 0x28 spin locks held: exclusive spin mutex clk r = 0 (0xc0362a40) locked @ /usr/src/sys/i386/isa/clock.c:409 db> ps pid proc addr uid ppid pgrp flag stat wmesg wchan cmd 35 c41b5558 d7c30000 0 0 0 0000204 Normal nfsidl c035256c nfsiod 3 34 c41b5804 d7c31000 0 0 0 0000204 Normal nfsidl c0352568 nfsiod 2 33 c41b5ab0 d7c32000 0 0 0 0000204 Normal nfsidl c0352564 nfsiod 1 32 c40762ac d7be1000 0 0 0 0000204 Normal nfsidl c0352560 nfsiod 0 7 c4076558 d7be2000 0 0 0 0000204 Normal syncer c034246c syncer 6 c4076804 d7be3000 0 0 0 0000204 Normal vlruwt c4076804 vnlru 5 c4076ab0 d7be4000 0 0 0 0000204 Normal psleep c03aa720 bufdaemon 4 c419d000 d7be5000 0 0 0 0000204 Normal pagezero 3 c419d2ac d7be6000 0 0 0 0000204 Normal psleep c03af77c vmdaemon 2 c419d558 d7be7000 0 0 0 0000204 Normal psleep c0358798 pagedaemon 31 c419d804 d7be8000 0 0 0 0000204 New irq8: rtc 30 c419dab0 d7be9000 0 0 0 0000204 New irq0: clk 29 c3fb9804 d7bc0000 0 0 0 0000204 New irq7: ppc0 28 c3fb9ab0 d7bc1000 0 0 0 0000204 New irq3: sio1 27 c4075000 d7bdb000 0 0 0 0000204 New irq4: sio0 26 c40752ac d7bdc000 0 0 0 0000204 Normal swi0: tty:sio 25 c4075558 d7bdd000 0 0 0 0000204 Normal irq6: fdc0 24 c4075804 d7bde000 0 0 0 0000204 Normal irq15: ata1 23 c4075ab0 d7bdf000 0 0 0 0000204 Normal irq14: ata0 22 c4076000 d7be0000 0 0 0 0000204 New irq10: atapci0+ 21 c15832ac d696a000 0 0 0 0000204 New irq2: rl0 20 c1583558 d696b000 0 0 0 0000204 Normal nothing c047c120 acpi_thermal 19 c1583804 d696c000 0 0 0 0000204 New irq9: acpi0 18 c1583ab0 d696d000 0 0 0 0000204 New swi5: task queue 17 c3fb9000 d7bbd000 0 0 0 0000204 Normal swi5: acpitaskq 16 c3fb92ac d7bbe000 0 0 0 0000204 Normal sleep c036fea0 random 15 c3fb9558 d7bbf000 0 0 0 0000204 New swi4: vm 14 c1582000 d6964000 0 0 0 000020c Normal swi6: tty:sio clock 13 c15822ac d6965000 0 0 0 0000204 New swi1: net 12 c1582558 d6966000 0 0 0 000020c Normal idle: cpu0 11 c1582804 d6967000 0 0 0 000020c New idle: cpu1 1 c1582ab0 d6968000 0 0 0 0000200 Normal biord ce633da0 swapper 10 c1583000 d6969000 0 0 0 0000204 Normal ktrace c03809e4 ktrace 0 c033c980 c04a9000 0 0 0 0000200 Normal sched c033c980 swapper db> show locks exclusive sleep mutex Giant r = 0 (0xc0341160) locked @ /usr/src/sys/vm/vm_zeroidle.c:77 db> This is my SMP (2x866 PIII) build machine. Anything else I can do to help figure this out? Thanks, david -- David H. Wolfskill david@catwhisker.org Trying to support or use Microsoft products makes about as much sense as painting the outside of a house with watercolors. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Jul 8 7:45:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A6A337B400 for ; Mon, 8 Jul 2002 07:45:05 -0700 (PDT) Received: from porthos.spock.org (alb-66-67-128-5.nycap.rr.com [66.67.128.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6ACE43E09 for ; Mon, 8 Jul 2002 07:45:03 -0700 (PDT) (envelope-from jon@porthos.spock.org) Received: from porthos.spock.org (foouser@localhost [127.0.0.1]) by porthos.spock.org with ESMTP serial EF600Q3T-B7F8823g68Ej2S8027643F7T for ; Mon, 8 Jul 2002 10:45:02 -0400 (EDT) (envelope-from jon@porthos.spock.org) X-OrigTo: Received: (from jon@localhost) by porthos.spock.org (8.12.4/8.12.3/Submit) id g68Ej27L027642 for freebsd-current@freebsd.org; Mon, 8 Jul 2002 10:45:02 -0400 (EDT) (envelope-from jon) Date: Mon, 8 Jul 2002 10:45:02 -0400 From: Jonathan Chen To: freebsd-current@freebsd.org Subject: -CURRENT bootup panics (ACPI related?) Message-ID: <20020708104502.A26973@porthos.spock.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline User-Agent: telnet/1.1x Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I just got myself an IBM Thinkpad T30, most things work fine on -STABLE (trying to get specs from IBM for the rest), but -CURRENT won't boot with ACPI enabled. I'd be glad to track that down, but I have no clue where to start, nor do I have any more than a passing knowledge of ACPI. I could disable it and boot -CURRENT (and install works fine since there's no ACPI there), but things go wrong as soon as the kernel touches UFS. This happens on very recent -CURRENT as well as from two months ago (I tried GENERIC kernel as well as customized). I'm including boot -v output here, nothing jumped out at me except the bad wi0 memory range (works fine on -stable) and the existence of sio1 (I don't have one, and -stable doesn't give me one, though -current without acpi shows it as well). Please tell me what I need to do or where I can start digging to get acpi working. Thanks. Yes, I know I can unset acpi_load, but where's the fun in that? [boot -v output as attachments] -Jon --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=20020707-panic OK unload OK boot -v /boot/kernel/kernel text=0x327710 data=0x4e3d4+0x82c2c syms=[0x4+0x463b0+0x4+0x53717] /boot/kernel/acpi.ko text=0x2c71c data=0x1744+0x6e0 syms=[0x4+0x4f40+0x4+0x6780] SMAP type=01 base=00000000 00000000 len=00000000 0009f000 SMAP type=02 base=00000000 0009f000 len=00000000 00001000 SMAP type=02 base=00000000 000d2000 len=00000000 00002000 SMAP type=02 base=00000000 000dc000 len=00000000 00024000 SMAP type=01 base=00000000 00100000 len=00000000 1fe60000 SMAP type=03 base=00000000 1ff60000 len=00000000 0001a000 SMAP type=04 base=00000000 1ff7a000 len=00000000 00002000 SMAP type=02 base=00000000 1ff7c000 len=00000000 00004000 SMAP type=02 base=00000000 1ff80000 len=00000000 00080000 SMAP type=02 base=00000000 ff800000 len=00000000 00400000 SMAP type=02 base=00000000 ffc00000 len=00000000 00400000 Copyright (c) 1992-2002 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-20020707-JPSNAP #0: Sat Jul 6 22:52:25 GMT 2002 root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc05d0000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05d00b4. Calibrating clock(s) ... TSC clock: 1794138564 Hz, i8254 clock: 1193155 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 1794188376 Hz CPU: Pentium 4 (1794.19-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febf9ff real memory = 536215552 (523648K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x005f7000 - 0x1ff57fff, 529928192 bytes (129377 pages) avail memory = 514093056 (502044K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f7000 bios32: Entry = 0xfd7e0 (c00fd7e0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd770+0x18e pnpbios: Found PnP BIOS data at 0xc00f7060 pnpbios: Entry = f0000:9d6a Rev = 1.0 pnpbios: Event flag at 4b4 Other BIOS signatures found: null: random: mem: pci_open(1): mode 1 addr port (0x0cf8) is 0x8000f904 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=1a308086) Using $PIR table, 14 entries at 0xc00fdeb0 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST acpi0: power button is handled as a fixed feature programming model. ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 Timecounter "ACPI-fast" frequency 3579545 Hz ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: physical bus=0 map[10]: type 3, range 32, base e0000000, size 26, enabled found-> vendor=0x8086, dev=0x1a30, revid=0x04 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 found-> vendor=0x8086, dev=0x1a31, revid=0x04 bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 map[20]: type 4, range 32, base 00001800, size 5, enabled found-> vendor=0x8086, dev=0x2482, revid=0x02 bus=0, slot=29, func=0 class=0c-03-00, hdrtype=0x00, mfdev=1 intpin=a, irq=11 map[20]: type 4, range 32, base 00001820, size 5, enabled found-> vendor=0x8086, dev=0x2484, revid=0x02 bus=0, slot=29, func=1 class=0c-03-00, hdrtype=0x00, mfdev=0 intpin=b, irq=11 map[20]: type 4, range 32, base 00001840, size 5, enabled found-> vendor=0x8086, dev=0x2487, revid=0x02 bus=0, slot=29, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 intpin=c, irq=11 found-> vendor=0x8086, dev=0x2448, revid=0x42 bus=0, slot=30, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 found-> vendor=0x8086, dev=0x248c, revid=0x02 bus=0, slot=31, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 map[10]: type 4, range 32, base 000001f0, size 3, enabled map[14]: type 4, range 32, base 000003f4, size 2, enabled map[18]: type 4, range 32, base 00000170, size 3, enabled map[1c]: type 4, range 32, base 00000374, size 2, enabled map[20]: type 4, range 32, base 00001860, size 4, enabled found-> vendor=0x8086, dev=0x248a, revid=0x02 bus=0, slot=31, func=1 class=01-01-8a, hdrtype=0x00, mfdev=0 intpin=a, irq=255 map[20]: type 4, range 32, base 00001880, size 5, enabled found-> vendor=0x8086, dev=0x2483, revid=0x02 bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 intpin=b, irq=11 map[10]: type 4, range 32, base 00001c00, size 8, enabled map[14]: type 4, range 32, base 000018c0, size 6, enabled found-> vendor=0x8086, dev=0x2485, revid=0x02 bus=0, slot=31, func=5 class=04-01-00, hdrtype=0x00, mfdev=0 intpin=b, irq=11 map[10]: type 4, range 32, base 00002400, size 8, enabled map[14]: type 4, range 32, base 00002000, size 7, enabled found-> vendor=0x8086, dev=0x2486, revid=0x02 bus=0, slot=31, func=6 class=07-03-00, hdrtype=0x00, mfdev=0 intpin=b, irq=11 pci0: on acpi_pcib0 pcib1: at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0x3000-0x3fff pcib1: memory decode 0xd0100000-0xd01fffff pcib1: prefetched decode 0xe8000000-0xefffffff pci1: physical bus=1 map[10]: type 3, range 32, base e8000000, size 27, enabled map[14]: type 4, range 32, base 00003000, size 8, enabled map[18]: type 1, range 32, base d0100000, size 16, enabled found-> vendor=0x1002, dev=0x4c57, revid=0x00 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 uhci2: (New UHCI DeviceId=0x24878086) usb2: on uhci2 usb2: USB revision 1.0 uhub2: (0x24878086) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pcib2: secondary bus 2 pcib2: subordinate bus 8 pcib2: I/O decode 0x4000-0x8fff pcib2: memory decode 0xd0200000-0xdfffffff pcib2: prefetched decode 0xf0000000-0xf80fffff pci2: physical bus=2 map[10]: type 1, range 32, base 50000000, size 12, enabled found-> vendor=0x104c, dev=0xac55, revid=0x01 bus=2, slot=0, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 51000000, size 12, enabled found-> vendor=0x104c, dev=0xac55, revid=0x01 bus=2, slot=0, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=b, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 3, range 32, base f8000000, size 12, enabled found-> vendor=0x1260, dev=0x3873, revid=0x01 bus=2, slot=2, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base d0200000, size 12, enabled map[14]: type 4, range 32, base 00008000, size 6, enabled found-> vendor=0x8086, dev=0x1031, revid=0x42 bus=2, slot=8, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 pci2: on pcib2 Found unknown YENTA PCI-CardBus Bridge devid 0xac55104c pcic0: mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2 pcib2: device pcic0 requested unsupported memory range 0x50000000-0x50000fff (decoding 0xd0200000-0xdfffffff, 0xf0000000-0xf80fffff) pcic0: Could not map register memory device_probe_and_attach: pcic0 attach returned 12 Found unknown YENTA PCI-CardBus Bridge devid 0xac55104c pcic0: mem 0x51000000-0x51000fff irq 11 at device 0.1 on pci2 pcib2: device pcic0 requested unsupported memory range 0x51000000-0x51000fff (decoding 0xd0200000-0xdfffffff, 0xf0000000-0xf80fffff) pcic0: Could not map register memory device_probe_and_attach: pcic0 attach returned 12 wi0: mem 0xf8000000-0xf8000fff irq 11 at device 2.0 on pci2 pcib2: device wi0 requested unsupported memory range 0x0-0xdfffffff (decoding 0xd0200000-0xdfffffff, 0xf0000000-0xf80fffff) wi0: No Mem space on prism2.5? device_probe_and_attach: wi0 attach returned 6 fxp0: port 0x8000-0x803f mem 0xd0200000-0xd0200fff irq 11 at device 8.0 on pci2 pcib2: device fxp0 requested decoded memory range 0xd0200000-0xd0200fff fxp0: using memory space register mapping fxp0: Ethernet address 00:09:6b:10:6e:10 fxp0: PCI IDs: 8086 1031 1014 0209 0042 fxp0: Dynamic Standby mode is disabled inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: fxp0 attached isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1860 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1868 ata1: mask=03 ostat0=50 ostat2=00 ata1-master: ATAPI 14 eb ata1-slave: ATAPI 14 eb ata1: mask=03 stat0=00 stat1=00 ata1: devices=0c ata1: at 0x170 irq 15 on atapci0 pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) pci0: at device 31.6 (no driver attached) unknown: not probed (disabled) unknown: not probed (disabled) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x54ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x1d0000 psm0: unable to allocate IRQ fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: irq maps: 0x1 0x11 0x1 0x1 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console ppc0: using extended I/O port range ppc0: SPP ppc0 port 0x3bc-0x3c3 irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus0 bpf: lp0 attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 unknown: not probed (disabled) sio1: irq maps: 0x41 0x49 0x41 0x41 sio1 port 0x2f8-0x2ff irq 3 drq 3 on acpi0 sio1: type 16550A acpi_ec0: port 0x66,0x62 on acpi0 unknown: not probed (disabled) acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) eisa0: on motherboard eisa0: unknown card @@@0000 (0x00000000) at slot 1 ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it fdc: fdc0 already exists; skipping it ppc: ppc0 already exists; skipping it sio: sio0 already exists; skipping it sio: sio1 already exists; skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 ex_isa_identify() sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: