From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 08:44:17 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3AEC16A4CE for ; Sun, 14 Mar 2004 08:44:17 -0800 (PST) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C6BF43D2D for ; Sun, 14 Mar 2004 08:44:17 -0800 (PST) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (Postfix) with ESMTP id 003C44088F; Sun, 14 Mar 2004 17:43:40 +0100 (CET) From: Cordula's Web To: freebsd-stable@freebsd.org X-Mailer: Emacs-21.3.1/FreeBSD-4.9-STABLE Message-Id: <20040314164340.003C44088F@fw.farid-hajji.net> Date: Sun, 14 Mar 2004 17:43:40 +0100 (CET) cc: Julian Elischer Subject: Re: HEADSUP!!! USB MFC committed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 16:44:17 -0000 Hi Julian, this USB MFC broke my CASIO QV-4000 digicam downloads, which worked very well just before. umass0: CASIO product 0x1001, rev 1.00/10.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 150KB/s transfers da0: 1027MB (2104704 512 byte sectors: 255H 63S/T 131C) (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 1a f5 22 0 0 38 0 (da0:umass-sim0:0:0:0): ABORTED COMMAND asc:4e,0 (da0:umass-sim0:0:0:0): Overlapped commands attempted (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 1a f5 22 0 0 38 0 (da0:umass-sim0:0:0:0): ABORTED COMMAND asc:4e,0 (da0:umass-sim0:0:0:0): Overlapped commands attempted Mounting /dev/da0s1, ls et al. still works well, but as soon as I start downloading the files with, say, "cp -Rv /mnt/* .", the cp command hangs hard after having copied 5 or 6 small files. The only way out is to turn the camera off, get a few errors: umass0: CBI reset failed, IOERROR umass0: CBI bulk-in stall clear failed, IOERROR umass0: CBI bulk-out stall clear failed, IOERROR vnode_pager_getpages: I/O read error vm_fault: pager read error, pid 7337 (cp) umass0: at uhub0 port 1 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device umass0: detached umass-sim:0:0:0:func_code 0x0901: Invalid target (target needed) (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x39, scsi status == 0x0 umass-sim:0:0:0:func_code 0x0901: Invalid target (target needed) (da0:umass-sim0:0:0:0): removing device entry and then umount manually. Please help. Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 09:42:09 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2894316A4CE for ; Sun, 14 Mar 2004 09:42:09 -0800 (PST) Received: from etaq.com (mail.etaq.com [66.80.150.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA64543D1D for ; Sun, 14 Mar 2004 09:42:08 -0800 (PST) (envelope-from wayne@etaq.com) Received: by etaq.com (Postfix, from userid 1002) id B3DD017046; Sun, 14 Mar 2004 11:43:50 -0600 (CST) Date: Sun, 14 Mar 2004 11:43:50 -0600 From: Wayne M Barnes To: freebsd-stable@freebsd.org Message-ID: <20040314174350.GA20053@etaq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Can't install 4.x-stable world. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 17:42:09 -0000 Dear FreeBSD 4.x-STABLE, I looks like a missing ] after for prog in [ . . . Do you agree? --------------make world snip: -------------- gzip -cn /usr/src.2004/usr.sbin/boot0cfg/boot0cfg.8 > boot0cfg.8.gz ===> etc mkdir -p /tmp/install.17448 for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep ln make makewhatis mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.17448; done *** Error code 64 Stop in /usr/src.2004. *** Error code 1 Stop in /usr/src.2004. ----------------------------------------- I have /usr/src linked to /usr/src.2004 below, but that has never caused a problem before. -- Wayne M Barnes wayne@etaq.com fax: (314) 754-9556 From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 09:50:55 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACD8F16A4CE for ; Sun, 14 Mar 2004 09:50:55 -0800 (PST) Received: from priv-edtnes14-hme0.telusplanet.net (outbound03.telus.net [199.185.220.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCDDE43D5A for ; Sun, 14 Mar 2004 09:50:54 -0800 (PST) (envelope-from cpressey@catseye.mine.nu) Received: from catseye.biscuit.boo ([154.5.85.228]) by priv-edtnes14-hme0.telusplanet.netSMTP <20040314175054.DTWG15469.priv-edtnes14-hme0.telusplanet.net@catseye.biscuit.boo>; Sun, 14 Mar 2004 10:50:54 -0700 Date: Sun, 14 Mar 2004 09:56:13 -0800 From: Chris Pressey To: Wayne M Barnes Message-Id: <20040314095613.780e2fda.cpressey@catseye.mine.nu> In-Reply-To: <20040314174350.GA20053@etaq.com> References: <20040314174350.GA20053@etaq.com> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 0.9.9 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: Can't install 4.x-stable world. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 17:50:55 -0000 On Sun, 14 Mar 2004 11:43:50 -0600 Wayne M Barnes wrote: > Dear FreeBSD 4.x-STABLE, > > I looks like a missing ] after for prog in [ . . . > > Do you agree? No. '[' is the name of a utility (try 'man [' if you don't believe me :) -Chris > --------------make world snip: -------------- > > gzip -cn /usr/src.2004/usr.sbin/boot0cfg/boot0cfg.8 > boot0cfg.8.gz > ===> etc > mkdir -p /tmp/install.17448 > for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find > grep ln make makewhatis mkdir mtree mv pwd_mkdb rm sed sh sysctl test true > uname wc zic; do cp `which $prog` /tmp/install.17448; done > *** Error code 64 > > Stop in /usr/src.2004. > *** Error code 1 > > Stop in /usr/src.2004. > > ----------------------------------------- > > I have /usr/src linked to /usr/src.2004 below, but that > has never caused a problem before. > > > -- > Wayne M Barnes > wayne@etaq.com fax: (314) 754-9556 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 10:19:28 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05DAD16A4CE for ; Sun, 14 Mar 2004 10:19:28 -0800 (PST) Received: from smtp.omnis.com (smtp.omnis.com [216.239.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id E800643D31 for ; Sun, 14 Mar 2004 10:19:27 -0800 (PST) (envelope-from wes@softweyr.com) Received: from zaphod.softweyr.com (66-91-236-204.san.rr.com [66.91.236.204]) by smtp-relay.omnis.com (Postfix) with ESMTP id 7DE1F881D00; Sun, 14 Mar 2004 10:19:26 -0800 (PST) Date: Sun, 14 Mar 2004 10:19:27 -0800 From: Wes Peters To: Peter Jeremy Message-Id: <20040314101927.72f86abc.wes@softweyr.com> In-Reply-To: <20040311003115.GL10121@gsmx07.alcatel.com.au> References: <200403110014.LAA17110@lightning.itga.com.au> <20040311003115.GL10121@gsmx07.alcatel.com.au> Organization: Softweyr.com X-Mailer: Sylpheed version 0.9.8 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: gnb@itga.com.au cc: freebsd-stable@freebsd.org Subject: Re: unexpected softupdate inconsistency X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 18:19:28 -0000 On Thu, 11 Mar 2004 11:31:16 +1100 Peter Jeremy alleged: > On 2004-Mar-11 11:14:01 +1100, Gregory Bond wrote: > >The key phrase here is "What does vim do here _that rm doesn't_?" > > > >If vim is also just using unlink() then rm can (theoretically) do the job > >just as well. It seems like really odd advice to say "use vim because rm > >can't do the job." If this were in any way true, then I'd call that a > >serious bug in rm. > > If the filename to delete includes non-printing or magic-to-the-shell > characters (and especially ones with the top bit set), it can be > difficult to specify the filename as a command-line argument to rm(1). > In these cases, directory-editing modes in editors (or a scripting > language like perl) can be very helpful. Let us not forget 'rm -i *'... Tedious, perhaps, but it does get the job done. 'ls -B' may be helpful in identifying why 'rm foobar' doesn't work on a file apparently named 'foobar'. wes@zaphod$ touch foo^Bbar -- entered with ^V^B in bash wes@zaphod$ ls -lB foo* -rw-r--r-- 1 wes wes 0 Mar 14 10:18 foo\002bar -rw-r--r-- 1 wes wes 263 Jul 10 2003 foo.c wes@zaphod$ rm -i foo* remove foobar? y remove foo.c? n -- Where am I, and what am I doing in this handbasket? Wes Peters wes@softweyr.com From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 10:41:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EE2016A4CE for ; Sun, 14 Mar 2004 10:41:53 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.uni-dortmund.de [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C82243D3F for ; Sun, 14 Mar 2004 10:41:53 -0800 (PST) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id 31EDF1675B6; Sun, 14 Mar 2004 19:41:52 +0100 (CET) Received: from [192.168.8.4] (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id i2EIfp1p043602 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 14 Mar 2004 19:41:51 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: stable@freebsd.org Date: Sun, 14 Mar 2004 19:41:50 +0100 User-Agent: KMail/1.6.1 References: <200403110014.LAA17110@lightning.itga.com.au> <20040311003115.GL10121@gsmx07.alcatel.com.au> In-Reply-To: <20040311003115.GL10121@gsmx07.alcatel.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_udKVApMj8IuaHbV"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403141941.50846.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new cc: Gregory Bond Subject: Re: unexpected softupdate inconsistency X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 18:41:53 -0000 --Boundary-02=_udKVApMj8IuaHbV Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 11 March 2004 01:31, Peter Jeremy wrote: > On 2004-Mar-11 11:14:01 +1100, Gregory Bond wrote: > >The key phrase here is "What does vim do here _that rm doesn't_?" > > > >If vim is also just using unlink() then rm can (theoretically) do the job > > just as well. It seems like really odd advice to say "use vim because = rm > > can't do the job." If this were in any way true, then I'd call that a > > serious bug in rm. > > If the filename to delete includes non-printing or magic-to-the-shell > characters (and especially ones with the top bit set), it can be > difficult to specify the filename as a command-line argument to rm(1). > In these cases, directory-editing modes in editors (or a scripting > language like perl) can be very helpful. > > This isn't a bug in rm(1) and is not necessarily a bug in the shell. > It is fairly common when [l]users use GUI tools to create files or > use sockaddr_in addresses on AF_UNIX sockets - which I've seen done. However, I can confirm from experience that rm (-f) won't remove a file tha= t's=20 affected by a filesystem error like the one described in this thread. You'l= l=20 just get back ": bad file descriptor" and that's it. The last tim= e=20 this happened to me, the affected file was a directory called "tmp" - hardl= y=20 any weird characters in that one. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --Boundary-02=_udKVApMj8IuaHbV Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAVKduXhc68WspdLARAh1AAJ47NxFYqYxlEaVJn48MEEnmSbui1wCfWhht JcAp1WHrevjSu21OaDNiA5Q= =ggur -----END PGP SIGNATURE----- --Boundary-02=_udKVApMj8IuaHbV-- From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 12:18:22 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02FCD16A4CE for ; Sun, 14 Mar 2004 12:18:22 -0800 (PST) Received: from grub.ath.cx (adsl-220-128-245.gnv.bellsouth.net [68.220.128.245]) by mx1.FreeBSD.org (Postfix) with SMTP id 78A3243D39 for ; Sun, 14 Mar 2004 12:18:21 -0800 (PST) (envelope-from travis@grub.ath.cx) Received: (qmail 4894 invoked by uid 1000); 14 Mar 2004 20:18:20 -0000 Date: Sun, 14 Mar 2004 15:18:20 -0500 From: Travis Whitton To: freebsd-stable@freebsd.org Message-ID: <20040314201820.GA4877@grub.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Grub-Uptime: 15:14:53 up 2 days, 13:42, 2 users, load average: 0.16, 0.03, 0.01 X-Mailer: Mutt 1.3.28i (2002-03-13) Subject: Upgrade strategy for production server X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Travis Whitton List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 20:18:22 -0000 Hello all, After working with Linux on a number of levels for the last 5 years, I've decided to try FreeBSD. I just finished installing 4.9, and I have everything tweaked to fit my needs. I'm tracking RELENG_4_9, and so far so good with everything. Now on to my question, I just noticed that 5.3 will probably be coming out sometime in the near future, which makes me wonder if I've made the wrong decision in installing 4.9. Honestly, there aren't really any features in 5.3 that I think I'll really need, but I'm concerned about the lifespan of the 4.x branch. How long will it be until ports start failing due to using an older branch? How long can I feasibly run on the 4.x branch? I wouldn't be so concerned; however, once this server is in place, it will be running some very critical services and the thought of backing everything up and installing from scratch to migrate to 5.x just represents too much unnecessary downtime. It seems that there isn't any clean way to upgrade between major versions due to differing filesystems (UFS and UFS2) and leftover relics from previous releases causing potential problems. What do most people do for their longterm upgrade strategy with FreeBSD on production servers? Sorry for the long-winded question, but I want to get this right the first time, so I don't end up kicking myself down the road. I'd also prefer not to have to do a full reinstall once a year or whenever a new major release happens just to get support. One last thing, I recently patched a port, dbf2mysql, in order to get it to work properly with mysql323-server. What is the proper way to get this patch committed to the ports tree? It seems generally useful to anyone using the program, and I would rather not have to manually patch everytime I upgrade the port. Thanks, Travis Whitton From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 12:27:17 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3A3216A4CE for ; Sun, 14 Mar 2004 12:27:16 -0800 (PST) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id B69F643D2D for ; Sun, 14 Mar 2004 12:27:16 -0800 (PST) (envelope-from DougB@freebsd.org) Received: from freebsd.org (c-24-130-160-161.we.client2.attbi.com[24.130.160.161]) by comcast.net (sccrmhc11) with ESMTP id <20040314202715011005gb5se> (Authid: domain_name_tsar); Sun, 14 Mar 2004 20:27:16 +0000 Message-ID: <4054C022.8030500@FreeBSD.org> Date: Sun, 14 Mar 2004 12:27:14 -0800 From: Doug Barton Organization: http://www.freebsd.org/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040307 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Travis Whitton References: <20040314201820.GA4877@grub.ath.cx> In-Reply-To: <20040314201820.GA4877@grub.ath.cx> X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: Upgrade strategy for production server X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 20:27:17 -0000 Travis Whitton wrote: > Hello all, > After working with Linux on a number of levels for the last 5 years, I've > decided to try FreeBSD. Woo hoo, welcome to the fun! > I just finished installing 4.9, and I have everything > tweaked to fit my needs. I'm tracking RELENG_4_9, and so far so good with > everything. Good news. > Now on to my question, I just noticed that 5.3 will probably be coming out > sometime in the near future, which makes me wonder if I've made the wrong > decision in installing 4.9. Honestly, there aren't really any features in 5.3 > that I think I'll really need, but I'm concerned about the lifespan of the 4.x > branch. How long will it be until ports start failing due to using an older > branch? How long can I feasibly run on the 4.x branch? Ports shouldn't fail at all for a year or more. You didn't mention what kind of hardware this is. If it's a single processor system, 4.9 is probably going to give you the best performance in that one year time frame. If it's an SMP system, in the next 6 months or so 5.x will be a significant benefit. > I wouldn't be so concerned; however, once this server is in place, it will be > running some very critical services and the thought of backing everything up > and installing from scratch to migrate to 5.x just represents too much > unnecessary downtime. It seems that there isn't any clean way to upgrade > between major versions due to differing filesystems (UFS and UFS2) and leftover > relics from previous releases causing potential problems. No, there isn't, and particularly with the issue of new file systems, there cannot be. Your best bet is to do the backup and restore, as you mentioned. That said, I'd like to suggest an alternative proposal. If this system is so crucial to your operation, it ought to have some redundancy, right? :) Why not do a head to head test with 4.9 and 5.x-current on the same hardware? That way you solve several problems at the same time. You'll be able to determine conclusively if 5.x works for you, you'll have a hot spare system ready to go in case of a hardware failure, and you won't have any downtime at all during upgrade cycles. > One last thing, I recently patched a port, dbf2mysql, in order to get it to > work properly with mysql323-server. What is the proper way to get this patch > committed to the ports tree? It seems generally useful to anyone using the > program, and I would rather not have to manually patch everytime I upgrade > the port. man send-pr Good luck, Doug -- This .signature sanitized for your protection From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 13:07:28 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11B5116A4CE for ; Sun, 14 Mar 2004 13:07:28 -0800 (PST) Received: from grub.ath.cx (adsl-220-128-245.gnv.bellsouth.net [68.220.128.245]) by mx1.FreeBSD.org (Postfix) with SMTP id 62D0243D45 for ; Sun, 14 Mar 2004 13:07:27 -0800 (PST) (envelope-from travis@grub.ath.cx) Received: (qmail 4959 invoked by uid 1000); 14 Mar 2004 21:07:27 -0000 Date: Sun, 14 Mar 2004 16:07:27 -0500 From: Travis Whitton To: DougB@FreeBSD.org Message-ID: <20040314210727.GA4938@grub.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Grub-Uptime: 16:03:49 up 2 days, 14:31, 2 users, load average: 0.04, 0.02, 0.00 X-Mailer: Mutt 1.3.28i (2002-03-13) cc: freebsd-stable@freebsd.org Subject: Re: Upgrade strategy for production server X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Travis Whitton List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 21:07:28 -0000 > Ports shouldn't fail at all for a year or more. You didn't mention what > kind of hardware this is. If it's a single processor system, 4.9 is > probably going to give you the best performance in that one year time > frame. If it's an SMP system, in the next 6 months or so 5.x will be a > significant benefit. It's a single proc system. A year seems long enough to merit sticking with 4.9. It seems that major releases can often stretch to over a year, so that should give me a while to stay on the 5.x tree once I decide it's safe to switch. > That said, I'd like to suggest an alternative proposal. If this system > is so crucial to your operation, it ought to have some redundancy, > right? :) Why not do a head to head test with 4.9 and 5.x-current on > the same hardware? That way you solve several problems at the same time. > You'll be able to determine conclusively if 5.x works for you, you'll > have a hot spare system ready to go in case of a hardware failure, and > you won't have any downtime at all during upgrade cycles. Not a bad idea at all. We do regular backups of course, but it's always nice to have a drop-in replacement. Thanks very much for your input. I look forward to being a member of the outstanding FreeBSD community. FYI, the server will be acting as a repository and access point to many years of historical(and current) environmental data, so you can add that to the list of tasks that FreeBSD performs. Thanks for your help, Travis Whitton From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 13:24:16 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2D0C16A4CE; Sun, 14 Mar 2004 13:24:16 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 943AE43D1F; Sun, 14 Mar 2004 13:24:11 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i2ELSBee003243 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 Mar 2004 23:28:13 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i2ELNtrJ094995; Sun, 14 Mar 2004 23:23:55 +0200 (EET) (envelope-from ru) Date: Sun, 14 Mar 2004 23:23:55 +0200 From: Ruslan Ermilov To: Travis Whitton Message-ID: <20040314212355.GB91191@ip.net.ua> References: <20040314210727.GA4938@grub.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3uo+9/B/ebqu+fSQ" Content-Disposition: inline In-Reply-To: <20040314210727.GA4938@grub.ath.cx> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: DougB@FreeBSD.org cc: freebsd-stable@FreeBSD.org Subject: Re: Upgrade strategy for production server X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 21:24:16 -0000 --3uo+9/B/ebqu+fSQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 14, 2004 at 04:07:27PM -0500, Travis Whitton wrote: [...] > > That said, I'd like to suggest an alternative proposal. If this system > > is so crucial to your operation, it ought to have some redundancy, > > right? :) Why not do a head to head test with 4.9 and 5.x-current on > > the same hardware? That way you solve several problems at the same time. > > You'll be able to determine conclusively if 5.x works for you, you'll > > have a hot spare system ready to go in case of a hardware failure, and > > you won't have any downtime at all during upgrade cycles. >=20 > Not a bad idea at all. We do regular backups of course, but it's always > nice to have a drop-in replacement. Thanks very much for your input. > I look forward to being a member of the outstanding FreeBSD community. >=20 You're much welcome, submit PRs with patches! ;) > FYI, the server will be acting as a repository and access point to many > years of historical(and current) environmental data, so you can add that > to the list of tasks that FreeBSD performs. >=20 Ditto, submit a URL when it's done. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --3uo+9/B/ebqu+fSQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAVM1rUkv4P6juNwoRAsrcAJ9kJ3mNNlLh9UgFbhDYRPfODtT7yQCgin39 W/xgE5vH4aKU3G1npIgptlo= =ht7N -----END PGP SIGNATURE----- --3uo+9/B/ebqu+fSQ-- From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 14:20:36 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37B2B16A4CE for ; Sun, 14 Mar 2004 14:20:36 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2900A43D1D for ; Sun, 14 Mar 2004 14:20:36 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (c-24-7-73-28.client.comcast.net[24.7.73.28]) by comcast.net (rwcrmhc11) with ESMTP id <2004031422041201300h96pte>; Sun, 14 Mar 2004 22:04:12 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA33180; Sun, 14 Mar 2004 14:03:32 -0800 (PST) Date: Sun, 14 Mar 2004 14:03:31 -0800 (PST) From: Julian Elischer To: "Cordula's Web" In-Reply-To: <20040314164340.003C44088F@fw.farid-hajji.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: HEADSUP!!! USB MFC committed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 22:20:36 -0000 It looks like a simple "quirk" to fix.. more next week... On Sun, 14 Mar 2004, Cordula's Web wrote: > Hi Julian, > > this USB MFC broke my CASIO QV-4000 digicam downloads, which worked > very well just before. > > umass0: CASIO product 0x1001, rev 1.00/10.00, addr 2 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 150KB/s transfers > da0: 1027MB (2104704 512 byte sectors: 255H 63S/T 131C) > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 1a f5 22 0 0 38 0 > (da0:umass-sim0:0:0:0): ABORTED COMMAND asc:4e,0 > (da0:umass-sim0:0:0:0): Overlapped commands attempted > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 1a f5 22 0 0 38 0 > (da0:umass-sim0:0:0:0): ABORTED COMMAND asc:4e,0 > (da0:umass-sim0:0:0:0): Overlapped commands attempted > > Mounting /dev/da0s1, ls et al. still works well, but as soon > as I start downloading the files with, say, "cp -Rv /mnt/* .", > the cp command hangs hard after having copied 5 or 6 small files. > The only way out is to turn the camera off, get a few errors: > > umass0: CBI reset failed, IOERROR > umass0: CBI bulk-in stall clear failed, IOERROR > umass0: CBI bulk-out stall clear failed, IOERROR > vnode_pager_getpages: I/O read error > vm_fault: pager read error, pid 7337 (cp) > umass0: at uhub0 port 1 (addr 2) disconnected > (da0:umass-sim0:0:0:0): lost device > umass0: detached > umass-sim:0:0:0:func_code 0x0901: Invalid target (target needed) > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x39, > scsi status == 0x0 > umass-sim:0:0:0:func_code 0x0901: Invalid target (target needed) > (da0:umass-sim0:0:0:0): removing device entry > > and then umount manually. > > Please help. > > Cheers, > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ > > From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 14:26:06 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1CE716A4D0 for ; Sun, 14 Mar 2004 14:26:06 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80AB343D1F for ; Sun, 14 Mar 2004 14:26:06 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004031422023401200mi5v6e>; Sun, 14 Mar 2004 22:02:35 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA33176; Sun, 14 Mar 2004 14:02:34 -0800 (PST) Date: Sun, 14 Mar 2004 14:02:32 -0800 (PST) From: Julian Elischer To: "Cordula's Web" In-Reply-To: <20040314164340.003C44088F@fw.farid-hajji.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: HEADSUP!!! USB MFC committed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 22:26:06 -0000 thanks for getting back to me.. I will be doing work on USB next week, and I will try trace this then.. have you tried -current with your device? Julian On Sun, 14 Mar 2004, Cordula's Web wrote: > Hi Julian, > > this USB MFC broke my CASIO QV-4000 digicam downloads, which worked > very well just before. > > umass0: CASIO product 0x1001, rev 1.00/10.00, addr 2 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 150KB/s transfers > da0: 1027MB (2104704 512 byte sectors: 255H 63S/T 131C) > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 1a f5 22 0 0 38 0 > (da0:umass-sim0:0:0:0): ABORTED COMMAND asc:4e,0 > (da0:umass-sim0:0:0:0): Overlapped commands attempted > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 1a f5 22 0 0 38 0 > (da0:umass-sim0:0:0:0): ABORTED COMMAND asc:4e,0 > (da0:umass-sim0:0:0:0): Overlapped commands attempted > > Mounting /dev/da0s1, ls et al. still works well, but as soon > as I start downloading the files with, say, "cp -Rv /mnt/* .", > the cp command hangs hard after having copied 5 or 6 small files. > The only way out is to turn the camera off, get a few errors: > > umass0: CBI reset failed, IOERROR > umass0: CBI bulk-in stall clear failed, IOERROR > umass0: CBI bulk-out stall clear failed, IOERROR > vnode_pager_getpages: I/O read error > vm_fault: pager read error, pid 7337 (cp) > umass0: at uhub0 port 1 (addr 2) disconnected > (da0:umass-sim0:0:0:0): lost device > umass0: detached > umass-sim:0:0:0:func_code 0x0901: Invalid target (target needed) > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x39, > scsi status == 0x0 > umass-sim:0:0:0:func_code 0x0901: Invalid target (target needed) > (da0:umass-sim0:0:0:0): removing device entry > > and then umount manually. > > Please help. > > Cheers, > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ > > From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 14:26:22 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ACCC16A530 for ; Sun, 14 Mar 2004 14:26:22 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C30543D1F for ; Sun, 14 Mar 2004 14:26:22 -0800 (PST) (envelope-from j.p.h@comcast.net) Received: from comcast.net (c-24-1-102-108.client.comcast.net[24.1.102.108]) by comcast.net (rwcrmhc13) with SMTP id <2004031422071101500sm2kle> (Authid: j.p.h); Sun, 14 Mar 2004 22:07:11 +0000 Message-ID: <4054D78F.6080003@comcast.net> Date: Sun, 14 Mar 2004 16:07:11 -0600 From: Joe Halpin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: 4.9-STABLE and m4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 22:26:22 -0000 I'm working with the cURL project (http://curl.haxx.se), and I setup a daily build on my 4.9-RELEASE machine. Things were going fine until I upgraded to 4.9-STABLE. At that point the daily builds started failing. As far as I can tell the reason for that was that /usr/bin/m4 was somehow different from the same version on the FSF web site. I downloaded and built m4 from the FSF web site and installed it in /usr/local/bin (which is at the beginning of my PATH) and then the build started working again. Can anyone here confirm or deny my hypothesis? Any information would be welcome as I'd like to understand what happened. Thanks Joe From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 15:01:10 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C21516A4CE for ; Sun, 14 Mar 2004 15:01:10 -0800 (PST) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7149143D2D for ; Sun, 14 Mar 2004 15:01:09 -0800 (PST) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (Postfix) with ESMTP id 587EC4089A; Mon, 15 Mar 2004 00:00:33 +0100 (CET) From: Cordula's Web To: julian@elischer.org In-reply-to: (message from Julian Elischer on Sun, 14 Mar 2004 14:02:32 -0800 (PST)) X-Mailer: Emacs-21.3.1/FreeBSD-4.9-STABLE References: Message-Id: <20040314230033.587EC4089A@fw.farid-hajji.net> Date: Mon, 15 Mar 2004 00:00:33 +0100 (CET) cc: freebsd-stable@freebsd.org Subject: Re: HEADSUP!!! USB MFC committed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 23:01:10 -0000 Julian Elischer on Sun, 14 Mar 2004 14:02:32 -0800: > thanks for getting back to me.. > > I will be doing work on USB next week, and I will try trace this then.. > have you tried -current with your device? Nope, only -stable as of March 3, and -stable of today. Everything was okay just before the MFC. As a temporary work-arond, I was able to download the files with the 4.9-RELEASE fixit CDROM kernel without problems. I can install -current on a spare box in a few days and will report how it looks like. Thank you for helping. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 16:52:16 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAEB516A4CE for ; Sun, 14 Mar 2004 16:52:16 -0800 (PST) Received: from nmgww.sn.tsden.org (gw.nemossan.jp [202.216.232.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 436CF43D2F for ; Sun, 14 Mar 2004 16:52:16 -0800 (PST) (envelope-from "") Received: from nmgww.sn.tsden.org (IDENT:ryutaroh@localhost [127.0.0.1]) by nmgww.sn.tsden.org (8.12.10/8.12.10) with ESMTP id i2F0qAw2004458 for ; Mon, 15 Mar 2004 09:52:10 +0900 Received: (from ryutaroh@localhost) by nmgww.sn.tsden.org (8.12.10/8.12.10/Submit) id i2F0qAO4004457 for stable@freebsd.org; Mon, 15 Mar 2004 09:52:10 +0900 Date: Mon, 15 Mar 2004 09:52:10 +0900 Message-Id: <200403150052.i2F0qAO4004457@nmgww.sn.tsden.org> X-Authentication-Warning: nmgww.sn.tsden.org: ryutaroh set sender to <> using -f To: stable@freebsd.org Auto-Submitted: auto-replied From: ryutaroh@tsden.org Precedence: junk Subject: X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 00:52:16 -0000 I do not read the email account "ryutaroh@tsden.org". Thank you. From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 17:13:58 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FFD816A4CE for ; Sun, 14 Mar 2004 17:13:58 -0800 (PST) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04EC143D2D for ; Sun, 14 Mar 2004 17:13:58 -0800 (PST) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.11/8.12.11) with ESMTP id i2F1DpUh072715; Sun, 14 Mar 2004 20:13:51 -0500 (EST) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.11/8.12.11/Submit) id i2F1Dm4T072714; Sun, 14 Mar 2004 20:13:48 -0500 (EST) (envelope-from barney) Date: Sun, 14 Mar 2004 20:13:48 -0500 From: Barney Wolff To: Julian Elischer Message-ID: <20040315011348.GA72156@pit.databus.com> References: <20040314164340.003C44088F@fw.farid-hajji.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Scanned-By: MIMEDefang 2.39 cc: freebsd-stable@freebsd.org Subject: Re: HEADSUP!!! USB MFC committed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 01:13:58 -0000 Data point: My Sony F707 used to work on -stable, now does not. It does work fine on -current. From the log: /kernel: umass0: Sony DSC Sony, rev 1.00/4.01, addr 8 /kernel: umass0:0:0:-1: Attached to scbus0 as device 0 /kernel: umass0: CBI reset failed, STALLED /kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 /kernel: (probe0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 /kernel: (probe0:umass-sim0:0:0:0): Invalid command operation code camcontrol rescan 0 was ok, but mount -t msdos /dev/da0s1 /dsc said /dev/da0s1: device not configured. /kernel: umass0: at uhub0 port 2 (addr 8) disconnected /kernel: umass0: detached -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 18:54:09 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1CA016A4CE for ; Sun, 14 Mar 2004 18:54:09 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3417643D45 for ; Sun, 14 Mar 2004 18:54:07 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004031502540101200hrvd9e>; Mon, 15 Mar 2004 02:54:06 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA35892; Sun, 14 Mar 2004 18:54:00 -0800 (PST) Date: Sun, 14 Mar 2004 18:53:59 -0800 (PST) From: Julian Elischer To: Barney Wolff In-Reply-To: <20040315011348.GA72156@pit.databus.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: HEADSUP!!! USB MFC committed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 02:54:09 -0000 ok, it looks like we have a quirk or something missing On Sun, 14 Mar 2004, Barney Wolff wrote: > Data point: My Sony F707 used to work on -stable, now does not. It does > work fine on -current. From the log: > /kernel: umass0: Sony DSC Sony, rev 1.00/4.01, addr 8 > /kernel: umass0:0:0:-1: Attached to scbus0 as device 0 > /kernel: umass0: CBI reset failed, STALLED > /kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > /kernel: (probe0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 > /kernel: (probe0:umass-sim0:0:0:0): Invalid command operation code > camcontrol rescan 0 was ok, but mount -t msdos /dev/da0s1 /dsc > said /dev/da0s1: device not configured. > /kernel: umass0: at uhub0 port 2 (addr 8) disconnected > /kernel: umass0: detached > > -- > Barney Wolff http://www.databus.com/bwresume.pdf > I'm available by contract or FT, in the NYC metro area or via the 'Net. > From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 20:05:36 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 377B016A4CE for ; Sun, 14 Mar 2004 20:05:36 -0800 (PST) Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ECBC43D3F for ; Sun, 14 Mar 2004 20:05:35 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.40.61) by smtp02.syd.iprimus.net.au (7.0.024) id 402CF870009866E8; Mon, 15 Mar 2004 15:05:32 +1100 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id 4ED3941C0; Mon, 15 Mar 2004 15:06:06 +1100 (EST) Date: Mon, 15 Mar 2004 15:06:06 +1100 From: Tim Robbins To: Joe Halpin Message-ID: <20040315040606.GB26211@cat.robbins.dropbear.id.au> References: <4054D78F.6080003@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4054D78F.6080003@comcast.net> User-Agent: Mutt/1.4.1i cc: freebsd-stable@freebsd.org Subject: Re: 4.9-STABLE and m4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 04:05:36 -0000 On Sun, Mar 14, 2004 at 04:07:11PM -0600, Joe Halpin wrote: > I'm working with the cURL project (http://curl.haxx.se), and I setup a > daily build on my 4.9-RELEASE machine. Things were going fine until I > upgraded to 4.9-STABLE. At that point the daily builds started failing. > > As far as I can tell the reason for that was that /usr/bin/m4 was > somehow different from the same version on the FSF web site. I > downloaded and built m4 from the FSF web site and installed it in > /usr/local/bin (which is at the beginning of my PATH) and then the build > started working again. > > Can anyone here confirm or deny my hypothesis? Any information would be > welcome as I'd like to understand what happened. FreeBSD does not use GNU m4. Tim From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 20:46:40 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D9D316A4CE for ; Sun, 14 Mar 2004 20:46:40 -0800 (PST) Received: from alcanet.com.au (mail2.alcanet.com.au [203.62.196.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id C095443D4C for ; Sun, 14 Mar 2004 20:46:36 -0800 (PST) (envelope-from peter.jeremy@alcatel.com.au) Received: from sydsmtp02.alcatel.com.au (IDENT:root@localhost.localdomain [127.0.0.1])i2F4kYxF028095 for ; Mon, 15 Mar 2004 15:46:34 +1100 Received: from gsmx07.alcatel.com.au ([139.188.20.247]) by sydsmtp02.alcatel.com.au (Lotus Domino Release 5.0.12) with ESMTP id 2004031515463358:291759 ; Mon, 15 Mar 2004 15:46:33 +1100 Received: from gsmx07.alcatel.com.au (localhost [127.0.0.1]) i2F4kXHQ002978 for ; Mon, 15 Mar 2004 15:46:33 +1100 (EST) (envelope-from peter.jeremy@alcatel.com.au) Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.12.9p2/8.12.9/Submit) id i2F4kWMr002977 for freebsd-stable@freebsd.org; Mon, 15 Mar 2004 15:46:32 +1100 (EST) (envelope-from peter.jeremy@alcatel.com.au) Date: Mon, 15 Mar 2004 15:46:32 +1100 From: Peter Jeremy To: freebsd-stable@freebsd.org Message-ID: <20040315044632.GA2961@gsmx07.alcatel.com.au> Mail-Followup-To: freebsd-stable@freebsd.org Mime-Version: 1.0 User-Agent: Mutt/1.4.2i X-MIMETrack: Itemize by SMTP Server on SYDSMTP02/AlcatelAustralia(Release 5.0.12 |February 13, 2003) at 15/03/2004 03:46:33 PM,|February 13, 2003) at 15/03/2004 03:46:34 PM, Serialize complete at 15/03/2004 03:46:34 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: ktrace output to NFS-mounted filesystem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 04:46:40 -0000 I just tried to ktrace a process where the ktrace.out was on an NFS filesystem (v3 TCP mount from a Tru64 4.0F server). The ktrace was _very_ slow and kdump couldn't read it - reporting kdump: bogus length 0xccd6af20 fairly early on. Running the same ktrace to a local filesystem reported no errors. Has anyone else noticed this? -- Peter Jeremy From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 22:11:14 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A06E216A4CE; Sun, 14 Mar 2004 22:11:14 -0800 (PST) Received: from prometheus.gangofone.com (wsip-24-234-159-245.lv.lv.cox.net [24.234.159.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAAA043D1D; Sun, 14 Mar 2004 22:11:13 -0800 (PST) (envelope-from dave@jetcafe.org) Received: from hokkshideh2.jetcafe.org (hokkshideh2.jetcafe.org [64.239.180.8])i2F6B08u006426; Sun, 14 Mar 2004 22:11:00 -0800 (PST) X-Hokkshideh-Envelope-To: ru@freebsd.org Received: from hokkshideh2.jetcafe.org (localhost [127.0.0.1]) i2F6B6uZ069323; Sun, 14 Mar 2004 22:11:07 -0800 (PST) Message-Id: <200403150611.i2F6B6uZ069323@hokkshideh2.jetcafe.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Ruslan Ermilov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 14 Mar 2004 22:11:06 -0800 From: Dave Hayes X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on prometheus.gangofone.com cc: Jarkko Santala cc: stable@freebsd.org Subject: Re: 4.8p16 buildworld fails with NO_OPENSSL X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 06:11:14 -0000 Ruslan Ermilov writes: > On Wed, Mar 03, 2004 at 02:22:13PM +0200, Jarkko Santala wrote: >> Just cvsupped the sources to 4.8p16 from 4.8 and tried to make buildworld >> with NO_OPENSSL defined in /etc/make.conf. Here's the result: ... > This has been fixed in RELENG_4 in src/secure/lib/Makefile,v 1.19.2.5. > You can pull up that revision manually, as these fixes won't go into > security branches. I'm using that version and it still appears not to work (modulo my naivete): # cd /usr/src/secure/usr.bin/telnet # make .... cc -O2 -pipe -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE -DENCRYPTION -DAUTHENTICATION -DIPSEC -DINET6 -I/usr/src/secure/usr.bin/telnet/../../../cry pto/telnet -I/usr/src/secure/usr.bin/telnet/../../../crypto/telnet/libtelnet/ -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -o telnet authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o utilities.o -ltermcap /usr/src/secure/usr.bin/telnet/../../lib/libte lnet/libtelnet.a -lmp -lcrypto -lcrypt -lipsec -lpam cc: /usr/src/secure/usr.bin/telnet/../../lib/libtelnet/libtelnet.a: No such file or directory *** Error code 1 Stop in /usr/src/secure/usr.bin/telnet. # cd /usr/src/usr.bin/telnet # make Warning: Object directory not changed from original /usr/src/usr.bin/telnet cc -O2 -pipe -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE -I/usr/src/usr.bin/telnet/../../lib -I/usr/src/usr.bin/telnet/../../lib/libteln et/ -DINET6 -DIPSEC -o telnet commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o utilities.o -ltermcap /usr/src/usr.bin/telnet/../../lib/lib telnet/libtelnet.a -lipsec cc: /usr/src/usr.bin/telnet/../../lib/libtelnet/libtelnet.a: No such file or directory *** Error code 1 Stop in /usr/src/usr.bin/telnet. It appears to be looking for libtelnet.a in both cases, which is not built if NO_OPENSSL is defined per src/secure/lib/Makefile,v 1.19.2.5. (and I am reading the Makefile right). Am I doing something wrong or is this a bug? ------ Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org >>> The opinions expressed above are entirely my own <<< One of the most common defenses against really learning something is to believe that one knows it already. From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 22:59:51 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 742A516A4CE for ; Sun, 14 Mar 2004 22:59:51 -0800 (PST) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6268743D45 for ; Sun, 14 Mar 2004 22:59:51 -0800 (PST) (envelope-from mbsd@pacbell.net) Received: from atlas (adsl-64-166-22-245.dsl.snfc21.pacbell.net [64.166.22.245])i2F6xogg015113; Sun, 14 Mar 2004 22:59:50 -0800 (PST) Date: Sun, 14 Mar 2004 22:59:50 -0800 (PST) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= X-X-Sender: mikko@atlas.home To: Joe Halpin In-Reply-To: <4054D78F.6080003@comcast.net> Message-ID: <20040314225559.B52379@atlas.home> References: <4054D78F.6080003@comcast.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@FreeBSD.org Subject: Re: 4.9-STABLE and m4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 06:59:51 -0000 On Sun, 14 Mar 2004, Joe Halpin wrote: > I'm working with the cURL project (http://curl.haxx.se), and I setup a > daily build on my 4.9-RELEASE machine. Things were going fine until I > upgraded to 4.9-STABLE. At that point the daily builds started failing. > > As far as I can tell the reason for that was that /usr/bin/m4 was > somehow different from the same version on the FSF web site. I > downloaded and built m4 from the FSF web site and installed it in > /usr/local/bin (which is at the beginning of my PATH) and then the build > started working again. > > Can anyone here confirm or deny my hypothesis? Any information would be > welcome as I'd like to understand what happened. If you are working on code that depends on GNU-isms in m4, you will indeed need GNU m4. Install the port (devel/m4), and look at how other ports handle this requirement, for example autoconfuse^Wautoconf. $.02, /Mikko From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 23:30:23 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0355C16A4CE for ; Sun, 14 Mar 2004 23:30:23 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26F0943D48 for ; Sun, 14 Mar 2004 23:30:22 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i2F7YWee009937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Mar 2004 09:34:34 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i2F7UKff043722; Mon, 15 Mar 2004 09:30:20 +0200 (EET) (envelope-from ru) Date: Mon, 15 Mar 2004 09:30:20 +0200 From: Ruslan Ermilov To: Dave Hayes Message-ID: <20040315073020.GB43514@ip.net.ua> References: <200403150611.i2F6B6uZ069323@hokkshideh2.jetcafe.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p4qYPpj5QlsIQJ0K" Content-Disposition: inline In-Reply-To: <200403150611.i2F6B6uZ069323@hokkshideh2.jetcafe.org> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Jarkko Santala cc: stable@FreeBSD.org Subject: Re: 4.8p16 buildworld fails with NO_OPENSSL X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 07:30:23 -0000 --p4qYPpj5QlsIQJ0K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 14, 2004 at 10:11:06PM -0800, Dave Hayes wrote: > Ruslan Ermilov writes: > > On Wed, Mar 03, 2004 at 02:22:13PM +0200, Jarkko Santala wrote: > >> Just cvsupped the sources to 4.8p16 from 4.8 and tried to make buildwo= rld > >> with NO_OPENSSL defined in /etc/make.conf. Here's the result: > ... > > This has been fixed in RELENG_4 in src/secure/lib/Makefile,v 1.19.2.5. > > You can pull up that revision manually, as these fixes won't go into > > security branches. >=20 > I'm using that version and it still appears not to work (modulo my > naivete): >=20 > # cd /usr/src/secure/usr.bin/telnet >=20 Why are you doing this? You have requested NO_OPENSSL, so no secure version of telnet(1) will be built. /usr/src/secure/usr.bin/Makefile won't descend into the "telnet" subdirectory if you specify NO_OPENSSL. > It appears to be looking for libtelnet.a in both cases, which is not > built if NO_OPENSSL is defined per src/secure/lib/Makefile,v > 1.19.2.5. (and I am reading the Makefile right). >=20 > Am I doing something wrong or is this a bug? >=20 Yes, you do something wrong. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --p4qYPpj5QlsIQJ0K Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAVVuMUkv4P6juNwoRAuqcAJ9nCOFSm7nsSh5KCeQcmkre3/u4mgCeN/1h cLnArQYzxPTzuegjjzA0gR4= =XYQ6 -----END PGP SIGNATURE----- --p4qYPpj5QlsIQJ0K-- From owner-freebsd-stable@FreeBSD.ORG Sun Mar 14 23:43:58 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADA8316A4CE; Sun, 14 Mar 2004 23:43:58 -0800 (PST) Received: from prometheus.gangofone.com (wsip-24-234-159-245.lv.lv.cox.net [24.234.159.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7868B43D2D; Sun, 14 Mar 2004 23:43:58 -0800 (PST) (envelope-from dave@jetcafe.org) Received: from hokkshideh2.jetcafe.org (hokkshideh2.jetcafe.org [64.239.180.8])i2F7hj8u007261; Sun, 14 Mar 2004 23:43:45 -0800 (PST) X-Hokkshideh-Envelope-To: ru@FreeBSD.org Received: from hokkshideh2.jetcafe.org (localhost [127.0.0.1]) i2F7hquZ071359; Sun, 14 Mar 2004 23:43:52 -0800 (PST) Message-Id: <200403150743.i2F7hquZ071359@hokkshideh2.jetcafe.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Ruslan Ermilov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 14 Mar 2004 23:43:52 -0800 From: Dave Hayes X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on prometheus.gangofone.com cc: Jarkko Santala cc: stable@FreeBSD.org Subject: Re: 4.8p16 buildworld fails with NO_OPENSSL X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 07:43:58 -0000 Ruslan Ermilov writes: > On Sun, Mar 14, 2004 at 10:11:06PM -0800, Dave Hayes wrote: >> Ruslan Ermilov writes: >> > On Wed, Mar 03, 2004 at 02:22:13PM +0200, Jarkko Santala wrote: >> >> Just cvsupped the sources to 4.8p16 from 4.8 and tried to make buildworld >> >> with NO_OPENSSL defined in /etc/make.conf. Here's the result: >> ... >> > This has been fixed in RELENG_4 in src/secure/lib/Makefile,v 1.19.2.5. >> > You can pull up that revision manually, as these fixes won't go into >> > security branches. >> >> I'm using that version and it still appears not to work (modulo my >> naivete): >> >> # cd /usr/src/secure/usr.bin/telnet >> > Why are you doing this? To show that both /usr/src/secure/usr.bin/telnet and /usr/src/usr.bin/telnet have the same failure. I really want the latter to compile and install, but it won't with NO_OPENSSL defined. > You have requested NO_OPENSSL, so no secure version of telnet(1) > will be built. /usr/src/secure/usr.bin/Makefile won't descend into > the "telnet" subdirectory if you specify NO_OPENSSL. Ok, but that doesn't explain why /usr/src/usr.bin/telnet is failing. ;) >> It appears to be looking for libtelnet.a in both cases, which is not >> built if NO_OPENSSL is defined per src/secure/lib/Makefile,v >> 1.19.2.5. (and I am reading the Makefile right). >> Am I doing something wrong or is this a bug? > Yes, you do something wrong. The question is: what? ------ Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org >>> The opinions expressed above are entirely my own <<< A person being delivered from the danger of a fierce lion does not object whether this service is performed by unknown or illustrious individuals. Why, therefore, do people seek knowledge from celebrities? From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 00:34:16 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA6C016A4CE for ; Mon, 15 Mar 2004 00:34:16 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2022E43D31 for ; Mon, 15 Mar 2004 00:34:16 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i2F8cQee010860 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Mar 2004 10:38:28 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i2F8YE5C044042; Mon, 15 Mar 2004 10:34:14 +0200 (EET) (envelope-from ru) Date: Mon, 15 Mar 2004 10:34:14 +0200 From: Ruslan Ermilov To: Dave Hayes Message-ID: <20040315083414.GB43949@ip.net.ua> References: <200403150743.i2F7hquZ071359@hokkshideh2.jetcafe.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Fba/0zbH8Xs+Fj9o" Content-Disposition: inline In-Reply-To: <200403150743.i2F7hquZ071359@hokkshideh2.jetcafe.org> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Jarkko Santala cc: stable@freebsd.org Subject: Re: 4.8p16 buildworld fails with NO_OPENSSL X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 08:34:17 -0000 --Fba/0zbH8Xs+Fj9o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 14, 2004 at 11:43:52PM -0800, Dave Hayes wrote: > Ruslan Ermilov writes: > > On Sun, Mar 14, 2004 at 10:11:06PM -0800, Dave Hayes wrote: > >> Ruslan Ermilov writes: > >> > On Wed, Mar 03, 2004 at 02:22:13PM +0200, Jarkko Santala wrote: > >> >> Just cvsupped the sources to 4.8p16 from 4.8 and tried to make buil= dworld > >> >> with NO_OPENSSL defined in /etc/make.conf. Here's the result: > >> ... > >> > This has been fixed in RELENG_4 in src/secure/lib/Makefile,v 1.19.2.= 5. > >> > You can pull up that revision manually, as these fixes won't go into > >> > security branches. > >> > >> I'm using that version and it still appears not to work (modulo my > >> naivete): > >>=20 > >> # cd /usr/src/secure/usr.bin/telnet > >>=20 > > Why are you doing this? =20 >=20 > To show that both /usr/src/secure/usr.bin/telnet and > /usr/src/usr.bin/telnet have the same failure. I really want the > latter to compile and install, but it won't with NO_OPENSSL defined. >=20 > > You have requested NO_OPENSSL, so no secure version of telnet(1) > > will be built. /usr/src/secure/usr.bin/Makefile won't descend into > > the "telnet" subdirectory if you specify NO_OPENSSL. >=20 > Ok, but that doesn't explain why /usr/src/usr.bin/telnet is > failing. ;) >=20 > >> It appears to be looking for libtelnet.a in both cases, which is not > >> built if NO_OPENSSL is defined per src/secure/lib/Makefile,v > >> 1.19.2.5. (and I am reading the Makefile right). > >> Am I doing something wrong or is this a bug? > > Yes, you do something wrong. >=20 > The question is: what? >=20 But in the above, you attempted to compile secure/usr.bin/telnet, not usr.bin/telnet. If you still see a breakage with the latter, come back to me. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAVWqGUkv4P6juNwoRAvx2AJ9Py3tpn/3PFo3TKlYhL9txoN9OmACggPUx caDg9h59vgBUb57StpCBJYE= =9KMk -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o-- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 02:03:51 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFE1216A4CE; Mon, 15 Mar 2004 02:03:51 -0800 (PST) Received: from shellma.zin.lublin.pl (shellma.zin.lublin.pl [212.182.126.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7623243D1D; Mon, 15 Mar 2004 02:03:51 -0800 (PST) (envelope-from pawmal-posting@freebsd.lublin.pl) Received: by shellma.zin.lublin.pl (Postfix, from userid 1018) id C9C055F103; Mon, 15 Mar 2004 11:05:24 +0100 (CET) Date: Mon, 15 Mar 2004 11:05:24 +0100 From: Pawel Malachowski To: Pawel Malachowski Message-ID: <20040315100524.GA80784@shellma.zin.lublin.pl> References: <20040303134001.GA63144@cat.robbins.dropbear.id.au> <200403080858.JAA18049@galaxy.hbg.de.ao-srv.com> <20040309033529.GA88800@cat.robbins.dropbear.id.au> <20040310181933.GA28452@shellma.zin.lublin.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040310181933.GA28452@shellma.zin.lublin.pl> User-Agent: Mutt/1.4.2i cc: stable@freebsd.org Subject: Re: Using read-only NULLFS leads to panic. gdb output included, e asy to reproduce. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 10:03:51 -0000 On Wed, Mar 10, 2004 at 07:19:33PM +0100, Pawel Malachowski wrote: > > Here's the patch against RELENG_4: > > http://people.freebsd.org/~tjr/nullfs-4.diff > > > > It works, but I'm not going to commit it until I've had time to > > check a few things first. > > Successfully tested on my 4.9-STABLE box, thanks. Well, I shoot myself in the foot. After 2 days, my 4.9-RELEASE machine caught o problem again. Not panic, new processess trying to access one of filesystems were stopping at `inode' state (for example >3k crons). System was also not able to shutdown properly. -- Pawe³ Ma³achowski From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 02:31:34 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC11F16A4CE for ; Mon, 15 Mar 2004 02:31:34 -0800 (PST) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12B8543D2D for ; Mon, 15 Mar 2004 02:31:34 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.222.84) by smtp01.syd.iprimus.net.au (7.0.024) id 402BA92700AA0B0E; Mon, 15 Mar 2004 21:31:03 +1100 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id 0577741C0; Mon, 15 Mar 2004 21:31:29 +1100 (EST) Date: Mon, 15 Mar 2004 21:31:29 +1100 From: Tim Robbins To: Pawel Malachowski Message-ID: <20040315103129.GA28318@cat.robbins.dropbear.id.au> References: <20040303134001.GA63144@cat.robbins.dropbear.id.au> <200403080858.JAA18049@galaxy.hbg.de.ao-srv.com> <20040309033529.GA88800@cat.robbins.dropbear.id.au> <20040310181933.GA28452@shellma.zin.lublin.pl> <20040315100524.GA80784@shellma.zin.lublin.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040315100524.GA80784@shellma.zin.lublin.pl> User-Agent: Mutt/1.4.1i cc: stable@freebsd.org Subject: Re: Using read-only NULLFS leads to panic. gdb output included, e asy to reproduce. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 10:31:35 -0000 On Mon, Mar 15, 2004 at 11:05:24AM +0100, Pawel Malachowski wrote: > On Wed, Mar 10, 2004 at 07:19:33PM +0100, Pawel Malachowski wrote: > > > > Here's the patch against RELENG_4: > > > http://people.freebsd.org/~tjr/nullfs-4.diff > > > > > > It works, but I'm not going to commit it until I've had time to > > > check a few things first. > > > > Successfully tested on my 4.9-STABLE box, thanks. > > Well, I shoot myself in the foot. > > After 2 days, my 4.9-RELEASE machine caught o problem again. > Not panic, new processess trying to access one of filesystems > were stopping at `inode' state (for example >3k crons). System > was also not able to shutdown properly. Next time this happens, break into ddb and save backtraces of a few processes stuck in the inode state with the "tr " command. If you don't have a serial console, just jot down the first few lines of each backtrace. Try to collect at least 2 different traces - most of them will be identical. If the bug you're running into is the one I think it is, reducing the value of kern.maxvnodes may make it easier to reproduce (and conversely, increasing the value will mask the bug somewhat.) Tim From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 02:36:25 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47E3D16A4CE; Mon, 15 Mar 2004 02:36:25 -0800 (PST) Received: from prometheus.gangofone.com (wsip-24-234-159-245.lv.lv.cox.net [24.234.159.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07C0343D1D; Mon, 15 Mar 2004 02:36:25 -0800 (PST) (envelope-from dave@jetcafe.org) Received: from hokkshideh2.jetcafe.org (hokkshideh2.jetcafe.org [64.239.180.8])i2FAaF8u008826; Mon, 15 Mar 2004 02:36:15 -0800 (PST) X-Hokkshideh-Envelope-To: ru@freebsd.org Received: from hokkshideh2.jetcafe.org (localhost [127.0.0.1]) i2FAaNuZ097037; Mon, 15 Mar 2004 02:36:23 -0800 (PST) Message-Id: <200403151036.i2FAaNuZ097037@hokkshideh2.jetcafe.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Ruslan Ermilov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Mar 2004 02:36:23 -0800 From: Dave Hayes X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on prometheus.gangofone.com cc: Jarkko Santala cc: stable@freebsd.org Subject: Re: 4.8p16 buildworld fails with NO_OPENSSL X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 10:36:25 -0000 Ruslan Ermilov writes: > But in the above, you attempted to compile secure/usr.bin/telnet, > not usr.bin/telnet. If you still see a breakage with the latter, > come back to me. Actually, if you check my original message, I did both. To be anally clear: I attempted a compile of usr.bin/telnet which was documented in my original message. I'll paste it again: # cd /usr/src/usr.bin/telnet # make Warning: Object directory not changed from original /usr/src/usr.bin/telnet cc -O2 -pipe -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE -I/usr/src/usr.bin/telnet/../../lib -I/usr/src/usr.bin/telnet/../../lib/libteln et/ -DINET6 -DIPSEC -o telnet commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o utilities.o -ltermcap /usr/src/usr.bin/telnet/../../lib/lib telnet/libtelnet.a -lipsec cc: /usr/src/usr.bin/telnet/../../lib/libtelnet/libtelnet.a: No such file or directory *** Error code 1 As an aside: are people not using "NO_OPENSSL=true"? I've seen more than a few bug incidents with this being defined. Is there some data I'm missing on this subject? ------ Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org >>> The opinions expressed above are entirely my own <<< The net poses a fundamental threat not only to the authority of the government, but to all authority, because it permits people to organize, think, and influence one another without any institutional supervision whatsoever. - John Seabrook "My First Flame" From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 02:50:35 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 529F616A4CE for ; Mon, 15 Mar 2004 02:50:35 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C807A43D4C for ; Mon, 15 Mar 2004 02:50:33 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i2FAseee013861 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Mar 2004 12:54:44 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i2FAoSPK044905; Mon, 15 Mar 2004 12:50:28 +0200 (EET) (envelope-from ru) Date: Mon, 15 Mar 2004 12:50:28 +0200 From: Ruslan Ermilov To: Dave Hayes Message-ID: <20040315105028.GB44718@ip.net.ua> References: <200403151036.i2FAaNuZ097037@hokkshideh2.jetcafe.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9zSXsLTf0vkW971A" Content-Disposition: inline In-Reply-To: <200403151036.i2FAaNuZ097037@hokkshideh2.jetcafe.org> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Jarkko Santala cc: stable@freebsd.org Subject: Re: 4.8p16 buildworld fails with NO_OPENSSL X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 10:50:35 -0000 --9zSXsLTf0vkW971A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 15, 2004 at 02:36:23AM -0800, Dave Hayes wrote: > Ruslan Ermilov writes: > > But in the above, you attempted to compile secure/usr.bin/telnet, > > not usr.bin/telnet. If you still see a breakage with the latter, > > come back to me. >=20 > Actually, if you check my original message, I did both. To be anally=20 > clear: I attempted a compile of usr.bin/telnet which was documented > in my original message. >=20 > I'll paste it again: >=20 > # cd /usr/src/usr.bin/telnet > # make > Warning: Object directory not changed from original /usr/src/usr.bin/teln= et > cc -O2 -pipe -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE =20 > -I/usr/src/usr.bin/telnet/../../lib -I/usr/src/usr.bin/telnet/../../lib/l= ibteln > et/ -DINET6 -DIPSEC -o telnet commands.o main.o network.o ring.o sys_= bsd.o=20 > telnet.o terminal.o utilities.o -ltermcap /usr/src/usr.bin/telnet/../../l= ib/lib > telnet/libtelnet.a -lipsec > cc: /usr/src/usr.bin/telnet/../../lib/libtelnet/libtelnet.a: No such file= or=20 > directory > *** Error code 1 >=20 > As an aside: are people not using "NO_OPENSSL=3Dtrue"? I've seen more > than a few bug incidents with this being defined. Is there some > data I'm missing on this subject?=20 >=20 Generally, yes. The mixture of crypto-related knobs and a number of different telnet's in RELENG_4 is so complex, so that handling each individual combination became a nightmare, so it was reengineered in 5.x -- we now have a single telnet entry point in the source tree, that handles all cases properly (well, it should). Building RELENG_4 (and RELENG_4_8) worlds with only NO_OPENSSL will not build the non-crypto version -- usr.bin/Makefile will not descend into it. If you don't need crypto, just define NOCRYPT and rebuild world (it also implies NO_OPENSSL). It will have some side effect of not building bdes(1), compared to only specifying NO_OPENSSL, but do you really need it? If not, replace NO_OPENSSL with NOCRYPT, and get on with life. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --9zSXsLTf0vkW971A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAVYp0Ukv4P6juNwoRApIOAJ4slIn6VQsdqkaiCNZLqqhw/ZrJYQCfTJ5C ctmMsPkvLBGxa+Ge0Sw8mRQ= =d4iY -----END PGP SIGNATURE----- --9zSXsLTf0vkW971A-- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 11:09:30 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53EB016A4CE for ; Mon, 15 Mar 2004 11:09:30 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DF6B43D48 for ; Mon, 15 Mar 2004 11:09:29 -0800 (PST) (envelope-from freebsd-stable@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B2xSq-00027E-00 for ; Mon, 15 Mar 2004 20:09:28 +0100 Received: from dsl-082-083-133-076.arcor-ip.net ([82.83.133.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Mar 2004 20:09:28 +0100 Received: from manfred.lotz by dsl-082-083-133-076.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Mar 2004 20:09:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Manfred Lotz Date: Mon, 15 Mar 2004 19:58:04 +0100 Lines: 37 Message-ID: References: <20040310184431.U82999@carver.gumbysoft.com> <20040311174814.31867102.torfinn.ingolfsen@broadpark.no> <20040313131344.78952b16.torfinn.ingolfsen@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl-082-083-133-076.arcor-ip.net User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Sender: news Subject: Re: unexpected softupdate inconsistency X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 19:09:30 -0000 On Sat, 13 Mar 2004 13:13:44 +0100, Torfinn Ingolfsen wrote: > On Fri, 12 Mar 2004 22:16:12 +0100 > Manfred Lotz wrote: > >> pciconf -lv shows: >> atapci0@pci0:2:5: class=0x010180 card=0x0a411019 chip=0x55131039 >> rev=0xd0 hdr=0x00 >> vendor = 'Silicon Integrated Systems (SiS)' >> device = 'SiS5513 EIDE Controller (A,B step)' >> class = mass storage >> subclass = ATA > > It seems to be the same controller I have (I totally forgot about > pciconf in my last posting): > > atapci0@pci0:2:5: class=0x01018a card=0x55131039 chip=0x55131039 > rev=0x00 hdr=0x00 > vendor = 'Silicon Integrated Systems (SiS)' > device = 'SiS5513 EIDE Controller (A,B step)' > class = mass storage > subclass = ATA > >> and dmesg | grep atapci shows: >> atapci0: port 0x400 >> 0-0x400f at device 2.5 on pci0 > > Hmm, do you run with the (broken) patch I reffered to in my last > posting, or without? I didn't try the patch because I didn't believe it would help prevent the kind of error I had. -- Manfred From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 12:38:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29E2E16A4E1 for ; Mon, 15 Mar 2004 12:38:20 -0800 (PST) Received: from mail.communityconnect.com (mail.communityconnect.com [209.10.169.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0211B43D3F for ; Mon, 15 Mar 2004 12:38:20 -0800 (PST) (envelope-from marius@mail.communityconnect.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.communityconnect.com (Postfix) with ESMTP id 2D7F5D6CA2 for ; Mon, 15 Mar 2004 15:38:18 -0500 (EST) Received: from mail.communityconnect.com ([127.0.0.1]) by localhost (cc18 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27981-02 for ; Mon, 15 Mar 2004 15:38:15 -0500 (EST) Received: from Daath.hq.communityconnect.com (cc240-0.web.gbx.ccops.us [10.30.0.240]) by mail.communityconnect.com (Postfix) with ESMTP id 3A3B3D6CB0 for ; Mon, 15 Mar 2004 15:38:15 -0500 (EST) Date: Mon, 15 Mar 2004 15:38:10 -0500 (EST) From: "Marius M. Rex MARIUS" X-X-Sender: marius@Daath.hq.communityconnect.com To: freebsd-stable@freebsd.org Message-ID: <20040315152550.M213@Daath.hq.communityconnect.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at mail.communityconnect.com Subject: HyperThreading CPU's X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 20:38:20 -0000 In my fairly recent version of the UPDATING file for 4.9-stable it states that I have to use sysctl to modify the value of 'machdep.hlt_logical_cpus' to '0' to get all of my logical CPU's enabled under hyperthreading. Is this change still necessary? sysctl spits that oid out as unknown when I try to look at it. I do have similar oids but nothing that matches that value precisely: machdep.cpu_idle_hlt: 1 machdep.smp_cpus: 2 machdep.hlt_cpus: 0 Basically I have one CPU that is recognized as 2 CPUs by the kernel. I know that works as it appears in my dmesg. I just want to know if there is anything else I need to do to make sure both logical CPUs are available for use. -Marius M. Rex System Admin Community Connect Inc. marius@mail.communityconnect.com From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 12:48:31 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F20616A4CE for ; Mon, 15 Mar 2004 12:48:31 -0800 (PST) Received: from therub.org (pantheon-ws-13.direct.hickorytech.net [216.114.200.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F9B443D1F for ; Mon, 15 Mar 2004 12:48:31 -0800 (PST) (envelope-from drue@therub.org) Received: from drue by therub.org with local (Exim 3.35 #1 (Debian)) id 1B2z0e-0000MW-00; Mon, 15 Mar 2004 14:48:28 -0600 Date: Mon, 15 Mar 2004 14:48:28 -0600 To: "Marius M. Rex MARIUS" Message-ID: <20040315204827.GQ30555@therub.org> References: <20040315152550.M213@Daath.hq.communityconnect.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040315152550.M213@Daath.hq.communityconnect.com> User-Agent: Mutt/1.3.28i From: Dan Rue cc: freebsd-stable@freebsd.org Subject: Re: HyperThreading CPU's X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 20:48:31 -0000 HyperThreading was enabled by default as of 4.9-release from /usr/src/UPDATING: 20031028: FreeBSD 4.9-RELEASE. 20031022: Support for HyperThread logical CPUs has now been enabled by default. As a result, the HTT kernel option no longer exists. Instead, the logical CPUs are always started so that they can handle interrupts. However, the extra logical CPUs are prevented from executing user processes by default. To enable the logical CPUs, change the value of the machdep.hlt_logical_cpus from 1 to 0. This value can also be set from the loader as a tunable of the same name. Dan On Mon, Mar 15, 2004 at 03:38:10PM -0500, Marius M. Rex MARIUS wrote: > > In my fairly recent version of the UPDATING file for 4.9-stable it states > that I have to use sysctl to modify the value of 'machdep.hlt_logical_cpus' to > '0' to get all of my logical CPU's enabled under hyperthreading. > > Is this change still necessary? sysctl spits that oid out as unknown > when I try to look at it. I do have similar oids but nothing that matches that > value precisely: > > machdep.cpu_idle_hlt: 1 > machdep.smp_cpus: 2 > machdep.hlt_cpus: 0 > > Basically I have one CPU that is recognized as 2 CPUs by the kernel. I > know that works as it appears in my dmesg. I just want to know if there > is anything else I need to do to make sure both logical CPUs are available > for use. > > > -Marius M. Rex > System Admin > Community Connect Inc. > marius@mail.communityconnect.com > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 12:58:32 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3781A16A4CF for ; Mon, 15 Mar 2004 12:58:32 -0800 (PST) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7D3643D45 for ; Mon, 15 Mar 2004 12:58:31 -0800 (PST) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id D6D19217E9 for ; Mon, 15 Mar 2004 15:46:21 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: <20040315152550.M213@Daath.hq.communityconnect.com> References: <20040315152550.M213@Daath.hq.communityconnect.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Vivek Khera Date: Mon, 15 Mar 2004 15:46:22 -0500 To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.612) Subject: Re: HyperThreading CPU's X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 20:58:32 -0000 On Mar 15, 2004, at 3:38 PM, Marius M. Rex MARIUS wrote: > In my fairly recent version of the UPDATING file for 4.9-stable it > states > that I have to use sysctl to modify the value of > 'machdep.hlt_logical_cpus' to > '0' to get all of my logical CPU's enabled under hyperthreading. > > Is this change still necessary? sysctl spits that oid out as unknown > when I try to look at it. I do have similar oids but nothing that > matches that > value precisely: The OID only shows up if your CPU reports the "HTT" feature. Look at /var/run/dmesg.boot and look for the line "Features=" under the CPU information right near the top of the kernel boot messages. One of the features should be "HTT". If you disable hyperthreading in your bios, then it will not be there, and the OID will not be there either. later in the kernel boot messages it should show the APIC configuration/reprogramming and indicate multiple processors are present. I'm not sure if you need to enable multiple CPU support for HTT, since both of my HTT machines have two physical processors in them. I have never tried it on a single cpu box. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-301-869-4449 x806 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 13:32:13 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 982ED16A4CE for ; Mon, 15 Mar 2004 13:32:13 -0800 (PST) Received: from mail.communityconnect.com (mail.communityconnect.com [209.10.169.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FBA243D2D for ; Mon, 15 Mar 2004 13:32:13 -0800 (PST) (envelope-from marius@mail.communityconnect.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.communityconnect.com (Postfix) with ESMTP id 97A93D6C9B; Mon, 15 Mar 2004 16:32:12 -0500 (EST) Received: from mail.communityconnect.com ([127.0.0.1]) by localhost (cc18 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30307-05; Mon, 15 Mar 2004 16:32:09 -0500 (EST) Received: from Daath.hq.communityconnect.com (cc240-0.web.gbx.ccops.us [10.30.0.240]) by mail.communityconnect.com (Postfix) with ESMTP id 9CAB9D6CAD; Mon, 15 Mar 2004 16:32:09 -0500 (EST) Date: Mon, 15 Mar 2004 16:32:04 -0500 (EST) From: "Marius M. Rex MARIUS" X-X-Sender: marius@Daath.hq.communityconnect.com To: Vivek Khera In-Reply-To: Message-ID: <20040315162538.W213@Daath.hq.communityconnect.com> References: <20040315152550.M213@Daath.hq.communityconnect.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at mail.communityconnect.com cc: freebsd-stable@freebsd.org Subject: Re: HyperThreading CPU's X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 21:32:13 -0000 As I tried to state earlier, I see both logical CPU's in my bootup messages. I likewise see the HTT feature listed in the output. But I do NOT see the sysctl variable, it is still an unknown oid. I believe both CPUs are enabled, but since I cannot find the sysctl oid that is mentioned in UPDATING I wanted to double check. *snip* CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2595.58-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1073676288 (1048512K bytes) avail memory = 1041383424 (1016976K bytes) Changing APIC ID for IO APIC #0 from 0 to 2 on chip Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178020, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc038d000. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled *snip* Thanks. -Marius M. Rex System Admin. Community Connect Inc. marius@mail.communityconnect.com On Mon, 15 Mar 2004, Vivek Khera wrote: > > On Mar 15, 2004, at 3:38 PM, Marius M. Rex MARIUS wrote: > > > In my fairly recent version of the UPDATING file for 4.9-stable it > > states > > that I have to use sysctl to modify the value of > > 'machdep.hlt_logical_cpus' to > > '0' to get all of my logical CPU's enabled under hyperthreading. > > > > Is this change still necessary? sysctl spits that oid out as unknown > > when I try to look at it. I do have similar oids but nothing that > > matches that > > value precisely: > > The OID only shows up if your CPU reports the "HTT" feature. Look at > /var/run/dmesg.boot and look for the line "Features=" under the CPU > information right near the top of the kernel boot messages. One of the > features should be "HTT". > > If you disable hyperthreading in your bios, then it will not be there, > and the OID will not be there either. later in the kernel boot > messages it should show the APIC configuration/reprogramming and > indicate multiple processors are present. I'm not sure if you need to > enable multiple CPU support for HTT, since both of my HTT machines have > two physical processors in them. I have never tried it on a single cpu > box. > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Vivek Khera, Ph.D. Khera Communications, Inc. > Internet: khera@kciLink.com Rockville, MD +1-301-869-4449 x806 > AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 13:47:08 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B674216A4CE for ; Mon, 15 Mar 2004 13:47:08 -0800 (PST) Received: from notes.hallinto.turkuamk.fi (notes.hallinto.turkuamk.fi [195.148.215.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79BF643D39 for ; Mon, 15 Mar 2004 13:47:08 -0800 (PST) (envelope-from yurtesen@ispro.net.tr) Received: from ispro.net.tr ([195.148.208.31]) by notes.hallinto.turkuamk.fi (Lotus Domino Release 5.0.10) with ESMTP id 2004031523483249:62742 ; Mon, 15 Mar 2004 23:48:32 +0200 Message-ID: <40562464.1000102@ispro.net.tr> Date: Mon, 15 Mar 2004 23:47:16 +0200 From: Evren Yurtesen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030808 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Marius M. Rex MARIUS" References: <20040315152550.M213@Daath.hq.communityconnect.com> In-Reply-To: <20040315152550.M213@Daath.hq.communityconnect.com> X-MIMETrack: Itemize by SMTP Server on notes.hallinto.turkuamk.fi/TAMK(Release 5.0.10 |March 22, 2002) at 15.03.2004 23:48:32,|March 22, 2002) at 15.03.2004 23:48:34, Serialize complete at 15.03.2004 23:48:34 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed cc: freebsd-stable@freebsd.org Subject: Re: HyperThreading CPU's X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 21:47:08 -0000 if both cpu's are enabled, you will see a C column in top command. It comes to me between STATE and TIME, Also you can see which process is using which cpu etc. PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND Marius M. Rex MARIUS wrote: > In my fairly recent version of the UPDATING file for 4.9-stable it states > that I have to use sysctl to modify the value of 'machdep.hlt_logical_cpus' to > '0' to get all of my logical CPU's enabled under hyperthreading. > > Is this change still necessary? sysctl spits that oid out as unknown > when I try to look at it. I do have similar oids but nothing that matches that > value precisely: > > machdep.cpu_idle_hlt: 1 > machdep.smp_cpus: 2 > machdep.hlt_cpus: 0 > > Basically I have one CPU that is recognized as 2 CPUs by the kernel. I > know that works as it appears in my dmesg. I just want to know if there > is anything else I need to do to make sure both logical CPUs are available > for use. > > > -Marius M. Rex > System Admin > Community Connect Inc. > marius@mail.communityconnect.com > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 14:29:41 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06C2A16A4CE for ; Mon, 15 Mar 2004 14:29:41 -0800 (PST) Received: from mail.communityconnect.com (mail.communityconnect.com [209.10.169.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7D9F43D2F for ; Mon, 15 Mar 2004 14:29:40 -0800 (PST) (envelope-from marius@mail.communityconnect.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.communityconnect.com (Postfix) with ESMTP id 0F893D6CA9; Mon, 15 Mar 2004 17:29:40 -0500 (EST) Received: from mail.communityconnect.com ([127.0.0.1]) by localhost (cc18 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02134-14; Mon, 15 Mar 2004 17:29:37 -0500 (EST) Received: from Daath.hq.communityconnect.com (cc240-0.web.gbx.ccops.us [10.30.0.240]) by mail.communityconnect.com (Postfix) with ESMTP id 3B52BD6CA6; Mon, 15 Mar 2004 17:29:37 -0500 (EST) Date: Mon, 15 Mar 2004 17:29:31 -0500 (EST) From: "Marius M. Rex MARIUS" X-X-Sender: marius@Daath.hq.communityconnect.com To: Evren Yurtesen In-Reply-To: <40562464.1000102@ispro.net.tr> Message-ID: <20040315172547.D213@Daath.hq.communityconnect.com> References: <20040315152550.M213@Daath.hq.communityconnect.com> <40562464.1000102@ispro.net.tr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at mail.communityconnect.com cc: freebsd-stable@freebsd.org Subject: Re: HyperThreading CPU's X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 22:29:41 -0000 Ah, thank you. I can see the 'C' column in the top command, as well as the fact that certain processes are running on different CPUs. I looks like the entire setup works right out of the box for me, as no systctl variable tuning was necessary. I think that settles the matter. Thank you all for you help. -Marius Rex System Admin Community Connect Inc. marius@mail.communityconnect.com On Mon, 15 Mar 2004, Evren Yurtesen wrote: > if both cpu's are enabled, you will see a C column in top command. > It comes to me between STATE and TIME, > Also you can see which process is using which cpu etc. > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND > > Marius M. Rex MARIUS wrote: > > > In my fairly recent version of the UPDATING file for 4.9-stable it states > > that I have to use sysctl to modify the value of 'machdep.hlt_logical_cpus' to > > '0' to get all of my logical CPU's enabled under hyperthreading. > > > > Is this change still necessary? sysctl spits that oid out as unknown > > when I try to look at it. I do have similar oids but nothing that matches that > > value precisely: > > > > machdep.cpu_idle_hlt: 1 > > machdep.smp_cpus: 2 > > machdep.hlt_cpus: 0 > > > > Basically I have one CPU that is recognized as 2 CPUs by the kernel. I > > know that works as it appears in my dmesg. I just want to know if there > > is anything else I need to do to make sure both logical CPUs are available > > for use. > > > > > > -Marius M. Rex > > System Admin > > Community Connect Inc. > > marius@mail.communityconnect.com > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 14:31:04 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92DFC16A4CE for ; Mon, 15 Mar 2004 14:31:04 -0800 (PST) Received: from lichen.forest.homeunix.net (user238.net689.va.sprint-hsd.net [65.41.110.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBB1443D45 for ; Mon, 15 Mar 2004 14:31:03 -0800 (PST) (envelope-from adwood@earthlink.net) Received: from lichen.forest.homeunix.net (Texaco@localhost [127.0.0.1]) i2FMV3Hv035483 for ; Mon, 15 Mar 2004 17:31:03 -0500 (EST) (envelope-from adwood@earthlink.net) Received: (from awood@localhost)i2FMV2i2035482 for freebsd-stable@freebsd.org; Mon, 15 Mar 2004 17:31:02 -0500 (EST) (envelope-from adwood@earthlink.net) X-Authentication-Warning: lichen.forest.homeunix.net: awood set sender to adwood@earthlink.net using -f Date: Mon, 15 Mar 2004 17:31:02 -0500 From: Anthony Wood To: freebsd-stable@freebsd.org Message-ID: <20040315223102.GA35428@lichen.forest.homeunix.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: HEADSUP!!! USB MFC committed.. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 22:31:04 -0000 On Sun, Feb 29, 2004 at 05:01:28PM -0800, Julian Elischer wrote: > The USB code in RELENG_4 has been updated to match that in -current. > Please test any USB devices that are critical to you BEFORE we release > 4.10 :-) Julian, My Nikon Coolpix 4500 continues not to work on my laptop in 4.9--although it works just fine on my desktop, running the same version of FreeBSD. The difference is the controller: usb0: on uhci0 [desktop, works] usb0: on ohci0 [laptop, doesn't work] Connecting the device shows: umass0: NIKON Nikon Digital Camera E4500, rev 1.10/1.00, addr 2 umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED Other relevant info: # uname -a FreeBSD samara 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Mar 4 18:31:28 EST 2004 root@samara:/usr/obj/usr/src/sys/SAMARA i386 # usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), NEC(0x0000), rev 1.00 port 1 addr 2: full speed, self powered, config 1, product 0x010a(0x010a), Nikon(0x04b0), rev 1.00 port 2 powered # dmesg Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.9-STABLE #0: Thu Mar 4 18:31:28 EST 2004 root@samara.forest.homeunix.net:/usr/obj/usr/src/sys/SAMARA Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 266615625 Hz CPU: Pentium/P55C (quarter-micron) (266.62-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x582 Stepping = 2 Features=0x8001bf real memory = 100728832 (98368K bytes) config> en pcic1 config> po pcic1 0x3e2 config> ir pcic1 0 config> iom pcic1 0xd4000 config> f pcic1 0 config> q avail memory = 93884416 (91684K bytes) Preloaded elf kernel "kernel" at 0xc03ef000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03ef09c. Intel Pentium detected, installing workaround for F00F bug VESA: v2.0, 1984k memory, flags:0x0, mode table:0xc03735c2 (1000022) VESA: MagicGraph 128XD 42K SVGA BIOS md0: Malloc disk Using $PIR table, 4 entries at 0xc00f8cb0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: at 4.0 irq 11 ohci0: mem 0xffaff000-0xffafffff irq 11 at device 11.0 on pci0 usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: port 0xffc0-0xffdf irq 11 at device 17.0 on pci0 isa0: on motherboard orm0: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [] #Option "SWcursor" # [] #Option "Dac6Bit" # [] #Option "Dac8Bit" # [] #Option "ForcePCIMode" # [] #Option "BusType" # [] #Option "CPPIOMode" # [] #Option "CPusecTimeout" # #Option "AGPMode" # #Option "AGPFastWrite" # [] #Option "AGPSize" # #Option "GARTSize" # #Option "RingSize" # #Option "BufferSize" # #Option "EnableDepthMoves" # [] #Option "EnablePageFlip" # [] #Option "NoBackBuffer" # [] #Option "PanelOff" # [] #Option "DDCMode" # [] #Option "MonitorLayout" # [] #Option "IgnoreEDID" # [] #Option "OverlayOnCRTC2" # [] #Option "CloneMode" # [] #Option "CloneHSync" # [] #Option "CloneVRefresh" # [] #Option "UseFBDev" # [] #Option "VideoKey" # #Option "DisplayPriority" # [] #Option "PanelSize" # [] #Option "ForceMinDotClock" # Identifier "Card0" Driver "ati" VendorName "ATI Technologies Inc" BoardName "Unknown Board" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 1 EndSubSection SubSection "Display" Depth 4 EndSubSection SubSection "Display" Depth 8 EndSubSection SubSection "Display" Depth 15 EndSubSection SubSection "Display" Depth 16 EndSubSection SubSection "Display" Depth 24 Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "960x720" "928x696" "896x672" "832x624" "800x600" "700x525" "640x512" "640x480" "720x400" "640x400" "576x432" "640x350" "512x384" "416x312" "400x300" "320x240" "360x200" "320x200" "320x175" EndSubSection EndSection --MGYHOYXEY6WxJCY8-- --hHWLQfXTYDoKhP50 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAW1B1Y3r/tLQmfWcRAmxgAKCW+sPnKZ//1MW8EKjfCiG1P7C4vACeJXbR +lepXe+FVVny8cVtr8XaDMk= =A9Q0 -----END PGP SIGNATURE----- --hHWLQfXTYDoKhP50-- From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 14:22:47 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FA4016A4CE for ; Fri, 19 Mar 2004 14:22:47 -0800 (PST) Received: from lichen.forest.homeunix.net (user238.net689.va.sprint-hsd.net [65.41.110.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1499D43D1D for ; Fri, 19 Mar 2004 14:22:47 -0800 (PST) (envelope-from adwood@earthlink.net) Received: from lichen.forest.homeunix.net (Texaco@localhost [127.0.0.1]) i2JMMcAd011589; Fri, 19 Mar 2004 17:22:38 -0500 (EST) (envelope-from adwood@earthlink.net) Received: (from awood@localhost)i2JMMb73011588; Fri, 19 Mar 2004 17:22:37 -0500 (EST) (envelope-from adwood@earthlink.net) X-Authentication-Warning: lichen.forest.homeunix.net: awood set sender to adwood@earthlink.net using -f Date: Fri, 19 Mar 2004 17:22:37 -0500 From: Anthony Wood To: Julian Elischer Message-ID: <20040319222237.GA90529@lichen.forest.homeunix.net> References: <20040318191359.GA26526@lichen.forest.homeunix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-stable@freebsd.org Subject: Re: HEADSUP!!! USB MFC committed.. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 22:22:47 -0000 On Thu, Mar 18, 2004 at 01:19:29PM -0800, Julian Elischer wrote: > > > On Mon, Mar 15, 2004 at 05:31:02PM -0500, Anthony Wood wrote: > > > > > > My Nikon Coolpix 4500 continues not to work on my laptop in 4.9--although > > > it works just fine on my desktop, running the same version of FreeBSD. > > > The difference is the controller: > > > usb0: on uhci0 [desktop, works] > > > usb0: on ohci0 [laptop, doesn't work] > > So what you are saying is that it is possibly a problem with the ohci > driver.. > > did id work before the MFC? It could be the ohci driver, or it in combination with the NEC controller. It did not work before the MFC. If there is any other data that would be useful, let me know, and I can also build a new kernel with USB_DEBUG. Anthony -- #include From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 16:04:36 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C47D916A4CE for ; Fri, 19 Mar 2004 16:04:36 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B92A243D31 for ; Fri, 19 Mar 2004 16:04:36 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id AAAC372DD2; Fri, 19 Mar 2004 16:04:36 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id A5F6172DCB; Fri, 19 Mar 2004 16:04:36 -0800 (PST) Date: Fri, 19 Mar 2004 16:04:36 -0800 (PST) From: Doug White To: Jan Pechanec In-Reply-To: <20040318191643.U52941@pechy.hide.idc.cz> Message-ID: <20040319160406.Y72884@carver.gumbysoft.com> References: <200403170900.i2H90Rb06558@alogis.com> <20040317103133.D52341@carver.gumbysoft.com> <20040318101437.N62520@carver.gumbysoft.com> <20040318191643.U52941@pechy.hide.idc.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: stable@freebsd.org Subject: Re: umass panic (after detaching/attaching card-reader 3 times) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 00:04:36 -0000 On Thu, 18 Mar 2004, Jan Pechanec wrote: > >Which drives would those be? :) I'd like to try to find one locally. > > 3.5'': > > Mar 17 10:07:48 bb kernel: umass0: Prolific Technology Inc. ATAPI-6 > Bridge Controller, rev 2.00/0.01, addr 2 > > 2.5'': > > Mar 16 20:06:24 bb kernel: umass0: In-System Design USB Storage > Adapter, rev 2.00/11.10, addr 2 OK, these are the bridge chipsets, but thats enough for me to find something similar in the US. Thanks! -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 16:10:36 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D39F16A4CE; Fri, 19 Mar 2004 16:10:36 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ADE543D2D; Fri, 19 Mar 2004 16:10:36 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 5CFDA72DCB; Fri, 19 Mar 2004 16:10:36 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 557BF72DB5; Fri, 19 Mar 2004 16:10:36 -0800 (PST) Date: Fri, 19 Mar 2004 16:10:36 -0800 (PST) From: Doug White To: Eugene Grosbein In-Reply-To: <405A55B1.2565B7AF@kuzbass.ru> Message-ID: <20040319160620.D72884@carver.gumbysoft.com> References: <40591EC9.B797F608@kuzbass.ru> <20040318101846.E62520@carver.gumbysoft.com> <405A55B1.2565B7AF@kuzbass.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: stable@freebsd.org cc: bug-followup@freebsd.org cc: sos@freebsd.org Subject: Re: kern/60526: Post-PAE stable SMP machine freezes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 00:10:36 -0000 On Fri, 19 Mar 2004, Eugene Grosbein wrote: > Doug White wrote: > > > I HIGHLY recommend using a DIFFERENT controller for disks. The ROSB4 is OK > > for CDROMs and the like, but use a different controller for the system > > drive. Promise controllers work great. :) > > Hmm, I use SMP motherboard Intel STL2 with ServerWorks ServerSet III LE > and integrated ROSB4: > http://support.intel.com/support/motherboards/server/STL2/ > I can't found any notes here about the controller. > > Could you please point me to any kind of "official" announcement > from Intel, chipset or controller producer? Someone referred me to a EETimes article, and I have hundreds of Tyan S2510/S2518 boards I can reproduce the problem on under multiple operating systems. Considering the ROSB4 is only ATA33, you probably want something faster. :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 16:50:21 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A34016A4CE for ; Fri, 19 Mar 2004 16:50:21 -0800 (PST) Received: from amsfep12-int.chello.nl (amsfep12-int.chello.nl [213.46.243.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72A5743D41 for ; Fri, 19 Mar 2004 16:50:20 -0800 (PST) (envelope-from girgen@pingpong.net) Received: from palle.girgensohn.se ([213.89.137.38]) by amsfep12-int.chello.nlESMTP <20040320005018.LWHO8729.amsfep12-int.chello.nl@palle.girgensohn.se>; Sat, 20 Mar 2004 01:50:18 +0100 Received: from localhost (localhost [127.0.0.1]) by palle.girgensohn.se (8.12.11/8.12.11) with ESMTP id i2K0oHS8020720; Sat, 20 Mar 2004 01:50:17 +0100 (CET) (envelope-from girgen@pingpong.net) Date: Sat, 20 Mar 2004 01:50:17 +0100 From: Palle Girgensohn To: Sergey Goryachev , freebsd-stable@freebsd.org Message-ID: <5400000.1079743817@palle.girgensohn.se> In-Reply-To: <022b01c40d9f$98c70f00$1300a8c0@rama.menatepspb.com> References: <022b01c40d9f$98c70f00$1300a8c0@rama.menatepspb.com> X-Mailer: Mulberry/3.1.0 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: buildworld failed on 4.9-STABLE (CVSup'ed yesterday) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 00:50:21 -0000 It seems like there's a permission denied error. Perhaps it tries writing to /usr/src, which would be a bug. Is your source tree read-only? /Palle --On fredag, mars 19, 2004 13.47.38 +0300 Sergey Goryachev wrote: ... > ./gencheck > tree-check.h > ./gencheck: permission denied > *** Error code 126 From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 18:36:27 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC3DD16A4CE for ; Fri, 19 Mar 2004 18:36:27 -0800 (PST) Received: from eden.barryp.org (host-150-32-220-24.midco.net [24.220.32.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FCA43D1D for ; Fri, 19 Mar 2004 18:36:27 -0800 (PST) (envelope-from bp@barryp.org) Received: from [10.66.0.248] (helo=barryp.org) by eden.barryp.org with asmtp (Exim 4.20) id 1B4WLX-000N5a-5B; Fri, 19 Mar 2004 20:36:23 -0600 Message-ID: <405BADFC.2020704@barryp.org> Date: Fri, 19 Mar 2004 20:35:40 -0600 From: Barry Pederson User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stijn Hoop , Jamie Bowden , stable@freebsd.org References: <7670000.1079480581@palle.girgensohn.se> <13770000.1079537744@rambutan.pingpong.net> <40591A47.1C6617C7@kuzbass.ru> <33830000.1079712277@durian.pingpong.net> <20040319163201.GA16433@svzserv.kemerovo.su> <405B2D7A.5050309@barryp.org> <20040319195637.GA93135@pcwin002.win.tue.nl> In-Reply-To: <20040319195637.GA93135@pcwin002.win.tue.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on eden.barryp.org X-Spam-Status: No, hits=-4.9 required=4.5 tests=BAYES_00 autolearn=ham version=2.61 Subject: Re: ATI Radeon 9600 SE & OpenGL? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 02:36:28 -0000 Stijn Hoop wrote: >>So does the 3D acceleration actually work in your setup? > > It does in mine: > > agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 > > later after starting X: > > drm0: port 0xd800-0xd8ff mem 0xdf000000-0xdf00ffff,0xf0000000-0xf7ffffff irq 11 at device 0.0 on pci1 > > And glxgears gets me an acceptable framerate. Unfortunately I'm not at the > console or I'd show you the numbers. > > I just put this card in the machine last week and I had to upgrade to > XFree86-4-Server-snap port but other than that I didn't do anything fancy > iirc. > > XF86Config attached fwiw. > > HTH, > > --Stijn Thanks, having a known-working configuration to sure helps, but after taking your config and just reducing the "Modes" list in the "Screen" section to something my monitor can handle - I still get the same result, a hard hang with a black screen. Jamie Bowden wrote: >>I end up just pulling the power cord and then letting it >>reboot and go through a fsck. > > > Instead, hold the power button down for ~15 seconds. Much less > trauma on the hardware than pulling the plug. Thanks, that's good to know - ended up giving that a try too :) Barry From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 20:15:06 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C26216A4CE for ; Fri, 19 Mar 2004 20:15:06 -0800 (PST) Received: from CRWdog.demon.co.uk (c-24-19-185-75.client.comcast.net [24.19.185.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5734443D31 for ; Fri, 19 Mar 2004 20:15:06 -0800 (PST) (envelope-from spadger@best.com) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id CD96C3F5 for ; Fri, 19 Mar 2004 20:15:05 -0800 (PST) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_357966738P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 19 Mar 2004 20:15:05 -0800 From: Andy Sparrow Message-Id: <20040320041505.CD96C3F5@CRWdog.demon.co.uk> Subject: atacontrol detach freezes -STABLE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 04:15:06 -0000 --==_Exmh_357966738P Content-Type: text/plain; charset=us-ascii Hi, For over a year now, I've been hot-swapping devices from the modular bay in my Omnibook by ensuring that any filesystem is umounted first (bad things happen if you forget this, duh!), doing an 'atacontrol detach 1', plugging in the new device and re-attaching the ATA channel. It's been working flawlessly, (and a very useful facility it is too). I recently updated to -STABLE from Mar 12, and this no longer seems to work 100%. I sometimes get away with detaching the CD-ROM, but the whole system is very likely to lock hard (with or without the drive LED on solid) either immediately or within 5-10 seconds after popping the modular device out. Detaching the secondary HDD is very much less likely to work, I think it's worked once or twice for about 15-20 failures. I /think/ I can increase my chances of getting away with it by waiting for a couple of minutes before ejecting - but this never used to be an issue. Has anything changed recently that might have an impact on this? TIA, AS --==_Exmh_357966738P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) Comment: Exmh version 2.6.3 04/04/2003 iD8DBQFAW8VJPHh895bDXeQRAhTnAKCxbjHEz8J0oQuDN1cqCZEYIHx3qACfcNtD cCUOi5j3j1IAwxjaWlehehc= =AAWX -----END PGP SIGNATURE----- --==_Exmh_357966738P-- From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 20:53:55 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B499116A4CE for ; Fri, 19 Mar 2004 20:53:55 -0800 (PST) Received: from crux.i-cable.com (crux.i-cable.com [203.83.110.33]) by mx1.FreeBSD.org (Postfix) with SMTP id 9942E43D31 for ; Fri, 19 Mar 2004 20:53:54 -0800 (PST) (envelope-from hmchan@alumni.cuhk.edu.hk) Received: (qmail 26655 invoked by uid 107); 20 Mar 2004 04:53:52 -0000 Received: from cm218-252-177-196.hkcable.com.hk (218.252.177.196) by 0 with SMTP; 20 Mar 2004 04:53:52 -0000 Date: Sat, 20 Mar 2004 12:53:51 +0800 (HKT) From: Spencer Chan X-X-Sender: spencer@amd To: "stable@freebsd.org" In-Reply-To: <405BADFC.2020704@barryp.org> Message-ID: <20040320124834.E11836@amd> References: <7670000.1079480581@palle.girgensohn.se> <13770000.1079537744@rambutan.pingpong.net> <33830000.1079712277@durian.pingpong.net> <405B2D7A.5050309@barryp.org><405BADFC.2020704@barryp.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: ATI Radeon 9600 SE & OpenGL? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hmchan@alumni.cuhk.edu.hk List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 04:53:55 -0000 Just to add some data point, i have ~#pciconf -l -v|egrep agp\|drm agp0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x30991106 rev=0x00 hdr=0x00 drm0@pci1:0:0: class=0x030000 card=0x017018bc chip=0x59641002 rev=0x01 hdr=0x00 ~#dmesg |grep drm drm0: port 0xa000-0xa0ff mem 0xe1000000-0xe100ffff,0xd0000000-0xd7ffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xc0000000 256MB info: [drm] Initialized radeon 1.10.0 20020828 on minor 0 info: [drm] Loading R200 Microcode drm0: [MPSAFE] info: [drm] Loading R200 Microcode My system is RELENG_5_2, with src/sys/dev/drm/radeon* updated to HEAD to recognize my card's PCI id. I am using XFree86 4.4 binaries. However my glxgear framerate is slower than what i got with r128 on the same system. But it works anyways. On Fri, 19 Mar 2004, Barry Pederson wrote: > Stijn Hoop wrote: > > >>So does the 3D acceleration actually work in your setup? > > > > It does in mine: > > > > agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 > > > > later after starting X: > > > > drm0: port 0xd800-0xd8ff mem 0xdf000000-0xdf00ffff,0xf0000000-0xf7ffffff irq 11 at device 0.0 on pci1 > > > > And glxgears gets me an acceptable framerate. Unfortunately I'm not at the > > console or I'd show you the numbers. > > > > I just put this card in the machine last week and I had to upgrade to > > XFree86-4-Server-snap port but other than that I didn't do anything fancy > > iirc. > > > > XF86Config attached fwiw. > > > > HTH, > > > > --Stijn > > > Thanks, having a known-working configuration to sure helps, but after > taking your config and just reducing the "Modes" list in the "Screen" > section to something my monitor can handle - I still get the same > result, a hard hang with a black screen. > > > > Jamie Bowden wrote: > > >>I end up just pulling the power cord and then letting it > >>reboot and go through a fsck. > > > > > > Instead, hold the power button down for ~15 seconds. Much less > > trauma on the hardware than pulling the plug. > > Thanks, that's good to know - ended up giving that a try too :) > > Barry > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 22:57:50 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76C6C16A4CE for ; Fri, 19 Mar 2004 22:57:50 -0800 (PST) Received: from grosbein.pp.ru (grgw.svzserv.kemerovo.su [213.184.64.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7806D43D2D for ; Fri, 19 Mar 2004 22:57:49 -0800 (PST) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.11/8.12.11) with ESMTP id i2K6tsUY007410; Sat, 20 Mar 2004 13:55:54 +0700 (KRAT) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.11/8.12.11/Submit) id i2K6tr5v007409; Sat, 20 Mar 2004 13:55:53 +0700 (KRAT) (envelope-from eugen) Date: Sat, 20 Mar 2004 13:55:53 +0700 From: Eugene Grosbein To: Barry Pederson Message-ID: <20040320065553.GA3821@grosbein.pp.ru> References: <7670000.1079480581@palle.girgensohn.se> <13770000.1079537744@rambutan.pingpong.net> <40591A47.1C6617C7@kuzbass.ru> <33830000.1079712277@durian.pingpong.net> <20040319163201.GA16433@svzserv.kemerovo.su> <405B2D7A.5050309@barryp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <405B2D7A.5050309@barryp.org> User-Agent: Mutt/1.4.1i cc: stable@freebsd.org Subject: Re: ATI Radeon 9600 SE & OpenGL? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 06:57:50 -0000 On Fri, Mar 19, 2004 at 11:27:22AM -0600, Barry Pederson wrote: > So does the 3D acceleration actually work in your setup? Yes, it is. glxinfo says so and I get 930 fps instead of 180 using DRI. > I've got a machine with a 9200 running 5.2.1 that seems to detect the > card ok > > drm0: port 0xde00-0xdeff mem > 0xfe9e0000-0xfe9effff,0xf0000000-0xf7ffffff > irq 11 at device 0.0 on pci1 > info: [drm] AGP at 0xe0000000 128MB > info: [drm] Initialized radeon 1.10.0 20020828 on minor 0 > > Loaded the x11-servers/XFree86-Server-snap port to get a newer "radeon" > server that recognizes the 9200, > but when I "startx" the screen goes black and the machine freezes - > unless I comment out the "glx" module in /etc/X11/XF86Config > > Everything else about the card seems to work fine, xvideo extension is > good. Just no 3D. STABLE has radeondrm version 1.8.0 while CURRENT has 1.10.0 They differ greatly. Eugene From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 23:01:22 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D10D16A4CE; Fri, 19 Mar 2004 23:01:22 -0800 (PST) Received: from grosbein.pp.ru (grgw.svzserv.kemerovo.su [213.184.64.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id A455243D39; Fri, 19 Mar 2004 23:01:21 -0800 (PST) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.11/8.12.11) with ESMTP id i2K71K0B007484; Sat, 20 Mar 2004 14:01:20 +0700 (KRAT) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.11/8.12.11/Submit) id i2K71KrS007483; Sat, 20 Mar 2004 14:01:20 +0700 (KRAT) (envelope-from eugen) Date: Sat, 20 Mar 2004 14:01:20 +0700 From: Eugene Grosbein To: Doug White Message-ID: <20040320070120.GC3821@grosbein.pp.ru> References: <40591EC9.B797F608@kuzbass.ru> <20040318101846.E62520@carver.gumbysoft.com> <405A55B1.2565B7AF@kuzbass.ru> <20040319160620.D72884@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040319160620.D72884@carver.gumbysoft.com> User-Agent: Mutt/1.4.1i cc: stable@freebsd.org cc: bug-followup@freebsd.org cc: sos@freebsd.org Subject: Re: kern/60526: Post-PAE stable SMP machine freezes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 07:01:22 -0000 On Fri, Mar 19, 2004 at 04:10:36PM -0800, Doug White wrote: > > Hmm, I use SMP motherboard Intel STL2 with ServerWorks ServerSet III LE > > and integrated ROSB4: > > http://support.intel.com/support/motherboards/server/STL2/ > > I can't found any notes here about the controller. > > > > Could you please point me to any kind of "official" announcement > > from Intel, chipset or controller producer? > > Someone referred me to a EETimes article, and I have hundreds of Tyan > S2510/S2518 boards I can reproduce the problem on under multiple operating > systems. I'm sure you are right, I'm just looking for a better description of problem, not just "it is buggy and leads to problems". Eugene Grosbein From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 23:05:57 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ED7216A4CE for ; Fri, 19 Mar 2004 23:05:57 -0800 (PST) Received: from grosbein.pp.ru (grgw.svzserv.kemerovo.su [213.184.64.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42BA143D46 for ; Fri, 19 Mar 2004 23:05:56 -0800 (PST) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.11/8.12.11) with ESMTP id i2K74bbP007524; Sat, 20 Mar 2004 14:04:37 +0700 (KRAT) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.11/8.12.11/Submit) id i2K74bWt007523; Sat, 20 Mar 2004 14:04:37 +0700 (KRAT) (envelope-from eugen) Date: Sat, 20 Mar 2004 14:04:37 +0700 From: Eugene Grosbein To: Barry Pederson Message-ID: <20040320070437.GA7505@grosbein.pp.ru> References: <7670000.1079480581@palle.girgensohn.se> <13770000.1079537744@rambutan.pingpong.net> <40591A47.1C6617C7@kuzbass.ru> <33830000.1079712277@durian.pingpong.net> <20040319163201.GA16433@svzserv.kemerovo.su> <405B2D7A.5050309@barryp.org> <20040320065553.GA3821@grosbein.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040320065553.GA3821@grosbein.pp.ru> User-Agent: Mutt/1.4.1i cc: stable@freebsd.org Subject: Re: ATI Radeon 9600 SE & OpenGL? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 07:05:57 -0000 On Sat, Mar 20, 2004 at 01:55:53PM +0700, Eugene Grosbein wrote: > > So does the 3D acceleration actually work in your setup? > Yes, it is. glxinfo says so and I get 930 fps instead of 180 using DRI. I mean glxgears fps. Eugene From owner-freebsd-stable@FreeBSD.ORG Sat Mar 20 00:34:58 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DC4716A4CE for ; Sat, 20 Mar 2004 00:34:58 -0800 (PST) Received: from eden.barryp.org (host-150-32-220-24.midco.net [24.220.32.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C4E743D1F for ; Sat, 20 Mar 2004 00:34:58 -0800 (PST) (envelope-from bp@barryp.org) Received: from [10.66.0.231] (helo=barryp.org) by eden.barryp.org with asmtp (Exim 4.20) id 1B4bwU-000NJc-E4; Sat, 20 Mar 2004 02:34:54 -0600 Message-ID: <405C022D.60805@barryp.org> Date: Sat, 20 Mar 2004 02:34:53 -0600 From: Barry Pederson User-Agent: Mozilla Thunderbird 0.5 (X11/20040228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: hmchan@alumni.cuhk.edu.hk References: <7670000.1079480581@palle.girgensohn.se> <13770000.1079537744@rambutan.pingpong.net> <33830000.1079712277@durian.pingpong.net> <405B2D7A.5050309@barryp.org><405BADFC.2020704@barryp.org> <20040320124834.E11836@amd> In-Reply-To: <20040320124834.E11836@amd> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on eden.barryp.org X-Spam-Status: No, hits=-4.9 required=4.5 tests=BAYES_00 autolearn=ham version=2.61 cc: "stable@freebsd.org" Subject: Re: ATI Radeon 9600 SE & OpenGL? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 08:34:58 -0000 Spencer Chan wrote: > Just to add some data point, i have > > ~#pciconf -l -v|egrep agp\|drm > agp0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x30991106 rev=0x00 > hdr=0x00 > drm0@pci1:0:0: class=0x030000 card=0x017018bc chip=0x59641002 rev=0x01 > hdr=0x00 > ~#dmesg |grep drm > drm0: port 0xa000-0xa0ff mem > 0xe1000000-0xe100ffff,0xd0000000-0xd7ffffff irq 11 at device 0.0 on pci1 > info: [drm] AGP at 0xc0000000 256MB > info: [drm] Initialized radeon 1.10.0 20020828 on minor 0 > info: [drm] Loading R200 Microcode > drm0: [MPSAFE] > info: [drm] Loading R200 Microcode > > My system is RELENG_5_2, with src/sys/dev/drm/radeon* updated to HEAD to > recognize my card's PCI id. I am using XFree86 4.4 binaries. Interesting, I don't get anything about microcode loading. My equivalent output is: pciconf -l -v|egrep agp\|drm ------------ agp0@pci0:0:0: class=0x060000 card=0x01621028 chip=0x25788086 rev=0x02 hdr=0x00 drm0@pci1:0:0: class=0x030000 card=0x7c13174b chip=0x59611002 rev=0x01 hdr=0x00 ------------ dmesg |grep drm ----------- drm0: port 0xde00-0xdeff mem 0xfe9e0000-0xfe9effff,0xf0000000-0xf7ffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe0000000 128MB info: [drm] Initialized radeon 1.10.0 20020828 on minor 0 ------------ This is on 5.2.1-RELEASE-p1, maybe going to HEAD would help. I'd imagine you'd want the whole src/sys/dev/drm directory, and not just the radeon* files. Although reading through the source of what I have now it's not obvious why the microcode loading doesn't apply to my card already. Barry From owner-freebsd-stable@FreeBSD.ORG Sat Mar 20 01:45:21 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EBA716A4CE for ; Sat, 20 Mar 2004 01:45:21 -0800 (PST) Received: from nmgww.sn.tsden.org (gw.nemossan.jp [202.216.232.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1558843D3F for ; Sat, 20 Mar 2004 01:45:21 -0800 (PST) (envelope-from "") Received: from nmgww.sn.tsden.org (IDENT:ryutaroh@localhost [127.0.0.1]) by nmgww.sn.tsden.org (8.12.10/8.12.10) with ESMTP id i2K9jFw2025784 for ; Sat, 20 Mar 2004 18:45:15 +0900 Received: (from ryutaroh@localhost) by nmgww.sn.tsden.org (8.12.10/8.12.10/Submit) id i2K9jFFA025783 for freebsd-stable@freebsd.org; Sat, 20 Mar 2004 18:45:15 +0900 Date: Sat, 20 Mar 2004 18:45:15 +0900 Message-Id: <200403200945.i2K9jFFA025783@nmgww.sn.tsden.org> X-Authentication-Warning: nmgww.sn.tsden.org: ryutaroh set sender to <> using -f To: freebsd-stable@freebsd.org Auto-Submitted: auto-replied From: ryutaroh@tsden.org Precedence: junk Subject: X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 09:45:22 -0000 I do not read the email account "ryutaroh@tsden.org". Thank you. From owner-freebsd-stable@FreeBSD.ORG Sat Mar 20 11:41:07 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0220E16A4CE for ; Sat, 20 Mar 2004 11:41:07 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF96A43D2F for ; Sat, 20 Mar 2004 11:41:06 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) i2KJf682095659 for ; Sat, 20 Mar 2004 11:41:06 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.9p2/8.12.9/Submit) id i2KJf6Ml095658; Sat, 20 Mar 2004 11:41:06 -0800 (PST) (envelope-from dillon) Date: Sat, 20 Mar 2004 11:41:06 -0800 (PST) From: Matthew Dillon Message-Id: <200403201941.i2KJf6Ml095658@apollo.backplane.com> To: freebsd-stable@freebsd.org Subject: Bug in p_estcpu handling on process exit in FBsd-4.x X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 19:41:07 -0000 (The same bug exists in 5.x if you use the 4BSD scheduler). The code that causes the parent to inherit the child's p_estcpu when the child exits is broken. It was adding the parent's and child's p_estcpu together. However, the child process is initialized with the parent's estcpu, so simply adding it back in to the parent will cause the parent's p_estcpu to blow up after only a few fork/exec's. A better solution is to average the two, taking care to handle the case where the child might have received one tick. This way if a parent is exec'ing a lot of children, such as when you do a 'make', p_estcpu will ramp-up just slightly slower then a normal cpu-bound process would, which is exactly what we want. After all, there should be no difference in the treatment of a single cpu-bound program verses the treatment of a cpu-bound make which fork/exec's a lot, yet we do not want to penalize an interactive shell that just ran a (single) long-running cpu-bound program too much. NOTE: this patch is against DragonFly, you may have to patch 4.x manually. It is not a complex patch. -Matt Matthew Dillon Index: kern_exit.c =================================================================== RCS file: /cvs/src/sys/kern/kern_exit.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- kern_exit.c 18 Jan 2004 12:29:49 -0000 1.30 +++ kern_exit.c 20 Mar 2004 19:16:24 -0000 1.31 @@ -37,7 +37,7 @@ * * @(#)kern_exit.c 8.7 (Berkeley) 2/12/94 * $FreeBSD: src/sys/kern/kern_exit.c,v 1.92.2.11 2003/01/13 22:51:16 dillon Exp $ - * $DragonFly: src/sys/kern/kern_exit.c,v 1.30 2004/01/18 12:29:49 dillon Exp $ + * $DragonFly: src/sys/kern/kern_exit.c,v 1.31 2004/03/20 19:16:24 dillon Exp $ */ #include "opt_compat.h" @@ -468,10 +468,24 @@ } lwkt_wait_free(p->p_thread); - /* charge childs scheduling cpu usage to parent */ + /* + * Charge the parent for the child's estimated cpu + * on exit to account for cpu-bound scripts that + * fork/exec a lot, and heavy shell use. Note that + * the child inherited our estcpu when it forked, so + * we have to undo that here. We have to add 1 to + * the average to deal with the case where programs + * take less then 1/10 second (ESTCPUFREQ) to run. + * Also note that we do not want to add any slop + * charges here since a program can fork/exec hundreds + * of processes a second and slop would blow p_estcpu + * up beyond all proportion. + */ if (curproc->p_pid != 1) { - curproc->p_estcpu = - ESTCPULIM(curproc->p_estcpu + p->p_estcpu); + if (p->p_estcpu > curproc->p_estcpu) { + curproc->p_estcpu = ESTCPULIM( + (p->p_estcpu + curproc->p_estcpu + 1) / 2); + } } /* Take care of our return values. */ From owner-freebsd-stable@FreeBSD.ORG Sat Mar 20 14:44:28 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B30F16A4CE for ; Sat, 20 Mar 2004 14:44:28 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF62F43D39 for ; Sat, 20 Mar 2004 14:44:27 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) i2KMiR82096274 for ; Sat, 20 Mar 2004 14:44:27 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.9p2/8.12.9/Submit) id i2KMiRth096273; Sat, 20 Mar 2004 14:44:27 -0800 (PST) (envelope-from dillon) Date: Sat, 20 Mar 2004 14:44:27 -0800 (PST) From: Matthew Dillon Message-Id: <200403202244.i2KMiRth096273@apollo.backplane.com> To: freebsd-stable@freebsd.org References: <200403201941.i2KJf6Ml095658@apollo.backplane.com> Subject: Urk, I take it back (was Re: Bug in p_estcpu handling on process exit in FBsd-4.x) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 22:44:28 -0000 : The code that causes the parent to inherit the child's p_estcpu when : the child exits is broken. It was adding the parent's and child's : p_estcpu together. : : However, the child process is initialized with the parent's estcpu, : so simply adding it back in to the parent will cause the parent's : p_estcpu to blow up after only a few fork/exec's. :... Oops. I take it back. It's a bug, but my bug fix is not right, you don't want to apply that patch :-( It turns out to be a somewhat more complex problem. I'm going to have to experiment a bit more to find the right solution. -Matt From owner-freebsd-stable@FreeBSD.ORG Sat Mar 20 16:31:40 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 778A716A4CE for ; Sat, 20 Mar 2004 16:31:40 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B8E643D39 for ; Sat, 20 Mar 2004 16:31:40 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) i2L0Vd82096698 for ; Sat, 20 Mar 2004 16:31:40 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.9p2/8.12.9/Submit) id i2L0Vdoc096697; Sat, 20 Mar 2004 16:31:39 -0800 (PST) (envelope-from dillon) Date: Sat, 20 Mar 2004 16:31:39 -0800 (PST) From: Matthew Dillon Message-Id: <200403210031.i2L0Vdoc096697@apollo.backplane.com> To: freebsd-stable@freebsd.org References: <200403201941.i2KJf6Ml095658@apollo.backplane.com> <200403202244.i2KMiRth096273@apollo.backplane.com> Subject: Re: Urk, I take it back (was Re: Bug in p_estcpu handling onprocess exit in FBsd-4.x) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2004 00:31:40 -0000 All right, I figured out a solution. Basically the solution for the 4.x scheduler (and the 4BSD scheduler in 5.x for people still using it) is to bump the child's estcpu in fork and recover any delta changes back to the parent in exit. The DFly patch set is rather DFly specific, so I will just explain it in case someone in FreeBSD land wants to fix the problem in FreeBSD-4. In sys/proc.h, in the proc structure: u_int p_estcpu; /* Time averaged value of p_cpticks. */ ADDME u_int p_estcpu_fork; In kern/kern_fork.c, in fork1(), search for 'p_estcpu'. You will find the line: REMOVEME p2->p_estcpu = p1->p_estcpu; Replace it with: ADDME p2->p_estcpu_fork = p2->p_estcpu = ADDME ESTCPULIM(p1->p_estcpu + ESTCPURAMP); This will initialize a new fork()'d child with an estcpu that gives it a slightly more 'batch' priority then its parent. If the fork()'d child is an interactive process, the normal scheduling mechanisms will float estcpu back down. This prevents new batch children from jerking around interactive processes in the first few ticks of their operation, and should have no significant effect on interactive children because other interactive processes will not be eating all the cpu (so there is cpu available), and any pre-existing batch processes will already likely have far higher p_estcpu values. On the exit side, instead of trying to average the child's estcpu into the parent or trying to slap it in (to deal with batch scripts, e.g. like make, which do a lot of recursive fork/exec's), just aggregate the difference relative to the saved p_estcpu_fork into the parent, though only if the child was found to be batch above and beyond the p_estcpu[_fork] that was originally assigned to it. Otherwise the parent's estcpu is allowed to stand on its own. The old FreeBSD code would do terrible things to forking servers like sendmail(). The new code should work much better. In kern/kern_exit.c, in wait1(), replace this: REMOVEME /* charge childs scheduling cpu usage to parent */ REMOVEME if (curproc->p_pid != 1) { REMOVEME curproc->p_estcpu = REMOVEME ESTCPULIM(curproc->p_estcpu + p->p_estcpu); } With this (note that 'q' is the same as 'curproc', so there is no reason to reference 'curproc' when we can just use 'q'): ADDME /* ADDME * Charge the parent for the child's change in ADDME * estimated cpu as of when the child exits to ADDME * account for batch scripts, large make's, etc. ADDME */ ADDME if (q->p_pid != 1) { ADDME if (p->p_estcpu > p->p_estcpu_fork) { ADDME q->p_estcpu = ESTCPULIM(q->p_estcpu + ADDME p->p_estcpu - p->p_estcpu_fork); ADDME } ADDME } That should do it. It seems to do very good job in DragonFly. If anyone wants to do the work in FreeBSD I of course recommend that you test it, YMMV. -Matt Matthew Dillon From owner-freebsd-stable@FreeBSD.ORG Sat Mar 20 23:50:26 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E750716A4CE; Sat, 20 Mar 2004 23:50:26 -0800 (PST) Received: from grosbein.pp.ru (grgw.svzserv.kemerovo.su [213.184.64.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCE3443D39; Sat, 20 Mar 2004 23:50:22 -0800 (PST) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.11/8.12.11) with ESMTP id i2L7oKfi001322; Sun, 21 Mar 2004 14:50:20 +0700 (KRAT) (envelope-from eugen@grosbein.pp.ru) Sender: eugen@grosbein.pp.ru Message-ID: <405D493B.C1F9C21E@grosbein.pp.ru> Date: Sun, 21 Mar 2004 14:50:20 +0700 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.76 [ru] (X11; U; FreeBSD 4.9-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Doug White References: <40591EC9.B797F608@kuzbass.ru> <20040318101846.E62520@carver.gumbysoft.com> <20040319160620.D72884@carver.gumbysoft.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit cc: stable@freebsd.org cc: Eugene Grosbein cc: bug-followup@freebsd.org cc: sos@freebsd.org Subject: Re: kern/60526: Post-PAE stable SMP machine freezes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2004 07:50:27 -0000 Doug White wrote: > Someone referred me to a EETimes article, and I have hundreds of Tyan > S2510/S2518 boards I can reproduce the problem on under multiple operating > systems. I googled a little for ROSB4. Here http://www.ussg.iu.edu/hypermail/linux/kernel/0206.1/1212.html I've found the next statement: > The system will lock solid when both IDE channels are accessed, > and either one is using DMA. Since I want DMA, I simply abandon the > secondary channel. Is it possible do such a thing using FreeBSD? Next, Linux seem to have a workarond(?) since 2002: http://www.ussg.iu.edu/hypermail/linux/kernel/0206.1/0996.html Soren, could you please look at this? Eugene