From owner-freebsd-current Sun Nov 3 0: 5:50 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 36B4237B401; Sun, 3 Nov 2002 00:05:49 -0800 (PST) Received: from kayak.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F10A43E77; Sun, 3 Nov 2002 00:05:48 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.12.6/8.12.6) with ESMTP id gA385m0N092162; Sun, 3 Nov 2002 00:05:48 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id gA385mFE003625; Sun, 3 Nov 2002 00:05:48 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.6/8.12.6/Submit) id gA385lfJ003624; Sun, 3 Nov 2002 00:05:47 -0800 (PST) Date: Sun, 3 Nov 2002 00:05:47 -0800 From: Marcel Moolenaar To: ia64@FreeBSD.org Cc: current@FreeBSD.org Subject: First FreeBSD/ia64 release just finished Message-ID: <20021103080547.GC3511@athlon.pn.xcllnt.net> 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 Gang, I just finished building a FreeBSD/ia64 release. That is, the process finished; I haven't actually validated the bits :-) If there's anyone who's not reached the ultimate pain level, I can probably make it available somewhere for testing (given my uplink speed that means that you don't have to worry about this weekend :-) Some statistics (NODOC=YES NOPORTS=YES): what size ${CHROOTDIR} 2297MB ${CHROOTDIR}/R/cdrom/disc1 372MB ${CHROOTDIR}/R/cdrom/disc2 308MB ${CHROOTDIR}/R/ftp 312MB Disk usage on boot disk: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/md0 122047 4654 117393 4% /floppy *grin* -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 0:10: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 DED5E37B401 for ; Sun, 3 Nov 2002 00:10:09 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ECC043E42 for ; Sun, 3 Nov 2002 00:10:09 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id gA38A0pk075055; Sun, 3 Nov 2002 01:10:00 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 03 Nov 2002 01:09:03 -0700 (MST) Message-Id: <20021103.010903.44984542.imp@bsdimp.com> To: sgk@troutmask.apl.washington.edu Cc: freebsd-current@FreeBSD.ORG Subject: Re: Ghost of __sF and COMPAT4X libraries. From: "M. Warner Losh" In-Reply-To: <20021103055916.GA31853@troutmask.apl.washington.edu> References: <20021103055916.GA31853@troutmask.apl.washington.edu> X-Mailer: Mew version 2.1 on Emacs 21.2 / 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: <20021103055916.GA31853@troutmask.apl.washington.edu> Steve Kargl writes: : The following 4.7 libs make reference to __sF. Several of the : corresponding 5.0 libraries still have the same version number. : We may need to bump the version numbers. : : libalias.so.4 libbz2.so.1 libc.so.4 libc_r.so.4 : libcam.so.2 libcom_err.so.2 libcrypto.so.2 libdes.so.3 : libdevstat.so.2 libdialog.so.4 libedit.so.3 libfetch.so.3 : libftpio.so.5 libg2c.so.1 libgmp.so.3 libhistory.so.4 : libipsec.so.1 libisc.so.1 libkdb.so.3 libkrb.so.3 : libkrb5.so.5 libkvm.so.2 libm.so.2 libmp.so.3 : libncp.so.1 libncurses.so.5 libopie.so.2 libpam.so.1 : libpcap.so.2 libperl.so.3 libreadline.so.4 libroken.so.5 : libskey.so.2 libsmb.so.1 libssh.so.2 libstdc++.so.3 : libutil.so.3 We were told when we bumped libc.so from .4 to .5 someone, whose name escapes me, said we'd have to bump the major version of all libarires that depend on libc.so.4. It would appear that we've not done that step. Which I thikn means we have to do it for all the ports too. This is a problem when upgrading from 4.7 -> 5.0 because you have old shared libaries that appear to be of the right version, but are not compatible with 5.0. Let's say port foo installed libfoo.so.9 under 4.7. Then you upgrade to 5.0. When you go to build a port on 5.0 that depends on libfoo.so.9, it will fail to link because libfoo.so.9 is compiled with the 4.7 ABI, while the rest of the port is built with the 5.0 ABI. So on 5.0 we should depend on libfoo.so.10 so that the port dependency is handled correctly. There will be an analogous problem with packages as well. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 1:56: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 5825437B401 for ; Sun, 3 Nov 2002 01:56:26 -0800 (PST) Received: from hun.org (hun.org [216.190.27.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B34C43EAF for ; Sun, 3 Nov 2002 01:56:26 -0800 (PST) (envelope-from attila@hun.org) Received: by hun.org (Postfix, from userid 1001) id 5BF7B5741D; Sun, 3 Nov 2002 09:56:20 +0000 (GMT) Date: Sun, 03 Nov 2002 09:56:20 +0000 (GMT) Message-Id: <20021103095620.36Ql33849@hun.org> From: Daniel Flickinger X-Mailer: AttilaMail with XEmacs & Postfix on FreeBSD 5.0-CURRENT X-Ballistic: N 37.218497 W 113.614979 X-Address: 31 N 700 E, St George UT 84770-3028 X-Squawk: (435) 680-0750 X-No-Archive: yes In-Reply-To: <20021103080547.GC3511@athlon.pn.xcllnt.net> To: Marcel Moolenaar Cc: current@FreeBSD.org Subject: Re: First FreeBSD/ia64 release just finished Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="text" Content-Transfer-Encoding: 8bit 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 Sent: Sun, 3 Nov 2002 00:05:47 -0800 + Disk usage on boot disk: + + Filesystem 1K-blocks Used Avail Capacity Mounted on + /dev/md0 122047 4654 117393 4% /floppy + + *grin* Put your orders in now for the new 5.6M floppy.... They'll be available the same time 2.8s are readily available; media not included. -- Sanity is the Playground for the Unimaginative To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 2: 2: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 250F337B401; Sun, 3 Nov 2002 02:02:57 -0800 (PST) Received: from hun.org (hun.org [216.190.27.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id B96DF43E42; Sun, 3 Nov 2002 02:02:56 -0800 (PST) (envelope-from attila@hun.org) Received: by hun.org (Postfix, from userid 1001) id 482465741D; Sun, 3 Nov 2002 10:02:56 +0000 (GMT) Date: Sun, 03 Nov 2002 10:02:56 +0000 (GMT) Message-Id: <20021103100256.oc6T34031@hun.org> From: Daniel Flickinger X-Mailer: AttilaMail with XEmacs & Postfix on FreeBSD 5.0-CURRENT X-Ballistic: N 37.218497 W 113.614979 X-Address: 31 N 700 E, St George UT 84770-3028 X-Squawk: (435) 680-0750 X-No-Archive: yes X-Tags: Sanity is the Playground for the Unimaginative In-Reply-To: <20021101085533.GB19170@sunbay.com> References: <20021101072304.sAZL15425@hun.org> <20021101132539.B85578@kayak.xcllnt.net> To: Ruslan Ermilov Cc: Marcel Moolenaar , FreeBSD-CURRENT Subject: Re: another include failure to find in buildworld Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="text" Content-Transfer-Encoding: 8bit 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 Sent: Fri, 1 Nov 2002 10:55:33 +0200 by Ruslan: + I'm not seeing this breakage. At what stage of buildworld + do you see it? (buildworld builds special versions of + compiler and cross tools that honour the TOOLS_PREFIX which + is set to WORLDTMP during world-related stages of + buildworld: includes, libraries, depend, and all. Ruslan and Marcel: The problem is that it is time slice dependent; it only shows if /usr/include/uuid.h has not been installed from a prior installworld. At this point I am relatively convinced it is a make -j # issue, eg: one part of the make is ahead of another from the lack of a specific dependency. As long as the -j option is available, it will be used. On my SMP Athlon with 160 MB/sec 10,000 RPM dual SCSIs capable of sustained 30-50 MB/sec file transfers, the problem is probably aggravated. I wonder whether it is more important to consider the make synchronization or more rigorous dependencies? Either way, we have more important eggs to fry getting to 5.0R. I'm not going to worry about dependency errors which can be solved with a 'make buildincludes installincludes' and will not report errors which can be so solved. Thanks for taking the time to look at this. Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 2: 4: 8 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 3AFB137B401 for ; Sun, 3 Nov 2002 02:04:07 -0800 (PST) Received: from hun.org (hun.org [216.190.27.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9EA443E88 for ; Sun, 3 Nov 2002 02:04:06 -0800 (PST) (envelope-from attila@hun.org) Received: by hun.org (Postfix, from userid 1001) id 6C1105741C; Sun, 3 Nov 2002 10:04:06 +0000 (GMT) Date: Sun, 03 Nov 2002 10:04:06 +0000 (GMT) Message-Id: <20021103100406.pH9434089@hun.org> From: Daniel Flickinger X-Mailer: AttilaMail with XEmacs & Postfix on FreeBSD 5.0-CURRENT X-Ballistic: N 37.218497 W 113.614979 X-Address: 31 N 700 E, St George UT 84770-3028 X-Squawk: (435) 680-0750 X-No-Archive: yes X-Tags: Sanity is the Playground for the Unimaginative In-Reply-To: <20021101205933.GA23809@troutmask.apl.washington.edu> References: <20021101072304.sAZL15425@hun.org> To: Steve Kargl Cc: FreeBSD-CURRENT Subject: Re: another include failure to find in buildworld Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="text" Content-Transfer-Encoding: 8bit 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 Sent: Fri, 1 Nov 2002 12:59:33 -0800 by Steve Kargl + Don't waste your time, Marcel. Unless Daniel has changed his + build procedure, he uses a custom script to do the builds. I stated the conditions at the top of my report: from cvsup *default date=2002.11.01.06.00.00: rm -rf /usr/obj/usr make -j 4 -k -s buildworld ... IN OTHER WORDS, I WAS NOT USING A SCRIPT. Secondly, -k and -s do NOT mask errors; if anything, they make them more visible. I am methodical and thorough, but I don't piss against the wind, Steve; consider the issue closed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 3:29:15 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 0E58637B401; Sun, 3 Nov 2002 03:29:04 -0800 (PST) Date: Sun, 3 Nov 2002 03:29:04 -0800 From: Juli Mallett To: Steve Kargl Cc: "M. Warner Losh" , freebsd-current@FreeBSD.ORG Subject: Re: __sF Message-ID: <20021103032859.B5174@FreeBSD.org> References: <20021102181031.GB28779@troutmask.apl.washington.edu> <20021102185841.GZ62585@procyon.firepipe.net> <20021102190642.GA28971@troutmask.apl.washington.edu> <20021102.174008.16163522.imp@bsdimp.com> <20021103005033.GC30494@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021103005033.GC30494@troutmask.apl.washington.edu>; from sgk@troutmask.apl.washington.edu on Sat, Nov 02, 2002 at 04:50:33PM -0800 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes 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 * De: Steve Kargl [ Data: 2002-11-02 ] [ Subjecte: Re: __sF ] > On Sat, Nov 02, 2002 at 05:40:08PM -0700, M. Warner Losh wrote: > > In message: <20021102190642.GA28971@troutmask.apl.washington.edu> > > Steve Kargl writes: > > : http://www.freebsd.org/cgi/getmsg.cgi?fetch=1755928+1759974+/usr/local/\ > > : www/db/text/2002/freebsd-current/20021013.freebsd-current > > > > You should be linking against the -stable versions of these items as > > well as the libc.so.4. If you don't, then you are asking for > > problems. Maybe you can kludge it to make libc.so.5 work, but the > > whole reason that it is .5 and not .4 is that it is not binary > > compatible with .4, and for more reasons than just __sF. > > > > Fine, I'll try to set up a cross build enviroment. > But, we need to then install a complete set of 4.x > libraries in /usr/lib/compat. No, that's for runtime compatability. You want a true cross environment. Read any of the thousands of pages about setting up GCC for cross-platform development, as that's what you're doing. You just happen to have a chance of running the cross-created things locally. juli. -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 3:40: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 AB10837B401 for ; Sun, 3 Nov 2002 03:40:52 -0800 (PST) Received: from beast.freebsd.org (beast.freebsd.org [216.136.204.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7077143E75 for ; Sun, 3 Nov 2002 03:40:52 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from beast.freebsd.org (localhost [127.0.0.1]) by beast.freebsd.org (8.12.6/8.12.6) with ESMTP id gA3Beqsc067225 for ; Sun, 3 Nov 2002 03:40:52 -0800 (PST) (envelope-from des@beast.freebsd.org) Received: (from des@localhost) by beast.freebsd.org (8.12.6/8.12.6/Submit) id gA3BeqEk067223 for current@freebsd.org; Sun, 3 Nov 2002 03:40:52 -0800 (PST) Date: Sun, 3 Nov 2002 03:40:52 -0800 (PST) From: Dag-Erling Smorgrav Message-Id: <200211031140.gA3BeqEk067223@beast.freebsd.org> To: current@freebsd.org Subject: alpha 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/alpha/obj/h/des/src/alpha/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Sun Nov 3 03:06:58 PST 2002 -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Sun Nov 3 03:35:47 PST 2002 -------------------------------------------------------------- >>> Kernel build for LINT started on Sun Nov 3 03:35:48 PST 2002 -------------------------------------------------------------- ===> vinum "Makefile", line 4517: warning: duplicate script for target "geom_bsd.o" ignored cc1: warnings being treated as errors /h/des/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_alloc': /h/des/src/sys/dev/aic7xxx/aic79xx.c:4208: warning: unsigned int format, different type arg (arg 3) /h/des/src/sys/dev/aic7xxx/aic79xx.c:4208: warning: unsigned int format, different type arg (arg 4) /h/des/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_init_scbdata': /h/des/src/sys/dev/aic7xxx/aic79xx.c:4601: warning: unsigned int format, different type arg (arg 3) *** Error code 1 Stop in /h/des/obj/h/des/src/sys/LINT. *** Error code 1 Stop in /h/des/src. *** Error code 1 Stop in /h/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 Nov 3 4:50: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 E564C37B401; Sun, 3 Nov 2002 04:50:11 -0800 (PST) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 695FE43E3B; Sun, 3 Nov 2002 04:50:09 -0800 (PST) (envelope-from max@vega.com) Received: from vega.vega.com (xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.12.6/8.11.6) with ESMTP id gA3CnpIO013592; Sun, 3 Nov 2002 14:49:53 +0200 (EET) (envelope-from max@vega.com) Received: from vega.vega.com (max@localhost [127.0.0.1]) by vega.vega.com (8.12.6/8.12.5) with ESMTP id gA3CnvaJ079794; Sun, 3 Nov 2002 14:49:57 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: (from max@localhost) by vega.vega.com (8.12.6/8.12.5/Submit) id gA3Cnras079793; Sun, 3 Nov 2002 14:49:53 +0200 (EET) Date: Sun, 3 Nov 2002 14:49:53 +0200 From: Maxim Sobolev To: Kris Kennaway Cc: ports@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: URGENT: Over 700 ports missing perl dependencies Message-ID: <20021103124953.GG76768@vega.vega.com> References: <20021103040421.GA15315@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <20021103040421.GA15315@xor.obsecurity.org> User-Agent: Mutt/1.4i 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 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=koi8-r Content-Disposition: inline On Sat, Nov 02, 2002 at 08:04:21PM -0800, Kris Kennaway wrote: > The latest bento run on 5.0 is the first to build without perl > present: previously, two of the portbuild scripts were written in > perl, so I had to always pkg_add it into the chroot environment. Now > that these scripts have been rewritten in C and I have stopped doing > the pkg_add, it is exposing all the ports that should have a > dependency on perl but currently do not. > > At least 700 additional ports are breaking for this reason. Many of > them are using ${PERL} to do patching-in-place, and these should be > converted to use REINPLACE_CMD/USE_REINPLACE. Others use perl > during the build and should set USE_PERL. > > Everyone please check > > http://bento.freebsd.org/errorlogs/5-latest/index-maintainer.html > > ASAP and fix the listed problems. Note that I am aware of two > problems with the recent build: > > 1) Port builds are being killed after 1 hour, instead of after 1 hour > *without output*. This is a bug in the aforementioned C code. > > 2) Ports that use PERL_CONFIGURE should automatically get a dependency > on perl in bsd.port.mk. Apparently someone has submitted a patch for > this already, but I don't immediately know where it is to test it. It was me. I am attaching it with this message. -Maxim --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="bsd.port.mk-USE_PERL5.diff" Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.426 diff -d -u -r1.426 bsd.port.mk --- bsd.port.mk 2 Oct 2002 07:18:17 -0000 1.426 +++ bsd.port.mk 26 Oct 2002 13:13:21 -0000 @@ -1006,6 +1006,10 @@ PERL_VER=${PERL_VER} \ PERL_ARCH=${PERL_ARCH} +.if defined(PERL_CONFIGURE) +USE_PERL5= yes +.endif + .if exists(/usr/bin/perl5) && ${OSVERSION} >= 300000 && ${OSVERSION} < 500036 .if !exists(/usr/bin/perl${PERL_VERSION}) && defined(USE_PERL5) pre-everything:: @@ -1674,7 +1678,6 @@ CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \ INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib" CONFIGURE_SCRIPT?= Makefile.PL -USE_PERL5= yes .undef HAS_CONFIGURE .endif --9jxsPFA5p3P2qPhR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 5:39: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 B6C0F37B401 for ; Sun, 3 Nov 2002 05:39:49 -0800 (PST) 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 4B18043E88 for ; Sun, 3 Nov 2002 05:39:49 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from FreeBSD.org (master.gorean.org [10.0.0.2]) by 12-234-90-219.client.attbi.com (8.12.6/8.12.6) with ESMTP id gA3DdmmX032868 for ; Sun, 3 Nov 2002 05:39:48 -0800 (PST) (envelope-from DougB@FreeBSD.org) Message-ID: <3DC52724.52A75A@FreeBSD.org> Date: Sun, 03 Nov 2002 05:39:48 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@FreeBSD.org Subject: Can't resolve hosts via dns on the command line with latest -current 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 Howdy, With -current built from sources updated at around 8pm PST, I can't resolve hosts on the command line if /etc/resolv.conf points to a name server running on the local host. The local name server itself is working fine, and I can reach any host in /etc/hosts as well. ktrace /sbin/ping hub.freebsd.org ^C kdump 651 ktrace RET ktrace 0 651 ktrace CALL execve(0xbfbffb03,0xbfbff9e4,0xbfbff9f0) 651 ktrace NAMI "/sbin/ping" /etc/nsswitch.conf is unchanged, and contains only: hosts: files dns It doesn't matter if /etc/resolv.conf points to 127.0.0.1, or the IP of the box. As soon as I point /etc/resolv.conf at a name server on another host, it works. My -current system from last weekend worked just fine. Doug -- "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 Sun Nov 3 6:54: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 D998937B401 for ; Sun, 3 Nov 2002 06:54:39 -0800 (PST) Received: from lockdown.spectrum.fearmuffs.net (c164-147.pro.thalamus.se [212.31.164.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59CFF43E4A for ; Sun, 3 Nov 2002 06:54:17 -0800 (PST) (envelope-from gmh003532@brfmasthugget.se) Received: from lockdown.spectrum.fearmuffs.net (localhost [127.0.0.1]) by lockdown.spectrum.fearmuffs.net (8.12.6/8.12.6) with ESMTP id gA3EsDkW078585 for ; Sun, 3 Nov 2002 15:54:13 +0100 (CET) (envelope-from gmh003532@brfmasthugget.se) Received: (from redpixel@localhost) by lockdown.spectrum.fearmuffs.net (8.12.6/8.12.6/Submit) id gA3EsDor078584 for current@FreeBSD.org; Sun, 3 Nov 2002 15:54:13 +0100 (CET) (envelope-from gmh003532@brfmasthugget.se) Date: Sun, 3 Nov 2002 15:54:13 +0100 From: Martin Faxer To: current@FreeBSD.org Subject: mousewheel scrolling Message-ID: <20021103145413.GC78413@lockdown.spectrum.fearmuffs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i 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! what is up with the mousewheel scrolling? a while ago several people reported it as being broken, and it still appears to be broken to this day on a recent -CURRENT. i've tried several different things, like starting moused with -z 4 and having ZAxisMapping "4 5" in my XF86Config, but nothing seems to be working. the mousewheel is dead :/ anyone else seeing this? any "working workaround"? thanks! - martin, gmh003532@brfmasthugget.se ps. i guess it might have something to do with r1.56 of moused.c, i'll try reverting that and see if it makes any difference. ds. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 6:56:20 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 9301637B404 for ; Sun, 3 Nov 2002 06:56:16 -0800 (PST) Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAE5D43E75 for ; Sun, 3 Nov 2002 06:56:13 -0800 (PST) (envelope-from flynn@energyhq.homeip.net) Received: from christine.energyhq.tk (christine.energyhq.tk [192.168.0.1]) by energyhq.homeip.net (Postfix) with SMTP id DE06DAF58C; Sun, 3 Nov 2002 15:55:15 +0100 (CET) Date: Sun, 3 Nov 2002 15:58:58 +0100 From: Miguel Mendez To: kientzle@acm.org Cc: morganw@chemikals.org, current@FreeBSD.ORG Subject: Re: libc size Message-Id: <20021103155858.3be6eda9.flynn@energyhq.homeip.net> In-Reply-To: <3DC1AB26.5020708@acm.org> References: <3DC17C7F.9020308@acm.org> <20021031140542.W86715-100000@volatile.chemikals.org> <20021031220633.3acd0b53.flynn@energyhq.homeip.net> <3DC1AB26.5020708@acm.org> X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386--netbsdelf) X-Face: 1j}k*2E>Y\+C~E|/wehi[:dCM,{N7/uE3o# P,{t7gA/qnovFDDuyQV.1hdT7&#d)q"xY33}{_GS>kk'S{O]nE$A`T|\4&p\&mQyexOLb8}FO List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 31 Oct 2002 14:13:58 -0800 Tim Kientzle wrote: Hi, > I can think of three concerns: > > 1) Fragility. Could a naive sysadmin (or a dying > disk) break /[s]bin? > What if the ldconfig hints files were hosed? > Is ld-elf.so truly bulletproof? Agreed, and, fortunately, that was taken into account with the introduction of the /rescue dir: christine: {48} du -h /rescue 2.4M /rescue christine: {49} ls -l /rescue -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 [ -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 atactl -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 badsect -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 brconfig -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 bunzip2 -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 bzcat -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 bzip2 -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 cat -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 ccdconfig -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 chgrp -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 chio -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 chmod -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 chown -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 clri -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 cp -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 csh -r-xr-xr-x 127 root wheel 2535308 Oct 29 23:02 date [...] As you all system critical tools are there, statically linked, of course, so it's no big deal. > 2) Security. Can LD_LIBRARY_PATH (or other mechanisms) > be used to deliberately subvert any of these programs? > (especially the handful of suid/sgid programs here) Agreed, a quick find shows these set[ug]id programs: christine: {63} find /bin /sbin -perm -u+s /bin/rcmd /sbin/ping /sbin/ping6 /sbin/shutdown christine: {64} find /bin /sbin -perm -g+s /sbin/ccdconfig /sbin/dump /sbin/dump_lfs /sbin/rdump /sbin/rdump_lfs I can't come up right now with an idea of how exploiting LD_LIBRARY_PATH could be useful with any of these, but the possibility exists. OTOH, the recently added priviledge elevation feature should make it possible to have *no* setuid programs on a system, and have the kernel elevate priviledges for certain syscalls, based on the policy created by systrace. (I'm talking NetBSD here, this feature is not (yet) in FreeBSD) > 3) Upgrade breakage. Will this make upgrades more fragile? > A broken or incomplete upgrade could damage ld-elf.so > or introduce version skew between /bin and libc.so. > (Yes, people do rebuild libc without rebuilding world.) Not a problem because you have /rescue > That's impressive; FreeBSD's /bin is over 7M by > itself right now. I would be curious to see > the results from ls -l /bin on your NetBSD system > as well. christine: {66} ls -l /bin total 2494 -r-xr-xr-x 2 root wheel 8512 Oct 29 23:02 [ -r-xr-xr-x 1 root wheel 8480 Oct 29 22:59 cat -r-xr-xr-x 1 root wheel 11296 Oct 29 22:59 chio -r-xr-xr-x 1 root wheel 7008 Oct 29 22:59 chmod -r-xr-xr-x 1 root wheel 13960 Oct 29 22:59 cp -r-xr-xr-x 3 root wheel 107976 Oct 29 23:01 cpio -r-xr-xr-x 1 root wheel 116812 Oct 29 23:00 csh -r-xr-xr-x 1 root wheel 9936 Oct 29 23:00 date -r-xr-xr-x 1 root wheel 21068 Oct 29 23:00 dd -r-xr-xr-x 1 root wheel 9268 Oct 29 23:00 df -r-xr-xr-x 1 root wheel 5320 Oct 29 23:00 domainname -r-xr-xr-x 1 root wheel 4892 Oct 29 23:00 echo -r-xr-xr-x 1 root wheel 43312 Oct 29 23:00 ed -r-xr-xr-x 1 root wheel 12352 Oct 29 23:00 expr -r-xr-xr-x 1 root wheel 5572 Oct 29 23:00 hostname -r-xr-xr-x 1 root wheel 6720 Oct 29 23:00 kill -r-xr-xr-x 1 root wheel 171864 Oct 29 23:00 ksh -r-xr-xr-x 1 root wheel 6268 Oct 29 23:00 ln -r-xr-xr-x 1 root wheel 19108 Oct 29 23:00 ls -r-xr-xr-x 1 root wheel 6688 Oct 29 23:01 mkdir -r-xr-xr-x 1 root wheel 13040 Oct 29 23:01 mt -r-xr-xr-x 1 root wheel 9692 Oct 29 23:01 mv -r-xr-xr-x 3 root wheel 107976 Oct 29 23:01 pax -r-xr-xr-x 1 root wheel 27924 Oct 29 23:01 ps -r-xr-xr-x 1 root wheel 5884 Oct 29 23:01 pwd -r-sr-xr-x 1 root wheel 9276 Oct 29 23:01 rcmd -r-xr-xr-x 1 root wheel 16904 Oct 29 23:01 rcp -r-xr-xr-x 1 root wheel 9536 Oct 29 23:01 rm lrwxr-xr-x 1 root wheel 18 Aug 18 2001 rmail -> /usr/libexec/rmail -r-xr-xr-x 1 root wheel 5568 Oct 29 23:01 rmdir -r-xr-xr-x 1 root wheel 97548 Oct 29 23:01 sh -r-xr-xr-x 1 root wheel 5892 Oct 29 23:02 sleep -r-xr-xr-x 1 root wheel 17860 Oct 29 23:02 stty -r-xr-xr-x 1 root wheel 4652 Oct 29 23:02 sync -r-xr-xr-x 1 root wheel 133656 Oct 29 23:02 systrace -r-xr-xr-x 3 root wheel 107976 Oct 29 23:01 tar -r-xr-xr-x 2 root wheel 8512 Oct 29 23:02 test > > ... a knob in /etc/mk.conf to get the old behaviour, > > > how about something like that? > > Knobs are dangerous because you have to test > all of the settings. Knobs are hard, let's go shopping :) Seriously, of course it would need testing, just because it requires work doesn't mean it's not worth doing it. rcNG has been in work for a long time. Is it worth it? Absolutely, try it once and you'll wonder how you could live with the old system, or even with the sysV symlink crazyness. Cheers, -- Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk NetBSD :: Unix without hype To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 7:35: 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 8653337B401 for ; Sun, 3 Nov 2002 07:35:04 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B95843E97 for ; Sun, 3 Nov 2002 07:35:04 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.5) with ESMTP id gA3FYweZ034031; Sun, 3 Nov 2002 07:34:58 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id gA3FYwxm034030; Sun, 3 Nov 2002 07:34:58 -0800 (PST) Date: Sun, 3 Nov 2002 07:34:58 -0800 From: Steve Kargl To: Daniel Flickinger Cc: FreeBSD-CURRENT Subject: Re: another include failure to find in buildworld Message-ID: <20021103153458.GA33995@troutmask.apl.washington.edu> References: <20021101072304.sAZL15425@hun.org> <20021103100406.pH9434089@hun.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021103100406.pH9434089@hun.org> User-Agent: Mutt/1.4i 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, Nov 03, 2002 at 10:04:06AM +0000, Daniel Flickinger wrote: > Sent: Fri, 1 Nov 2002 12:59:33 -0800 by Steve Kargl > > + Don't waste your time, Marcel. Unless Daniel has changed his > + build procedure, he uses a custom script to do the builds. > > I stated the conditions at the top of my report: > > from cvsup *default date=2002.11.01.06.00.00: > > rm -rf /usr/obj/usr > make -j 4 -k -s buildworld ... > > IN OTHER WORDS, I WAS NOT USING A SCRIPT. > > Secondly, -k and -s do NOT mask errors; if anything, > they make them more visible. > > I am methodical and thorough, but I don't piss against > the wind, Steve; consider the issue closed. I am considering it closed. I just updated 2 pre-uuid systems and did not hit the "problem" you had. You're the only person reporting the "problem". -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 7:48: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 F17F137B401; Sun, 3 Nov 2002 07:48:54 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 872BD43E6E; Sun, 3 Nov 2002 07:48:54 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.5) with ESMTP id gA3FmqeZ034074; Sun, 3 Nov 2002 07:48:53 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id gA3Fmq5e034073; Sun, 3 Nov 2002 07:48:52 -0800 (PST) Date: Sun, 3 Nov 2002 07:48:52 -0800 From: Steve Kargl To: Juli Mallett Cc: "M. Warner Losh" , freebsd-current@FreeBSD.ORG Subject: Re: __sF Message-ID: <20021103154852.GB33995@troutmask.apl.washington.edu> References: <20021102181031.GB28779@troutmask.apl.washington.edu> <20021102185841.GZ62585@procyon.firepipe.net> <20021102190642.GA28971@troutmask.apl.washington.edu> <20021102.174008.16163522.imp@bsdimp.com> <20021103005033.GC30494@troutmask.apl.washington.edu> <20021103032859.B5174@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021103032859.B5174@FreeBSD.org> User-Agent: Mutt/1.4i 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, Nov 03, 2002 at 03:29:04AM -0800, Juli Mallett wrote: > * De: Steve Kargl [ Data: 2002-11-02 ] > [ Subjecte: Re: __sF ] > > On Sat, Nov 02, 2002 at 05:40:08PM -0700, M. Warner Losh wrote: > > > In message: <20021102190642.GA28971@troutmask.apl.washington.edu> > > > > > > You should be linking against the -stable versions of these items as > > > well as the libc.so.4. If you don't, then you are asking for > > > problems. Maybe you can kludge it to make libc.so.5 work, but the > > > whole reason that it is .5 and not .4 is that it is not binary > > > compatible with .4, and for more reasons than just __sF. > > > > Fine, I'll try to set up a cross build enviroment. > > But, we need to then install a complete set of 4.x > > libraries in /usr/lib/compat. > > No, that's for runtime compatability. You want a true cross environment. > > Read any of the thousands of pages about setting up GCC for cross-platform > development, as that's what you're doing. You just happen to have a chance > of running the cross-created things locally. > Let's say I have an 4.7 app linked against libcam.so. Now, I update to 5.0. What library will this app use? There isn't a COMPAT4X library available and the 5.0 has the same version number and libcam.so has a reference to __sF. There probably aren't many apps that use libcam, so this is perhaps stretch. Well, consider libm.so and the 8000 ports. As to my particular problem, a cross-platform environment won't be of much use because NAG hard-coded several paths into their app, e.g., /usr/bin/cc. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 7:50: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 7FB2037B401 for ; Sun, 3 Nov 2002 07:50:10 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17E4843E9C for ; Sun, 3 Nov 2002 07:50:06 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id gA3FnxCE005537; Sun, 3 Nov 2002 07:49:59 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id gA3FmiUG005532; Sun, 3 Nov 2002 07:48:44 -0800 (PST) Date: Sun, 3 Nov 2002 07:48:43 -0800 From: "David O'Brien" To: Marcel Moolenaar Cc: Steve Kargl , freebsd-current@FreeBSD.ORG Subject: Re: Ghost of __sF and COMPAT4X libraries. Message-ID: <20021103154843.GA5450@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20021103055916.GA31853@troutmask.apl.washington.edu> <20021103070518.GA3375@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021103070518.GA3375@athlon.pn.xcllnt.net> 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 Sat, Nov 02, 2002 at 11:05:18PM -0800, Marcel Moolenaar wrote: > On Sat, Nov 02, 2002 at 09:59:16PM -0800, Steve Kargl wrote: > > > > The following libraries are installed by COMPAT4X, but are not > > present in 4.7. I assume these are carried forward from 4.x x < 7. > > > > libssl.so.1 libusb.so.0 libcrypto.so.1 libfetch.so.2 > > Grrrr... This means we had version bumps on -stable without > providing compat4x libraries on 4.x - I think we're seriously > fscking up here :-( We renamed libusb, and thus added the last libusb to the compat collection. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 7:52: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 ED88537B401 for ; Sun, 3 Nov 2002 07:52:14 -0800 (PST) Received: from piwebs.com (t-indiv5-88.athome.tue.nl [131.155.241.88]) by mx1.FreeBSD.org (Postfix) with SMTP id A0D9043EAF for ; Sun, 3 Nov 2002 07:52:13 -0800 (PST) (envelope-from avleeuwen@piwebs.com) Received: (qmail 3453 invoked from network); 3 Nov 2002 15:52:15 -0000 Received: from unknown (HELO amd760.piwebs.com) (192.168.0.100) by 0 with SMTP; 3 Nov 2002 15:52:15 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Arjan van Leeuwen To: Martin Faxer , current@FreeBSD.org Subject: Re: mousewheel scrolling Date: Sun, 3 Nov 2002 16:52:13 +0100 User-Agent: KMail/1.4.3 References: <20021103145413.GC78413@lockdown.spectrum.fearmuffs.net> In-Reply-To: <20021103145413.GC78413@lockdown.spectrum.fearmuffs.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211031652.13186.avleeuwen@piwebs.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 It works fine here, on a -CURRENT from 2 november. =46rom XF86Config: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5" EndSection Arjan On Sunday 03 November 2002 15:54, Martin Faxer wrote: > hi! > > what is up with the mousewheel scrolling? > > a while ago several people reported it as being broken, > and it still appears to be broken to this day on a recent -CURRENT. > > i've tried several different things, like starting moused with -z 4 > and having ZAxisMapping "4 5" in my XF86Config, but nothing seems > to be working. the mousewheel is dead :/ > > anyone else seeing this? any "working workaround"? > > thanks! > > - martin, gmh003532@brfmasthugget.se > > ps. i guess it might have something to do with r1.56 of moused.c, > i'll try reverting that and see if it makes any difference. ds. > > 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 Nov 3 8:17:18 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 614F237B401; Sun, 3 Nov 2002 08:17:16 -0800 (PST) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [133.11.205.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39C3843E4A; Sun, 3 Nov 2002 08:17:15 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is1.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 8C2882180F9; Mon, 4 Nov 2002 01:16:59 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) by is1.mh.itc.u-tokyo.ac.jp (8.11.3/8.11.3) with ESMTP id gA3GGwu03534; Mon, 4 Nov 2002 01:16:58 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (nat.keisu.t.u-tokyo.ac.jp [133.11.68.2]) by mailhosting.itc.u-tokyo.ac.jp (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id AHH24089; Mon, 4 Nov 2002 01:16:58 +0900 (JST) Date: Mon, 04 Nov 2002 01:16:58 +0900 Message-ID: From: Hidetoshi Shimokawa To: Doug Barton Cc: freebsd-current@FreeBSD.org, kbyanc@FreeBSD.org Subject: Re: Can't resolve hosts via dns on the command line with latest -current In-Reply-To: <3DC52724.52A75A@FreeBSD.org> References: <3DC52724.52A75A@FreeBSD.org> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have the same problem and reverting rev. 1.134 of /sys/kern/uipc_socket.c fixes the problem. The change might have something wrong with a loopback interface. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html Index: uipc_socket.c =================================================================== RCS file: /home/ncvs/src/sys/kern/uipc_socket.c,v retrieving revision 1.135 diff -u -r1.135 uipc_socket.c --- uipc_socket.c 2 Nov 2002 05:14:30 -0000 1.135 +++ uipc_socket.c 3 Nov 2002 14:45:16 -0000 @@ -1784,7 +1784,11 @@ { struct socket *so = (struct socket *)kn->kn_fp->f_data; +#if 0 kn->kn_data = so->so_rcv.sb_cc - so->so_rcv.sb_ctl; +#else + kn->kn_data = so->so_rcv.sb_cc; +#endif if (so->so_state & SS_CANTRCVMORE) { kn->kn_flags |= EV_EOF; kn->kn_fflags = so->so_error; At Sun, 03 Nov 2002 05:39:48 -0800, Doug Barton wrote: > > Howdy, > > With -current built from sources updated at around 8pm PST, I can't > resolve hosts on the command line if /etc/resolv.conf points to a name > server running on the local host. The local name server itself is > working fine, and I can reach any host in /etc/hosts as well. > > ktrace /sbin/ping hub.freebsd.org > ^C > > kdump > 651 ktrace RET ktrace 0 > 651 ktrace CALL execve(0xbfbffb03,0xbfbff9e4,0xbfbff9f0) > 651 ktrace NAMI "/sbin/ping" > > /etc/nsswitch.conf is unchanged, and contains only: > hosts: files dns > > It doesn't matter if /etc/resolv.conf points to 127.0.0.1, or the IP of > the box. As soon as I point /etc/resolv.conf at a name server on another > host, it works. > > My -current system from last weekend worked just fine. > > Doug > > -- > "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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 9:28:25 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 4862637B401; Sun, 3 Nov 2002 09:28:24 -0800 (PST) Date: Sun, 3 Nov 2002 09:28:24 -0800 From: Juli Mallett To: Steve Kargl Cc: "M. Warner Losh" , freebsd-current@FreeBSD.ORG Subject: Re: __sF Message-ID: <20021103092824.A33604@FreeBSD.org> References: <20021102181031.GB28779@troutmask.apl.washington.edu> <20021102185841.GZ62585@procyon.firepipe.net> <20021102190642.GA28971@troutmask.apl.washington.edu> <20021102.174008.16163522.imp@bsdimp.com> <20021103005033.GC30494@troutmask.apl.washington.edu> <20021103032859.B5174@FreeBSD.org> <20021103154852.GB33995@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021103154852.GB33995@troutmask.apl.washington.edu>; from sgk@troutmask.apl.washington.edu on Sun, Nov 03, 2002 at 07:48:52AM -0800 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes 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 * De: Steve Kargl [ Data: 2002-11-03 ] [ Subjecte: Re: __sF ] > As to my particular problem, a cross-platform > environment won't be of much use because NAG > hard-coded several paths into their app, e.g., > /usr/bin/cc. Then you should seriously consider the quality of such application, or whether you'd be better using it on an actual and supported platform. Anything less would be uncivilised. (Seriously) -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 9:42:21 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 9BB7B37B401; Sun, 3 Nov 2002 09:42:20 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C68743E6E; Sun, 3 Nov 2002 09:42:20 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.5) with ESMTP id gA3HgIeZ034539; Sun, 3 Nov 2002 09:42:18 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id gA3HgIsw034538; Sun, 3 Nov 2002 09:42:18 -0800 (PST) Date: Sun, 3 Nov 2002 09:42:18 -0800 From: Steve Kargl To: Juli Mallett Cc: "M. Warner Losh" , freebsd-current@FreeBSD.ORG Subject: Re: __sF Message-ID: <20021103174218.GA34527@troutmask.apl.washington.edu> References: <20021102181031.GB28779@troutmask.apl.washington.edu> <20021102185841.GZ62585@procyon.firepipe.net> <20021102190642.GA28971@troutmask.apl.washington.edu> <20021102.174008.16163522.imp@bsdimp.com> <20021103005033.GC30494@troutmask.apl.washington.edu> <20021103032859.B5174@FreeBSD.org> <20021103154852.GB33995@troutmask.apl.washington.edu> <20021103092824.A33604@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021103092824.A33604@FreeBSD.org> User-Agent: Mutt/1.4i 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, Nov 03, 2002 at 09:28:24AM -0800, Juli Mallett wrote: > * De: Steve Kargl [ Data: 2002-11-03 ] > [ Subjecte: Re: __sF ] > > As to my particular problem, a cross-platform > > environment won't be of much use because NAG > > hard-coded several paths into their app, e.g., > > /usr/bin/cc. > > Then you should seriously consider the quality of such application, or > whether you'd be better using it on an actual and supported platform. > > Anything less would be uncivilised. (Seriously) This is the *only* native Fortran 95 compiler for FreeBSD. So much for acceptance of FreeBSD by commerical vendors. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 9:43: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 BE2FC37B401; Sun, 3 Nov 2002 09:43:28 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AE6D43E77; Sun, 3 Nov 2002 09:43:24 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id gA3HhHpk077399; Sun, 3 Nov 2002 10:43:18 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 03 Nov 2002 10:42:11 -0700 (MST) Message-Id: <20021103.104211.25049384.imp@bsdimp.com> To: jmallett@FreeBSD.ORG Cc: sgk@troutmask.apl.washington.edu, freebsd-current@FreeBSD.ORG Subject: Re: __sF From: "M. Warner Losh" In-Reply-To: <20021103092824.A33604@FreeBSD.org> References: <20021103032859.B5174@FreeBSD.org> <20021103154852.GB33995@troutmask.apl.washington.edu> <20021103092824.A33604@FreeBSD.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / 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: <20021103092824.A33604@FreeBSD.org> Juli Mallett writes: : Then you should seriously consider the quality of such application, or : whether you'd be better using it on an actual and supported platform. : : Anything less would be uncivilised. (Seriously) Sometimes you have no chocie in what you accept or not. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 10: 0: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 3989E37B401; Sun, 3 Nov 2002 10:00:25 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04B3643E4A; Sun, 3 Nov 2002 10:00:21 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 042662A88D; Sun, 3 Nov 2002 10:00:17 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Doug Barton Cc: freebsd-current@FreeBSD.org Subject: Re: Can't resolve hosts via dns on the command line with latest -current In-Reply-To: <3DC52724.52A75A@FreeBSD.org> Date: Sun, 03 Nov 2002 10:00:16 -0800 From: Peter Wemm Message-Id: <20021103180017.042662A88D@canning.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 Doug Barton wrote: > Howdy, > > With -current built from sources updated at around 8pm PST, I can't > resolve hosts on the command line if /etc/resolv.conf points to a name > server running on the local host. The local name server itself is > working fine, and I can reach any host in /etc/hosts as well. > > ktrace /sbin/ping hub.freebsd.org > ^C > > kdump > 651 ktrace RET ktrace 0 > 651 ktrace CALL execve(0xbfbffb03,0xbfbff9e4,0xbfbff9f0) > 651 ktrace NAMI "/sbin/ping" > > /etc/nsswitch.conf is unchanged, and contains only: > hosts: files dns > > It doesn't matter if /etc/resolv.conf points to 127.0.0.1, or the IP of > the box. As soon as I point /etc/resolv.conf at a name server on another > host, it works. I'm having similar problems. If I have 2 or 3 nameservers listed and 127.0.0.1 first, then I get a 10-20 second timeout before the resolver library switches to another server. 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 Nov 3 10:13:21 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 AE5DF37B401 for ; Sun, 3 Nov 2002 10:13:20 -0800 (PST) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07F0543E8A for ; Sun, 3 Nov 2002 10:13:20 -0800 (PST) (envelope-from Jan.Stocker@t-online.de) Received: from fwd02.sul.t-online.de by mailout11.sul.t-online.com with smtp id 188PFO-0007MC-0B; Sun, 03 Nov 2002 19:13:18 +0100 Received: from twoflower.liebende.de (320072111332-0001@[80.134.112.106]) by fwd02.sul.t-online.com with esmtp id 188PFD-1vcH20C; Sun, 3 Nov 2002 19:13:07 +0100 Subject: WIne freezes -current for half a year From: Jan.Stocker@t-online.de (Jan Stocker) Reply-To: Jan.Stocker@t-online.de To: current@FreeBSD.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 03 Nov 2002 19:12:36 +0100 Message-Id: <1036347156.634.8.camel@twoflower> Mime-Version: 1.0 X-Sender: 320072111332-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.... wine freezes my system (always -current) for months (half a year i think). Does anyone have the same prob and/or a solution? Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 11: 1: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 AB0FC37B401 for ; Sun, 3 Nov 2002 11:01:43 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B332743E42 for ; Sun, 3 Nov 2002 11:01:42 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id gA3J0HOo062829; Sun, 3 Nov 2002 14:00:27 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 3 Nov 2002 14:00:16 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Miguel Mendez Cc: kientzle@acm.org, morganw@chemikals.org, current@FreeBSD.ORG Subject: Re: libc size In-Reply-To: <20021103155858.3be6eda9.flynn@energyhq.homeip.net> 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 Sun, 3 Nov 2002, Miguel Mendez wrote: > > 2) Security. Can LD_LIBRARY_PATH (or other mechanisms) > > be used to deliberately subvert any of these programs? > > (especially the handful of suid/sgid programs here) > .. > > I can't come up right now with an idea of how exploiting LD_LIBRARY_PATH > could be useful with any of these, but the possibility exists. OTOH, the > recently added priviledge elevation feature should make it possible to > have *no* setuid programs on a system, and have the kernel elevate > priviledges for certain syscalls, based on the policy created by > systrace. LD_LIBRARY_PATH is disabled for setuid binaries -- the kernel sets the P_ISSETUGID flag, which is exported to userspace by issetugid(), which is in turn checked by the rtld, which will refuse to observe that environmental variable (and a number of others) as a result. We have plenty of dynamically linked setuid binaires in the system already, and it's not a problem. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 11: 6:25 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 A3F5737B401; Sun, 3 Nov 2002 11:06:23 -0800 (PST) Received: from kayak.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EF2943E75; Sun, 3 Nov 2002 11:06:22 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.12.6/8.12.6) with ESMTP id gA3J6G0N093434; Sun, 3 Nov 2002 11:06:16 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id gA3J6G2l000623; Sun, 3 Nov 2002 11:06:16 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.6/8.12.6/Submit) id gA3J6Gr1000622; Sun, 3 Nov 2002 11:06:16 -0800 (PST) Date: Sun, 3 Nov 2002 11:06:16 -0800 From: Marcel Moolenaar To: Daniel Flickinger Cc: Ruslan Ermilov , FreeBSD-CURRENT Subject: Re: another include failure to find in buildworld Message-ID: <20021103190616.GA539@athlon.pn.xcllnt.net> References: <20021101072304.sAZL15425@hun.org> <20021101132539.B85578@kayak.xcllnt.net> <20021103100256.oc6T34031@hun.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021103100256.oc6T34031@hun.org> 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, Nov 03, 2002 at 10:02:56AM +0000, Daniel Flickinger wrote: > Sent: Fri, 1 Nov 2002 10:55:33 +0200 by Ruslan: > > The problem is that it is time slice dependent; it only > shows if /usr/include/uuid.h has not been installed from > a prior installworld. > > At this point I am relatively convinced it is a make -j > # issue, eg: one part of the make is ahead of another > from the lack of a specific dependency. The includes are installed prior to building the libraries. You should be able to verify this by looking at your ourput files. Since both are different phases, they always run serially WRT each other. No -j will ever change that. The first thing we do when we build libraries is to make dependencies. This we *must* do in serial WRT the building, because make(1) reads the dependencies at startup time. So, we have to explicitly rerun make(1) for the actual build in order to have the new dependencies used. After "depend" we actually build. If there's an ordering violation, then why did the make depend work? Also, is uuid.h present in the .depend file? Even if "build" runs before "depend", it's not the dependency info that causes the compiler to actually find libraries. It's only for make(1) to determine ordering. Thus, even if "build" happened before "depend", you'll not see this failure. It either works or the build fails because source files (and the likes) haven't been generated yet. > I wonder whether it is more important to consider the > make synchronization or more rigorous dependencies? I don't think there's a problem in either. You'll have to come up with substantial data that shows some sort of inconsistency before I will open that can of worms. Did you try the rebuilt in a clean source tree already? The reason I ask is because a modified src/Makefile.inc1 is more likely to cause the kind of failures you see than anything else. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 11:11: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 AC69037B401 for ; Sun, 3 Nov 2002 11:11:30 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C01143E6E for ; Sun, 3 Nov 2002 11:11:29 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id gA3J5jOo063491; Sun, 3 Nov 2002 14:05:45 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 3 Nov 2002 14:05:44 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Miguel Mendez Cc: kientzle@acm.org, morganw@chemikals.org, current@FreeBSD.ORG Subject: Re: libc size 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 On Sun, 3 Nov 2002, Robert Watson wrote: > On Sun, 3 Nov 2002, Miguel Mendez wrote: > > > > 2) Security. Can LD_LIBRARY_PATH (or other mechanisms) > > > be used to deliberately subvert any of these programs? > > > (especially the handful of suid/sgid programs here) > > .. > > > > I can't come up right now with an idea of how exploiting LD_LIBRARY_PATH > > could be useful with any of these, but the possibility exists. OTOH, the > > recently added priviledge elevation feature should make it possible to > > have *no* setuid programs on a system, and have the kernel elevate > > priviledges for certain syscalls, based on the policy created by > > systrace. > > LD_LIBRARY_PATH is disabled for setuid binaries -- the kernel sets the > P_ISSETUGID flag, which is exported to userspace by issetugid(), which is > in turn checked by the rtld, which will refuse to observe that > environmental variable (and a number of others) as a result. We have > plenty of dynamically linked setuid binaires in the system already, and > it's not a problem. Due to sucky latency, I didn't realize y fingers had typed the constant there incorrectly, that should read P_SUGID. That same protection also prevents debugging of processes following privilege downgrade, amongst other things. On the systrace issue -- I have lasting concerns about the race conditions present in fine-grained SMP and threaded systems, such as FreeBSD 5, or present in systems providing Linux clone() emulation. Neils has addressed some but not all of these concerns; until they are fully addressed, the race conditions there will remain a serious problem. When the scheduler activation work hits the main NetBSD tree, I would expect similar problems. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 11:48: 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 0BFC037B401 for ; Sun, 3 Nov 2002 11:48:06 -0800 (PST) Received: from web14108.mail.yahoo.com (web14108.mail.yahoo.com [216.136.172.138]) by mx1.FreeBSD.org (Postfix) with SMTP id 6D30A43E6E for ; Sun, 3 Nov 2002 11:48:05 -0800 (PST) (envelope-from cguttesen@yahoo.dk) Message-ID: <20021103194805.9469.qmail@web14108.mail.yahoo.com> Received: from [193.217.212.177] by web14108.mail.yahoo.com via HTTP; Sun, 03 Nov 2002 20:48:05 CET Date: Sun, 3 Nov 2002 20:48:05 +0100 (CET) From: =?iso-8859-1?q?Claus=20Guttesen?= Subject: Re: mousewheel scrolling To: Martin Faxer , current@FreeBSD.org In-Reply-To: <20021103145413.GC78413@lockdown.spectrum.fearmuffs.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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. > and having ZAxisMapping "4 5" in my XF86Config, but > nothing seems I found that I needed the line Option 'Protocol' 'Auto' in my /etx/XF86Config. The protocol defaults to another value. This may help. regards Claus Beskyt din computer mod virus og misbrug! Læs mere i Yahoo! Sikkerhedscenter på www.yahoo.dk/sikkerhedscenter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 11:49: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 58A3637B401; Sun, 3 Nov 2002 11:49:09 -0800 (PST) Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 894CF43E6E; Sun, 3 Nov 2002 11:49:03 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd11.sul.t-online.de by mailout08.sul.t-online.com with smtp id 188Qk1-0003J4-03; Sun, 03 Nov 2002 20:49:01 +0100 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.109.76]) by fmrl11.sul.t-online.com with esmtp id 188Qjs-0Ub6PYC; Sun, 3 Nov 2002 20:48:52 +0100 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.12.6/8.12.6) with ESMTP id gA3JmsL7001684; Sun, 3 Nov 2002 20:48:54 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.6/8.12.6) with SMTP id gA3Jn2ve006703; Sun, 3 Nov 2002 20:49:02 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sun, 3 Nov 2002 20:49:02 +0100 From: Alexander Leidinger To: current@freebsd.org Cc: markus@openbsd.org, des@freebsd.org Subject: ssh-agent broken with pam_ssh for xdm (+ fix for ssh-agent.c) Message-Id: <20021103204902.3c6b3705.Alexander@Leidinger.net> X-Mailer: Sylpheed version 0.8.5claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 Hi, [Markus: this is on FreeBSD-current with $OpenBSD: ssh-agent.c,v 1.105 2002/10/01 20:34:12 markus Exp $] I use pam_ssh in pam.d/xdm and after an update to todays -current, it doesn't add my key anymore. In /var/log/messages I see the following if I try a "ssh-add -l": ---snip--- ssh-agent[6438]: error: uid mismatch: peer euid 1000 != uid 0 ---snip--- ssh-agent.c:after_select() contains: ---snip--- if ((euid != 0) && (getuid() != euid)) { error("uid mismatch: " "peer euid %u != uid %u", (u_int) euid, (u_int) getuid()); close(sock); break; } ---snip--- As ssh_agent gets startet from pam_ssh in xdm (which runs as root -> getuid() = 0, geteuid() = 1000), it is obvious why it doesn't work. At the moment I have this piece of code commented out, but I think this should get changed to use geteuid() instead of getuid(). Or did I misunderstood the idea behind the above code? Bye, Alexander. -- Loose bits sink chips. 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 Nov 3 13:23: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 4763D37B401 for ; Sun, 3 Nov 2002 13:23:51 -0800 (PST) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B05743E4A for ; Sun, 3 Nov 2002 13:23:50 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id gA3LNaC4052392; Sun, 3 Nov 2002 13:23:36 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id gA3LNREB052391; Sun, 3 Nov 2002 13:23:27 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Sun, 3 Nov 2002 13:23:27 -0800 From: David Schultz To: Miguel Mendez Cc: Wesley Morgan , kientzle@acm.org, current@FreeBSD.ORG Subject: Re: libc size Message-ID: <20021103212327.GA52281@HAL9000.homeunix.com> Mail-Followup-To: Miguel Mendez , Wesley Morgan , kientzle@acm.org, current@FreeBSD.ORG References: <3DC17C7F.9020308@acm.org> <20021031140542.W86715-100000@volatile.chemikals.org> <20021031220633.3acd0b53.flynn@energyhq.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021031220633.3acd0b53.flynn@energyhq.homeip.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 Thus spake Miguel Mendez : > Why? I'd love to hear some real reasons for this. NetBSD-current has > just gone fully dynamic, let's see how much space that needs... > > christine: {16} uname -srnm > NetBSD christine.energyhq.tk 1.6J i386 > christine: {17} du -h /bin /sbin /lib > 999K /bin > 1.7M /sbin > 2.0M /lib > > /lib keeps the required shared libs for those programs residing in > /[s]bin. > > IMHO it would be beneficial to, at least, have the option to build a > fully dynamic system on FreeBSD. Keep in mind that NetBSD's /bin and /sbin were significantly smaller beforehand. FreeBSD's equivalent is somewhat bloated, but it's not so unreasonably large that people are having trouble making it fit on hard drives purchased in the last four years. If you're installing FreeBSD on an embedded system, that's one thing, but you have PicoBSD for that. Otherwise, you're sacrificing performance, reliability, and security for the sake of a few dozen megs of disk space. I don't think this is an acceptable tradeoff. I'm not opposed to having a knob that allows people to dynamically link their /bin and /sbin if they so desire, as long as it's done right. I worry a little bit that once the feature is available, someone will decide that it's a bright idea to turn it on by default, and support for the static linking case will decline. (This is similar to what happened with GEOM, although I happen to be all in favor of the latter. C'est la vie.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 13:35: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 2789537B401; Sun, 3 Nov 2002 13:35:56 -0800 (PST) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7453743E4A; Sun, 3 Nov 2002 13:35:55 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id gA3LZmC4052426; Sun, 3 Nov 2002 13:35:48 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id gA3LZm0c052425; Sun, 3 Nov 2002 13:35:48 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Sun, 3 Nov 2002 13:35:48 -0800 From: David Schultz To: Robert Watson Cc: Miguel Mendez , kientzle@acm.org, morganw@chemikals.org, current@FreeBSD.ORG Subject: Re: libc size Message-ID: <20021103213548.GB52281@HAL9000.homeunix.com> Mail-Followup-To: Robert Watson , Miguel Mendez , kientzle@acm.org, morganw@chemikals.org, current@FreeBSD.ORG References: <20021103155858.3be6eda9.flynn@energyhq.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Thus spake Robert Watson : > > I can't come up right now with an idea of how exploiting LD_LIBRARY_PATH > > could be useful with any of these, but the possibility exists. OTOH, the > > recently added priviledge elevation feature should make it possible to > > have *no* setuid programs on a system, and have the kernel elevate > > priviledges for certain syscalls, based on the policy created by > > systrace. > > LD_LIBRARY_PATH is disabled for setuid binaries -- the kernel sets the > P_ISSETUGID flag, which is exported to userspace by issetugid(), which is > in turn checked by the rtld, which will refuse to observe that > environmental variable (and a number of others) as a result. We have > plenty of dynamically linked setuid binaires in the system already, and > it's not a problem. Setuid binaries are in pretty good shape, since LD_LIBRARY_PATH is ignored for them. But most of the other standard binaries on the system are problematic because they are trusted, but they in turn trust the value of LD_LIBRARY_PATH, which is not always a safe thing to do. For example, if an administrator disables a user's account by setting the shell to a dynamically linked /sbin/nologin, the user can override the restriction by setting an LD_LIBRARY_PATH in his ~.ssh/environment file pointing to a trojaned libc. (This attack requires that he be able to access his home directory, either before being locked out or over NFS or FTP.) You can correctly argue that setting a user's shell to /sbin/nologin is the wrong way to disable the account. Fine. Remove /sbin/nologin. I still claim that this is just one example of what can go wrong when you divide trust between libc and your standard binaries. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 13:53: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 51E6537B401 for ; Sun, 3 Nov 2002 13:53:46 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 091BA43E3B for ; Sun, 3 Nov 2002 13:53:45 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.5/8.12.1) with ESMTP id gA3LrN5N060382; Sun, 3 Nov 2002 16:53:23 -0500 (EST) X-Authentication-Warning: angelica.unixdaemons.com: Host hiten@localhost.unixdaemons.com [127.0.0.1] claimed to be angelica.unixdaemons.com Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.5/8.12.1/Submit) id gA3LrNwa060381; Sun, 3 Nov 2002 16:53:23 -0500 (EST) (envelope-from hiten) Date: Sun, 3 Nov 2002 16:53:23 -0500 From: Hiten Pandya To: Jan Stocker Cc: current@FreeBSD.ORG Subject: Re: WIne freezes -current for half a year Message-ID: <20021103165323.A56468@angelica.unixdaemons.com> References: <1036347156.634.8.camel@twoflower> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1036347156.634.8.camel@twoflower>; from Jan.Stocker@t-online.de on Sun, Nov 03, 2002 at 07:12:36PM +0100 X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index 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, Nov 03, 2002 at 07:12:36PM +0100, Jan Stocker wrote the words in effect of: > Hi.... > > wine freezes my system (always -current) for months (half a year i > think). Does anyone have the same prob and/or a solution? > Hi there, can you please elaborate on your situation, and provide more information about you system, like dmesg, sysctl -a etc. This will aid the developers in diagnosing your situation. Also, providing what type of errors you get etc, would help too. Cheers. -- Hiten Pandya hiten@unixdaemons.com, hiten@uk.FreeBSD.org, hiten@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 14:15: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 D0E3037B401 for ; Sun, 3 Nov 2002 14:15:51 -0800 (PST) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6551443E6E for ; Sun, 3 Nov 2002 14:15:51 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 10524 invoked from network); 3 Nov 2002 22:15:59 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Nov 2002 22:15:59 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gA3MFln5042464; Sun, 3 Nov 2002 17:15:47 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <7m1y64qp8z.wl@black.imgsrc.co.jp> Date: Sun, 03 Nov 2002 17:15:48 -0500 (EST) From: John Baldwin To: Jun Kuriyama Subject: Re: 5.0-20021101-CURRENT snap & iso Cc: Current List 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 02-Nov-2002 Jun Kuriyama wrote: > At Sat, 2 Nov 2002 01:03:43 +0000 (UTC), > John De Boskey wrote: >> The only (non-critical) >> problem I've seen so far is refresh problems within >> sysinstall. > > I think this is caused by printf()s in libdisk. Yep, phk@ said he would axe them when all the platforms are working again. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 14:38: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 11A0737B401 for ; Sun, 3 Nov 2002 14:38:33 -0800 (PST) Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C63843E7B for ; Sun, 3 Nov 2002 14:38:32 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0177.cvx21-bradley.dialup.earthlink.net ([209.179.192.177] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 188TNs-0003v6-00; Sun, 03 Nov 2002 14:38:24 -0800 Message-ID: <3DC5A4F9.1D61A32F@mindspring.com> Date: Sun, 03 Nov 2002 14:36:41 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Hiten Pandya Cc: Jan Stocker , current@FreeBSD.ORG Subject: Re: WIne freezes -current for half a year References: <1036347156.634.8.camel@twoflower> <20021103165323.A56468@angelica.unixdaemons.com> 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 Hiten Pandya wrote: > On Sun, Nov 03, 2002 at 07:12:36PM +0100, Jan Stocker wrote the words in > effect of: > > wine freezes my system (always -current) for months (half a year i > > think). Does anyone have the same prob and/or a solution? > > Hi there, can you please elaborate on your situation, and provide more > information about you system, like dmesg, sysctl -a etc. This will aid > the developers in diagnosing your situation. Also, providing what type > of errors you get etc, would help too. My understanding of his post was that, 6 months later, the machine unfreezes, and everything works normally... 8-) 8-). Actually, I think he's complaining that WINE isn't working in -current. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 15: 1: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 0AAE937B401; Sun, 3 Nov 2002 15:01:34 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-165-226-88.dsl.lsan03.pacbell.net [64.165.226.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71A9143E4A; Sun, 3 Nov 2002 15:01:33 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 15D2766CFB; Sun, 3 Nov 2002 15:01:31 -0800 (PST) Date: Sun, 3 Nov 2002 15:01:31 -0800 From: Kris Kennaway To: Maxim Sobolev Cc: Kris Kennaway , ports@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: URGENT: Over 700 ports missing perl dependencies Message-ID: <20021103230131.GA25760@xor.obsecurity.org> References: <20021103040421.GA15315@xor.obsecurity.org> <20021103124953.GG76768@vega.vega.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <20021103124953.GG76768@vega.vega.com> User-Agent: Mutt/1.4i 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 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 03, 2002 at 02:49:53PM +0200, Maxim Sobolev wrote: > > 2) Ports that use PERL_CONFIGURE should automatically get a dependency > > on perl in bsd.port.mk. Apparently someone has submitted a patch for > > this already, but I don't immediately know where it is to test it. >=20 > It was me. I am attaching it with this message. Thanks, the most recent build is using this patch. Unfortunately, XFree86-4-libraries has also broken on 5.0 now too (due to a different change). Kris --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9xarKWry0BWjoQKURAvf+AJ0XaFtGn9AlCgrElgkvTFFFk9c3ngCff+Vl 0uUIwxr2GX6sjl2abhb0zQo= =sZgg -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 15:48: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 4966A37B401 for ; Sun, 3 Nov 2002 15:48:18 -0800 (PST) Received: from beast.freebsd.org (beast.freebsd.org [216.136.204.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E36A43E9E for ; Sun, 3 Nov 2002 15:48:18 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from beast.freebsd.org (localhost [127.0.0.1]) by beast.freebsd.org (8.12.6/8.12.6) with ESMTP id gA3NmHsc027702 for ; Sun, 3 Nov 2002 15:48:17 -0800 (PST) (envelope-from des@beast.freebsd.org) Received: (from des@localhost) by beast.freebsd.org (8.12.6/8.12.6/Submit) id gA3NmHi6027700 for current@freebsd.org; Sun, 3 Nov 2002 15:48:17 -0800 (PST) Date: Sun, 3 Nov 2002 15:48:17 -0800 (PST) From: Dag-Erling Smorgrav Message-Id: <200211032348.gA3NmHi6027700@beast.freebsd.org> To: current@freebsd.org Subject: alpha 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/alpha/obj/h/des/src/alpha/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Sun Nov 3 15:10:01 PST 2002 -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Sun Nov 3 15:42:37 PST 2002 -------------------------------------------------------------- >>> Kernel build for LINT started on Sun Nov 3 15:42:37 PST 2002 -------------------------------------------------------------- ===> vinum "Makefile", line 4517: warning: duplicate script for target "geom_bsd.o" ignored cc1: warnings being treated as errors /h/des/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_alloc': /h/des/src/sys/dev/aic7xxx/aic79xx.c:4208: warning: unsigned int format, different type arg (arg 3) /h/des/src/sys/dev/aic7xxx/aic79xx.c:4208: warning: unsigned int format, different type arg (arg 4) /h/des/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_init_scbdata': /h/des/src/sys/dev/aic7xxx/aic79xx.c:4601: warning: unsigned int format, different type arg (arg 3) *** Error code 1 Stop in /h/des/obj/h/des/src/sys/LINT. *** Error code 1 Stop in /h/des/src. *** Error code 1 Stop in /h/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 Nov 3 17:10: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 1FE8037B401 for ; Sun, 3 Nov 2002 17:10:22 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3329E43E6E for ; Sun, 3 Nov 2002 17:10:20 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gray.sea.gr (patr530-b190.otenet.gr [212.205.244.198]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gA41AD5t021733 for ; Mon, 4 Nov 2002 03:10:18 +0200 (EET) Received: from gray.sea.gr (gray [127.0.0.1]) by gray.sea.gr (8.12.6/8.12.6) with ESMTP id gA2G5hHj009206 for ; Sat, 2 Nov 2002 18:08:13 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by gray.sea.gr (8.12.6/8.12.6/Submit) id gA2Cx4Bg003023; Sat, 2 Nov 2002 14:59:04 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sat, 2 Nov 2002 14:59:04 +0200 From: Giorgos Keramidas To: Conrad Sabatier Cc: current@freebsd.org Subject: Re: A few questions Message-ID: <20021102125904.GB2314@gray.sea.gr> References: <20021101120227.GB1778@gray.sea.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-11-02 00:39, Conrad Sabatier wrote: >On 01-Nov-2002 Giorgos Keramidas wrote: >> On 2002-10-31 18:39, Conrad Sabatier wrote: >>> And finally, is there a simple way to ensure that none of the debugging >>> code (including INVARIANTS stuff) is included during a buildworld? >> >> INVARIANTS and WITNESS are kernel-only stuff. They shouldn't affect >> your userland programs. If they do, it's probably a bug. > > I just happened to notice this: > > $ grep -r 'CFLAGS.*INVARIANTS' /usr/src > /usr/src/gnu/usr.bin/cc/Makefile.inc:#CFLAGS+= -DWANT_COMPILER_INVARIANTS > /usr/src/lib/libc_r/Makefile:CFLAGS+=-D_PTHREADS_INVARIANTS > /usr/src/lib/libpthread/Makefile:CFLAGS+=-D_PTHREADS_INVARIANTS Ah, good catch. It seems that _PTHREADS_INVARIANTS is enabled in libc_r and libpthread unconditionally. It's not related to the kernel INVARIANTS option, but looking at the under src/lib/libc_r I can see that it enables a few extra checks and panic()s here and there. Since I've been running "with" the checks for a while, and never paniced because of libc_r it's probably safe to remove. Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 17:10: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 D069C37B401 for ; Sun, 3 Nov 2002 17:10:23 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7A7F43E6E for ; Sun, 3 Nov 2002 17:10:22 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gray.sea.gr (patr530-b190.otenet.gr [212.205.244.198]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gA41AD5p021733 for ; Mon, 4 Nov 2002 03:10:15 +0200 (EET) Received: from gray.sea.gr (gray [127.0.0.1]) by gray.sea.gr (8.12.6/8.12.6) with ESMTP id gA2G5hHh009206 for ; Sat, 2 Nov 2002 18:08:13 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by gray.sea.gr (8.12.6/8.12.6/Submit) id gA2DEdJ6003226 for freebsd-current@freebsd.org; Sat, 2 Nov 2002 15:14:39 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sat, 2 Nov 2002 15:14:39 +0200 From: Giorgos Keramidas To: freebsd-current@freebsd.org Subject: Alarm signal strangeness Message-ID: <20021102131439.GE2314@gray.sea.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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'd expect the following to not print anything. Am I doing something wrong, or has the behavior of the default SIGALRM handler changed? $ ping -c 5 -t 2 "cvsup10.freebsd.org" >/dev/null 2>&1 Alarm clock $ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 18: 0:38 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id EE30037B401; Sun, 3 Nov 2002 18:00:36 -0800 (PST) Date: Sun, 3 Nov 2002 18:00:36 -0800 From: Juli Mallett To: Steve Kargl Cc: "M. Warner Losh" , freebsd-current@FreeBSD.ORG Subject: Re: __sF Message-ID: <20021103180036.B68778@FreeBSD.org> References: <20021102181031.GB28779@troutmask.apl.washington.edu> <20021102185841.GZ62585@procyon.firepipe.net> <20021102190642.GA28971@troutmask.apl.washington.edu> <20021102.174008.16163522.imp@bsdimp.com> <20021103005033.GC30494@troutmask.apl.washington.edu> <20021103032859.B5174@FreeBSD.org> <20021103154852.GB33995@troutmask.apl.washington.edu> <20021103092824.A33604@FreeBSD.org> <20021103174218.GA34527@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021103174218.GA34527@troutmask.apl.washington.edu>; from sgk@troutmask.apl.washington.edu on Sun, Nov 03, 2002 at 09:42:18AM -0800 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes 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 * De: Steve Kargl [ Data: 2002-11-03 ] [ Subjecte: Re: __sF ] > On Sun, Nov 03, 2002 at 09:28:24AM -0800, Juli Mallett wrote: > > * De: Steve Kargl [ Data: 2002-11-03 ] > > [ Subjecte: Re: __sF ] > > > As to my particular problem, a cross-platform > > > environment won't be of much use because NAG > > > hard-coded several paths into their app, e.g., > > > /usr/bin/cc. > > > > Then you should seriously consider the quality of such application, or > > whether you'd be better using it on an actual and supported platform. > > > > Anything less would be uncivilised. (Seriously) > > This is the *only* native Fortran 95 compiler for FreeBSD. ^ 4.x -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 18:26: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 996F137B401 for ; Sun, 3 Nov 2002 18:26:57 -0800 (PST) Received: from blarf.homeip.net (adsl-209-204-188-56.sonic.net [209.204.188.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B92043E75 for ; Sun, 3 Nov 2002 18:26:57 -0800 (PST) (envelope-from sonicmail@blarf.homeip.net) Received: by blarf.homeip.net (Postfix, from userid 1006) id E691E1AA4; Sun, 3 Nov 2002 18:26:50 -0800 (PST) Date: Sun, 3 Nov 2002 18:26:50 -0800 From: Alex Zepeda To: Terry Lambert , current@freebsd.org Subject: Re: WIne freezes -current for half a year Message-ID: <20021104022650.GA654@blarf.homeip.net> References: <1036347156.634.8.camel@twoflower> <20021103165323.A56468@angelica.unixdaemons.com> <3DC5A4F9.1D61A32F@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DC5A4F9.1D61A32F@mindspring.com> 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, Nov 03, 2002 at 02:36:41PM -0800, Terry Lambert wrote: > My understanding of his post was that, 6 months later, the machine > unfreezes, and everything works normally... 8-) 8-). > > Actually, I think he's complaining that WINE isn't working in -current. Yup. That's about right. Last time I tried Wine (sometime within the past three or four months) I was trying to install either Free Agent or WinMX. The thing caused my 'puter to just reboot. I haven't felt like trying it since (especially now that current isn't hanging nearly as often otherwise). - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 19:37: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 A0B3637B401; Sun, 3 Nov 2002 19:37:49 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E6AF43E75; Sun, 3 Nov 2002 19:37:48 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gray.sea.gr (patr530-b138.otenet.gr [212.205.244.146]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gA43bK5p009916; Mon, 4 Nov 2002 05:37:34 +0200 (EET) Received: from gray.sea.gr (gray [127.0.0.1]) by gray.sea.gr (8.12.6/8.12.6) with ESMTP id gA43bGSP005492; Mon, 4 Nov 2002 05:37:34 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by gray.sea.gr (8.12.6/8.12.6/Submit) id gA43adoB005490; Mon, 4 Nov 2002 05:36:40 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 4 Nov 2002 05:36:38 +0200 From: Giorgos Keramidas To: Hidetoshi Shimokawa Cc: Doug Barton , freebsd-current@FreeBSD.org, kbyanc@FreeBSD.org Subject: Re: Can't resolve hosts via dns on the command line with latest -current Message-ID: <20021104033637.GA5444@gray.sea.gr> References: <3DC52724.52A75A@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-11-04 01:16, Hidetoshi Shimokawa wrote: > I have the same problem and reverting rev. 1.134 of > /sys/kern/uipc_socket.c fixes the problem. > The change might have something wrong with a loopback interface. True. I had been seeing problems with network connections the last days, and was already in the process of backing out changes one by one when I saw this. Reverting 1.134 fixes things here. If I put it back in, strange DNS failures start causing troubles with almost everything (including Sendmail, fetchmail, ssh). Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 20:58:42 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 2465237B401; Sun, 3 Nov 2002 20:58:42 -0800 (PST) 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 6040D43E4A; Sun, 3 Nov 2002 20:58:41 -0800 (PST) (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.6/8.12.6) with ESMTP id gA44wdmX036941; Sun, 3 Nov 2002 20:58:40 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from localhost (doug@localhost) by master.gorean.org (8.12.6/8.12.6/Submit) with ESMTP id gA44wabZ000645; Sun, 3 Nov 2002 20:58:39 -0800 (PST) Date: Sun, 3 Nov 2002 20:58:36 -0800 (PST) From: Doug Barton To: Hidetoshi Shimokawa Cc: freebsd-current@FreeBSD.org, , Peter Wemm Subject: Re: Can't resolve hosts via dns on the command line with latest -current In-Reply-To: Message-ID: <20021103205739.P644-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 On Mon, 4 Nov 2002, Hidetoshi Shimokawa wrote: > I have the same problem and reverting rev. 1.134 of > /sys/kern/uipc_socket.c fixes the problem. Confirmed here too, thanks for the tip. I had looked over the recent commits to /etc/lib/*, but none of them looked guilty. Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 22:37: 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 D9B3137B401; Sun, 3 Nov 2002 22:37:02 -0800 (PST) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D59F43E6E; Sun, 3 Nov 2002 22:37:00 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6) with ESMTP id gA46aYD8089789; Mon, 4 Nov 2002 08:36:34 +0200 (SAT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6/Submit) id gA46aYDA089784; Mon, 4 Nov 2002 08:36:34 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200211040636.gA46aYDA089784@zibbi.icomtek.csir.co.za> Subject: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <20021102.122842.35978977.imp@bsdimp.com> from "M. Warner Losh" at "Nov 2, 2002 12:28:42 pm" To: imp@bsdimp.com (M. Warner Losh) Date: Mon, 4 Nov 2002 08:36:34 +0200 (SAT) Cc: current@FreeBSD.ORG, n_hibma@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > : Hmmm. I just noticed that the disks probe with zero values for the > : heads, sectors/track and cylinders. I have tried two different USB > : CF readers and both do it. On 4.x it probes with the correct values > : on the same machine and the same devices. So why do they probe > : wrong? > > Don't know. I've had problems with CF readers returning the wrong > geometry values in 4.3, but never 0's Ok, I found it. It is part of the rev 1.61 change to umass.c. It was made in June. :-/ The relevant piece is this: ########### Index: umass.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/umass.c,v retrieving revision 1.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- umass.c 11 Apr 2002 21:09:41 -0000 1.60 +++ umass.c 16 Jun 2002 20:53:35 -0000 1.61 ... @@ -2445,35 +2441,16 @@ } case XPT_CALC_GEOMETRY: { +#ifdef UMASS_DEBUG struct ccb_calc_geometry *ccg = &ccb->ccg; - +#endif DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:XPT_CALC_GEOMETRY: " - "Volume size = %d\n", + "Volume size = %d (unimplemented)\n", USBDEVNAME(sc->sc_dev), cam_sim_path(umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, ccg->volume_size)); - /* XXX We should probably ask the drive for the details - * instead of cluching them up ourselves - */ - if (sc->drive == ZIP_100) { - ccg->heads = 64; - ccg->secs_per_track = 32; - ccg->cylinders = ccg->volume_size / ccg->heads - / ccg->secs_per_track; - ccb->ccb_h.status = CAM_REQ_CMP; - break; - } else if (sc->proto & PROTO_UFI) { - ccg->heads = 2; - if (ccg->volume_size == 2880) - ccg->secs_per_track = 18; - else - ccg->secs_per_track = 9; - ccg->cylinders = 80; - break; - } else { - ccb->ccb_h.status = CAM_REQ_CMP_ERR; - } + ccb->ccb_h.status = CAM_REQ_CMP_ERR; xpt_done(ccb); break; .. ########### If I understand this correctly, it means it just faked the geometry, which explains Warner's comment that it didn't get the geometry always right. So the question now is do we just leave umass like this, which means we can't do low level disk stuff on umass devices, or do we add something like this back or is there another way? Is there a way to get the real geometry of the device? John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 23:13: 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 24FAA37B401; Sun, 3 Nov 2002 23:13:00 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57CE043E42; Sun, 3 Nov 2002 23:12:59 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gA47Cc9d084293; Mon, 4 Nov 2002 08:12:42 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John Hay Cc: imp@bsdimp.com (M. Warner Losh), current@FreeBSD.ORG, n_hibma@FreeBSD.ORG Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: Your message of "Sat, 04 Nov 2002 08:36:34 +0200." <200211040636.gA46aYDA089784@zibbi.icomtek.csir.co.za> Date: Mon, 04 Nov 2002 08:12:38 +0100 Message-ID: <84292.1036393958@critter.freebsd.dk> From: Poul-Henning Kamp 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 <200211040636.gA46aYDA089784@zibbi.icomtek.csir.co.za>, John Hay wri tes: >> : Hmmm. I just noticed that the disks probe with zero values for the >> : heads, sectors/track and cylinders. I have tried two different USB >> : CF readers and both do it. On 4.x it probes with the correct values >> : on the same machine and the same devices. So why do they probe >> : wrong? >> >> Don't know. I've had problems with CF readers returning the wrong >> geometry values in 4.3, but never 0's > >Ok, I found it. It is part of the rev 1.61 change to umass.c. It was >made in June. :-/ The relevant piece is this: >So the question now is do we just leave umass like this, which means we >can't do low level disk stuff on umass devices, or do we add something >like this back or is there another way? Is there a way to get the real >geometry of the device? We should obviously fix it. I have no idea what is possible in USB devices in this respect. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 23:30: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 AF57237B401; Sun, 3 Nov 2002 23:30:10 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F03D43E42; Sun, 3 Nov 2002 23:30:10 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id gA47U5pk081532; Mon, 4 Nov 2002 00:30:05 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 04 Nov 2002 00:29:08 -0700 (MST) Message-Id: <20021104.002908.95801946.imp@bsdimp.com> To: phk@critter.freebsd.dk Cc: jhay@icomtek.csir.co.za, current@FreeBSD.ORG, n_hibma@FreeBSD.ORG Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken From: "M. Warner Losh" In-Reply-To: <84292.1036393958@critter.freebsd.dk> References: <200211040636.gA46aYDA089784@zibbi.icomtek.csir.co.za> <84292.1036393958@critter.freebsd.dk> X-Mailer: Mew version 2.1 on Emacs 21.2 / 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: <84292.1036393958@critter.freebsd.dk> Poul-Henning Kamp writes: : We should obviously fix it. I have no idea what is possible in USB : devices in this respect. Nor do I. Maybe there's some SCSI command that we can send that is well defined enough to work often enough. However, I'm not clueful enough about SCSI to know if this can be done (likely reading some mode page will do it in real SCSI), nor about USB's mass storage devices, nor about all the wonderful and weird variations that one might find in the wild... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 23:40: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 6995E37B401; Sun, 3 Nov 2002 23:40:24 -0800 (PST) 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 4DD9A43E4A; Sun, 3 Nov 2002 23:40:23 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from FreeBSD.org (master.gorean.org [10.0.0.2]) by 12-234-90-219.client.attbi.com (8.12.6/8.12.6) with ESMTP id gA47eCmX037681; Sun, 3 Nov 2002 23:40:12 -0800 (PST) (envelope-from DougB@FreeBSD.org) Message-ID: <3DC6245C.8D31A6A7@FreeBSD.org> Date: Sun, 03 Nov 2002 23:40:12 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Kirk McKusick Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Conrad Sabatier , Stijn Hoop , current@FreeBSD.org, raymond.j.kohler@lmco.com, drosih@rpi.edu, ak03@gte.com Subject: Re: cvs commit: src/sys/fs/specfs spec_vnops.c References: <200211040729.gA47TKok056414@repoman.freebsd.org> 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 Kirk, I'm adding a bunch of people to the list who were involved in a thread on -current on this topic. I also tried this change and noticed that things did seem a tiny bit snappier (although my system is slow enough that it could have just been my imagination). Thanks, Doug Kirk McKusick wrote: > > mckusick 2002/11/03 23:29:20 PST > > Modified files: > sys/fs/specfs spec_vnops.c > Log: > Add debug.doslowdown to enable/disable niced slowdown on I/O. Default > to off until locking interference issues get sorted out. > > Sponsored by: DARPA & NAI Labs. > > Revision Changes Path > 1.186 +5 -1 src/sys/fs/specfs/spec_vnops.c > > http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/fs/specfs/spec_vnops.c.diff?&r1=1.185&r2=1.186&f=h -- "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 Sun Nov 3 23:48:14 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 CAFB937B401; Sun, 3 Nov 2002 23:48:12 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3C4243E75; Sun, 3 Nov 2002 23:48:11 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gA47m19d090624; Mon, 4 Nov 2002 08:48:01 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Doug Barton Cc: Kirk McKusick , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Conrad Sabatier , Stijn Hoop , current@FreeBSD.org, raymond.j.kohler@lmco.com, drosih@rpi.edu, ak03@gte.com Subject: Re: cvs commit: src/sys/fs/specfs spec_vnops.c In-Reply-To: Your message of "Sun, 03 Nov 2002 23:40:12 PST." <3DC6245C.8D31A6A7@FreeBSD.org> Date: Mon, 04 Nov 2002 08:48:01 +0100 Message-ID: <90623.1036396081@critter.freebsd.dk> From: Poul-Henning Kamp 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 <3DC6245C.8D31A6A7@FreeBSD.org>, Doug Barton writes: >Kirk, > >I'm adding a bunch of people to the list who were involved in a thread >on -current on this topic. I also tried this change and noticed that >things did seem a tiny bit snappier (although my system is slow enough >that it could have just been my imagination). All things considered, I think we should just pla to leave it this way for 5.0-R. Until now people were used to wait for fsck to finish, at least now they can do something in while it runs. I belive GEOM provides the framework where we can properly tag I/O requests with a priority, propagate that priority down to the device drivers and act accordingly in the disksort disk-scheduling code. That would allow us to address not only the bgfsck but also things like silly-seek-syndrome and other sub-optimal issues in our current I/O system. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 3 23:48: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 869D537B418 for ; Sun, 3 Nov 2002 23:48:24 -0800 (PST) Received: from van-laarhoven.org (ap-z-5ab8.adsl.wanadoo.nl [212.129.218.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DAA843E4A for ; Sun, 3 Nov 2002 23:48:23 -0800 (PST) (envelope-from n_hibma@van-laarhoven.org) Received: (qmail 17770 invoked from network); 4 Nov 2002 07:48:20 -0000 Received: from uitsmijter.van-laarhoven.org (n?hibma@10.66.0.1) by uitsmijter.van-laarhoven.org with SMTP; 4 Nov 2002 07:48:20 -0000 Date: Mon, 4 Nov 2002 08:48:20 +0100 (CET) From: Nick Hibma To: "M. Warner Losh" Cc: "phk@critter.freebsd.dk" , "jhay@icomtek.csir.co.za" , "current@FreeBSD.ORG" Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <20021104.002908.95801946.imp@bsdimp.com> Message-ID: <20021104084214.D17734-100000@uitsmijter.van-laarhoven.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 USB is only the transport. It doesn't add or remove functionality (the only exception being probing for LUNs on CBI devices). If you want to determine the geometry you will have to do this through SCSI commands. I was hoping that the CAM code would be smart enough to request the details from the drive itself, but perhaps there is a good reason for asking the controller for this. It did work without, so it hasn't been implemented yet. Feel free to suggest a SCSI command together with the logic. What is the GET_GEOMETRY used for anyway? Nick > In message: <84292.1036393958@critter.freebsd.dk> > Poul-Henning Kamp writes: > : We should obviously fix it. I have no idea what is possible in USB > : devices in this respect. > > Nor do I. Maybe there's some SCSI command that we can send that is > well defined enough to work often enough. > > However, I'm not clueful enough about SCSI to know if this can be done > (likely reading some mode page will do it in real SCSI), nor about > USB's mass storage devices, nor about all the wonderful and weird > variations that one might find in the wild... > > Warner > > -- n_hibma@van-laarhoven.org http://www.van-laarhoven.org/ n_hibma@FreeBSD.org http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 0: 2: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 230B637B404; Mon, 4 Nov 2002 00:02:46 -0800 (PST) Received: from watery.cc.kogakuin.ac.jp (watery.cc.kogakuin.ac.jp [133.80.152.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04B7443E7B; Mon, 4 Nov 2002 00:02:45 -0800 (PST) (envelope-from nyan@jp.FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) by watery.cc.kogakuin.ac.jp (8.12.6/8.12.6) with ESMTP id gA482hnq084690; Mon, 4 Nov 2002 17:02:43 +0900 (JST) (envelope-from nyan@jp.FreeBSD.org) Date: Mon, 04 Nov 2002 17:02:02 +0900 (JST) Message-Id: <20021104.170202.85350015.nyan@jp.FreeBSD.org> To: phk@FreeBSD.org Cc: current@FreeBSD.org Subject: GEOM/libdisk problem on pc98 From: Takahashi Yoshihiro X-Mailer: Mew version 2.2 on Emacs 21.2 / 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 The test program for libdisk is a failure in pc98 disks. I wonder at why pc98 disks don't have their type ('ty') in the result of kern.geom.conftxt, but i386 disks have. #./tst01 da0 PC98 [da0s1] 2 40958 error = -1 BSD [da0s1b] 2 1024 error = 310 BSD [da0s1a] 1026 39934 error = 310 c 0x8062040 c->p 0x8062080 c->p->p 0x0 --==##==-- Debug_Disk(da0) bios_geom=0/8/128 = 0 boot1=0x0, boot2=0x0, bootipl=0x0, bootmenu=0x0 --> 0x8062040 0 40031712 40031711 da0 - ?? 0x00 --> 0x8062080 0 40031712 40031711 - - unused 0x00 kern.geom.conftxt: 0 DISK da0 20496236544 512 hd 8 sc 128 1 PC98 da0s1 10736893952 512 i 0 o 524288 2 BSD da0s1c 10736893952 512 i 2 o 0 2 BSD da0s1b 268435456 512 i 1 o 0 2 BSD da0s1a 10468458496 512 i 0 o 268435456 0 DISK wd2 1281925120 512 hd 8 sc 17 1 PC98 wd2s1 1281368064 512 i 0 o 69632 0 DISK wd1 426774528 512 hd 8 sc 17 1 PC98 wd1s1 425730048 512 i 0 o 69632 2 BSD wd1s1e 225378304 512 i 4 o 201326592 2 BSD wd1s1c 426704896 512 i 2 o 0 2 BSD wd1s1b 134217728 512 i 1 o 67108864 2 BSD wd1s1a 67108864 512 i 0 o 0 0 DISK wd0 3228696576 512 hd 8 sc 17 1 PC98 wd0s1 3228626944 512 i 0 o 69632 2 BSD wd0s1e 2154885120 512 i 4 o 1073741824 2 BSD wd0s1c 3228626944 512 i 2 o 0 2 BSD wd0s1b 536870912 512 i 1 o 536870912 2 BSD wd0s1a 536870912 512 i 0 o 0 --- TAKAHASHI Yoshihiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 0: 3: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 4340537B408 for ; Mon, 4 Nov 2002 00:03:22 -0800 (PST) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id B380643E3B for ; Mon, 4 Nov 2002 00:03:19 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6) with ESMTP id gA482oD8093122; Mon, 4 Nov 2002 10:02:50 +0200 (SAT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6/Submit) id gA482oJj093121; Mon, 4 Nov 2002 10:02:50 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200211040802.gA482oJj093121@zibbi.icomtek.csir.co.za> Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <20021104084214.D17734-100000@uitsmijter.van-laarhoven.org> from Nick Hibma at "Nov 4, 2002 08:48:20 am" To: n_hibma@van-laarhoven.org (Nick Hibma) Date: Mon, 4 Nov 2002 10:02:50 +0200 (SAT) Cc: current@FreeBSD.ORG, phk@critter.freebsd.dk, imp@bsdimp.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > USB is only the transport. It doesn't add or remove functionality (the > only exception being probing for LUNs on CBI devices). If you want to > determine the geometry you will have to do this through SCSI commands. I > was hoping that the CAM code would be smart enough to request the > details from the drive itself, but perhaps there is a good reason for > asking the controller for this. > > It did work without, so it hasn't been implemented yet. Feel free to > suggest a SCSI command together with the logic. > > What is the GET_GEOMETRY used for anyway? Well the short version of the problem is that "fdisk -BI " works on -stable to get a FreeBSD partition on the Compact Flash. This does not work on -current anymore. I have traced that back to the commit in umass.c rev 1.61 that removed the fake geometry setting and just leave the cylinders, heads and sectors_per_track zero. This cause fdisk to coredump with a floating point error. > > In message: <84292.1036393958@critter.freebsd.dk> > > Poul-Henning Kamp writes: > > : We should obviously fix it. I have no idea what is possible in USB > > : devices in this respect. > > > > Nor do I. Maybe there's some SCSI command that we can send that is > > well defined enough to work often enough. > > > > However, I'm not clueful enough about SCSI to know if this can be done > > (likely reading some mode page will do it in real SCSI), nor about > > USB's mass storage devices, nor about all the wonderful and weird > > variations that one might find in the wild... John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 0: 8: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 45CCF37B401 for ; Mon, 4 Nov 2002 00:08:25 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A8FC43E42 for ; Mon, 4 Nov 2002 00:08:24 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id gA488Kpk081854; Mon, 4 Nov 2002 01:08:20 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 04 Nov 2002 01:07:22 -0700 (MST) Message-Id: <20021104.010722.110976721.imp@bsdimp.com> To: jhay@icomtek.csir.co.za Cc: n_hibma@van-laarhoven.org, current@FreeBSD.ORG, phk@critter.freebsd.dk Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken From: "M. Warner Losh" In-Reply-To: <200211040802.gA482oJj093121@zibbi.icomtek.csir.co.za> References: <20021104084214.D17734-100000@uitsmijter.van-laarhoven.org> <200211040802.gA482oJj093121@zibbi.icomtek.csir.co.za> X-Mailer: Mew version 2.1 on Emacs 21.2 / 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: <200211040802.gA482oJj093121@zibbi.icomtek.csir.co.za> John Hay writes: : > What is the GET_GEOMETRY used for anyway? : : Well the short version of the problem is that "fdisk -BI " works : on -stable to get a FreeBSD partition on the Compact Flash. This does : not work on -current anymore. I have traced that back to the commit : in umass.c rev 1.61 that removed the fake geometry setting and just : leave the cylinders, heads and sectors_per_track zero. This cause : fdisk to coredump with a floating point error. fdisk is using them, btw, to create a MBR which needs these fields to be somewhat sane. The floating point error likely is because we're dividing by zero on this case: #define RoundCyl(x) ((((x) + cylsecs - 1) / cylsecs) * cylsecs) if cylsecs is 0, guess what happens. We do similar things with dos_cylsecs in init_sector0. There's also code in get_params() that devides by dos_heads * 512 * dos_sectors: static int get_params() { int error; u_int u; off_t o; error = ioctl(fd, DIOCGFWSECTORS, &u); if (error == 0) sectors = dos_sectors = u; error = ioctl(fd, DIOCGFWHEADS, &u); if (error == 0) heads = dos_heads = u; dos_cylsecs = cylsecs = heads * sectors; disksecs = cyls * heads * sectors; error = ioctl(fd, DIOCGSECTORSIZE, &u); if (error != 0) u = 512; error = ioctl(fd, DIOCGMEDIASIZE, &o); if (error == 0) { disksecs = o / u; cyls = dos_cyls = o / (u * dos_heads * dos_sectors); } return (disksecs); } fdisk likely should do something sane in the face of such insanity, but it is unclear what and fdisk is a royal pita to work on anyway :-( Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 0:34: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 F25D737B401 for ; Mon, 4 Nov 2002 00:34:20 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 144C343E3B for ; Mon, 4 Nov 2002 00:34:20 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gA48YA9d099084; Mon, 4 Nov 2002 09:34:12 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Takahashi Yoshihiro Cc: current@FreeBSD.org Subject: Re: GEOM/libdisk problem on pc98 In-Reply-To: Your message of "Mon, 04 Nov 2002 17:02:02 +0900." <20021104.170202.85350015.nyan@jp.FreeBSD.org> Date: Mon, 04 Nov 2002 09:34:10 +0100 Message-ID: <99083.1036398850@critter.freebsd.dk> From: Poul-Henning Kamp 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 <20021104.170202.85350015.nyan@jp.FreeBSD.org>, Takahashi Yoshihiro writes: >The test program for libdisk is a failure in pc98 disks. > >I wonder at why pc98 disks don't have their type ('ty') in the result >of kern.geom.conftxt, but i386 disks have. I still have practically no documentation of the PC98 format and no hardware I can test on, so I am pretty unable to do anything sane. Feel free to fix this and submit patches to me for review: I want to make sure we don't adversely affect the platforms which work at this late point i the release-process. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 0:38: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 02F7E37B401 for ; Mon, 4 Nov 2002 00:38:09 -0800 (PST) Received: from wrzx35.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DFBD43E4A for ; Mon, 4 Nov 2002 00:38:07 -0800 (PST) (envelope-from q@galgenberg.net) Received: from wrzx34.rz.uni-wuerzburg.de (wrzx34.rz.uni-wuerzburg.de [132.187.3.34]) by wrzx35.rz.uni-wuerzburg.de (8.8.8/8.8.8/uniwue-MM-1.05) with ESMTP id JAA19877 for ; Mon, 4 Nov 2002 09:38:05 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id D0A1B24707 for ; Mon, 4 Nov 2002 09:38:04 +0100 (CET) Received: from wrzx07.rz.uni-wuerzburg.de (wrzx07.rz.uni-wuerzburg.de [132.187.1.7]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id ABBD624375 for ; Mon, 4 Nov 2002 09:38:04 +0100 (CET) Received: from frodo.galgenberg.net (galgenberg.net [132.187.222.250]) by wrzx07.rz.uni-wuerzburg.de (Postfix) with SMTP id 87CD71600 for ; Mon, 4 Nov 2002 09:38:04 +0100 (CET) Received: (qmail 96453 invoked from network); 4 Nov 2002 08:38:04 -0000 Received: from gb-007.galgenberg.net (HELO roadrunner) (132.187.222.7) by galgenberg.net with SMTP; 4 Nov 2002 08:38:04 -0000 Date: Mon, 4 Nov 2002 09:38:04 +0100 From: "Ulrich 'Q' Spoerlein" To: Alex Zepeda Cc: tlambert2@mindspring.com, current@freebsd.org Subject: Re: WIne freezes -current for half a year Message-Id: <20021104093804.7f148385.q@galgenberg.net> In-Reply-To: <20021104022650.GA654@blarf.homeip.net> References: <1036347156.634.8.camel@twoflower> <20021103165323.A56468@angelica.unixdaemons.com> <3DC5A4F9.1D61A32F@mindspring.com> <20021104022650.GA654@blarf.homeip.net> X-Mailer: Sylpheed version 0.8.5claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS (Rechenzentrum Universitaet Wuerzburg) 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, 3 Nov 2002 18:26:50 -0800 Alex Zepeda wrote: >> Actually, I think he's complaining that WINE isn't working in -current. > >Yup. That's about right. Last time I tried Wine (sometime within the >past three or four months) I was trying to install either Free Agent or >WinMX. The thing caused my 'puter to just reboot. I haven't felt like >trying it since (especially now that current isn't hanging nearly as >often otherwise). i have similar problems on -stable. the last Wine snapshot that ran Forte Agent fine was 2002.05.09, all newer Wine versions crash/hang when i try to "reply" to someone (Agent creates a new window/thread(??) and then wine goes nuts :( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 0:45:45 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 F2EFB37B404 for ; Mon, 4 Nov 2002 00:45:43 -0800 (PST) Received: from van-laarhoven.org (ap-z-5ab8.adsl.wanadoo.nl [212.129.218.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 6D7BB43E8A for ; Mon, 4 Nov 2002 00:45:32 -0800 (PST) (envelope-from n_hibma@van-laarhoven.org) Received: (qmail 17990 invoked from network); 4 Nov 2002 08:45:30 -0000 Received: from uitsmijter.van-laarhoven.org (n?hibma@10.66.0.1) by uitsmijter.van-laarhoven.org with SMTP; 4 Nov 2002 08:45:30 -0000 Date: Mon, 4 Nov 2002 09:45:30 +0100 (CET) From: Nick Hibma To: John Hay Cc: "current@FreeBSD.ORG" , "phk@critter.freebsd.dk" , "imp@bsdimp.com" Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <200211040802.gA482oJj093121@zibbi.icomtek.csir.co.za> Message-ID: <20021104094319.K17734-100000@uitsmijter.van-laarhoven.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 > Well the short version of the problem is that "fdisk -BI " works > on -stable to get a FreeBSD partition on the Compact Flash. This does > not work on -current anymore. I have traced that back to the commit > in umass.c rev 1.61 that removed the fake geometry setting and just > leave the cylinders, heads and sectors_per_track zero. This cause > fdisk to coredump with a floating point error. Hm, strange. I would think that a compact flasg is an ATAPI over CBI device (see attach message in your dmesg). If that is the case, the 'fake setting' was not done in STABLE either and I would expect the problem to be somewhere else. But that would contradict your research. Nick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 0:49: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 183FA37B4BD; Mon, 4 Nov 2002 00:49:24 -0800 (PST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED6A843E97; Mon, 4 Nov 2002 00:49:22 -0800 (PST) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.6/8.12.6) with ESMTP id gA48n7qx084752; Mon, 4 Nov 2002 09:49:07 +0100 (CET) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.6/8.12.6/Submit) id gA48n7Ur084751; Mon, 4 Nov 2002 09:49:07 +0100 (CET) Date: Mon, 4 Nov 2002 09:49:06 +0100 From: Stijn Hoop To: Poul-Henning Kamp Cc: Doug Barton , Kirk McKusick , cvs-committers@freebsd.org, cvs-all@freebsd.org, Conrad Sabatier , current@freebsd.org, raymond.j.kohler@lmco.com, drosih@rpi.edu, ak03@gte.com Subject: Re: cvs commit: src/sys/fs/specfs spec_vnops.c Message-ID: <20021104084906.GA84347@pcwin002.win.tue.nl> References: <3DC6245C.8D31A6A7@FreeBSD.org> <90623.1036396081@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <90623.1036396081@critter.freebsd.dk> User-Agent: Mutt/1.4i X-Bright-Idea: Let's abolish HTML mail! 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 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 04, 2002 at 08:48:01AM +0100, Poul-Henning Kamp wrote: > In message <3DC6245C.8D31A6A7@FreeBSD.org>, Doug Barton writes: > >Kirk, > > > >I'm adding a bunch of people to the list who were involved in a thread > >on -current on this topic. I also tried this change and noticed that > >things did seem a tiny bit snappier (although my system is slow enough > >that it could have just been my imagination).=20 >=20 > All things considered, I think we should just pla to leave it this way > for 5.0-R. Until now people were used to wait for fsck to finish, at > least now they can do something in while it runs. Well... like I indicated earlier in the thread on -CURRENT, things were definitely *slow*. I also said I would try to provide benchmarks if people told me how to do that (and what to time). In any case, as a rough measurement, starting X on -CURRENT took about 2-3 seconds vs. about half a second on -STABLE on the exact same hardware. It was even measurable on a simple 'ls' in a large directory. I think if this is left in as is, people 'new' to FreeBSD will think it's dead slow, and move on elsewhere. > I belive GEOM provides the framework where we can properly tag I/O > requests with a priority, propagate that priority down to the device > drivers and act accordingly in the disksort disk-scheduling code. If that's the case, I'd like to see it in 5.0R. > That would allow us to address not only the bgfsck but also things > like silly-seek-syndrome and other sub-optimal issues in our current > I/O system. That would be great. --Stijn --=20 The right half of the brain controls the left half of the body. This means that only left handed people are in their right mind. --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9xjSCY3r/tLQmfWcRAmXnAJ9ioCeA/kY3r5wpTF33aGhPHTfWswCdEHAB 5AI0VnZjCDjH++7K260Yu1w= =mE5i -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 0:51: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 4333A37B401 for ; Mon, 4 Nov 2002 00:51:10 -0800 (PST) Received: from van-laarhoven.org (ap-z-5ab8.adsl.wanadoo.nl [212.129.218.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 01F8E43E6E for ; Mon, 4 Nov 2002 00:51:09 -0800 (PST) (envelope-from n_hibma@van-laarhoven.org) Received: (qmail 18000 invoked from network); 4 Nov 2002 08:51:07 -0000 Received: from uitsmijter.van-laarhoven.org (n?hibma@10.66.0.1) by uitsmijter.van-laarhoven.org with SMTP; 4 Nov 2002 08:51:07 -0000 Date: Mon, 4 Nov 2002 09:51:07 +0100 (CET) From: Nick Hibma To: "M. Warner Losh" Cc: "jhay@icomtek.csir.co.za" , "current@FreeBSD.ORG" , "phk@critter.freebsd.dk" Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <20021104.010722.110976721.imp@bsdimp.com> Message-ID: <20021104094650.U17734-100000@uitsmijter.van-laarhoven.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 Let's work on the 'proper' solution first. What SCSI commands are suitable for getting the geometry, generically on a device? Nick > fdisk likely should do something sane in the face of such insanity, > but it is unclear what and fdisk is a royal pita to work on anyway :-( > > Warner > > -- n_hibma@van-laarhoven.org http://www.van-laarhoven.org/ n_hibma@FreeBSD.org http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 1:24:14 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 66CAD37B401; Mon, 4 Nov 2002 01:24:12 -0800 (PST) Received: from faui03.informatik.uni-erlangen.de (faui03.informatik.uni-erlangen.de [131.188.30.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6628B43E42; Mon, 4 Nov 2002 01:24:11 -0800 (PST) (envelope-from markus@openbsd.org) Received: from folly.informatik.uni-erlangen.de (localhost [127.0.0.1]) by faui03.informatik.uni-erlangen.de (8.12.6/8.12.6) with ESMTP id gA49O4TT006681; Mon, 4 Nov 2002 09:24:05 GMT Received: by folly.informatik.uni-erlangen.de (Postfix, from userid 31451) id 818C834081; Mon, 4 Nov 2002 10:23:29 +0100 (CET) Date: Mon, 4 Nov 2002 10:23:29 +0100 From: Markus Friedl To: Alexander Leidinger Cc: current@freebsd.org, des@freebsd.org, openssh@openbsd.org Subject: Re: ssh-agent broken with pam_ssh for xdm (+ fix for ssh-agent.c) Message-ID: <20021104092329.GA1677@folly> References: <20021103204902.3c6b3705.Alexander@Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021103204902.3c6b3705.Alexander@Leidinger.net> User-Agent: Mutt/1.4i 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, geteuid() could work, too, but why is ssh-agent running with a privileged user id? shouldn't both the real and effective user id be the uid of the user? On Sun, Nov 03, 2002 at 08:49:02PM +0100, Alexander Leidinger wrote: > Hi, > > [Markus: this is on FreeBSD-current with > $OpenBSD: ssh-agent.c,v 1.105 2002/10/01 20:34:12 markus Exp $] > > I use pam_ssh in pam.d/xdm and after an update to todays -current, it > doesn't add my key anymore. In /var/log/messages I see the following if > I try a "ssh-add -l": > ---snip--- > ssh-agent[6438]: error: uid mismatch: peer euid 1000 != uid 0 > ---snip--- > > ssh-agent.c:after_select() contains: > ---snip--- > if ((euid != 0) && (getuid() != euid)) { > error("uid mismatch: " > "peer euid %u != uid %u", > (u_int) euid, (u_int) getuid()); > close(sock); > break; > } > ---snip--- > > As ssh_agent gets startet from pam_ssh in xdm (which runs as root -> > getuid() = 0, geteuid() = 1000), it is obvious why it doesn't work. > > At the moment I have this piece of code commented out, but I think this > should get changed to use geteuid() instead of getuid(). Or did I > misunderstood the idea behind the above code? > > Bye, > Alexander. > > -- > Loose bits sink chips. > > 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 Mon Nov 4 1:34: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 2E69637B401 for ; Mon, 4 Nov 2002 01:34:21 -0800 (PST) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8F8543E75 for ; Mon, 4 Nov 2002 01:34:14 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6) with ESMTP id gA49XVD8096679; Mon, 4 Nov 2002 11:33:31 +0200 (SAT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6/Submit) id gA49XVe8096676; Mon, 4 Nov 2002 11:33:31 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200211040933.gA49XVe8096676@zibbi.icomtek.csir.co.za> Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <20021104094319.K17734-100000@uitsmijter.van-laarhoven.org> from Nick Hibma at "Nov 4, 2002 09:45:30 am" To: n_hibma@van-laarhoven.org (Nick Hibma) Date: Mon, 4 Nov 2002 11:33:31 +0200 (SAT) Cc: current@FreeBSD.ORG, phk@critter.freebsd.dk, imp@bsdimp.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Well the short version of the problem is that "fdisk -BI " works > > on -stable to get a FreeBSD partition on the Compact Flash. This does > > not work on -current anymore. I have traced that back to the commit > > in umass.c rev 1.61 that removed the fake geometry setting and just > > leave the cylinders, heads and sectors_per_track zero. This cause > > fdisk to coredump with a floating point error. > > Hm, strange. I would think that a compact flasg is an ATAPI over CBI > device (see attach message in your dmesg). If that is the case, the > 'fake setting' was not done in STABLE either and I would expect the > problem to be somewhere else. But that would contradict your research. Maybe the short version was too short. :-) The CF is behind a SanDisk ImageMate (I have two different ones), which emulates SCSI according to dmesg. I don't know if they use BBB or CBI. I don't know what the difference is either. :-) ######## umass0: SanDisk ImageMate CF-SD, rev 1.10/0.12, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 61MB (125440 512 byte sectors: 0H 0S/T 0C) umass0: at uhub0 port 1 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry umass0: detached umass0: SanDisk Corporation ImageMate CompactFlash USB, rev 1.10/0.09, addr 2 umass0: Get Max Lun not supported (STALLED) da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 61MB (125441 512 byte sectors: 0H 0S/T 0C) ######### John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 2:58: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 2DAFC37B401; Mon, 4 Nov 2002 02:58:08 -0800 (PST) Date: Mon, 4 Nov 2002 02:58:08 -0800 From: Juli Mallett To: current@FreeBSD.org Subject: Weird NFS Client behaviour? Message-ID: <20021104025808.A9687@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes 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 seeing some very dodgy behaviour in my home NFS environment. I have a 4.7-RC2 box serving up /export, and this machine is called 'thefather'. I have my laptop, 5.0-CURRENT (a day or two stale), and this machine is called 'luna'. I also have a 4.7-STABLE (a week or two stale) box, called 'dalek'. Now, I have a mount of thefather:/export on /mnt on luna, and the mount is there, and gtk-gnutella is running with its download directory in /mnt/@shared/download, and so on. Gtk-Gnutella is still running and downloading files fine. However if I try to df -h or ls -lart / or ls /mnt/@shared/unsorted, the process in question will block indefinitely in the NFS lock recv code, but yet if I ssh to dalek and try to do the same, it works fine and dandy. Note that this problem just appeared about 20 minutes ago, and is still occurring, and I've had it happen before... Anyone seen this or have any clue? I'm vaguely familiar with the lock stuff in nfs_socket.c on the client side, but I've still got no idea what is going on... Could it be because I'm using TCP nfs, rather than UDP, and that somehow affects statep for multiple concurrent requests? Thanks, juli. -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 3: 0: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 1A71437B401 for ; Mon, 4 Nov 2002 03:00:47 -0800 (PST) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE36243E3B for ; Mon, 4 Nov 2002 03:00:46 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0034.cvx21-bradley.dialup.earthlink.net ([209.179.192.34] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 188eyL-0004bk-00; Mon, 04 Nov 2002 03:00:45 -0800 Message-ID: <3DC65310.82F4ED88@mindspring.com> Date: Mon, 04 Nov 2002 02:59:28 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Alex Zepeda Cc: current@freebsd.org Subject: Re: WIne freezes -current for half a year References: <1036347156.634.8.camel@twoflower> <20021103165323.A56468@angelica.unixdaemons.com> <3DC5A4F9.1D61A32F@mindspring.com> <20021104022650.GA654@blarf.homeip.net> 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 Alex Zepeda wrote: > On Sun, Nov 03, 2002 at 02:36:41PM -0800, Terry Lambert wrote: > > My understanding of his post was that, 6 months later, the machine > > unfreezes, and everything works normally... 8-) 8-). > > > > Actually, I think he's complaining that WINE isn't working in -current. > > Yup. That's about right. Last time I tried Wine (sometime within the > past three or four months) I was trying to install either Free Agent or > WinMX. The thing caused my 'puter to just reboot. I haven't felt like > trying it since (especially now that current isn't hanging nearly as > often otherwise). It'd probably be a good idea to try it again before reporting it as if it were still not working. It may or may not have been fixed by the signal and FP register state commits, etc., so just because it was broken doesn't mean it's broken now. Even if it *is* still broken, it could be broken in an entirely different way... 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 3: 4: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 3ECF637B401 for ; Mon, 4 Nov 2002 03:04:38 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBDB943E3B for ; Mon, 4 Nov 2002 03:04:36 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 53EFA534E; Mon, 4 Nov 2002 12:04:32 +0100 (CET) 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: Markus Friedl Cc: Alexander Leidinger , current@freebsd.org, openssh@openbsd.org Subject: Re: ssh-agent broken with pam_ssh for xdm (+ fix for ssh-agent.c) References: <20021103204902.3c6b3705.Alexander@Leidinger.net> <20021104092329.GA1677@folly> From: Dag-Erling Smorgrav Date: Mon, 04 Nov 2002 12:04:31 +0100 In-Reply-To: <20021104092329.GA1677@folly> (Markus Friedl's message of "Mon, 4 Nov 2002 10:23:29 +0100") Message-ID: Lines: 12 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) 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 Markus Friedl writes: > yes, geteuid() could work, too, but why is ssh-agent running > with a privileged user id? shouldn't both the real and > effective user id be the uid of the user? There seems to be a bug in our pam_ssh(8). It switches to user privileges when reading the user's keys, but switches back before starting the agent, instead of after. 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 Mon Nov 4 3:11: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 E105E37B401 for ; Mon, 4 Nov 2002 03:11:43 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33D6E43E4A for ; Mon, 4 Nov 2002 03:11:43 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 411AF534E; Mon, 4 Nov 2002 12:11:41 +0100 (CET) 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: Markus Friedl Cc: Alexander Leidinger , current@freebsd.org, openssh@openbsd.org Subject: Re: ssh-agent broken with pam_ssh for xdm (+ fix for ssh-agent.c) References: <20021103204902.3c6b3705.Alexander@Leidinger.net> <20021104092329.GA1677@folly> From: Dag-Erling Smorgrav Date: Mon, 04 Nov 2002 12:11:40 +0100 In-Reply-To: (Dag-Erling Smorgrav's message of "Mon, 04 Nov 2002 12:04:31 +0100") Message-ID: Lines: 16 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) 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 Dag-Erling Smorgrav writes: > There seems to be a bug in our pam_ssh(8). It switches to user > privileges when reading the user's keys, but switches back before > starting the agent, instead of after. Umm, wait, that was too easy. It doesn't. I got the start_agent and !start_agent cases mixed up. Alexander, could you check what UID ssh-agent runs as (ps auxw | grep agent)? What version of XFree86 do you run, and did you compile it yourself or did you install binaries? How long ago did you install it? What does 'ldd /usr/X11R6/bin/xdm' say? If it's pretty old, it might still be using Linux-PAM and an old non-credential-dropping pam_ssh(8). 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 Mon Nov 4 3:40:42 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 A195A37B401 for ; Mon, 4 Nov 2002 03:40:40 -0800 (PST) Received: from beast.freebsd.org (beast.freebsd.org [216.136.204.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65AD243E4A for ; Mon, 4 Nov 2002 03:40:40 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from beast.freebsd.org (localhost [127.0.0.1]) by beast.freebsd.org (8.12.6/8.12.6) with ESMTP id gA4Beesc072251 for ; Mon, 4 Nov 2002 03:40:40 -0800 (PST) (envelope-from des@beast.freebsd.org) Received: (from des@localhost) by beast.freebsd.org (8.12.6/8.12.6/Submit) id gA4BeeBW072249 for current@freebsd.org; Mon, 4 Nov 2002 03:40:40 -0800 (PST) Date: Mon, 4 Nov 2002 03:40:40 -0800 (PST) From: Dag-Erling Smorgrav Message-Id: <200211041140.gA4BeeBW072249@beast.freebsd.org> To: current@freebsd.org Subject: alpha 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/alpha/obj/h/des/src/alpha/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Mon Nov 4 03:05:00 PST 2002 -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Mon Nov 4 03:35:31 PST 2002 -------------------------------------------------------------- >>> Kernel build for LINT started on Mon Nov 4 03:35:31 PST 2002 -------------------------------------------------------------- ===> vinum "Makefile", line 4517: warning: duplicate script for target "geom_bsd.o" ignored cc1: warnings being treated as errors /h/des/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_alloc': /h/des/src/sys/dev/aic7xxx/aic79xx.c:4208: warning: unsigned int format, different type arg (arg 3) /h/des/src/sys/dev/aic7xxx/aic79xx.c:4208: warning: unsigned int format, different type arg (arg 4) /h/des/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_init_scbdata': /h/des/src/sys/dev/aic7xxx/aic79xx.c:4601: warning: unsigned int format, different type arg (arg 3) *** Error code 1 Stop in /h/des/obj/h/des/src/sys/LINT. *** Error code 1 Stop in /h/des/src. *** Error code 1 Stop in /h/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 4: 8: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 2DC4437B401; Mon, 4 Nov 2002 04:08:40 -0800 (PST) Received: from ip68-14-62-49.no.no.cox.net (ip68-14-62-49.no.no.cox.net [68.14.62.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53FF743E42; Mon, 4 Nov 2002 04:08:39 -0800 (PST) (envelope-from conrads@cox.net) Received: from ip68-14-62-49.no.no.cox.net (localhost [127.0.0.1]) by ip68-14-62-49.no.no.cox.net (8.12.6/8.12.6) with ESMTP id gA4C7eAY019085; Mon, 4 Nov 2002 06:07:50 -0600 (CST) (envelope-from conrads@ip68-14-62-49.no.no.cox.net) Received: (from conrads@localhost) by ip68-14-62-49.no.no.cox.net (8.12.6/8.12.6/Submit) id gA4C79qG019076; Mon, 4 Nov 2002 06:07:09 -0600 (CST) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3DC6245C.8D31A6A7@FreeBSD.org> Date: Mon, 04 Nov 2002 06:07:04 -0600 (CST) Reply-To: conrads@cox.net Organization: A Rag-Tag Band of Drug-crazed Hippies From: Conrad Sabatier To: Doug Barton Subject: Re: cvs commit: src/sys/fs/specfs spec_vnops.c Cc: ak03@gte.com, drosih@rpi.edu, raymond.j.kohler@lmco.com, current@FreeBSD.ORG, Stijn Hoop , cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, Kirk McKusick 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 04-Nov-2002 Doug Barton wrote: > Kirk, > > I'm adding a bunch of people to the list who were involved in a thread > on -current on this topic. I also tried this change and noticed that > things did seem a tiny bit snappier (although my system is slow enough > that it could have just been my imagination). > > Thanks, > > Doug On a similar note, I'm still trying to determine the impact of enabling/disabling CFLAGS+=-D_PTHREADS_INVARIANTS in libc_r and libpthreads, and wondering if perhaps a global -DNO_INVARIANTS variable in src/Makefile.inc1 might be something worth considering. It's hard to tell just how much of a difference this really makes. Has anyone done any comparisons on this? Do these have any effect at all if the kernel is built without INVARIANT_SUPPORT? > Kirk McKusick wrote: >> >> mckusick 2002/11/03 23:29:20 PST >> >> Modified files: >> sys/fs/specfs spec_vnops.c >> Log: >> Add debug.doslowdown to enable/disable niced slowdown on I/O. Default >> to off until locking interference issues get sorted out. >> >> Sponsored by: DARPA & NAI Labs. >> >> Revision Changes Path >> 1.186 +5 -1 src/sys/fs/specfs/spec_vnops.c >> >> http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/fs/specfs/spec_vnops.c.diff >> ?&r1=1.185&r2=1.186&f=h > > -- > "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 > -- Conrad Sabatier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 4:11: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 E7D4937B401 for ; Mon, 4 Nov 2002 04:11:42 -0800 (PST) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E56143E88 for ; Mon, 4 Nov 2002 04:11:37 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd08.sul.t-online.de by mailout10.sul.t-online.com with smtp id 188g4o-00015s-03; Mon, 04 Nov 2002 13:11:30 +0100 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.109.76]) by fmrl08.sul.t-online.com with esmtp id 188g4Y-1m9Bc8C; Mon, 4 Nov 2002 13:11:14 +0100 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.12.6/8.12.6) with ESMTP id gA4CB6L7004893; Mon, 4 Nov 2002 13:11:07 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.6/8.12.6) with SMTP id gA4CBEdX009572; Mon, 4 Nov 2002 13:11:14 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Mon, 4 Nov 2002 13:11:14 +0100 From: Alexander Leidinger To: Dag-Erling Smorgrav Cc: markus@openbsd.org, current@freebsd.org, openssh@openbsd.org Subject: Re: ssh-agent broken with pam_ssh for xdm (+ fix for ssh-agent.c) Message-Id: <20021104131114.04e5a76f.Alexander@Leidinger.net> In-Reply-To: References: <20021103204902.3c6b3705.Alexander@Leidinger.net> <20021104092329.GA1677@folly> X-Mailer: Sylpheed version 0.8.5claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 On Mon, 04 Nov 2002 12:11:40 +0100 Dag-Erling Smorgrav wrote: > Dag-Erling Smorgrav writes: > > There seems to be a bug in our pam_ssh(8). It switches to user > > privileges when reading the user's keys, but switches back before > > starting the agent, instead of after. > > Umm, wait, that was too easy. It doesn't. I got the start_agent and > !start_agent cases mixed up. Alexander, could you check what UID > ssh-agent runs as (ps auxw | grep agent)? What version of XFree86 do It runs with my UID: ---snip--- (5) netchild@ttyp2 % ps auxww |grep \[s\]sh-agent netchild 757 0.0 0.2 1976 1188 ?? Is 9:00am 0:00.01 ssh-agent ---snip--- > you run, and did you compile it yourself or did you install binaries? Myself. > How long ago did you install it? What does 'ldd /usr/X11R6/bin/xdm' Oct 25. > say? If it's pretty old, it might still be using Linux-PAM and an old No, it uses our PAM: ---snip--- libpam.so.2 => /usr/lib/libpam.so.2 (0x281eb000) (6) netchild@ttyp0 % ll /usr/lib/libpam.* -r--r--r-- 1 root wheel 127K 3 Nov 20:04 /usr/lib/libpam.a lrwxr-xr-x 1 root wheel 11B 3 Nov 20:04 /usr/lib/libpam.so@ -> libpam.so.2 -r--r--r-- 1 root wheel 25K 3 Nov 20:04 /usr/lib/libpam.so.2 ---snip--- > non-credential-dropping pam_ssh(8). 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 Mon Nov 4 4:20:25 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 5668137B401; Mon, 4 Nov 2002 04:20:22 -0800 (PST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5722A43E88; Mon, 4 Nov 2002 04:20:21 -0800 (PST) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.6/8.12.6) with ESMTP id gA4CKBqx086085; Mon, 4 Nov 2002 13:20:11 +0100 (CET) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.6/8.12.6/Submit) id gA4CKBwo086084; Mon, 4 Nov 2002 13:20:11 +0100 (CET) Date: Mon, 4 Nov 2002 13:20:11 +0100 From: Stijn Hoop To: Poul-Henning Kamp Cc: Doug Barton , Kirk McKusick , cvs-committers@freebsd.org, cvs-all@freebsd.org, Conrad Sabatier , current@freebsd.org, raymond.j.kohler@lmco.com, drosih@rpi.edu, ak03@gte.com Subject: Re: cvs commit: src/sys/fs/specfs spec_vnops.c Message-ID: <20021104122011.GE84347@pcwin002.win.tue.nl> References: <3DC6245C.8D31A6A7@FreeBSD.org> <90623.1036396081@critter.freebsd.dk> <20021104084906.GA84347@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MZf7D3rAEoQgPanC" Content-Disposition: inline In-Reply-To: <20021104084906.GA84347@pcwin002.win.tue.nl> User-Agent: Mutt/1.4i X-Bright-Idea: Let's abolish HTML mail! 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 --MZf7D3rAEoQgPanC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 04, 2002 at 09:49:06AM +0100, Stijn Hoop wrote: > On Mon, Nov 04, 2002 at 08:48:01AM +0100, Poul-Henning Kamp wrote: > > In message <3DC6245C.8D31A6A7@FreeBSD.org>, Doug Barton writes: > > >Kirk, > > > > > >I'm adding a bunch of people to the list who were involved in a thread > > >on -current on this topic. I also tried this change and noticed that > > >things did seem a tiny bit snappier (although my system is slow enough > > >that it could have just been my imagination).=20 > >=20 > > All things considered, I think we should just pla to leave it this way > > for 5.0-R. Until now people were used to wait for fsck to finish, at > > least now they can do something in while it runs. >=20 > Well... like I indicated earlier in the thread on -CURRENT, things > were definitely *slow*. I also said I would try to provide benchmarks > if people told me how to do that (and what to time). In any case, > as a rough measurement, starting X on -CURRENT took about 2-3 seconds > vs. about half a second on -STABLE on the exact same hardware. >=20 > It was even measurable on a simple 'ls' in a large directory. >=20 > I think if this is left in as is, people 'new' to FreeBSD will think > it's dead slow, and move on elsewhere. Whoops, monday morning brain fart. Ignore my previous mail, I didn't get the fact that the switch defaulted to *off*. Am I reading it correctly now, that the ioslow sleep is therefore a= lso not enabled by default? --Stijn --=20 The most reliable proof that there are extraterrestrial intelligent lifeforms out there is that nobody actually tries to get in contact with us. -- Dirk Mueller --MZf7D3rAEoQgPanC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9xmX7Y3r/tLQmfWcRAi+WAJ9tXtd1x85eZ8FRm2Y0HrWFVzBoZwCfch5y G8BWvnEqldumuT++KA5Hltg= =7hIO -----END PGP SIGNATURE----- --MZf7D3rAEoQgPanC-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 4: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 9340C37B401 for ; Mon, 4 Nov 2002 04:36:41 -0800 (PST) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5A3443E88 for ; Mon, 4 Nov 2002 04:36:38 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.4/8.12.3) with ESMTP id gA4CaQbT066140 for ; Mon, 4 Nov 2002 23:06:28 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Ports funkyness From: "Daniel O'Connor" To: freebsd-current@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 04 Nov 2002 23:06:26 +1030 Message-Id: <1036413389.21699.15.camel@chowder.localdomain> Mime-Version: 1.0 X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) 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 OK, so I update my ancient -current box and then realise I have to update all my packages too.. No problem except I get funky stuff like -> [guppy 23:02] /usr/ports/sysutils/portupgrade >sudo portupgrade windowmaker-0.65.1_1 [Updating the pkgdb in /var/db/pkg ... - 98 packages found (-61 +4) (...)(? mkisofs-1.15.a21)(? sysutils/pkg_tarup).... done] anonymous: Not in due form: - Hmm.. OK, lets do some package deletion manually.. [guppy 23:03] /var/db/pkg >sudo pkg_delete mozilla-headers-1.0.rc1_1,1 pkg_delete: package 'mozilla-headers-1.0.rc1_1,1' doesn't have a prefix OK, maybe -f will work [guppy 23:03] /var/db/pkg >sudo pkg_delete -f mozilla-headers-1.0.rc1_1,1 pkg_delete: package 'mozilla-headers-1.0.rc1_1,1' doesn't have a prefix [guppy 23:03] /var/db/pkg >ls -la /var/db/pkg/mozilla-headers-1.0.rc1_1,1 total 7 -rw-r--r-- 1 root wheel 52 May 9 21:56 +COMMENT -rw-r--r-- 1 root wheel 0 Nov 3 15:59 +CONTENTS -rw-r--r-- 1 root wheel 83 May 9 21:56 +DESC drwxr-xr-x 2 root wheel 512 Nov 3 15:59 . drwxr-xr-x 100 root wheel 4096 Nov 4 23:02 .. Guess not. Now what do I do? :) Ahh, hmm.. guess that zero length +CONTENTS might have something to do with it. Yech, wonder how that happened :( Lots of my ports appear to be damaged the same way :( -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 5:29: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 6C21337B401 for ; Mon, 4 Nov 2002 05:29:33 -0800 (PST) Received: from gt3.OntheNet.com.au (nt.com.au [203.13.70.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F98A43E4A for ; Mon, 4 Nov 2002 05:29:32 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-203-45-245-212.qld.bigpond.net.au [203.45.245.212]) by gt3.OntheNet.com.au (8.11.4/8.11.4) with ESMTP id gA4DSjU77784; Mon, 4 Nov 2002 23:28:46 +1000 (EST) Message-ID: <3DC67665.9717E0D@freebsd.org> Date: Mon, 04 Nov 2002 23:30:13 +1000 From: Peter Grehan X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: Paolo Pisati Cc: freebsd-current@freebsd.org Subject: Re: Current on PPC 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 Hi Paolo, > What's the status of FreeBSD-CURRENT on PPC (mainly PowerMac stuff)? It's riding out the storm of all the recent -current changes. There should be another snapshot available soon - details will be posted on freebsd-ppc. later, Peter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 5:43: 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 E959F37B401 for ; Mon, 4 Nov 2002 05:43:03 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70DA543E77 for ; Mon, 4 Nov 2002 05:43:00 -0800 (PST) (envelope-from schilling@fokus.gmd.de) Received: from burner.fokus.gmd.de (burner [193.175.133.116]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id gA4Dgul15973 for ; Mon, 4 Nov 2002 14:42:56 +0100 (MET) Received: (from jes@localhost) by burner.fokus.gmd.de (8.12.2+Sun/8.12.2/Submit) id gA4DgRul007004 for current@FreeBSD.ORG; Mon, 4 Nov 2002 14:42:27 +0100 (CET) Date: Mon, 4 Nov 2002 14:42:27 +0100 (CET) From: Joerg Schilling Message-Id: <200211041342.gA4DgRul007004@burner.fokus.gmd.de> To: current@freebsd.org Subject: cdrecord-ProDVD ready 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 all, I just put out a cdrecord-ProDVD binary for FreeBSD on ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/ProDVD/ It has been compiled on 4.4 but also runs on curent. Note that there is not yet a version for commercial use. The recent binary will only work with the free private/research/educational_non-commercial_use key. As the unmainteined so called "free" hack on cdrecord only works with a Pioneer A03, this seems to be a big step forward for FreeBSD users. Cdrecord-ProDVD runs with _all_ Pioneer drives (S101,S201,A03,A04) the Panasonic drive, the new Sony drive and the new Toshiba drive. Writing with the Toshiba has not been tested yet but it looks promising. Jörg EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) If you don't have iso-8859-1 schilling@fokus.gmd.de (work) chars I am J"org Schilling URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 9:20:50 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 B6E2937B401 for ; Mon, 4 Nov 2002 09:20:49 -0800 (PST) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12A4F43E4A for ; Mon, 4 Nov 2002 09:20:47 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6) with ESMTP id gA4HK2D8014493; Mon, 4 Nov 2002 19:20:02 +0200 (SAT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6/Submit) id gA4HJvaG014484; Mon, 4 Nov 2002 19:19:57 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200211041719.gA4HJvaG014484@zibbi.icomtek.csir.co.za> Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <20021104094650.U17734-100000@uitsmijter.van-laarhoven.org> from Nick Hibma at "Nov 4, 2002 09:51:07 am" To: n_hibma@van-laarhoven.org (Nick Hibma) Date: Mon, 4 Nov 2002 19:19:57 +0200 (SAT) Cc: imp@bsdimp.com, current@FreeBSD.ORG, phk@critter.freebsd.dk X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Let's work on the 'proper' solution first. > > What SCSI commands are suitable for getting the geometry, generically > on a device? Hmmm, I made an interesting discovery. I searched through some of the scsi drivers, sys/dev/{aha|ahb|aic*|sym}, looking for XPT_CALC_GEOMETRY and they all fake the geometry. :-/ > > fdisk likely should do something sane in the face of such insanity, > > but it is unclear what and fdisk is a royal pita to work on anyway :-( John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 10: 3: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 4602B37B404 for ; Mon, 4 Nov 2002 10:03:23 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 181DD43E3B for ; Mon, 4 Nov 2002 10:03:22 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gA4I2x9d001870; Mon, 4 Nov 2002 19:03:01 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John Hay Cc: n_hibma@van-laarhoven.org (Nick Hibma), imp@bsdimp.com, current@FreeBSD.ORG Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: Your message of "Sat, 04 Nov 2002 19:19:57 +0200." <200211041719.gA4HJvaG014484@zibbi.icomtek.csir.co.za> Date: Mon, 04 Nov 2002 19:02:59 +0100 Message-ID: <1869.1036432979@critter.freebsd.dk> From: Poul-Henning Kamp 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 <200211041719.gA4HJvaG014484@zibbi.icomtek.csir.co.za>, John Hay wri tes: >> >> Let's work on the 'proper' solution first. >> >> What SCSI commands are suitable for getting the geometry, generically >> on a device? > >Hmmm, I made an interesting discovery. I searched through some of the >scsi drivers, sys/dev/{aha|ahb|aic*|sym}, looking for XPT_CALC_GEOMETRY >and they all fake the geometry. :-/ I noticed this too recently when studying PC98 related disk code. Solaris on the other hand, pokes some random mode-page which contains some numbers which may, but more likely may not, have any relationship to the real hardwares format. Few if any drives have constant number of sectors per track these days. At least our scsi code never returns degenerate numbers. Anyway, what I really wanted to say is that the reason I put the "FW" in the name of the DIOCGFW{SECTORS,HEADS} ioctls was that at this time and date, the only possible utility of such archaic values are to avoid breaking stupid firmware. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 10:33: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 4141637B401 for ; Mon, 4 Nov 2002 10:33:26 -0800 (PST) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE5E743E4A for ; Mon, 4 Nov 2002 10:33:25 -0800 (PST) (envelope-from Maksim.Yevmenkin@exodus.net) Received: from scl8owa01.int.exodus.net ([66.35.230.241]) by scl8owa02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.5329); Mon, 4 Nov 2002 10:33:25 -0800 Received: from exodus.net ([206.220.227.147]) by scl8owa01.int.exodus.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.5329); Mon, 4 Nov 2002 10:33:24 -0800 Message-ID: <3DC6BD74.25097511@exodus.net> Date: Mon, 04 Nov 2002 10:33:24 -0800 From: Maksim Yevmenkin X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: current@freebsd.org Subject: USB problem (Who owns USB code in -current?) Content-Type: multipart/mixed; boundary="------------3B56E3C82105E3B834B6B88F" X-OriginalArrivalTime: 04 Nov 2002 18:33:24.0820 (UTC) FILETIME=[A8FC5140:01C28430] 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. --------------3B56E3C82105E3B834B6B88F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Dear Hackers, Who owns USB code in -current? I need an USB expert advice on the FreeBSD specific USB problem. Basically whenever i put my laptop into docking station and try to plug Bluetooth USB dongle i get uhub1: device problem, disabling port 1 message. This problem *does not* exist when i try to connect the USB dognle directly to the laptop. My current theory is that extra USB hub in docking station somehow makes the difference. I have attached few files that might help. This problem is FreeBSD-specific and seems related to Bluetooth USB dongles only. I have been contacted by other people who have the same problem. I do not know what is so special about Bluetooth USB dongles. USB mouse, for example, works fine. Can it be power related? Both Windows and Linux do not have this problem which makes me think that there is something different about FreeBSD way of doing things. Please advice. I will try to read USB spec, but if someone could give me the right direction, that would be helpful. thanks, max --------------3B56E3C82105E3B834B6B88F Content-Type: application/x-gzip; name="boot-v.txt.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="boot-v.txt.gz" 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 +w/kRmEYFTKoT97xVYh8Ae5m0fOPQQAA --------------3B56E3C82105E3B834B6B88F Content-Type: application/x-gzip; name="usb-messages.txt.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="usb-messages.txt.gz" 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 6XyV1VnnOB+Wz/8BVQhcbnAiAQA= --------------3B56E3C82105E3B834B6B88F Content-Type: text/plain; charset=us-ascii; name="usbdevs-vd.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="usbdevs-vd.txt" Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub0 port 1 powered port 2 addr 2: full speed, self powered, config 1, UT-USB41 hub(0x1446), Texas Instruments(0x0451), rev 1.00 uhub1 port 1 powered port 2 powered port 3 powered port 4 powered --------------3B56E3C82105E3B834B6B88F-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 10:46: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 66DFD37B401 for ; Mon, 4 Nov 2002 10:46:48 -0800 (PST) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E2E543E42 for ; Mon, 4 Nov 2002 10:46:47 -0800 (PST) (envelope-from kbyanc@posi.net) Received: from gateway.posi.net (adsl-63-201-92-224.dsl.snfc21.pacbell.net [63.201.92.224]) by pimout1-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id gA4IjnRd504870; Mon, 4 Nov 2002 13:45:49 -0500 Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (8.12.6/8.12.5) with ESMTP id gA4IjgOQ050091; Mon, 4 Nov 2002 10:45:43 -0800 (PST) (envelope-from kbyanc@posi.net) Date: Mon, 4 Nov 2002 10:45:42 -0800 (PST) From: Kelly Yancey To: Giorgos Keramidas Cc: Hidetoshi Shimokawa , Doug Barton , , Subject: Re: Can't resolve hosts via dns on the command line with latest -current In-Reply-To: <20021104033637.GA5444@gray.sea.gr> Message-ID: <20021104104508.D50081-100000@gateway.posi.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 Mon, 4 Nov 2002, Giorgos Keramidas wrote: > On 2002-11-04 01:16, Hidetoshi Shimokawa wrote: > > I have the same problem and reverting rev. 1.134 of > > /sys/kern/uipc_socket.c fixes the problem. > > The change might have something wrong with a loopback interface. > > True. I had been seeing problems with network connections the last > days, and was already in the process of backing out changes one by one > when I saw this. Reverting 1.134 fixes things here. If I put it back > in, strange DNS failures start causing troubles with almost everything > (including Sendmail, fetchmail, ssh). > > Giorgos. > I've had this running on multiple machines for weeks without problems. What is your resolve.conf and nsswitch.conf? Curious, Kelly -- Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} Join distributed.net Team FreeBSD: http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 10:54: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 5AB8B37B401 for ; Mon, 4 Nov 2002 10:54:32 -0800 (PST) Received: from ion.gank.org (ion.gank.org [198.78.66.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5D9943E3B for ; Mon, 4 Nov 2002 10:54:31 -0800 (PST) (envelope-from craig@gjgth.gank.org) Received: from owen1492.it.oot (nat72962.owentools.com [206.50.138.221]) by ion.gank.org (GankMail) with ESMTP id 066982BC70 for ; Mon, 4 Nov 2002 12:52:24 -0600 (CST) Subject: Patch for fetch From: Craig Boston To: current@freebsd.org Content-Type: multipart/mixed; boundary="=-15TnTTgUC2wpVei0VopM" X-Mailer: Ximian Evolution 1.0.8 Date: 04 Nov 2002 12:54:22 -0600 Message-Id: <1036436066.94641.130.camel@owen1492.it.oot> 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 --=-15TnTTgUC2wpVei0VopM Content-Type: text/plain Content-Transfer-Encoding: 7bit The attached is a quick patch for fetch(1). It adds a new option (-g) that forces the transfer progress to be printed, even if it thinks that stderr is not a tty or that it is not the foreground process. This is useful for me in a program that runs "make fetch" in a port directory through a pipe and wants to keep tabs on the download progress. Modifying fetch seemed to be the simplest and most straightforward of all my options; rather than requiring wget or re-implementing some of make's logic. Hopefully this will be useful to someone in a similar situation. Craig Boston --=-15TnTTgUC2wpVei0VopM Content-Disposition: attachment; filename=fetch.patch Content-Transfer-Encoding: quoted-printable Content-Type: text/x-patch; name=fetch.patch; charset=ISO-8859-1 Index: fetch.1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/usr.bin/fetch/fetch.1,v retrieving revision 1.48 diff -u -r1.48 fetch.1 --- fetch.1 2002/04/19 23:35:12 1.48 +++ fetch.1 2002/11/04 16:39:37 @@ -102,6 +102,8 @@ on the remote host. This option is deprecated and is provided for backward compatibility only. +.It Fl g +Force output of transfer progress even if stderr is not a tty. .It Fl h Ar host The file to retrieve is located on the host .Ar host . Index: fetch.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/usr.bin/fetch/fetch.c,v retrieving revision 1.54 diff -u -r1.54 fetch.c --- fetch.c 2002/10/27 17:33:08 1.54 +++ fetch.c 2002/11/04 16:39:37 @@ -58,6 +58,7 @@ int d_flag; /* -d: direct connection */ int F_flag; /* -F: restart without checking mtime */ char *f_filename; /* -f: file to fetch */ +int g_flag; /* -g: force progress output */ char *h_hostname; /* -h: host to fetch from */ int l_flag; /* -l: link rather than copy file: URLs */ int m_flag; /* -[Mm]: mirror mode */ @@ -128,12 +129,12 @@ struct timeval now; int ctty_pgrp; =20 - if (!v_tty || !v_level) + if (!g_flag && (!v_tty || !v_level)) return; =20 /* check if we're the foreground process */ - if (ioctl(STDERR_FILENO, TIOCGPGRP, &ctty_pgrp) =3D=3D -1 || - (pid_t)ctty_pgrp !=3D pgrp) + if (!g_flag && (ioctl(STDERR_FILENO, TIOCGPGRP, &ctty_pgrp) =3D=3D -1 || + (pid_t)ctty_pgrp !=3D pgrp)) return; =20 gettimeofday(&now, NULL); @@ -669,7 +670,7 @@ int c, e, r; =20 while ((c =3D getopt(argc, argv, - "146AaB:bc:dFf:Hh:lMmnPpo:qRrS:sT:tUvw:")) !=3D -1) + "146AaB:bc:dFf:gHh:lMmnPpo:qRrS:sT:tUvw:")) !=3D -1) switch (c) { case '1': once_flag =3D 1; @@ -706,6 +707,9 @@ break; case 'f': f_filename =3D optarg; + break; + case 'g': + g_flag =3D 1; break; case 'H': warnx("the -H option is now implicit, " --=-15TnTTgUC2wpVei0VopM-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 10:56: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 1EC4937B401; Mon, 4 Nov 2002 10:56:44 -0800 (PST) Received: from pimout4-ext.prodigy.net (pimout4-ext.prodigy.net [207.115.63.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B2DB43E75; Mon, 4 Nov 2002 10:56:43 -0800 (PST) (envelope-from kbyanc@posi.net) Received: from gateway.posi.net (adsl-63-201-92-224.dsl.snfc21.pacbell.net [63.201.92.224]) by pimout4-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id gA4IueQ0487192; Mon, 4 Nov 2002 13:56:41 -0500 Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (8.12.6/8.12.5) with ESMTP id gA4IsaOQ050101; Mon, 4 Nov 2002 10:54:36 -0800 (PST) (envelope-from kbyanc@posi.net) Date: Mon, 4 Nov 2002 10:54:36 -0800 (PST) From: Kelly Yancey To: Hidetoshi Shimokawa Cc: Doug Barton , , Subject: Re: Can't resolve hosts via dns on the command line with latest -current In-Reply-To: Message-ID: <20021104104809.N50081-100000@gateway.posi.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 Mon, 4 Nov 2002, Hidetoshi Shimokawa wrote: > I have the same problem and reverting rev. 1.134 of > /sys/kern/uipc_socket.c fixes the problem. > The change might have something wrong with a loopback interface. > > /\ Hidetoshi Shimokawa > \/ simokawa@sat.t.u-tokyo.ac.jp > PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html > > Index: uipc_socket.c > =================================================================== > RCS file: /home/ncvs/src/sys/kern/uipc_socket.c,v > retrieving revision 1.135 > diff -u -r1.135 uipc_socket.c > --- uipc_socket.c 2 Nov 2002 05:14:30 -0000 1.135 > +++ uipc_socket.c 3 Nov 2002 14:45:16 -0000 > @@ -1784,7 +1784,11 @@ > { > struct socket *so = (struct socket *)kn->kn_fp->f_data; > > +#if 0 > kn->kn_data = so->so_rcv.sb_cc - so->so_rcv.sb_ctl; > +#else > + kn->kn_data = so->so_rcv.sb_cc; > +#endif > if (so->so_state & SS_CANTRCVMORE) { > kn->kn_flags |= EV_EOF; > kn->kn_fflags = so->so_error; > I suspect something in lib/libc/net/res_send.c is using special knowledge of the contents of the socket buffer so calculate the real amount of data that can be read (which this patch does automatically). I'm looking into it. > > At Sun, 03 Nov 2002 05:39:48 -0800, > Doug Barton wrote: > > > > Howdy, > > > > With -current built from sources updated at around 8pm PST, I can't > > resolve hosts on the command line if /etc/resolv.conf points to a name > > server running on the local host. The local name server itself is > > working fine, and I can reach any host in /etc/hosts as well. > > > > ktrace /sbin/ping hub.freebsd.org > > ^C > > > > kdump > > 651 ktrace RET ktrace 0 > > 651 ktrace CALL execve(0xbfbffb03,0xbfbff9e4,0xbfbff9f0) > > 651 ktrace NAMI "/sbin/ping" > > What is this supposed to demonstrate? > > /etc/nsswitch.conf is unchanged, and contains only: > > hosts: files dns > > > > It doesn't matter if /etc/resolv.conf points to 127.0.0.1, or the IP of > > the box. As soon as I point /etc/resolv.conf at a name server on another > > host, it works. > > > > My -current system from last weekend worked just fine. > > > > Doug > > Thanks. I'll let you know what I find, Kelly -- Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} FreeBSD, The Power To Serve: http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 11:33: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 7E7CB37B401 for ; Mon, 4 Nov 2002 11:33:14 -0800 (PST) Received: from clover.kientzle.com (user-112uh9a.biz.mindspring.com [66.47.69.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DC9D43E3B for ; Mon, 4 Nov 2002 11:33:13 -0800 (PST) (envelope-from kientzle@acm.org) Received: from acm.org (c43 [66.47.69.43]) by clover.kientzle.com (8.11.3/8.11.3) with ESMTP id gA4JWcE26434; Mon, 4 Nov 2002 11:32:39 -0800 (PST) (envelope-from kientzle@acm.org) Message-ID: <3DC6CB56.8090809@acm.org> Date: Mon, 04 Nov 2002 11:32:38 -0800 From: Tim Kientzle Reply-To: kientzle@acm.org User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Miguel Mendez Cc: morganw@chemikals.org, current@FreeBSD.ORG Subject: Re: libc size References: <3DC17C7F.9020308@acm.org> <20021031140542.W86715-100000@volatile.chemikals.org> <20021031220633.3acd0b53.flynn@energyhq.homeip.net> <3DC1AB26.5020708@acm.org> <20021103155858.3be6eda9.flynn@energyhq.homeip.net> Content-Type: text/plain; charset=us-ascii; format=flowed 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 Miguel Mendez wrote: > Tim Kientzle wrote: >>1) Fragility. Could a naive sysadmin (or a dying >> disk) break /[s]bin? >> What if the ldconfig hints files were hosed? >> Is ld-elf.so truly bulletproof? > > Agreed, and, fortunately, that was taken into account with the > introduction of the /rescue dir: > > christine: {48} du -h /rescue > 2.4M /rescue Oh. So the real size of NetBSD's /bin and /sbin includes another 2.4M for /rescue. That makes it less impressive. I don't find the duplication appealing, either. (Why not just put the /rescue versions directly into /bin and /sbin? That would be smaller still, wouldn't it?) >>2) Security. Can LD_LIBRARY_PATH (or other mechanisms) >> be used to deliberately subvert any of these programs? >> (especially the handful of suid/sgid programs here) Several people have pointed out that FreeBSD has certain protections against LD_LIBRARY_PATH exploits, but there are still real questions here. (Kernel races, possibly?) Privilege elevation is an interesting idea, but tricky to audit. >>the results from ls -l /bin on your NetBSD system > christine: {66} ls -l /bin > -r-xr-xr-x 1 root wheel 8480 Oct 29 22:59 cat > -r-xr-xr-x 1 root wheel 4892 Oct 29 23:00 echo > -r-xr-xr-x 1 root wheel 5568 Oct 29 23:01 rmdir > -r-xr-xr-x 1 root wheel 5892 Oct 29 23:02 sleep > -r-xr-xr-x 1 root wheel 4652 Oct 29 23:02 sync > [[ others omitted ]] I've been looking at some of the FreeBSD standard utils, and with a very little bit of work got this: -rwxr-xr-x 1 tim tim 9552 Nov 4 11:10 cat -rwxr-xr-x 1 tim tim 2776 Nov 4 11:10 echo -rwxr-xr-x 1 tim tim 3288 Nov 1 13:48 rmdir -rwxr-xr-x 1 tim tim 2904 Nov 4 11:10 sleep -rwxr-xr-x 1 tim tim 2424 Nov 4 11:10 sync All statically linked, all portable C, with identical functionality to the originals. If statically-linked versions can be 1/2 the size of the dynamic versions, then I _really_ don't see the advantage of dynamic linking. Perhaps some more careful programming is all that's needed? ;-) (Admittedly, a space-conscious overhaul of sh, csh, or ed is not entirely trivial; but most of /bin and /sbin is pretty simple to prune down.) > rcNG has been in work for a long time. Is it worth it? Absolutely, > try it once and you'll wonder how you could live with the old system, or > even with the sysV symlink crazyness. As it happens, I've been looking closely at RCng just recently. Though I really like the core design, I do have some quibbles with the implementation. It is usable today, and does address the worst problems of SysV-style init. Still needs some work, though. ;-) Tim Kientzle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 11:52: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 EB53437B401 for ; Mon, 4 Nov 2002 11:52:30 -0800 (PST) Received: from van-laarhoven.org (ap-z-5ab8.adsl.wanadoo.nl [212.129.218.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 8D81C43E42 for ; Mon, 4 Nov 2002 11:52:29 -0800 (PST) (envelope-from n_hibma@van-laarhoven.org) Received: (qmail 19814 invoked from network); 4 Nov 2002 19:52:27 -0000 Received: from heather.van-laarhoven.org (10.66.0.2) by uitsmijter.van-laarhoven.org with SMTP; 4 Nov 2002 19:52:27 -0000 Date: Mon, 4 Nov 2002 20:52:27 +0100 (CET) From: Nick Hibma To: John Hay Cc: "imp@bsdimp.com" , "current@FreeBSD.ORG" , "phk@critter.freebsd.dk" Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <200211041719.gA4HJvaG014484@zibbi.icomtek.csir.co.za> Message-ID: <20021104205150.L214-100000@heather.van-laarhoven.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 Hm, the only one that does something different is the iir/iir.c driver. I guess the best thing is to just copy what's in the aha driver. Nick > > > > Let's work on the 'proper' solution first. > > > > What SCSI commands are suitable for getting the geometry, generically > > on a device? > > Hmmm, I made an interesting discovery. I searched through some of the > scsi drivers, sys/dev/{aha|ahb|aic*|sym}, looking for XPT_CALC_GEOMETRY > and they all fake the geometry. :-/ > > > > fdisk likely should do something sane in the face of such insanity, > > > but it is unclear what and fdisk is a royal pita to work on anyway :-( > > John > -- n_hibma@van-laarhoven.org http://www.van-laarhoven.org/ n_hibma@FreeBSD.org http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 12:28: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 170D537B401; Mon, 4 Nov 2002 12:28:51 -0800 (PST) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4235543E75; Mon, 4 Nov 2002 12:28:45 -0800 (PST) (envelope-from kbyanc@posi.net) Received: from gateway.posi.net (adsl-63-201-92-224.dsl.snfc21.pacbell.net [63.201.92.224]) by pimout1-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id gA4KSbRd324304; Mon, 4 Nov 2002 15:28:38 -0500 Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (8.12.6/8.12.5) with ESMTP id gA4KSYOQ050278; Mon, 4 Nov 2002 12:28:35 -0800 (PST) (envelope-from kbyanc@posi.net) Date: Mon, 4 Nov 2002 12:28:34 -0800 (PST) From: Kelly Yancey To: Doug Barton Cc: Hidetoshi Shimokawa , , , Peter Wemm Subject: Re: Can't resolve hosts via dns on the command line with latest -current In-Reply-To: <20021103205739.P644-100000@master.gorean.org> Message-ID: <20021104122748.T50271-100000@gateway.posi.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, 3 Nov 2002, Doug Barton wrote: > On Mon, 4 Nov 2002, Hidetoshi Shimokawa wrote: > > > I have the same problem and reverting rev. 1.134 of > > /sys/kern/uipc_socket.c fixes the problem. > > Confirmed here too, thanks for the tip. I had looked over the recent > commits to /etc/lib/*, but none of them looked guilty. > > Doug > > Ah, I'm able to recreate the problem now. It is odd that it only occurs on loopback, but it doesn't appear specific to DNS. :| I'm on it. Thanks, Kelly -- Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} FreeBSD, The Power To Serve: http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 12:56:36 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 6EAEA37B401; Mon, 4 Nov 2002 12:56:35 -0800 (PST) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D22643E42; Mon, 4 Nov 2002 12:56:35 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0242.cvx21-bradley.dialup.earthlink.net ([209.179.192.242] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 188oGc-0001Ad-00; Mon, 04 Nov 2002 12:56:18 -0800 Message-ID: <3DC6DE7C.40A78C43@mindspring.com> Date: Mon, 04 Nov 2002 12:54:20 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kelly Yancey Cc: Hidetoshi Shimokawa , Doug Barton , freebsd-current@FreeBSD.org, kbyanc@FreeBSD.org Subject: Re: Can't resolve hosts via dns on the command line with latest-current References: <20021104104809.N50081-100000@gateway.posi.net> 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 Kelly Yancey wrote: > I suspect something in lib/libc/net/res_send.c is using special knowledge of > the contents of the socket buffer so calculate the real amount of data that > can be read (which this patch does automatically). I'm looking into it. ...To ensure that the read does not block, and is not issued until sufficient data exists. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 13: 1: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 B7E0637B401 for ; Mon, 4 Nov 2002 13:01:31 -0800 (PST) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A9E043E75 for ; Mon, 4 Nov 2002 13:01:31 -0800 (PST) (envelope-from Jan.Stocker@t-online.de) Received: from fwd03.sul.t-online.de by mailout03.sul.t-online.com with smtp id 188oLf-0007lD-01; Mon, 04 Nov 2002 22:01:27 +0100 Received: from twoflower.liebende.de (320072111332-0001@[80.134.107.1]) by fwd03.sul.t-online.com with esmtp id 188oLP-1fsMSWC; Mon, 4 Nov 2002 22:01:11 +0100 Subject: Re: WIne freezes -current for half a year From: Jan.Stocker@t-online.de (Jan Stocker) Reply-To: Jan.Stocker@t-online.de To: Terry Lambert Cc: Alex Zepeda , current@FreeBSD.ORG In-Reply-To: <3DC65310.82F4ED88@mindspring.com> References: <1036347156.634.8.camel@twoflower> <20021103165323.A56468@angelica.unixdaemons.com> <3DC5A4F9.1D61A32F@mindspring.com> <20021104022650.GA654@blarf.homeip.net> <3DC65310.82F4ED88@mindspring.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 04 Nov 2002 22:00:38 +0100 Message-Id: <1036443639.636.8.camel@twoflower> Mime-Version: 1.0 X-Sender: 320072111332-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 > It'd probably be a good idea to try it again before reporting > it as if it were still not working. It may or may not have been > fixed by the signal and FP register state commits, etc., so just > because it was broken doesn't mean it's broken now. > > Even if it *is* still broken, it could be broken in an entirely > different way... 8-). It is broken with the same symtoms for the last months. a) FreeBSD freezes... you've to do a cold start, no keys or anything work b) FreeBSD reboots after a few secs of doing nothin' c) wine / wineserver process hangs in the background, doing nothing, consuming cpu time and cant be killed by kill -9 . My system is from 26. October. Not new enough? Tonight .i'll get the newest one and recompile the newest wine and tomorrow (8.00 CET) you'll get a dmesg / uname -a /sysctl -a for my system, i'm sure with a non-working wine. Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 13: 2:37 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 649CA37B401 for ; Mon, 4 Nov 2002 13:02:36 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 8816D43E6E for ; Mon, 4 Nov 2002 13:02:35 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 7878 invoked by uid 1000); 4 Nov 2002 21:02:36 -0000 Date: Mon, 4 Nov 2002 13:02:36 -0800 (PST) From: Nate Lawson To: Poul-Henning Kamp Cc: current@freebsd.org Subject: Re: fdisk -BI ob clean disk broken In-Reply-To: <99421.1036265623@critter.freebsd.dk> 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, 2 Nov 2002, Poul-Henning Kamp wrote: > In message <200211021925.gA2JP8IY010112@zibbi.icomtek.csir.co.za>, John Hay wri > tes: > >Hmmm. I just noticed that the disks probe with zero values for the > heads, sectors/track and cylinders. I have tried two different USB > >CF readers and both do it. On 4.x it probes with the correct values > >on the same machine and the same devices. So why do they probe > >wrong? > > I have no idea either, but the answer must be somewhere in the da driver... Please don't assume. It's up to the transport driver to support the XPT_CALC_GEOMETRY command and umass removed its preliminary support without providing a working alternative. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 13: 4: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 4146D37B401 for ; Mon, 4 Nov 2002 13:04:46 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id B040143E42 for ; Mon, 4 Nov 2002 13:04:45 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 7896 invoked by uid 1000); 4 Nov 2002 21:04:46 -0000 Date: Mon, 4 Nov 2002 13:04:46 -0800 (PST) From: Nate Lawson To: Nick Hibma Cc: "current@FreeBSD.ORG" Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <20021104094650.U17734-100000@uitsmijter.van-laarhoven.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 See XPT_CALC_GEOMETRY in /sys/dev/aic7xxx/aic7xxx_osm.c On Mon, 4 Nov 2002, Nick Hibma wrote: > Let's work on the 'proper' solution first. > > What SCSI commands are suitable for getting the geometry, generically > on a device? > > Nick > > > fdisk likely should do something sane in the face of such insanity, > > but it is unclear what and fdisk is a royal pita to work on anyway :-( > > > > Warner > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 13:20: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 BCBA637B401 for ; Mon, 4 Nov 2002 13:20:50 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 1FDDE43E3B for ; Mon, 4 Nov 2002 13:20:50 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 7958 invoked by uid 1000); 4 Nov 2002 21:20:50 -0000 Date: Mon, 4 Nov 2002 13:20:50 -0800 (PST) From: Nate Lawson To: John Hay Cc: current@FreeBSD.ORG Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <200211041719.gA4HJvaG014484@zibbi.icomtek.csir.co.za> 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, 4 Nov 2002, John Hay wrote: > > Let's work on the 'proper' solution first. > > > > What SCSI commands are suitable for getting the geometry, generically > > on a device? > > Hmmm, I made an interesting discovery. I searched through some of the > scsi drivers, sys/dev/{aha|ahb|aic*|sym}, looking for XPT_CALC_GEOMETRY > and they all fake the geometry. :-/ That's the currently the only correct way to do it. Geometry means nothing in SCSI, everything is linear block address. For an example of how to convert from LBA to C/H/S, see p. 92 of CAM2. --- SETSIZE converts a read capacity value to int 13h head-cylinder-sector requirements. It minimizes the value for number of heads and maximizes the number of cylinders. This supports very large disks before the number of heads will not fit in 4 bits (or 6 bits). This algorithm also minimizes the number of sectors that are unused at the end of the disk while allowing for large disks to be accommodated. This algorithm does not use physical geometry. --- It might be more useful for GEOM to query the BIOS for the physical values and provide a way for upper levels (like CAM) to retrieve this. I'm not familiar with what GEOM provides so far so perhaps someone can speak up with a better way. I'm also not sure why someone would need the physical values. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 13:28: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 A219D37B401 for ; Mon, 4 Nov 2002 13:28:55 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0FF843E77 for ; Mon, 4 Nov 2002 13:28:54 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gA4LSY9d039197; Mon, 4 Nov 2002 22:28:43 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Nate Lawson Cc: John Hay , current@FreeBSD.ORG Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: Your message of "Mon, 04 Nov 2002 13:20:50 PST." Date: Mon, 04 Nov 2002 22:28:34 +0100 Message-ID: <39196.1036445314@critter.freebsd.dk> From: Poul-Henning Kamp 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 writ es: >It might be more useful for GEOM to query the BIOS for the physical values >and provide a way for upper levels (like CAM) to retrieve this. This is a driver task. besides GEOM is above CAM, not below it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 13:59:18 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 884AC37B401 for ; Mon, 4 Nov 2002 13:59:17 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A6EB43E6E for ; Mon, 4 Nov 2002 13:59:16 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id gA4LwvCE047314; Mon, 4 Nov 2002 13:58:57 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id gA4LvZ3H047289; Mon, 4 Nov 2002 13:57:35 -0800 (PST) Date: Mon, 4 Nov 2002 13:57:35 -0800 From: "David O'Brien" To: Tim Kientzle Cc: Miguel Mendez , morganw@chemikals.org, current@FreeBSD.ORG Subject: Re: libc size Message-ID: <20021104215734.GA47193@dragon.nuxi.com> Reply-To: current@FreeBSD.ORG Mail-Followup-To: David O'Brien , Tim Kientzle , Miguel Mendez , morganw@chemikals.org, current@FreeBSD.ORG References: <3DC17C7F.9020308@acm.org> <20021031140542.W86715-100000@volatile.chemikals.org> <20021031220633.3acd0b53.flynn@energyhq.homeip.net> <3DC1AB26.5020708@acm.org> <20021103155858.3be6eda9.flynn@energyhq.homeip.net> <3DC6CB56.8090809@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DC6CB56.8090809@acm.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 Mon, Nov 04, 2002 at 11:32:38AM -0800, Tim Kientzle wrote: > Oh. So the real size of NetBSD's /bin and /sbin includes > another 2.4M for /rescue. That makes it less > impressive. I don't find the duplication appealing, either. > (Why not just put the /rescue versions directly > into /bin and /sbin? That would be smaller still, Because that would nullify one of the big reasons for making /bin and /sbin shared -- so one can dlopen(3). We can't, for instance, get a proper nsswitch implementation until we make /bin and /sbin dynamic. Before someone says you can dlopen() from static binaries in order to implement nsswitch, please provide the patch proving it. Our best FreeBSD minds don't think it can be done properly and sanely. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 14: 2: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 7730237B401 for ; Mon, 4 Nov 2002 14:02:39 -0800 (PST) Received: from van-laarhoven.org (ap-z-5ab8.adsl.wanadoo.nl [212.129.218.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 0063443E77 for ; Mon, 4 Nov 2002 14:02:33 -0800 (PST) (envelope-from n_hibma@van-laarhoven.org) Received: (qmail 20267 invoked from network); 4 Nov 2002 22:02:26 -0000 Received: from heather.van-laarhoven.org (10.66.0.2) by uitsmijter.van-laarhoven.org with SMTP; 4 Nov 2002 22:02:26 -0000 Date: Mon, 4 Nov 2002 23:02:26 +0100 (CET) From: Nick Hibma To: Nate Lawson Cc: "current@FreeBSD.ORG" Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: Message-ID: <20021104230126.V214-100000@heather.van-laarhoven.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 That wasn't quite what I meant. I was referring to SCSI commands that are sent to the device that return info that would be usable as the number of heads and cylinders. But I guess faking them like the ah[abc] drivers do will work, as this is what many systems are already running with. Nick > See XPT_CALC_GEOMETRY in /sys/dev/aic7xxx/aic7xxx_osm.c > > On Mon, 4 Nov 2002, Nick Hibma wrote: > > Let's work on the 'proper' solution first. > > > > What SCSI commands are suitable for getting the geometry, generically > > on a device? > > > > Nick > > > > > fdisk likely should do something sane in the face of such insanity, > > > but it is unclear what and fdisk is a royal pita to work on anyway :-( > > > > > > Warner > > > > > -- n_hibma@van-laarhoven.org http://www.van-laarhoven.org/ n_hibma@FreeBSD.org http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 14: 3: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 7DDE337B401 for ; Mon, 4 Nov 2002 14:03:48 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 1A79A43E4A for ; Mon, 4 Nov 2002 14:03:48 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 8118 invoked by uid 1000); 4 Nov 2002 22:03:49 -0000 Date: Mon, 4 Nov 2002 14:03:49 -0800 (PST) From: Nate Lawson To: Poul-Henning Kamp Cc: current@FreeBSD.ORG Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <39196.1036445314@critter.freebsd.dk> 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, 4 Nov 2002, Poul-Henning Kamp wrote: > In message , Nate Lawson writ > es: > >It might be more useful for GEOM to query the BIOS for the physical values > >and provide a way for upper levels (like CAM) to retrieve this. > > This is a driver task. besides GEOM is above CAM, not below it. Ok. There are two things that would be useful: 1. Merging the multiple LBA to C/H/S calculations (aic7xxx, umass, ...) to one CAM convenience routine. 2. Adding a MI way to call an MD routine that will get the disk's physical geometry. I don't know much about the best way to do this. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 15:45: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 4B7B737B401; Mon, 4 Nov 2002 15:45:12 -0800 (PST) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3476443E77; Mon, 4 Nov 2002 15:45:11 -0800 (PST) (envelope-from kbyanc@posi.net) Received: from gateway.posi.net (adsl-63-201-92-224.dsl.snfc21.pacbell.net [63.201.92.224]) by pimout1-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id gA4Nj9Rd521902; Mon, 4 Nov 2002 18:45:09 -0500 Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (8.12.6/8.12.5) with ESMTP id gA4Nj6OQ050562; Mon, 4 Nov 2002 15:45:07 -0800 (PST) (envelope-from kbyanc@posi.net) Date: Mon, 4 Nov 2002 15:45:06 -0800 (PST) From: Kelly Yancey To: Terry Lambert Cc: Hidetoshi Shimokawa , Doug Barton , , Subject: Re: Can't resolve hosts via dns on the command line with latest-current In-Reply-To: <3DC6DE7C.40A78C43@mindspring.com> Message-ID: <20021104153745.X50554-100000@gateway.posi.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 Mon, 4 Nov 2002, Terry Lambert wrote: > Kelly Yancey wrote: > > I suspect something in lib/libc/net/res_send.c is using special knowledge of > > the contents of the socket buffer so calculate the real amount of data that > > can be read (which this patch does automatically). I'm looking into it. > > ...To ensure that the read does not block, and is not issued > until sufficient data exists. > > -- Terry > It doesn't matter. It isn't just DNS lookups, mountd fails to run too because it cannot connect to portmap via localhost. Oddly, in both cases sendto() is returning with errno = 49 (EADDRNOTAVAIL). I've tracked it down to this code in sys/netinet/ip_output.c: /* 127/8 must not appear on wire - RFC1122. */ if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || (ntohl(ip->ip_src.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET) { if ((ifp->if_flags & IFF_LOOPBACK) == 0) { ipstat.ips_badaddr++; error = EADDRNOTAVAIL; goto bad; } } Which was last modified in revision 1.150 back in February. However, I still don't see how adding an extra counter to the sockbuf could possibly change the set of events required to get to this code, but it is certainly what is causing EADDRNOTAVAIL to be returned. Needless to say, I'm still researching it. Kelly -- Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} FreeBSD, The Power To Serve: http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 15:46:38 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 E867F37B401 for ; Mon, 4 Nov 2002 15:46:37 -0800 (PST) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AEB243E75 for ; Mon, 4 Nov 2002 15:46:37 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0210.cvx22-bradley.dialup.earthlink.net ([209.179.198.210] helo=mindspring.com) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 188qvD-0005c7-00; Mon, 04 Nov 2002 15:46:21 -0800 Message-ID: <3DC70676.58DF8839@mindspring.com> Date: Mon, 04 Nov 2002 15:44:54 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Nate Lawson Cc: Poul-Henning Kamp , current@FreeBSD.ORG Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean diskbroken References: 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 Nate Lawson wrote: > 2. Adding a MI way to call an MD routine that will get the disk's physical > geometry. I don't know much about the best way to do this. Perhaps we could invent a Common Access Method ("CAM"), and make it part of that API... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 15:50: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 E68EB37B401 for ; Mon, 4 Nov 2002 15:50:10 -0800 (PST) Received: from beast.freebsd.org (beast.freebsd.org [216.136.204.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAA7643E4A for ; Mon, 4 Nov 2002 15:50:10 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from beast.freebsd.org (localhost [127.0.0.1]) by beast.freebsd.org (8.12.6/8.12.6) with ESMTP id gA4NoAsc053943 for ; Mon, 4 Nov 2002 15:50:10 -0800 (PST) (envelope-from des@beast.freebsd.org) Received: (from des@localhost) by beast.freebsd.org (8.12.6/8.12.6/Submit) id gA4NoAIb053939 for current@freebsd.org; Mon, 4 Nov 2002 15:50:10 -0800 (PST) Date: Mon, 4 Nov 2002 15:50:10 -0800 (PST) From: Dag-Erling Smorgrav Message-Id: <200211042350.gA4NoAIb053939@beast.freebsd.org> To: current@freebsd.org Subject: alpha 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/alpha/obj/h/des/src/alpha/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Mon Nov 4 15:10:42 PST 2002 -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Mon Nov 4 15:43:15 PST 2002 -------------------------------------------------------------- >>> Kernel build for LINT started on Mon Nov 4 15:43:15 PST 2002 -------------------------------------------------------------- ===> vinum "Makefile", line 4517: warning: duplicate script for target "geom_bsd.o" ignored cc1: warnings being treated as errors /h/des/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_alloc': /h/des/src/sys/dev/aic7xxx/aic79xx.c:4208: warning: unsigned int format, different type arg (arg 3) /h/des/src/sys/dev/aic7xxx/aic79xx.c:4208: warning: unsigned int format, different type arg (arg 4) /h/des/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_init_scbdata': /h/des/src/sys/dev/aic7xxx/aic79xx.c:4601: warning: unsigned int format, different type arg (arg 3) *** Error code 1 Stop in /h/des/obj/h/des/src/sys/LINT. *** Error code 1 Stop in /h/des/src. *** Error code 1 Stop in /h/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 16: 6: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 6BC4C37B401; Mon, 4 Nov 2002 16:06:10 -0800 (PST) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFAB043E3B; Mon, 4 Nov 2002 16:06:06 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0210.cvx22-bradley.dialup.earthlink.net ([209.179.198.210] helo=mindspring.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 188rEE-0003Ct-00; Mon, 04 Nov 2002 16:05:59 -0800 Message-ID: <3DC70B18.2217E01F@mindspring.com> Date: Mon, 04 Nov 2002 16:04:40 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kelly Yancey Cc: Hidetoshi Shimokawa , Doug Barton , freebsd-current@FreeBSD.org, kbyanc@FreeBSD.org Subject: Re: Can't resolve hosts via dns on the command line with latest-current References: <20021104153745.X50554-100000@gateway.posi.net> 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 Kelly Yancey wrote: > It doesn't matter. It isn't just DNS lookups, mountd fails to run too > because it cannot connect to portmap via localhost. Oddly, in both cases > sendto() is returning with errno = 49 (EADDRNOTAVAIL). I've tracked it down > to this code in sys/netinet/ip_output.c: > > /* 127/8 must not appear on wire - RFC1122. */ > if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || > (ntohl(ip->ip_src.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET) { > if ((ifp->if_flags & IFF_LOOPBACK) == 0) { > ipstat.ips_badaddr++; > error = EADDRNOTAVAIL; > goto bad; > } > } > > Which was last modified in revision 1.150 back in February. However, I > still don't see how adding an extra counter to the sockbuf could possibly > change the set of events required to get to this code, but it is certainly > what is causing EADDRNOTAVAIL to be returned. Needless to say, I'm still > researching it. Pretty clear, I should think: IF the source address is a loopback address OR the destination address is a loopback address THEN IF the interface does not have the IFF_LOOBACK flag return EADDRNOTAVAIL ...pretty clearly, the new loopback interface doe not set the flag IFF_LOOPBACK on the interface, as it is supposed to do. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 16:38: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 AC08337B401 for ; Mon, 4 Nov 2002 16:38:26 -0800 (PST) Received: from beta.stelesys.com (c-24-98-86-57.atl.client2.attbi.com [24.98.86.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C1DF43E42 for ; Mon, 4 Nov 2002 16:38:25 -0800 (PST) (envelope-from jerry@syslog.org) Received: from localhost.home.stelesys.com ([127.0.0.1] helo=syslog.org) by www.home.stelesys.com with smtp (Exim 4.10) id 187oYA-0000B8-00 for current@freebsd.org; Fri, 01 Nov 2002 22:02:14 -0500 Received: from 192.168.1.179 (SquirrelMail authenticated user jerry@syslog.org) by www.home.stelesys.com with HTTP; Fri, 1 Nov 2002 22:02:14 -0500 (EST) Message-ID: <1617.192.168.1.179.1036206134.squirrel@www.home.stelesys.com> Date: Fri, 1 Nov 2002 22:02:14 -0500 (EST) Subject: 5.0 Current experiences From: "Jerry Bell" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.1 (/) X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *187oYA-0000B8-00*SIxekKPs28o* 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've been hammering 5.0 current for about two months now and I have to say, it's been working really well for me. Are there any gotchas or things I can help test out? I did have a problem on a build as of 10/28 where enabling the MAC functionality in rc.conf would send the system into never never land and require a hard boot. Turning the option off made the problem go away. I noticed there have been some committs to the mac code, so it may be fixed already. My hats off to you guys and gals! Jerry Bell jerry@syslog.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 16:48: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 01BD337B401; Mon, 4 Nov 2002 16:48:34 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8E7043E77; Mon, 4 Nov 2002 16:48:32 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id gA50iGCE048601; Mon, 4 Nov 2002 16:44:16 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id gA50h0ng048584; Mon, 4 Nov 2002 16:43:00 -0800 (PST) Date: Mon, 4 Nov 2002 16:43:00 -0800 From: "David O'Brien" To: Kelly Yancey Cc: Giorgos Keramidas , Hidetoshi Shimokawa , Doug Barton , freebsd-current@FreeBSD.org, kbyanc@FreeBSD.org Subject: Re: Can't resolve hosts via dns on the command line with latest -current Message-ID: <20021105004300.GA48420@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <20021104033637.GA5444@gray.sea.gr> <20021104104508.D50081-100000@gateway.posi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021104104508.D50081-100000@gateway.posi.net> 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 Mon, Nov 04, 2002 at 10:45:42AM -0800, Kelly Yancey wrote: > On Mon, 4 Nov 2002, Giorgos Keramidas wrote: > > > On 2002-11-04 01:16, Hidetoshi Shimokawa wrote: > > > I have the same problem and reverting rev. 1.134 of > > > /sys/kern/uipc_socket.c fixes the problem. > > > The change might have something wrong with a loopback interface. ... > I've had this running on multiple machines for weeks without problems. What > is your resolve.conf and nsswitch.conf? Curious, A better question is why you are fixing a non-critical, over-1-year-old bug in networking code this close to the release??? Networking is our bread and butter, and changes to it can be tricky. A known non-critical bug that has existed at least since FBSD 4.2 is better than an unknown one. At this point it time, it is better to just not touch things. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 17: 6:21 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 1A35F37B404 for ; Mon, 4 Nov 2002 17:06:20 -0800 (PST) Received: from www.fastmail.fm (fastmail.fm [209.61.183.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id A103843E4A for ; Mon, 4 Nov 2002 17:06:19 -0800 (PST) (envelope-from freebsd@fastmail.fm) Received: from www.fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id C7DD16DB43 for ; Mon, 4 Nov 2002 19:06:11 -0600 (CST) Received: from server3.fastmail.fm (server3.internal [10.202.2.134]) by www.fastmail.fm (Postfix) with ESMTP id B9A5B6DADF for ; Mon, 4 Nov 2002 19:06:11 -0600 (CST) Received: by server3.fastmail.fm (Postfix, from userid 99) id 730BD2FD81; Mon, 4 Nov 2002 19:06:10 -0600 (CST) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.6; T1.001; A1.48; B2.12; Q2.03) Date: Tue, 5 Nov 2002 01:06:10 UT From: "Glenn Gombert" To: current@freebsd.org X-Epoch: 1036458371 X-Sasl-enc: 6/eADuKdaiTW/hyHmyMOMg Subject: SIO Overflows in -Current Message-Id: <20021105010610.730BD2FD81@server3.fastmail.fm> 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 there any way to eliminate (or reduce) the SIO serial overflows that seem to occu often on several FreeBSD systems that I have. It seems to limit remote kernel debugging to about 19.2 Kbaud.. Thanks, -- Glenn Gombert freebsd@fastmail.fm "Never trust any operating system you don't have the source code for" -- http://fastmail.fm - Consolidate POP email and Hotmail in one place To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 17:12: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 224B037B401; Mon, 4 Nov 2002 17:12:15 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE56443E3B; Mon, 4 Nov 2002 17:12:12 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gray.sea.gr (patr530-a222.otenet.gr [212.205.215.222]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gA51C8cd026402; Tue, 5 Nov 2002 03:12:10 +0200 (EET) Received: from gray.sea.gr (gray [127.0.0.1]) by gray.sea.gr (8.12.6/8.12.6) with ESMTP id gA51C8Fm028581; Tue, 5 Nov 2002 03:12:08 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by gray.sea.gr (8.12.6/8.12.6/Submit) id gA51C6fB028569; Tue, 5 Nov 2002 03:12:07 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 5 Nov 2002 03:12:05 +0200 From: Giorgos Keramidas To: Kelly Yancey Cc: freebsd-current@FreeBSD.ORG, kbyanc@FreeBSD.ORG Subject: Re: Can't resolve hosts via dns on the command line with latest -current Message-ID: <20021105011204.GD17380@gray.sea.gr> References: <20021104033637.GA5444@gray.sea.gr> <20021104104508.D50081-100000@gateway.posi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021104104508.D50081-100000@gateway.posi.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 2002-11-04 10:45, Kelly Yancey wrote: > On Mon, 4 Nov 2002, Giorgos Keramidas wrote: > > True. I had been seeing problems with network connections the last > > days, and was already in the process of backing out changes one by one > > when I saw this. Reverting 1.134 fixes things here. If I put it back > > in, strange DNS failures start causing troubles with almost everything > > (including Sendmail, fetchmail, ssh). > > I've had this running on multiple machines for weeks without > problems. What is your resolve.conf and nsswitch.conf? Curious, I am running a local named that listens on { 127.0.0.1; }. My nsswitch.conf contains: hosts: files dns and resolv.conf is: search sea.gr freebsd.org irc.gr ceid.upatras.gr nameserver 127.0.0.1 The curious thing is that Sendmail or ssh fail to look up hostnames, while running host(1) works. I don't know if this is of any help, but if you need more data about the local setup let me know. Thanks for looking into this, Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 17:14: 7 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 25E5437B401 for ; Mon, 4 Nov 2002 17:14:06 -0800 (PST) Received: from gypsy.vrac.iastate.edu (gypsy.vrac.iastate.edu [129.186.232.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8103243E4A for ; Mon, 4 Nov 2002 17:14:05 -0800 (PST) (envelope-from patrick@137.org) Received: from 137.org (plan114-105.icsincorporated.com [65.171.114.105]) by gypsy.vrac.iastate.edu (Postfix) with ESMTP id 9075B21 for ; Mon, 4 Nov 2002 19:13:59 -0600 (CST) Message-ID: <3DC71B56.1050102@137.org> Date: Mon, 04 Nov 2002 19:13:58 -0600 From: Patrick Hartling User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021029 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Subject: uuid.h is not C++ safe Content-Type: text/plain; charset=us-ascii; format=flowed 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 I was just about to put the new DCE 1.1 UUID functions into use in some C++ code, but linking fails because the function prototypes in uuid.h are not protected with the __cplusplus/extern "C" bits. It's easy enough for me to fix my local copy, but I'm sure this same thing could trip up other people. -Patrick -- Patrick L. Hartling | Research Assistant, VRAC patrick@137.org | 2274 Howe Hall Room 2624 PGP: http://www.137.org/patrick/pgp.txt | T: +1.515.294.4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 17:22:25 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 A3F8A37B401; Mon, 4 Nov 2002 17:22:23 -0800 (PST) Received: from pimout4-ext.prodigy.net (pimout4-ext.prodigy.net [207.115.63.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 989DC43E3B; Mon, 4 Nov 2002 17:22:17 -0800 (PST) (envelope-from kbyanc@posi.net) Received: from gateway.posi.net (adsl-63-201-92-224.dsl.snfc21.pacbell.net [63.201.92.224]) by pimout4-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id gA51MFQ0088640; Mon, 4 Nov 2002 20:22:15 -0500 Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (8.12.6/8.12.5) with ESMTP id gA51MDOQ050734; Mon, 4 Nov 2002 17:22:14 -0800 (PST) (envelope-from kbyanc@posi.net) Date: Mon, 4 Nov 2002 17:22:13 -0800 (PST) From: Kelly Yancey To: Terry Lambert Cc: Hidetoshi Shimokawa , Doug Barton , , Subject: Re: Can't resolve hosts via dns on the command line with latest-current In-Reply-To: <3DC70B18.2217E01F@mindspring.com> Message-ID: <20021104171257.G50723-100000@gateway.posi.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 Mon, 4 Nov 2002, Terry Lambert wrote: > Kelly Yancey wrote: > > It doesn't matter. It isn't just DNS lookups, mountd fails to run too > > because it cannot connect to portmap via localhost. Oddly, in both cases > > sendto() is returning with errno = 49 (EADDRNOTAVAIL). I've tracked it down > > to this code in sys/netinet/ip_output.c: > > > > /* 127/8 must not appear on wire - RFC1122. */ > > if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || > > (ntohl(ip->ip_src.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET) { > > if ((ifp->if_flags & IFF_LOOPBACK) == 0) { > > ipstat.ips_badaddr++; > > error = EADDRNOTAVAIL; > > goto bad; > > } > > } > > > > Which was last modified in revision 1.150 back in February. However, I > > still don't see how adding an extra counter to the sockbuf could possibly > > change the set of events required to get to this code, but it is certainly > > what is causing EADDRNOTAVAIL to be returned. Needless to say, I'm still > > researching it. > > Pretty clear, I should think: > > IF the source address is a loopback address > OR the destination address is a loopback address > THEN > IF the interface does not have the IFF_LOOBACK flag > return EADDRNOTAVAIL > > ...pretty clearly, the new loopback interface doe not set the flag > IFF_LOOPBACK on the interface, as it is supposed to do. > > -- Terry > No, it turns out I'm an idiot: somehow the address on loopback got deleted so it was trying to use my default route. So I was on a wild goose chase. :| Oddly enough, though, once I re-added 127.0.0.1/8 to my localhost: # cat resolv.conf search nttmcl.com nameserver 127.0.0.1 # ps auwwwx | grep named root 320 0.0 0.8 2600 2160 ?? Is 5:11PM 0:00.03 named # ping www.freebsd.org PING www.freebsd.org (216.136.204.117): 56 data bytes 64 bytes from 216.136.204.117: icmp_seq=0 ttl=50 time=16.343 ms 64 bytes from 216.136.204.117: icmp_seq=1 ttl=50 time=8.764 ms ^C --- www.freebsd.org ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 8.764/12.553/16.343/3.789 ms # ping www.yahoo.com Go figure. I've said it before and I'll say it again...I'm working on it. :| Kelly -- Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} "Though [the people] may acquiesce, they cannot approve what they do not understand." --Thomas Jefferson, 1792. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 17:47:45 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 6114037B401; Mon, 4 Nov 2002 17:47:44 -0800 (PST) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB33843E4A; Mon, 4 Nov 2002 17:47:43 -0800 (PST) (envelope-from kbyanc@posi.net) Received: from gateway.posi.net (adsl-63-201-92-224.dsl.snfc21.pacbell.net [63.201.92.224]) by pimout2-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id gA51lfpb306486; Mon, 4 Nov 2002 20:47:42 -0500 Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (8.12.6/8.12.5) with ESMTP id gA51ldOQ050769; Mon, 4 Nov 2002 17:47:39 -0800 (PST) (envelope-from kbyanc@posi.net) Date: Mon, 4 Nov 2002 17:47:39 -0800 (PST) From: Kelly Yancey To: "David O'Brien" Cc: Giorgos Keramidas , Hidetoshi Shimokawa , Doug Barton , , Subject: Re: Can't resolve hosts via dns on the command line with latest -current In-Reply-To: <20021105004300.GA48420@dragon.nuxi.com> Message-ID: <20021104174354.W50723-100000@gateway.posi.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 Mon, 4 Nov 2002, David O'Brien wrote: > On Mon, Nov 04, 2002 at 10:45:42AM -0800, Kelly Yancey wrote: > > On Mon, 4 Nov 2002, Giorgos Keramidas wrote: > > > > > On 2002-11-04 01:16, Hidetoshi Shimokawa wrote: > > > > I have the same problem and reverting rev. 1.134 of > > > > /sys/kern/uipc_socket.c fixes the problem. > > > > The change might have something wrong with a loopback interface. > ... > > I've had this running on multiple machines for weeks without problems. What > > is your resolve.conf and nsswitch.conf? Curious, > > A better question is why you are fixing a non-critical, over-1-year-old > bug in networking code this close to the release??? Networking is our > bread and butter, and changes to it can be tricky. A known non-critical > bug that has existed at least since FBSD 4.2 is better than an unknown > one. At this point it time, it is better to just not touch things. > I'm not trying to fix a bug in ancient code. I'm trying to track down a very specific bug that is reported to be related to a commit I made last week. However, so far, I have not found how the two are related. I've just been trying to keep the people who are affected by the bug in the loop while I'm tracking it down. Kelly -- Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} Join distributed.net Team FreeBSD: http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 18:39: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 1454F37B401; Mon, 4 Nov 2002 18:39:22 -0800 (PST) Received: from pimout3-ext.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46B4943E77; Mon, 4 Nov 2002 18:39:21 -0800 (PST) (envelope-from kbyanc@posi.net) Received: from gateway.posi.net (adsl-63-201-92-224.dsl.snfc21.pacbell.net [63.201.92.224]) by pimout3-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id gA52cwDq576922; Mon, 4 Nov 2002 21:38:59 -0500 Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (8.12.6/8.12.5) with ESMTP id gA52cvOQ050869; Mon, 4 Nov 2002 18:38:57 -0800 (PST) (envelope-from kbyanc@posi.net) Date: Mon, 4 Nov 2002 18:38:57 -0800 (PST) From: Kelly Yancey To: Giorgos Keramidas Cc: freebsd-current@FreeBSD.org, Subject: Re: Can't resolve hosts via dns on the command line with latest -current In-Reply-To: <20021105011204.GD17380@gray.sea.gr> Message-ID: <20021104182051.S50848-100000@gateway.posi.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 Tue, 5 Nov 2002, Giorgos Keramidas wrote: > On 2002-11-04 10:45, Kelly Yancey wrote: > > On Mon, 4 Nov 2002, Giorgos Keramidas wrote: > > > True. I had been seeing problems with network connections the last > > > days, and was already in the process of backing out changes one by one > > > when I saw this. Reverting 1.134 fixes things here. If I put it back > > > in, strange DNS failures start causing troubles with almost everything > > > (including Sendmail, fetchmail, ssh). > > > > I've had this running on multiple machines for weeks without > > problems. What is your resolve.conf and nsswitch.conf? Curious, > > I am running a local named that listens on { 127.0.0.1; }. > > My nsswitch.conf contains: > > hosts: files dns > > and resolv.conf is: > > search sea.gr freebsd.org irc.gr ceid.upatras.gr > nameserver 127.0.0.1 > > The curious thing is that Sendmail or ssh fail to look up hostnames, > while running host(1) works. I don't know if this is of any help, but > if you need more data about the local setup let me know. > > Thanks for looking into this, > Giorgos. > Thanks for the info. Are you sure that you only reverted the one delta? Oddly, when I do the same I still have trouble resolving via localhost (i.e. with or without revision 1.134). I can only get DNS via localhost working again by explicitely adding 127.0.0.1 to lo0. If anything I suspect that something is preventing 127.0.0.1 from being assigned to lo0 at boot (maybe my commit, but I don't see how). But again, I'm still looking into it. :| Kelly -- Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} Visit the BSD driver database: http://www.posi.net/freebsd/drivers/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 19: 3: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 952EB37B4EE for ; Mon, 4 Nov 2002 19:03:53 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 219B343E3B for ; Mon, 4 Nov 2002 19:03:53 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id gA533qCE050027; Mon, 4 Nov 2002 19:03:52 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id gA532bBJ050007; Mon, 4 Nov 2002 19:02:37 -0800 (PST) Date: Mon, 4 Nov 2002 19:02:37 -0800 From: "David O'Brien" To: Kelly Yancey Cc: freebsd-current@FreeBSD.org Subject: Re: Can't resolve hosts via dns on the command line with latest -current Message-ID: <20021105030237.GA49083@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <20021105004300.GA48420@dragon.nuxi.com> <20021104174354.W50723-100000@gateway.posi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021104174354.W50723-100000@gateway.posi.net> 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 Mon, Nov 04, 2002 at 05:47:39PM -0800, Kelly Yancey wrote: > > A better question is why you are fixing a non-critical, over-1-year-old > > bug in networking code this close to the release??? Networking is our > > bread and butter, and changes to it can be tricky. A known non-critical > > bug that has existed at least since FBSD 4.2 is better than an unknown > > one. At this point it time, it is better to just not touch things. > > I'm not trying to fix a bug in ancient code. I'm trying to track down a > very specific bug that is reported to be related to a commit I made last > week. However, so far, I have not found how the two are related. I've just > been trying to keep the people who are affected by the bug in the loop while I was speaking of your commit last week to uipc_socket.c: ---------------------------- revision 1.134 date: 2002-11-01 21:27:59; author: kbyanc; state: Exp; lines: +1 -1 ... PR: 30634 ---------------------------- PR 30634 is over a year old and is classified as non-critical. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 19:17: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 C160137B401; Mon, 4 Nov 2002 19:17:22 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E346643E3B; Mon, 4 Nov 2002 19:17:21 -0800 (PST) (envelope-from keramida@freebsd.org) Received: from gray.sea.gr (patr530-a006.otenet.gr [212.205.215.6]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gA53HHcd028055; Tue, 5 Nov 2002 05:17:19 +0200 (EET) Received: from gray.sea.gr (gray [127.0.0.1]) by gray.sea.gr (8.12.6/8.12.6) with ESMTP id gA53HFs8000603; Tue, 5 Nov 2002 05:17:15 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by gray.sea.gr (8.12.6/8.12.6/Submit) id gA53H5jZ000602; Tue, 5 Nov 2002 05:17:05 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Tue, 5 Nov 2002 05:17:05 +0200 From: Giorgos Keramidas To: Kelly Yancey Cc: freebsd-current@freebsd.org, kbyanc@freebsd.org Subject: Re: Can't resolve hosts via dns on the command line with latest -current Message-ID: <20021105031705.GA573@gray.sea.gr> References: <20021105011204.GD17380@gray.sea.gr> <20021104182051.S50848-100000@gateway.posi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021104182051.S50848-100000@gateway.posi.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 2002-11-04 18:38, Kelly Yancey wrote: > Thanks for the info. Are you sure that you only reverted the one delta? Yes. I just recompiled the kernel from -rHEAD and started logging things while I connected to my dialup provider. Apparently lo0 does have the 127.0.0.1 address *and* the LOOPBACK flag but somehow fails. When (near the end of the following log) I back only this change out, the problems go away :/ The strange thing is that my named listening on lo0 DOES reply, as you can see from the tcpdump output, but the reply never reaches the ssh process that initiated the query. ===== keramida@gray[05:05]/home/keramida$ ssh -l charon -p 666 -v labs.gr OpenSSH_3.5p1 FreeBSD-20021029, SSH protocols 1.5/2.0, OpenSSL 0x0090607f debug1: Reading configuration data /home/keramida/.ssh/config debug1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 ^C root@gray[05:04]/root# tcpdump -i lo0 -s 128 -v -n tcpdump: listening on lo0 05:05:34.616515 127.0.0.1.49181 > 127.0.0.1.53: [udp sum ok] 24818+ AAAA? labs.gr. (25) (ttl 64, id 20931, len 53) 05:05:34.618115 127.0.0.1.53 > 127.0.0.1.49181: [udp sum ok] 24818 0/1/0 (66) (ttl 64, id 2744, len 94) 05:05:34.619452 127.0.0.1.49182 > 127.0.0.1.53: [udp sum ok] 24819+ A? labs.gr. (25) (ttl 64, id 63225, len 53) 05:05:34.621080 127.0.0.1.53 > 127.0.0.1.49182: 24819 1/6/6 labs.gr. A 62.103.160.6 (279) (ttl 64, id 1753, len 307) 05:05:39.621503 127.0.0.1.49183 > 127.0.0.1.53: [udp sum ok] 24819+ A? labs.gr. (25) (ttl 64, id 31195, len 53) 05:05:39.623584 127.0.0.1.53 > 127.0.0.1.49183: 24819 1/6/6 labs.gr. A 62.103.160.6 (279) (ttl 64, id 5785, len 307) 05:05:49.621965 127.0.0.1.49184 > 127.0.0.1.53: [udp sum ok] 24819+ A? labs.gr. (25) (ttl 64, id 34796, len 53) 05:05:49.624029 127.0.0.1.53 > 127.0.0.1.49184: 24819 1/6/6 labs.gr. A 62.103.160.6 (279) (ttl 64, id 60299, len 307) ^C 8 packets received by filter 0 packets dropped by kernel root@gray[05:07]/usr/src/sys/kern# cvs -qR diff -kk -u -r1.133 -r1.134 uipc_socket.c | patch -p0 -R ... root@gray[05:07]/usr/src/sys/kern# cd ../i386/conf root@gray[05:08]/usr/src/sys/i386/conf# config -g -d /usr/obj/usr/src/sys/GRAY GRAY Kernel build directory is /usr/obj/usr/src/sys/GRAY Don't forget to do a ``make depend'' root@gray[05:08]/usr/src/sys/i386/conf# cd /usr/obj/usr/src/sys/GRAY root@gray[05:08]/usr/obj/usr/src/sys/GRAY# rm uipc_socket.o root@gray[05:08]/usr/obj/usr/src/sys/GRAY# make -DNO_MODULES all && make -DNO_MODULES install [ reboot after backout ] keramida@gray[05:12]/home/keramida$ ssh -l charon -p 666 -v labs.gr OpenSSH_3.5p1 FreeBSD-20021029, SSH protocols 1.5/2.0, OpenSSL 0x0090607f debug1: Reading configuration data /home/keramida/.ssh/config debug1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to labs.gr [62.103.160.6] port 666. debug1: Connection established. ... [ and it works ] ===== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 19:27: 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 7A35137B401; Mon, 4 Nov 2002 19:27:03 -0800 (PST) Received: from pimout4-ext.prodigy.net (pimout4-ext.prodigy.net [207.115.63.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id B133C43E42; Mon, 4 Nov 2002 19:27:02 -0800 (PST) (envelope-from kbyanc@posi.net) Received: from gateway.posi.net (adsl-63-201-92-224.dsl.snfc21.pacbell.net [63.201.92.224]) by pimout4-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id gA53R1Q0488256; Mon, 4 Nov 2002 22:27:01 -0500 Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (8.12.6/8.12.5) with ESMTP id gA53QxOQ050969; Mon, 4 Nov 2002 19:26:59 -0800 (PST) (envelope-from kbyanc@posi.net) Date: Mon, 4 Nov 2002 19:26:59 -0800 (PST) From: Kelly Yancey To: "David O'Brien" Cc: freebsd-current@FreeBSD.org Subject: Re: Can't resolve hosts via dns on the command line with latest -current In-Reply-To: <20021105030237.GA49083@dragon.nuxi.com> Message-ID: <20021104191939.K50916-100000@gateway.posi.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 Mon, 4 Nov 2002, David O'Brien wrote: > On Mon, Nov 04, 2002 at 05:47:39PM -0800, Kelly Yancey wrote: > > > A better question is why you are fixing a non-critical, over-1-year-old > > > bug in networking code this close to the release??? Networking is our > > > bread and butter, and changes to it can be tricky. A known non-critical > > > bug that has existed at least since FBSD 4.2 is better than an unknown > > > one. At this point it time, it is better to just not touch things. > > > > I'm not trying to fix a bug in ancient code. I'm trying to track down a > > very specific bug that is reported to be related to a commit I made last > > week. However, so far, I have not found how the two are related. I've just > > been trying to keep the people who are affected by the bug in the loop while > > I was speaking of your commit last week to uipc_socket.c: > ---------------------------- > revision 1.134 > date: 2002-11-01 21:27:59; author: kbyanc; state: Exp; lines: +1 -1 > ... > PR: 30634 > ---------------------------- > > PR 30634 is over a year old and is classified as non-critical. > It was important to me. I ran into the problem independently and have been running the committed patches for 2 weeks on multiple machines. However, none of the machines made UDP connections via lo0 so I didn't spot the bug before commit. However, since commit I have seen 4 reports of people having trouble resolving via localhost, 2 of which claim the backing out the commit solves their problems. I'm actively tracking it down (as my numerous updates throughout the day should indicate) and if I don't find the problem soon I will revert the delta in question. This is code we use at work and I certainly want to fix the bug if it turns out to be related to my commit. Kelly -- Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 4 20: 5:41 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 2070F37B40C for ; Mon, 4 Nov 2002 20:05:30 -0800 (PST) Received: from outel.org (outel.org [168.150.177.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id F203D43E6E for ; Mon, 4 Nov 2002 20:05:28 -0800 (PST) (envelope-from qumqats@outel.org) Received: from localhost (winxp [192.168.1.20]) by outel.org (8.12.6/8.12.6) with ESMTP id gA544sR7023750 for ; Mon, 4 Nov 2002 20:05:03 -0800 (PST) (envelope-from qumqats@outel.org) Date: Mon, 04 Nov 2002 19:56:49 -0800 From: "Joel M. Baldwin" To: current@FreeBSD.ORG Subject: Why is my -current system Hard Locking? Message-ID: <149469335.1036439809@[192.168.1.20]> X-Mailer: Mulberry/3.0.0b8 (Win32) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="==========149486284==========" 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 --==========149486284========== Content-Type: text/plain; charset=us-ascii; FORMAT=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm getting quite frustrated with -current. I've been running it for years and had relatively few problems. However for quite some time now I've had a problem with Hard Locks. By Hard Lock I mean that the system doesn't respond to ether traffic, the keyboard doesn't respond, the capslock, numlock, and scroll lock keys do nothing, the corresponding LEDs don't light, and ctrl/alt/del doesn't reboot the system. The only out is to hit reset. I don't think this is related to the X FP problem ( although I am running X11 ). There have been many times when I'd walk in the morning and find the system had been down for hours. As I understand the X FP problem, it is a transient that shouldn't take the system down all night. This leads to the following questions: 1.) how likely is this a hardware problem? I've already ran and there doesn't seem to be a memory problem. I've changed power supplies. Memory was swapped from another system. The entire system was upgraded such that the only components that are still the same are some of the hard drives. I've even taken the SCSI bus speed down to 10Mhz. All kinds of BIOS settings have been tried. The only thing left is to swap out hard drives. 2.) how can I identify the software issue if that is what it is? With the keyboard dead how can I break into the system? Attached are my boot messages and kernel configs. The current MB/CPU is a Abit BP6 with dual Celeron 466s that are NOT overclocked. Suggestions? ( Help! ) ADVthaAnksNCE --==========149486284========== Content-Type: text/plain; charset=iso-8859-1; name="bootmesg.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="bootmesg.txt"; size=9896 Nov 4 10:54:40 outel syslogd: kernel boot file is /boot/kernel/kernel Nov 4 10:54:40 outel kernel: Copyright (c) 1992-2002 The FreeBSD = Project. Nov 4 10:54:40 outel kernel: Copyright (c) 1979, 1980, 1983, 1986, = 1988, 1989, 1991, 1992, 1993, 1994 Nov 4 10:54:40 outel kernel: The Regents of the University of = California. All rights reserved. Nov 4 10:54:40 outel kernel: FreeBSD 5.0-CURRENT #0: Sat Nov 2 = 12:43:24 PST 2002 Nov 4 10:54:40 outel kernel: = qumqats@outel.org:/disk2/usr.src/sys/i386/compile/citgate-smp Nov 4 10:54:40 outel kernel: Preloaded elf kernel = "/boot/kernel/kernel" at 0xc054a000. Nov 4 10:54:40 outel kernel: Timecounter "i8254" frequency 1193182 Hz Nov 4 10:54:40 outel kernel: CPU: Pentium II/Pentium II Xeon/Celeron = (467.73-MHz 686-class CPU) Nov 4 10:54:40 outel kernel: Origin =3D "GenuineIntel" Id =3D 0x665 = Stepping =3D 5 Nov 4 10:54:40 outel kernel: = Features=3D0x183fbff Nov 4 10:54:40 outel kernel: real memory =3D 268369920 (262080K = bytes) Nov 4 10:54:40 outel kernel: avail memory =3D 254664704 (248696K = bytes) Nov 4 10:54:40 outel kernel: Programming 24 pins in IOAPIC #0 Nov 4 10:54:40 outel kernel: IOAPIC #0 intpin 2 -> irq 0 Nov 4 10:54:40 outel kernel: FreeBSD/SMP: Multiprocessor System = Detected: 2 CPUs Nov 4 10:54:40 outel kernel: cpu0 (BSP): apic id: 0, version: = 0x00040011, at 0xfee00000 Nov 4 10:54:40 outel kernel: cpu1 (AP): apic id: 1, version: = 0x00040011, at 0xfee00000 Nov 4 10:54:40 outel kernel: io0 (APIC): apic id: 2, version: = 0x00170011, at 0xfec00000 Nov 4 10:54:40 outel kernel: Initializing GEOMetry subsystem Nov 4 10:54:40 outel kernel: Pentium Pro MTRR support enabled Nov 4 10:54:40 outel kernel: netsmb_dev: loaded Nov 4 10:54:40 outel kernel: npx0: on motherboard Nov 4 10:54:40 outel kernel: npx0: INT 16 interface Nov 4 10:54:40 outel kernel: Using $PIR table, 8 entries at 0xc00fdef0 Nov 4 10:54:40 outel kernel: pcib0: at pcibus 0 on motherboard Nov 4 10:54:40 outel kernel: pci0: on pcib0 Nov 4 10:54:40 outel kernel: IOAPIC #0 intpin 18 -> irq 2 Nov 4 10:54:40 outel kernel: IOAPIC #0 intpin 17 -> irq 16 Nov 4 10:54:40 outel kernel: IOAPIC #0 intpin 16 -> irq 17 Nov 4 10:54:40 outel kernel: IOAPIC #0 intpin 19 -> irq 18 Nov 4 10:54:40 outel kernel: pcib1: at device = 1.0 on pci0 Nov 4 10:54:40 outel kernel: pci1: on pcib1 Nov 4 10:54:40 outel kernel: isab0: at device 7.0 on = pci0 Nov 4 10:54:40 outel kernel: isa0: on isab0 Nov 4 10:54:40 outel kernel: atapci0: = port 0xf000-0xf00f at device 7.1 on pci0 Nov 4 10:54:40 outel kernel: ata0: at 0x1f0 irq 14 on atapci0 Nov 4 10:54:40 outel kernel: ata1: at 0x170 irq 15 on atapci0 Nov 4 10:54:40 outel kernel: uhci0: port 0xa000-0xa01f irq 10 at device 7.2 on pci0 Nov 4 10:54:40 outel kernel: usb0: on uhci0 Nov 4 10:54:40 outel kernel: usb0: USB revision 1.0 Nov 4 10:54:41 outel kernel: uhub0: Intel UHCI root hub, class 9/0, = rev 1.00/1.00, addr 1 Nov 4 10:54:41 outel kernel: uhub0: 2 ports with 2 removable, self = powered Nov 4 10:54:41 outel kernel: Timecounter "PIIX" frequency 3579545 Hz Nov 4 10:54:41 outel kernel: pci0: at device 7.3 = (no driver attached) Nov 4 10:54:41 outel kernel: fxp0: = port 0xa400-0xa43f mem 0xed000000-0xed0fffff,0xed100000-0xed100fff irq = 2 at device 11.0 on pci0 Nov 4 10:54:41 outel kernel: fxp0: Ethernet address 00:90:27:a5:f4:f2 Nov 4 10:54:41 outel kernel: inphy0: = on miibus0 Nov 4 10:54:41 outel kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, = 100baseTX-FDX, auto Nov 4 10:54:41 outel kernel: ahc0: = port 0xa800-0xa8ff mem 0xed102000-0xed102fff irq 16 at device 13.0 on = pci0 Nov 4 10:54:41 outel kernel: aic7890/91: Ultra2 Wide Channel A, SCSI = Id=3D7, 32/253 SCBs Nov 4 10:54:41 outel kernel: rl0: = port 0xac00-0xacff mem 0xed101000-0xed1010ff irq 17 at device 15.0 on = pci0 Nov 4 10:54:41 outel kernel: rl0: Realtek 8139B detected. Warning, = this may be unstable in autoselect mode Nov 4 10:54:41 outel kernel: rl0: Ethernet address: 00:04:e2:20:a5:b2 Nov 4 10:54:41 outel kernel: miibus1: on rl0 Nov 4 10:54:41 outel kernel: rlphy0: on miibus1 Nov 4 10:54:41 outel kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, = 100baseTX-FDX, auto Nov 4 10:54:41 outel kernel: pci0: at device 17.0 (no = driver attached) Nov 4 10:54:41 outel kernel: atapci1: port 0xb800-0xb8ff,0xb400-0xb403,0xb000-0xb007 irq 2 at = device 19.0 on pci0 Nov 4 10:54:41 outel kernel: ata2: at 0xb000 on atapci1 Nov 4 10:54:41 outel kernel: atapci2: port 0xc400-0xc4ff,0xc000-0xc003,0xbc00-0xbc07 irq 2 at = device 19.1 on pci0 Nov 4 10:54:41 outel kernel: ata3: at 0xbc00 on atapci2 Nov 4 10:54:41 outel kernel: orm0: