From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 03:47:03 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA0401065672 for ; Sun, 19 Jul 2009 03:47:03 +0000 (UTC) (envelope-from webusers@n22.sivit.org) Received: from n22.sivit.org (n22.sivit.org [194.146.224.154]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD7D8FC0A for ; Sun, 19 Jul 2009 03:47:03 +0000 (UTC) (envelope-from webusers@n22.sivit.org) Received: from n22.sivit.org (no-mail-server-here.eupencable.com [127.0.0.1]) by n22.sivit.org (8.12.8/8.12.8) with ESMTP id n6ILKt4F023844 for ; Sat, 18 Jul 2009 23:20:55 +0200 Received: (from webusers@localhost) by n22.sivit.org (8.12.8/8.12.8/Submit) id n6ILKteX023842; Sat, 18 Jul 2009 23:20:55 +0200 Date: Sat, 18 Jul 2009 23:20:55 +0200 Message-Id: <200907182120.n6ILKteX023842@n22.sivit.org> To: freebsd-stable@freebsd.org ScriptPath: www.eam2.fr/Annonces/Annonces.php From: Bryan James MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Subject: Order To New Zealand X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bjsptyltd@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2009 03:47:04 -0000 <<< No Message Collected >>> From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 14:51:40 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF28E1065673 for ; Sun, 19 Jul 2009 14:51:40 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7BBD78FC1B for ; Sun, 19 Jul 2009 14:51:40 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so568634qwe.7 for ; Sun, 19 Jul 2009 07:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=aykwJGctaspxrRWndfvE8S+at+P/uiBvp/2jc+C7TlQ=; b=VOZqC8NiuvzvGnqxEugO+Bw+Pjvktw4ah0cZBycflWTZ9GdTO3eJN28N5tlXVMZIhe micb6T1acqfV7K71uHQ9n7AwyhlLXDGqqt68e9NLuEv7CQl/cOO7v5sgLClZP4W9UMmw 6rrkBf7W4pzBL1k55lOd/7M3do14WXEjY6i1c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=oNeqxdCUMepQKJJeccTt0sIxkYlTTRxXtfJF3gkylz1PhkMUkRMq5zlfKX3l1lNbK/ KD7RtBHb6VdQt9bvPC+qiX9rvWUIfrdBgzPKib2zDpGqyJ9/dbarzjlTznk+bOYFjkJv hcylKLceF6H2FVPaNue7DkOAoPHp0ivKittaw= MIME-Version: 1.0 Received: by 10.229.99.130 with SMTP id u2mr630062qcn.29.1248013650190; Sun, 19 Jul 2009 07:27:30 -0700 (PDT) From: Maxim Khitrov Date: Sun, 19 Jul 2009 10:27:10 -0400 Message-ID: <26ddd1750907190727o59d49a9bm4bc730592c898389@mail.gmail.com> To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: twa (3ware 9690SA) error on shutdown X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 14:51:41 -0000 I'm playing around with the 3ware 9690SA raid controller. At first, I was using FreeBSD 8.0-BETA2, but it kept encountering errors after start-up and on shutdown. There is no 8.x driver on the 3ware site, so I decided to go back to 7.2-RELEASE. This, however, did not solve the problem. The major one that I'm having right now is that the system refuses to reboot. After issuing the command, this is what I see toward the end: Uptime: 9h41m43s twa0: ERROR: (0x15: 0x1104): Internal request timed out: request = 0xfffffffe80223a28 twa0: INFO: (0x16: 0x1108): Resetting Controller...: twa0: INFO: (0x04: 0x0001): Controller reset occurred: resets=1 twa0: INFO: (0x16: 0x1107): Controller reset done!: twa0: ERROR: (0x15: 0x1015): Can't close connection with controller: error = 60 twa0: ERROR: (0x05: 0x2015): Failed to shutdown Common Layer/controller: error = 60 Here the system freezes and I have to hold the power button for 5 sec to turn the power off and then restart. This happened with the default twa driver, so I downloaded the 9.5.2 code set from 3ware website and tried to use the twa.ko that comes with that release (for amd64). This also did not fix the problem. There is one other issue that may be related to this one. The verify process for a newly created array is never finished. When the system is started, I see a "verify started" message and the activity leds of the drivers connected to the controller light up. If I reboot the system at this point, the first problem does not occur. On other hand, if I wait maybe 5 minutes the activity lights turn off, indicating that something happens to the verify process, and at this point I can no longer reboot the system. My guess is that the verify process causes some sort of a problem for the driver or the controller itself, which then prevents normal communication during shutdown. Has anyone else encountered this problem or has a solution for it? - Max From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 18:17:10 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 540AC1065670; Sun, 19 Jul 2009 18:17:10 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from phoebe.cse.buffalo.edu (phoebe.cse.buffalo.edu [128.205.32.89]) by mx1.freebsd.org (Postfix) with ESMTP id F3AAC8FC18; Sun, 19 Jul 2009 18:17:09 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from [192.168.1.101] (cpe-74-77-179-53.buffalo.res.rr.com [74.77.179.53]) (authenticated bits=0) by phoebe.cse.buffalo.edu (8.14.1/8.13.7) with ESMTP id n6JIH5mX048027 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 19 Jul 2009 14:17:09 -0400 (EDT) (envelope-from kensmith@cse.buffalo.edu) From: Ken Smith To: freebsd-current@freebsd.org, freebsd-stable Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-cbD+tMhyqRzyu/TEjcov" Date: Sun, 19 Jul 2009 14:16:57 -0400 Message-Id: <1248027417.14210.110.camel@neo.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-DCC-Buffalo.EDU-Metrics: phoebe.cse.buffalo.edu 1336; Body=0 Fuz1=0 Fuz2=0 Cc: Subject: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 18:17:10 -0000 --=-cbD+tMhyqRzyu/TEjcov Content-Type: text/plain Content-Transfer-Encoding: quoted-printable First I want to apologize. This should have happened a bit sooner in our release cycle than now. To be honest I had slipped into "We have symbol versioning for our libraries now" mode. But only a few of the libraries currently have that turned on and I sorta forgot we still need to deal with all the shared libraries that do not have symbol versioning enabled yet. Sorry for the hassle this will cause. Today with svn commit 195767 I bumped the version number of all non-symbol-version-ed shared libraries in preparation for 8.0-REL. We do this just in case API/ABI changes occured in head between 7.0 and now, it lets us provide the older library versions as "compatibility library ports" in the ports tree. The problem is that as of the next time you update a machine that had been running -current you are best off reinstalling all ports or other applications you have on the machine. When you reboot after doing the update to the base system everything you have installed will still work because the old shared library versions will still be there. However anything you build on the machine after its base system gets updated would be linked against the newer base system shared libraries but any libraries that are part of ports or other applications (e.g. the Xorg libraries) would have been linked against the older library versions. You really don't want to leave things that way. The ports folks will be starting up a fresh package build now but it takes some time for full package runs like this to complete, get uploaded, and then propagate out to the mirrors. If you tend to use pre-built packages instead of building them as ports yourself you might want to just hold off on updating anything until they let us know a fresh set of packages is available. And BETA3 will definitely be scheduled for after the fresh set of packages becomes available. And again - sorry for the hassle. --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-cbD+tMhyqRzyu/TEjcov Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkpjYxkACgkQ/G14VSmup/b7aACgi5vkEuoGif2atxgOz9dCMCMb 7mwAmwbFxSXhAmfyM8nbA4FEKzn5nPXY =BshS -----END PGP SIGNATURE----- --=-cbD+tMhyqRzyu/TEjcov-- From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 18:33:58 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 752CA106564A; Sun, 19 Jul 2009 18:33:58 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from phoebe.cse.buffalo.edu (phoebe.cse.buffalo.edu [128.205.32.89]) by mx1.freebsd.org (Postfix) with ESMTP id 37B428FC24; Sun, 19 Jul 2009 18:33:58 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from [192.168.1.101] (cpe-74-77-179-53.buffalo.res.rr.com [74.77.179.53]) (authenticated bits=0) by phoebe.cse.buffalo.edu (8.14.1/8.13.7) with ESMTP id n6JIXp5V048068 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 19 Jul 2009 14:33:55 -0400 (EDT) (envelope-from kensmith@cse.buffalo.edu) From: Ken Smith To: Thomas Backman In-Reply-To: <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZDoqDuif4Ydxt75AAoqh" Date: Sun, 19 Jul 2009 14:33:46 -0400 Message-Id: <1248028426.14210.114.camel@neo.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-DCC-Buffalo.EDU-Metrics: phoebe.cse.buffalo.edu 1336; Body=0 Fuz1=0 Fuz2=0 Cc: FreeBSD current , freebsd-stable Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 18:33:58 -0000 --=-ZDoqDuif4Ydxt75AAoqh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2009-07-19 at 20:26 +0200, Thomas Backman wrote: > On Jul 19, 2009, at 20:16, Ken Smith wrote: > > The problem is that as of the next time you update a machine that had > > been running -current you are best off reinstalling all ports or other > > applications you have on the machine. When you reboot after doing the > > update to the base system everything you have installed will still =20 > > work > > because the old shared library versions will still be there. However > > anything you build on the machine after its base system gets updated > > would be linked against the newer base system shared libraries but any > > libraries that are part of ports or other applications (e.g. the Xorg > > libraries) would have been linked against the older library versions. > > You really don't want to leave things that way. > So, to be clear: a fresh ports tree and "portupgrade -af" after =20 > building and installing r195767+ should be enough to solve any =20 > problems? (installkernel, installworld, reboot, portupgrade -af) >=20 Correct for those of you who let portupgrade do all the building for you (which the example command you give does). The reason I'm being careful is portupgrade can also be told to fetch pre-built packages. At the moment that will not work, if you use that approach please hold off until the ports folks let us know the packages have been rebuilt. --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-ZDoqDuif4Ydxt75AAoqh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkpjZwoACgkQ/G14VSmup/afbgCfTGrvBGVQKHRlXf3FwbpE7wCK yTcAn3z4wTx0qFrpltDHMzPHxNbhXGTC =Cuim -----END PGP SIGNATURE----- --=-ZDoqDuif4Ydxt75AAoqh-- From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 18:41:48 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 760C11065698 for ; Sun, 19 Jul 2009 18:41:48 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 3042B8FC08 for ; Sun, 19 Jul 2009 18:41:48 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:58155 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.69) (envelope-from ) id 1MSb5e-0001gZ-3v; Sun, 19 Jul 2009 20:26:28 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id 63D971386C7; Sun, 19 Jul 2009 20:26:24 +0200 (CEST) Message-Id: <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> From: Thomas Backman To: Ken Smith In-Reply-To: <1248027417.14210.110.camel@neo.cse.buffalo.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Sun, 19 Jul 2009 20:26:21 +0200 References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> X-Mailer: Apple Mail (2.935.3) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MSb5e-0001gZ-3v. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MSb5e-0001gZ-3v b201278915acd34693d46894c0c0555c Cc: FreeBSD current , freebsd-stable Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 18:41:48 -0000 On Jul 19, 2009, at 20:16, Ken Smith wrote: > The problem is that as of the next time you update a machine that had > been running -current you are best off reinstalling all ports or other > applications you have on the machine. When you reboot after doing the > update to the base system everything you have installed will still > work > because the old shared library versions will still be there. However > anything you build on the machine after its base system gets updated > would be linked against the newer base system shared libraries but any > libraries that are part of ports or other applications (e.g. the Xorg > libraries) would have been linked against the older library versions. > You really don't want to leave things that way. So, to be clear: a fresh ports tree and "portupgrade -af" after building and installing r195767+ should be enough to solve any problems? (installkernel, installworld, reboot, portupgrade -af) Regards, Thomas From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 20:26:40 2009 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BDC4106566B for ; Sun, 19 Jul 2009 20:26:40 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from marvin.blogreen.org (unknown [IPv6:2a01:e35:2f7d:58c0:0:2:1:2]) by mx1.freebsd.org (Postfix) with ESMTP id 122178FC18 for ; Sun, 19 Jul 2009 20:26:40 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by marvin.blogreen.org (Postfix, from userid 1001) id 0511F5C8FA; Sun, 19 Jul 2009 22:26:39 +0200 (CEST) Date: Sun, 19 Jul 2009 22:26:38 +0200 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: stable@FreeBSD.org Message-ID: <20090719202638.GA85228@blogreen.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-PGP-Key: http://romain.blogreen.org/pubkey.asc Cc: Subject: Value of $? lost in the beginning of a function. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 20:26:40 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! Simple test case: ----8<---------------------- #!/bin/sh foo() { echo "\$?=3D$? \$1=3D$1" } false foo $? ----8<---------------------- % sh foo.sh $?=3D0 $1=3D1 % zsh foo.sh $?=3D1 $1=3D1 % bash foo.sh $?=3D1 $1=3D1 As you can see, the value of $? is =AB lost =BB when FreeBSD sh enters a function. Is this supposed to behave this way? Thanks, Romain --=20 Romain Tarti=E8re http://romain.blogreen.org/ pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpjgX4ACgkQ2OmjP/9W/0O9QACgkZizpSZ0b1ob7W8m+GDa8+5p js0An1LmFZ+hBCWiFe+LmVIkh1LGm2o2 =2Qr+ -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J-- From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 20:32:30 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49330106566C for ; Sun, 19 Jul 2009 20:32:30 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f205.google.com (mail-fx0-f205.google.com [209.85.220.205]) by mx1.freebsd.org (Postfix) with ESMTP id CEBC28FC18 for ; Sun, 19 Jul 2009 20:32:29 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm1 with SMTP id 1so84975fxm.43 for ; Sun, 19 Jul 2009 13:32:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1wIpA3lPEkQODfvoXOwyiHtxt27K7e3Zik9VzzX5dr0=; b=CjmMir72Q9A4n8gIeAP2/QaTg+vm97EbMmHXcOblbm1irKvgYO5Da9xZQ2HtxqR0NM VMeOKpIfd0Xh4cnmpz43M04AK0/hxApUcUAFv8GwqLqUsEpxVNRUj9Fm7iAyX20og+ky TYyQs8I8JI/wEbgkT+3utVGiYa2Y1ZaY3TYhM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kSPNbwysHvd+4RlVdNQGgryB9OPE/cpEueWTC2IjpuJWL7PwrZpqVe/wGw8hdn9/aP XOGmfvRRK8GZi4zJA2y9Fdn5QLgijB6cB8xmQKK3ehmmudIuAHLR00l56bO7mfBGDIek SmLSCEipEV4rZVC5Fdv3YXSCA2OdlPsUb0/z4= MIME-Version: 1.0 Received: by 10.223.108.15 with SMTP id d15mr988882fap.62.1248035548801; Sun, 19 Jul 2009 13:32:28 -0700 (PDT) In-Reply-To: <20090719202638.GA85228@blogreen.org> References: <20090719202638.GA85228@blogreen.org> Date: Sun, 19 Jul 2009 16:32:28 -0400 Message-ID: <4ad871310907191332r2f933a33l36c121903bc0742f@mail.gmail.com> From: Glen Barber To: =?ISO-8859-1?Q?Romain_Tarti=E8re?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org Subject: Re: Value of $? lost in the beginning of a function. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 20:32:30 -0000 2009/7/19 Romain Tarti=E8re : > Hi! > > Simple test case: > > ----8<---------------------- > #!/bin/sh > foo() > { > =A0echo "\$?=3D$? \$1=3D$1" > } > false > foo $? > ----8<---------------------- > > % sh foo.sh > $?=3D0 $1=3D1 > % zsh foo.sh > $?=3D1 $1=3D1 > % bash foo.sh > $?=3D1 $1=3D1 > > As you can see, the value of $? is =AB lost =BB when FreeBSD sh enters a > function. =A0Is this supposed to behave this way? > Hi. I'm no expert at shell scripting, but my first presumption is that since you have '#!/bin/sh' at the beginning of the script, it is creating a new subshell, and overwriting the value. What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' ? --=20 Glen Barber From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 20:44:59 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFC691065672 for ; Sun, 19 Jul 2009 20:44:59 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from marvin.blogreen.org (unknown [IPv6:2a01:e35:2f7d:58c0:0:2:1:2]) by mx1.freebsd.org (Postfix) with ESMTP id 962258FC15 for ; Sun, 19 Jul 2009 20:44:59 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by marvin.blogreen.org (Postfix, from userid 1001) id CB9685C8FA; Sun, 19 Jul 2009 22:44:58 +0200 (CEST) Date: Sun, 19 Jul 2009 22:44:58 +0200 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: Glen Barber Message-ID: <20090719204458.GD85228@blogreen.org> References: <20090719202638.GA85228@blogreen.org> <4ad871310907191332r2f933a33l36c121903bc0742f@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C+ts3FVlLX8+P6JN" Content-Disposition: inline In-Reply-To: <4ad871310907191332r2f933a33l36c121903bc0742f@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key: http://romain.blogreen.org/pubkey.asc Cc: stable@freebsd.org Subject: Re: Value of $? lost in the beginning of a function. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 20:45:00 -0000 --C+ts3FVlLX8+P6JN Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Glen, On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: > > % sh foo.sh > > % zsh foo.sh > > % bash foo.sh > What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' ? This is not related to my problem since I am not running the script using ./foo.sh but directly using the proper shell. sh just behaves differently, that looks odd so I would like to know if it is a bug in sh or if there is no specification for this and the behaviour depends of the implementation of each shell, in which case I have to tweak the script I am porting to avoid this construct (passing $? as an argument for example). Romain --=20 Romain Tarti=E8re http://romain.blogreen.org/ pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --C+ts3FVlLX8+P6JN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpjhcoACgkQ2OmjP/9W/0OLjQCglgVSeWg+91JafIyhPbN8guze P7AAnRqlAxiHDfOcNCxcpf5uOWd3ANHG =axht -----END PGP SIGNATURE----- --C+ts3FVlLX8+P6JN-- From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 20:47:56 2009 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95D60106564A for ; Sun, 19 Jul 2009 20:47:56 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay04.stack.nl [IPv6:2001:610:1108:5010::107]) by mx1.freebsd.org (Postfix) with ESMTP id 59E908FC1E for ; Sun, 19 Jul 2009 20:47:56 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from toad.stack.nl (toad.stack.nl [IPv6:2001:610:1108:5010::135]) by mx1.stack.nl (Postfix) with ESMTP id 68B03375B20; Sun, 19 Jul 2009 22:47:55 +0200 (CEST) Received: by toad.stack.nl (Postfix, from userid 1677) id 4FD6D73FA2; Sun, 19 Jul 2009 22:47:55 +0200 (CEST) Date: Sun, 19 Jul 2009 22:47:55 +0200 From: Jilles Tjoelker To: Romain =?iso-8859-1?Q?Tarti=E8re?= Message-ID: <20090719204755.GA94947@stack.nl> References: <20090719202638.GA85228@blogreen.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090719202638.GA85228@blogreen.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: stable@FreeBSD.org Subject: Re: Value of $? lost in the beginning of a function. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 20:47:56 -0000 On Sun, Jul 19, 2009 at 10:26:38PM +0200, Romain Tartière wrote: > Hi! > > Simple test case: > > ----8<---------------------- > #!/bin/sh > foo() > { > echo "\$?=$? \$1=$1" > } > false > foo $? > ----8<---------------------- > > % sh foo.sh > $?=0 $1=1 > % zsh foo.sh > $?=1 $1=1 > % bash foo.sh > $?=1 $1=1 > > As you can see, the value of $? is « lost » when FreeBSD sh enters a > function. Is this supposed to behave this way? This has been fixed in 8.x: Revision 185231 - Directory Listing Modified Sun Nov 23 20:23:57 2008 UTC (7 months, 3 weeks ago) by stefanf Fix $? at the first command of a function. The previous exit status was saved twice and thus lost. -- Jilles Tjoelker From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 20:48:17 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7907B1065687 for ; Sun, 19 Jul 2009 20:48:17 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f208.google.com (mail-bw0-f208.google.com [209.85.218.208]) by mx1.freebsd.org (Postfix) with ESMTP id 044B98FC17 for ; Sun, 19 Jul 2009 20:48:16 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz4 with SMTP id 4so1462915bwz.43 for ; Sun, 19 Jul 2009 13:48:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=nNKuzxTG0+Brpz9Yjo+zpfNNrU73gVjn5gvZFVcinlk=; b=iDRtiCliGG0YrO93EIovj0+PTebcm0LHvU9VlFRAZ+1UJtE1hfzAK+XBLuCgrFqGho B+yV0rABN4MNwFlnw+Wcu4H2t64fH1KAMDLndGxE/uTASwL8B89eMpdWIv9AVcYTyecC m3A5VFp11hxC5ZUpDuieZhRxSI8naF1MQ8H5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KNWp3ChHOW48oPfYMde3mQ2PUY4OQB+R2PvN7//tXegL7xABUzz/uQnlSNc/zLyYOt 1b+E25MOGCp6J69yk2aL2hFZZec5OeUWS+NJ3A3UG80W+zCA0Jq82gQ4HUJCoD5kIswX StniL+DmWNysCJLxb9o2Usbceb3sQJ51bGicI= MIME-Version: 1.0 Received: by 10.223.105.7 with SMTP id r7mr966899fao.8.1248036495822; Sun, 19 Jul 2009 13:48:15 -0700 (PDT) In-Reply-To: <20090719204458.GD85228@blogreen.org> References: <20090719202638.GA85228@blogreen.org> <4ad871310907191332r2f933a33l36c121903bc0742f@mail.gmail.com> <20090719204458.GD85228@blogreen.org> Date: Sun, 19 Jul 2009 16:48:15 -0400 Message-ID: <4ad871310907191348n6f43cffpaf391990b35b9c19@mail.gmail.com> From: Glen Barber To: =?ISO-8859-1?Q?Romain_Tarti=E8re?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org Subject: Re: Value of $? lost in the beginning of a function. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 20:48:17 -0000 2009/7/19 Romain Tarti=E8re : > Hi Glen, > > On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: >> > % sh foo.sh >> > % zsh foo.sh >> > % bash foo.sh >> What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' ? > > This is not related to my problem since I am not running the script > using ./foo.sh but directly using the proper shell. =A0sh just behaves > differently, that looks odd so I would like to know if it is a bug in sh > or if there is no specification for this and the behaviour depends of > the implementation of each shell, in which case I have to tweak the > script I am porting to avoid this construct (passing $? as an argument > for example). > > Romain > My understanding was this: If you specify 'sh foo.sh' at the shell, the script will be run in a /bin/sh shell, _unless_ you override the shell _in_ the script. Ie, 'sh foo.sh' containing '#!/bin/sh' being redundant, but 'zsh foo.sh' containing '#!/bin/sh' would execute using zsh. --=20 Glen Barber From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 20:53:25 2009 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9C4E106566B for ; Sun, 19 Jul 2009 20:53:25 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from marvin.blogreen.org (unknown [IPv6:2a01:e35:2f7d:58c0:0:2:1:2]) by mx1.freebsd.org (Postfix) with ESMTP id 61FC08FC16 for ; Sun, 19 Jul 2009 20:53:25 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by marvin.blogreen.org (Postfix, from userid 1001) id A6E955C8FA; Sun, 19 Jul 2009 22:53:24 +0200 (CEST) Date: Sun, 19 Jul 2009 22:53:24 +0200 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: Jilles Tjoelker Message-ID: <20090719205324.GG85228@blogreen.org> References: <20090719202638.GA85228@blogreen.org> <20090719204755.GA94947@stack.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0qt3EE9wi45a2ZFX" Content-Disposition: inline In-Reply-To: <20090719204755.GA94947@stack.nl> User-Agent: Mutt/1.4.2.3i X-PGP-Key: http://romain.blogreen.org/pubkey.asc Cc: stable@FreeBSD.org Subject: Re: Value of $? lost in the beginning of a function. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 20:53:25 -0000 --0qt3EE9wi45a2ZFX Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 19, 2009 at 10:47:55PM +0200, Jilles Tjoelker wrote: > This has been fixed in 8.x: Cool, thanks! --=20 Romain Tarti=E8re http://romain.blogreen.org/ pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --0qt3EE9wi45a2ZFX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpjh8QACgkQ2OmjP/9W/0MqZACfWuuQvl5IXRpxm7DfVPOtMVW5 XqoAoJR4WVpPVo/nFhszipwcTOoNJMrF =mCVx -----END PGP SIGNATURE----- --0qt3EE9wi45a2ZFX-- From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 22:19:31 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EEC410656C8 for ; Sun, 19 Jul 2009 22:19:31 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id EA8768FC1A for ; Sun, 19 Jul 2009 22:19:30 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 57F4D1E000E5; Mon, 20 Jul 2009 00:03:56 +0200 (CEST) Received: from triton.kn-bremen.de (noident@localhost [127.0.0.1]) by triton.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n6JLqOkg002283; Sun, 19 Jul 2009 23:52:24 +0200 (CEST) (envelope-from nox@triton.kn-bremen.de) Received: (from nox@localhost) by triton.kn-bremen.de (8.14.3/8.14.3/Submit) id n6JLqOAi002282; Sun, 19 Jul 2009 23:52:24 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 19 Jul 2009 23:52:24 +0200 To: freebsd-stable@FreeBSD.org, freebsd-usb@FreeBSD.org Message-ID: <20090719215224.GA2271@triton.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: new umass panic on 7-stable built today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 22:19:31 -0000 Hi! So I wanted to use an usb key on this freshly updated 7-stable box, and got a panic just after plugging it in: :( zsh triton# kgdb /boot/kernel/kernel.symbols /var/crash/vmcore.9 =2E.. umass0: on uhub5 umass0:1:0:-1: Attached to scbus1 Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x290 fault code =3D supervisor read data, page not present instruction pointer =3D 0x8:0xffffffff804d67d4 stack pointer =3D 0x10:0xffffff8085487da0 frame pointer =3D 0x10:0xffffff8085487de0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 38 (usb5) trap number =3D 12 panic: page fault cpuid =3D 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x182 trap_fatal() at trap_fatal+0x2b3 trap_pfault() at trap_pfault+0x294 trap() at trap+0x312 calltrap() at calltrap+0x8 --- trap 0xc, rip =3D 0xffffffff804d67d4, rsp =3D 0xffffff8085487da0, rbp = =3D 0xffffff8085487de0 --- usb_transfer_complete() at usb_transfer_complete+0x1d4 bus_dmamap_load() at bus_dmamap_load+0x314 usbd_transfer() at usbd_transfer+0xee usbd_do_request_flags_pipe() at usbd_do_request_flags_pipe+0x8f usbd_do_request_flags() at usbd_do_request_flags+0x25 usbd_get_string_desc() at usbd_get_string_desc+0x9b usbd_get_string() at usbd_get_string+0x83 uhub_child_pnpinfo_str() at uhub_child_pnpinfo_str+0xd9 devaddq() at devaddq+0xd5 device_attach() at device_attach+0x13a usbd_new_device() at usbd_new_device+0x821 uhub_explore() at uhub_explore+0x1bd usb_discover() at usb_discover+0x38 usb_event_thread() at usb_event_thread+0x8a fork_exit() at fork_exit+0x11f fork_trampoline() at fork_trampoline+0xe --- trap 0, rip =3D 0, rsp =3D 0xffffff8085488d30, rbp =3D 0 --- Uptime: 1m1s Physical memory: 8176 MB Dumping 4605 MB: 4590 4574 4558 4542 4526 4510 4494 4478 4462 4446 4430 441= 4 4398 4382 4366 4350 4334 4318 4302 4286 4270 4254 4238 4222 4206 4190 417= 4 4158 4142 4126 4110 4094 4078 4062 4046 4030 4014 3998 3982 3966 3950 393= 4 3918 3902 3886 3870 3854 3838 3822 3806 3790 3774 3758 3742 3726 3710 369= 4 3678 3662 3646 3630 3614 3598 3582 3566 3550 3534 3518 3502 3486 3470 345= 4 3438 3422 3406 3390 3374 3358 3342 3326 3310 3294 3278 3262 3246 3230 321= 4 3198 3182 3166 3150 3134 3118 3102 3086 3070 3054 3038 3022 3006 2990 297= 4 2958 2942 2926 2910 2894 2878 2862 2846 2830 2814 2798 2782 2766 2750 273= 4 2718 2702 2686 2670 2654 2638 2622 2606 2590 2574 2558 2542 2526 2510 249= 4 2478 2462 2446 2430 2414 2398 2382 2366 2350 2334 2318 2302 2286 2270 225= 4 2238 2222 2206 2190 2174 2158 2142 2126 2110 2094 2078 2062 2046 2030 201= 4 1998 1982 1966 1950 1934 1918 1902 1886 1870 1854 1838 1822 1806 1790 177= 4 1758 1742 1726 1710 1694 1678 1662 1646 1630 1614 1598 1582 1566 1550 153= 4 1518 1502 1486 1470 1454 1438 1422 1406 1390 1374 1358 1342 1326 1310 129= 4 1278 1262 1246 1230 1214 1198 1182 1166 1150 1134 1118 1102 1086 1070 105= 4 1038 1022 1006 990 974 958 942 926 910 894 878 862 846 830 814 798 782 76= 6 750 734 718 702 686 670 654 638 622 606 590 574 558 542 526 510 494 478 4= 62 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 = 158 142 126 110 94 78 62 46 30 14 Reading symbols from /boot/kernel/umass.ko...Reading symbols from /boot/ker= nel/umass.ko.symbols...done. done. Loaded symbols for /boot/kernel/umass.ko #0 doadump () at pcpu.h:195 195 __asm __volatile("movq %%gs:0,%0" : "=3Dr" (td)); (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xffffffff80567248 in boot (howto=3D260) at /usr/home/nox/src72s2/src/sys/kern/kern_shutdown.c:418 #2 0xffffffff805676ac in panic (fmt=3DVariable "fmt" is not available. ) at /usr/home/nox/src72s2/src/sys/kern/kern_shutdown.c:574 #3 0xffffffff8082f953 in trap_fatal (frame=3D0xc, eva=3DVariable "eva" is = not available. ) at /usr/home/nox/src72s2/src/sys/amd64/amd64/trap.c:756 #4 0xffffffff8082fd34 in trap_pfault (frame=3D0xffffff8085487cf0, usermode= =3D0) at /usr/home/nox/src72s2/src/sys/amd64/amd64/trap.c:672 #5 0xffffffff808306e2 in trap (frame=3D0xffffff8085487cf0) at /usr/home/nox/src72s2/src/sys/amd64/amd64/trap.c:443 #6 0xffffffff80819cce in calltrap () at /usr/home/nox/src72s2/src/sys/amd64/amd64/exception.S:218 #7 0xffffffff804d67d4 in usb_transfer_complete (xfer=3D0xffffff00046b1000) at /usr/home/nox/src72s2/src/sys/dev/usb/usbdi.c:949 #8 0xffffffff80815bf4 in bus_dmamap_load (dmat=3D0xffffff0004499880,=20 map=3D0xffffff000478ec00, buf=3D0xffffff8085487fe0, buflen=3D0,=20 callback=3D0xffffffff804d68b0 ,=20 callback_arg=3D0xffffff00046b1000, flags=3D0) at /usr/home/nox/src72s2/src/sys/amd64/amd64/busdma_machdep.c:738 #9 0xffffffff804d6f2e in usbd_transfer (xfer=3D0xffffff00046b1000) at /usr/home/nox/src72s2/src/sys/dev/usb/usbdi.c:312 #10 0xffffffff804d717f in usbd_do_request_flags_pipe (dev=3D0xffffff0004751= 600,=20 ---Type to continue, or q to quit--- pipe=3D0xffffff000474cd80, req=3D0xffffff8085487f80, data=3D0xffffff808= 5487fe0,=20 flags=3DVariable "flags" is not available. ) at /usr/home/nox/src72s2/src/sys/dev/usb/usbdi.c:1100 #11 0xffffffff804d72b5 in usbd_do_request_flags (dev=3DVariable "dev" is no= t available. ) at /usr/home/nox/src72s2/src/sys/dev/usb/usbdi.c:1070 #12 0xffffffff804d518b in usbd_get_string_desc (dev=3D0xffffff0004751600, s= index=3DVariable "sindex" is not available. ) at /usr/home/nox/src72s2/src/sys/dev/usb/usb_subr.c:171 #13 0xffffffff804d6473 in usbd_get_string (dev=3D0xffffff0004751600, si=3D3= ,=20 buf=3D0xffffff8085488160 "", len=3D128) at /usr/home/nox/src72s2/src/sys/dev/usb/usbdi.c:1353 #14 0xffffffff804cdb49 in uhub_child_pnpinfo_str (cbdev=3DVariable "cbdev" = is not available. ) at /usr/home/nox/src72s2/src/sys/dev/usb/uhub.c:658 #15 0xffffffff80590ce5 in devaddq (type=3D0xffffffff8090dccf "+",=20 what=3D0xffffff00046b0000 "umass0 vendor=3D0x0325 product=3D0xac02 devc= lass=3D0x00 devsubclass=3D0x00 release=3D0x1100 sernum=3D\"AA04012700152689= \" intclass=3D0x08 intsubclass=3D0x06", dev=3D0xffffff00046c0200) at /usr/home/nox/src72s2/src/sys/kern/subr_bus.c:625 #16 0xffffffff805914ba in device_attach (dev=3D0xffffff00046c0200) at /usr/home/nox/src72s2/src/sys/kern/subr_bus.c:668 #17 0xffffffff804d5b41 in usbd_new_device (parent=3D0xffffff00044a0200,=20 bus=3D0xffffff0004472000, depth=3DVariable "depth" is not available. ) at /usr/home/nox/src72s2/src/sys/dev/usb/usb_subr.c:926 #18 0xffffffff804cd79d in uhub_explore (dev=3D0xffffff00044a0300) at /usr/home/nox/src72s2/src/sys/dev/usb/uhub.c:523 ---Type to continue, or q to quit--- #19 0xffffffff804d23e8 in usb_discover (v=3DVariable "v" is not available. ) at /usr/home/nox/src72s2/src/sys/dev/usb/usb.c:724 #20 0xffffffff804d33aa in usb_event_thread (arg=3DVariable "arg" is not ava= ilable. ) at /usr/home/nox/src72s2/src/sys/dev/usb/usb.c:440 #21 0xffffffff8054115f in fork_exit ( callout=3D0xffffffff804d3320 , arg=3D0xffffff00044b15= 80,=20 frame=3D0xffffff8085488c80) at /usr/home/nox/src72s2/src/sys/kern/kern_fork.c:811 #22 0xffffffff8081a0ae in fork_trampoline () at /usr/home/nox/src72s2/src/sys/amd64/amd64/exception.S:554 #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000001 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000000 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x0000000000000000 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000000000 in ?? () #42 0x0000000000000000 in ?? () #43 0x0000000000000000 in ?? () #44 0x0000000000000000 in ?? () #45 0x0000000000000000 in ?? () #46 0x0000000000000000 in ?? () #47 0x0000000000d84000 in ?? () #48 0x0000000000000001 in ?? () #49 0xffffffff80bba848 in sleepq_chains () #50 0xffffff00044a5720 in ?? () #51 0xffffff00044a5a70 in ?? () #52 0xffffff8085487da0 in ?? () #53 0xffffff8085487d38 in ?? () #54 0xffffff00044a5720 in ?? () #55 0xffffffff8058b01e in sched_switch (td=3D0x0, newtd=3DCannot access mem= ory at address 0xffffffffffffffa8 ) at /usr/home/nox/src72s2/src/sys/kern/sched_ule.c:1938 Previous frame inner to this frame (corrupt stack?) (kgdb) fr 7 #7 0xffffffff804d67d4 in usb_transfer_complete (xfer=3D0xffffff00046b1000) at /usr/home/nox/src72s2/src/sys/dev/usb/usbdi.c:949 949 STAILQ_REMOVE_HEAD(&pipe->queue, next); (kgdb) p pipe $1 =3D 0xffffff000474cd80 (kgdb) p *pipe $2 =3D {iface =3D 0x0, device =3D 0xffffff0004751600, endpoint =3D 0xffffff= 0004751638,=20 refcnt =3D 1, running =3D 0 '\0', aborting =3D 0 '\0', queue =3D {stqh_fi= rst =3D 0x0,=20 stqh_last =3D 0xffffff000474cda0}, next =3D {le_next =3D 0x0, le_prev = =3D 0x0},=20 intrxfer =3D 0x0, repeat =3D 0 '\0', interval =3D -1, methods =3D 0xfffff= fff80afbf00} (kgdb) q zsh triton#=20 Suggestions/patches welcome... Thanx, Juergen From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 23:36:16 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4099B1065674 for ; Sun, 19 Jul 2009 23:36:16 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-fx0-f205.google.com (mail-fx0-f205.google.com [209.85.220.205]) by mx1.freebsd.org (Postfix) with ESMTP id C37B88FC0A for ; Sun, 19 Jul 2009 23:36:15 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: by fxm1 with SMTP id 1so126682fxm.43 for ; Sun, 19 Jul 2009 16:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NmBNv5euiDlEnH0q8FhCTegNzgwlhol9FPTEOhFJ6Z8=; b=x+kSuCySpsTFlOgDXSQlxWuwOBovaImRPqbICpdi+WvwydHk+jJo5pJPy9a7NFAbIy Jr8I/6mxY0egxm+adakUKEZS5jkKyirS5P59Kz2z4D7WOMr/8JQYClNdiOnL7Wiz38cH sNSqlDLHt9VI1V3pted0EM3pGT964dQmp8cZ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Y9uOPfH3z5ZNNMcfwLB0h8hnxXh+rtr0NTVBbfrSdNsIupQIPVKlntHSS5fIkkxUqE tXX5GAaeYtE1P1xOiBc3PIokD8Plmx5Eefqj185dmqaRWpQS4eJ5JqVB6Ub4FmeheKdd IzXWdvI0rXr3E4jyV6k8QoVXBVWNbUYEoSwZI= MIME-Version: 1.0 Received: by 10.103.173.15 with SMTP id a15mr1854407mup.59.1248046574754; Sun, 19 Jul 2009 16:36:14 -0700 (PDT) In-Reply-To: <20090719205324.GG85228@blogreen.org> References: <20090719202638.GA85228@blogreen.org> <20090719204755.GA94947@stack.nl> <20090719205324.GG85228@blogreen.org> Date: Mon, 20 Jul 2009 01:36:14 +0200 Message-ID: <6101e8c40907191636l60141229vc171116969c7e25d@mail.gmail.com> From: Oliver Pinter To: =?ISO-8859-1?Q?Romain_Tarti=E8re?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org, Jilles Tjoelker Subject: Re: Value of $? lost in the beginning of a function. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 23:36:16 -0000 do you plan to MFC this fix? On 7/19/09, Romain Tarti=E8re wrote: > On Sun, Jul 19, 2009 at 10:47:55PM +0200, Jilles Tjoelker wrote: >> This has been fixed in 8.x: > Cool, thanks! > > -- > Romain Tarti=E8re http://romain.blogreen.org= / > pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43) > (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciat= ed) > From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 23:47:01 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3431F106566C; Sun, 19 Jul 2009 23:47:01 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from pinus.izb.knu.ac.kr (pinus.izb.knu.ac.kr [IPv6:2001:470:1f05:5f6:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 940748FC1B; Sun, 19 Jul 2009 23:47:00 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from pinus.izb.knu.ac.kr (localhost.izb.knu.ac.kr [IPv6:::1]) by pinus.izb.knu.ac.kr (Postfix) with ESMTP id BFD9757359; Mon, 20 Jul 2009 08:46:58 +0900 (KST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=izb.knu.ac.kr; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type:content-transfer-encoding; s= soyeomul; bh=8s0PlcHEdEHCMa+6bhilqoF38+WQjSlqyo1oH80nlmM=; b=En5 +7pV/j67unriucuqHmUyUwUmiqGbLBySywDPS6qo26CVBmjwYK1JMKEOY4Wz2PGh isdqM1Hy07IriW8q9X+rAsb3QEMF/vSK7PN2I3fSjJAh+0pMqfhndccg00zG0s+t +WPQQlKf2H2+qo6YOYfYTvII9uKOXW5NUpngPnBU= DomainKey-Signature: a=rsa-sha1; c=simple; d=izb.knu.ac.kr; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=soyeomul; b=RW IagcC0aeGC1uUsDOJ22f4XlJemx+exs43z3aQxI4OwAfw/iTLrxGHoX+46O2nwX7 2PNw/RRXAJpDyJ3/FbMWv1QD9lg7N1VK2EsQ0uYHbABXTAuHE30CBYWWdBjFhiRD sJHQ4loYkgnMg+gGR6mXc1GSb+WnPC1ZTSWdEwhkc= Received: from rhodo.izb.knu.ac.kr (rhodo.izb.knu.ac.kr [IPv6:2001:470:1f05:5f8:3::2]) by pinus.izb.knu.ac.kr (Postfix) with ESMTP id 539AB57355; Mon, 20 Jul 2009 08:46:58 +0900 (KST) Received: from betla.izb.knu.ac.kr (betla.izb.knu.ac.kr [IPv6:2001:470:1f05:5f6:3::a1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: bh@izb.knu.ac.kr) by rhodo.izb.knu.ac.kr (Postfix) with ESMTP id A4F6D1CD6F; Mon, 20 Jul 2009 08:46:54 +0900 (KST) From: Byung-Hee HWANG To: Ken Smith References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> Date: Mon, 20 Jul 2009 08:46:44 +0900 In-Reply-To: <1248027417.14210.110.camel@neo.cse.buffalo.edu> (Ken Smith's message of "Sun, 19 Jul 2009 14:16:57 -0400") Message-ID: <864ot8s0bf.fsf@betla.izb.knu.ac.kr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-stable Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2009 23:47:01 -0000 Ken Smith writes: > First I want to apologize. This should have happened a bit sooner in > our release cycle than now. To be honest I had slipped into "We have > symbol versioning for our libraries now" mode. But only a few of the > libraries currently have that turned on and I sorta forgot we still need > to deal with all the shared libraries that do not have symbol versioning > enabled yet. Sorry for the hassle this will cause. > > Today with svn commit 195767 I bumped the version number of all > non-symbol-version-ed shared libraries in preparation for 8.0-REL. We > do this just in case API/ABI changes occured in head between 7.0 and > now, it lets us provide the older library versions as "compatibility > library ports" in the ports tree. > > The problem is that as of the next time you update a machine that had > been running -current you are best off reinstalling all ports or other > applications you have on the machine. When you reboot after doing the > update to the base system everything you have installed will still work > because the old shared library versions will still be there. However > anything you build on the machine after its base system gets updated > would be linked against the newer base system shared libraries but any > libraries that are part of ports or other applications (e.g. the Xorg > libraries) would have been linked against the older library versions. > You really don't want to leave things that way. > > The ports folks will be starting up a fresh package build now but it > takes some time for full package runs like this to complete, get > uploaded, and then propagate out to the mirrors. If you tend to use > pre-built packages instead of building them as ports yourself you might > want to just hold off on updating anything until they let us know a > fresh set of packages is available. And BETA3 will definitely be > scheduled for after the fresh set of packages becomes available. > > And again - sorry for the hassle. In my case, there is no upgrade with servers -- i have two servers (4.11-STABLE, 6.3-RELEASE). So plz don't worry. Only what i do upgrade is client which is my main desktop -- currently it runs as 7.2-RELEASE. Though! Don't worry because always i do upgrade as follow:=20 =3D> csup =3D> make world =3D> reboot =3D> (after coffee time)=20=20 =3D> pkg_delete -af =3D> pkg_add -r -v gnome (with several package) That's very fine and fast for me, anyway... --=20 Byung-Hee HWANG, KNU =E2=88=91 WWW: http://izb.knu.ac.kr/~bh/ "Come on, stick it in. Stick it in, Johnny, that's what you really want." -- Margot Ashton, "Chapter 1", page 12 From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 00:17:24 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01F74106566B for ; Mon, 20 Jul 2009 00:17:24 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f208.google.com (mail-bw0-f208.google.com [209.85.218.208]) by mx1.freebsd.org (Postfix) with ESMTP id 815DB8FC0A for ; Mon, 20 Jul 2009 00:17:23 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz4 with SMTP id 4so1507958bwz.43 for ; Sun, 19 Jul 2009 17:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=OdI4I/x4QlRPub+x929LmmkMpFpaU7cmV3vYto1XJTA=; b=BS7ZUIhimHHT8a/eJFoa15rZpYLDgk/uay65hPNgCNNGtgxFn0fzwL29ms6Y65QBMu jAu1bGPGqnVxNKmvGrencvdNhzT4vGsyQ4fAb4zhuvAxaS4T6nrq6DuShWRmp5gza6qk qUn9MR0sn4iVyvvKrvl5npRiIKdcAPhuxRlxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=RQmMh924ZuP/82eZasHYyF4YTiHpJCfeviRQDmFTeRbd5MopGhaMRKXKApcnlYDOve 2BtNsgnZjBA00cGZHTZ61bFL0JtwE/kDoDjO/A3u5/+WWrO2w9cLwOIM17ykI5QG0Q++ Mo7U5SbuMsoCYEK+uY8l+jaB8LYNGgwVwi1PA= MIME-Version: 1.0 Received: by 10.223.123.141 with SMTP id p13mr988697far.84.1248049042442; Sun, 19 Jul 2009 17:17:22 -0700 (PDT) Date: Sun, 19 Jul 2009 20:17:22 -0400 Message-ID: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> From: Glen Barber To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 00:17:24 -0000 Possibly off-topic... 2009/7/19 Glen Barber : > 2009/7/19 Romain Tarti=E8re : >> Hi Glen, >> >> On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: >>> > % sh foo.sh >>> > % zsh foo.sh >>> > % bash foo.sh >>> What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' ? >> >> This is not related to my problem since I am not running the script >> using ./foo.sh but directly using the proper shell. =A0sh just behaves >> differently, that looks odd so I would like to know if it is a bug in sh >> or if there is no specification for this and the behaviour depends of >> the implementation of each shell, in which case I have to tweak the >> script I am porting to avoid this construct (passing $? as an argument >> for example). >> >> Romain >> > > My understanding was this: > > If you specify 'sh foo.sh' at the shell, the script will be run in a > /bin/sh shell, _unless_ you override the shell _in_ the script. > > Ie, 'sh foo.sh' containing '#!/bin/sh' being redundant, but 'zsh > foo.sh' containing '#!/bin/sh' would execute using zsh. > > I meant to say in the last line: "'#!/bin/sh' would override the 'zsh' shel= l." Can someone enlighten me if I am wrong about this? --=20 Glen Barber From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 01:02:49 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ABA31065674 for ; Mon, 20 Jul 2009 01:02:49 +0000 (UTC) (envelope-from marka@isc.org) Received: from farside.isc.org (farside.isc.org [IPv6:2001:4f8:3:bb::5]) by mx1.freebsd.org (Postfix) with ESMTP id 1FC5D8FC17 for ; Mon, 20 Jul 2009 01:02:49 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:214:22ff:fed9:fbdc]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "drugs.dv.isc.org", Issuer "ISC CA" (not verified)) by farside.isc.org (Postfix) with ESMTP id 75A66E606E; Mon, 20 Jul 2009 01:02:48 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.3/8.14.3) with ESMTP id n6K12h1Y048534; Mon, 20 Jul 2009 11:02:45 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200907200102.n6K12h1Y048534@drugs.dv.isc.org> To: Glen Barber From: Mark Andrews References: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> In-reply-to: Your message of "Sun, 19 Jul 2009 20:17:22 -0400." <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> Date: Mon, 20 Jul 2009 11:02:43 +1000 Sender: marka@isc.org Cc: stable@freebsd.org Subject: Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 01:02:50 -0000 In message <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com>, Glen Barber writes: > Possibly off-topic... > > > 2009/7/19 Glen Barber : > > 2009/7/19 Romain Tarti=E8re : > >> Hi Glen, > >> > >> On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: > >>> > % sh foo.sh > >>> > % zsh foo.sh > >>> > % bash foo.sh > >>> What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' ? > >> > >> This is not related to my problem since I am not running the script > >> using ./foo.sh but directly using the proper shell. =A0sh just behaves > >> differently, that looks odd so I would like to know if it is a bug in sh > >> or if there is no specification for this and the behaviour depends of > >> the implementation of each shell, in which case I have to tweak the > >> script I am porting to avoid this construct (passing $? as an argument > >> for example). > >> > >> Romain > >> > > > > My understanding was this: > > > > If you specify 'sh foo.sh' at the shell, the script will be run in a > > /bin/sh shell, _unless_ you override the shell _in_ the script. > > > > Ie, 'sh foo.sh' containing '#!/bin/sh' being redundant, but 'zsh > > foo.sh' containing '#!/bin/sh' would execute using zsh. > > > > > > I meant to say in the last line: "'#!/bin/sh' would override the 'zsh' shel= > l." > > Can someone enlighten me if I am wrong about this? > > --=20 > Glen Barber > _______________________________________________ > 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" "#!" is used to define the interpretor when the file is exec'd. perl, AFAIK, is the only interpretor that will look at what is after the "#!" and modify it's behaviour. All other a interpretors (shells) treat "#!" as a comment. Some shells used to examine the executable about to be called and looked for "#!" and invoke the correct interpretor. This was how "#!" was supported before kernels has support for "#!". It was all done in userland. Mark -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 01:08:05 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B30E1065672 for ; Mon, 20 Jul 2009 01:08:05 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f205.google.com (mail-fx0-f205.google.com [209.85.220.205]) by mx1.freebsd.org (Postfix) with ESMTP id EC7278FC24 for ; Mon, 20 Jul 2009 01:08:04 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm1 with SMTP id 1so144184fxm.43 for ; Sun, 19 Jul 2009 18:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ss/unZhn27XhfJIpaPkf2PgzdiJwS9ZI3Th3n75dVJk=; b=jVv4580j3QwhQUeD9yXi05GquuKwQyzZ6Aa6k8X0ueYbugwNKSgG/1t5iMKeWkfXzb rh4KBsZ3uPipqldowUikwK/FvAUduaaH5rCs5iS5vlYflwYw4MSTBOJfK1CRb0zJEyyL PXdkUVMJxgu2XyU3jIaGVczK4kYIpnogJFgrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kd8EGvjWwHWIzD+U5iKTyoCJmBuZ7+GMb6s+1L/TPuZrfuxY+bvd3K7fUhC9IOLlGq mEDmD8X+NC7xwT9C06tTMmiki+3yKhye2bjbyamq3W9qVRaUgcmwtss/hfYIDrHugBif WXh2vQRNBDn4ArdoW2foGdYfpIKG/Mc/43mUs= MIME-Version: 1.0 Received: by 10.223.121.208 with SMTP id i16mr1036419far.32.1248052081064; Sun, 19 Jul 2009 18:08:01 -0700 (PDT) In-Reply-To: <200907200102.n6K12h1Y048534@drugs.dv.isc.org> References: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> <200907200102.n6K12h1Y048534@drugs.dv.isc.org> Date: Sun, 19 Jul 2009 21:08:00 -0400 Message-ID: <4ad871310907191808g8a81107wa17799284be176a@mail.gmail.com> From: Glen Barber To: Mark Andrews Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org Subject: Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 01:08:05 -0000 On Sun, Jul 19, 2009 at 9:02 PM, Mark Andrews wrote: > > In message <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com>,= Glen > Barber writes: >> Possibly off-topic... >> >> >> 2009/7/19 Glen Barber : >> > 2009/7/19 Romain Tarti=3DE8re : >> >> Hi Glen, >> >> >> >> On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: >> >>> > % sh foo.sh >> >>> > % zsh foo.sh >> >>> > % bash foo.sh >> >>> What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' = ? >> >> >> >> This is not related to my problem since I am not running the script >> >> using ./foo.sh but directly using the proper shell. =3DA0sh just beha= ves >> >> differently, that looks odd so I would like to know if it is a bug in= sh >> >> or if there is no specification for this and the behaviour depends of >> >> the implementation of each shell, in which case I have to tweak the >> >> script I am porting to avoid this construct (passing $? as an argumen= t >> >> for example). >> >> >> >> Romain >> >> >> > >> > My understanding was this: >> > >> > If you specify 'sh foo.sh' at the shell, the script will be run in a >> > /bin/sh shell, _unless_ you override the shell _in_ the script. >> > >> > Ie, 'sh foo.sh' containing '#!/bin/sh' being redundant, but 'zsh >> > foo.sh' containing '#!/bin/sh' would execute using zsh. >> > >> > >> >> I meant to say in the last line: "'#!/bin/sh' would override the 'zsh' s= hel=3D >> l." >> >> Can someone enlighten me if I am wrong about this? >> > > "#!" is used to define the interpretor when the file is exec'd. > > perl, AFAIK, is the only interpretor that will look at what is after > the "#!" and modify it's behaviour. =A0All other a interpretors (shells) > treat "#!" as a comment. > > Some shells used to examine the executable about to be called and > looked for "#!" and invoke the correct interpretor. =A0This was how > "#!" was supported before kernels has support for "#!". =A0It was all > done in userland. > Hi, Mark. You've given me enough information to point me in the right direction on digging further into this. Thanks, and I appreciate the response! --=20 Glen Barber From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 03:17:06 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7C27106564A for ; Mon, 20 Jul 2009 03:17:06 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id C5A148FC0A for ; Mon, 20 Jul 2009 03:17:05 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id n6K2uUDr094538; Mon, 20 Jul 2009 12:56:30 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 20 Jul 2009 12:56:29 +1000 (EST) From: Ian Smith To: Mark Andrews In-Reply-To: <200907200102.n6K12h1Y048534@drugs.dv.isc.org> Message-ID: <20090720120342.H6107@sola.nimnet.asn.au> References: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> <200907200102.n6K12h1Y048534@drugs.dv.isc.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: stable@freebsd.org, Glen Barber Subject: Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 03:17:06 -0000 On Mon, 20 Jul 2009, Mark Andrews wrote: > In message <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com>, Glen > Barber writes: > > Possibly off-topic... [..] > > > My understanding was this: > > > > > > If you specify 'sh foo.sh' at the shell, the script will be run in a > > > /bin/sh shell, _unless_ you override the shell _in_ the script. > > > > > > Ie, 'sh foo.sh' containing '#!/bin/sh' being redundant, but 'zsh > > > foo.sh' containing '#!/bin/sh' would execute using zsh. > > > > > > > > > > I meant to say in the last line: "'#!/bin/sh' would override the 'zsh' shel= > > l." > > > > Can someone enlighten me if I am wrong about this? > > "#!" is used to define the interpretor when the file is exec'd. > > perl, AFAIK, is the only interpretor that will look at what is after > the "#!" and modify it's behaviour. All other a interpretors (shells) > treat "#!" as a comment. > > Some shells used to examine the executable about to be called and > looked for "#!" and invoke the correct interpretor. This was how > "#!" was supported before kernels has support for "#!". It was all > done in userland. Some rexx scripts begin with this cute trick so they may be executed in any (UNIXish) shell as 'program', or specifically as 'rexx program', where it's just a regular rexx comment: /*usr/bin/true;exec rexx -x "$0" "$@";exit# ReXX */ /* Take a measure of REXX clauses-per-second (CPS) */ /* Mike Cowlishaw (mfc@ibm.com). Multi-platform. */ /* 1.0 17 Jan 89 Original version */ though I never understood why an exit would be needed after an exec .. just making sure I guess, or maybe catering for some variant or other. cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 08:11:44 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E259B106567F for ; Mon, 20 Jul 2009 08:11:44 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from pinus.izb.knu.ac.kr (pinus.izb.knu.ac.kr [IPv6:2001:470:1f05:5f6:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6CB1C8FC2E for ; Mon, 20 Jul 2009 08:11:44 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from pinus.izb.knu.ac.kr (localhost.izb.knu.ac.kr [IPv6:::1]) by pinus.izb.knu.ac.kr (Postfix) with ESMTP id 0E19657357 for ; Mon, 20 Jul 2009 17:11:43 +0900 (KST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=izb.knu.ac.kr; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=soyeomul; bh=CXNcbv3qkGrSeHjB8Fpf0 QQrDDogYkZsdTIgFg4+t68=; b=fWNdUvIOS/M5o0B81hFq9seiDmm2FwfMnhkfO SgOcGpSBh2Ny3grXIP87lN8SVm5TRNFK8wvIEDA2U7qPfRRJIWxDu6rnkUVtSnRA jh5Nk8v61ccnwr5i2Gv0DixGpPKY3Bl79efBFjion3hZXeXBgjjwcEDmC48/5rGp uBqAMA= DomainKey-Signature: a=rsa-sha1; c=simple; d=izb.knu.ac.kr; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=soyeomul; b=aC62kDVmF8XSTNY 4o2imYBnrGIOkWEjsyFe0wa1NPFtpySsewDXsBqmq92EgTdYKPSDG95/sGzouxSq 6P80lZvHP1wor7ImRj+aJCxk9ctq+qhFP+z7HeIce+RQp6EomiMN2HIqZ/ABSRx0 Gh9WdmcbC0NMdll4w/D1Du5nzJKA= Received: from rhodo.izb.knu.ac.kr (rhodo.izb.knu.ac.kr [IPv6:2001:470:1f05:5f8:3::2]) by pinus.izb.knu.ac.kr (Postfix) with ESMTP id 7A26057355 for ; Mon, 20 Jul 2009 17:11:42 +0900 (KST) Received: from betla.izb.knu.ac.kr (betla.izb.knu.ac.kr [IPv6:2001:470:1f05:5f6:3::11]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: bh@izb.knu.ac.kr) by rhodo.izb.knu.ac.kr (Postfix) with ESMTP id 88C831CD6F for ; Mon, 20 Jul 2009 17:11:39 +0900 (KST) From: Byung-Hee HWANG To: stable@freebsd.org Date: Mon, 20 Jul 2009 17:11:29 +0900 Message-ID: <86vdlnlqoe.fsf@betla.izb.knu.ac.kr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: [OT] perfer mailer (MUA) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 08:11:45 -0000 First of all, this is pretty off topic. At once, i sent one email on subject "Which one is best MTA for me?" in here stable@. At that time, Postfix won, according to my memory..;; Today i would like to fire about prefer mailer. Because i just like very much about email stuff -- MTA, MUA, Mail routing, Email Internet Draft.. and so on.. ;; I use Gnome Desktop under FreeBSD 7.2-RELEASE. Since i moved to Gnus my mailer, Gnome Desktop's prefer application does not allow to use Gnus as default mailer (with "mailto:" link). However, Last night i solved the problem by helping GNU mailing lists, info-gnus-english@gnu.org ..;; When i started to use email with Gnome desktop, i use Evolution as default mailer by Pav's recommendation. Pav, he does work for gnome@freebsd.org ; BTW, someday i discover some word "berkeley-unix" in an email header on this freebsd mailing lists. The word "berkeley-unix" give me quite excitement because "berkeley" is origin of FreeBSD in the history.=20 At any rate, i did investgate about the mailer. After all, i knew the mailer's name is Gnus from GNU/Emacs. From that day, i became Emacs's fan! Now, i'm writing email on Gnus. While i go with Gnus (of GNU/Emacs), i'm so happy as if i discover new utopia.=20=20 OK, now i want to here your voice about prefer mailer. As mentioned above, my prefer mailer (MUA) is Gnus ..;;=20 Sincerely, =20 --=20 Byung-Hee HWANG =E2=88=91 WWW: http://izb.knu.ac.kr/~bh/ Lampone had not said a word all day, had not even glanced at the two men in the back seat. He had opened the door for the Don, the car had been in front of the bank when they emerged, he had done everything correctly but no more than any well-trained chauffeur might do. -- The author's narration, "Chapter 20", page 292-293 From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 10:08:43 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 485E01065670 for ; Mon, 20 Jul 2009 10:08:43 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out1.ops.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id 0A2408FC16 for ; Mon, 20 Jul 2009 10:08:43 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out1.ops.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MSpcK-00073O-LL for stable@freebsd.org; Mon, 20 Jul 2009 11:57:18 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MSpby-00064L-Lx for stable@freebsd.org; Mon, 20 Jul 2009 11:56:46 +0200 Message-ID: <4A643F5B.8080806@mapper.nl> Date: Mon, 20 Jul 2009 11:56:43 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: stable@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD3AAD6ABCC7D5B5B42CD9B53" Cc: Subject: ZFS RAIDZ and atacontrol spindown settings X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 10:08:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD3AAD6ABCC7D5B5B42CD9B53 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Good day, I am the proud user of a FreeBSD 7.2 AMD64 system housing, amongst other things, a data server. My "server"(It's called "Yoshi") runs FreeBSD from a mirrored system disc, and has a zfs RAIDZ array with 4 discs for bulky data. As it is a home server, and I work during the day, these four discs were spinning happily all day long without much use for them doing so. To save the world(and money) I issued the command "atacontrol spindown 1800" for all the discs in my array spinning them down after thirty minutes of idle spinning. So far so good, me very happy! However, when I access the array after the discs have been spun down, it spins up the discs one after the other.= =2E. Mind you one AFTER the other, taking 4*9 seconds to do a "ls" command on my music directory. Content as I am with the smooth down- and upspinning of the disks, I would like it better if the four discs would spin up simultaneously. Thus my question: "Is it possible to \"group\" discs to be spun up together, or to issue a custom command upon upspinning of a disc such as to spin up other disks?" Thanks! Greetz, Mark --------------enigD3AAD6ABCC7D5B5B42CD9B53 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpkP14ACgkQN9xNqOOVnWBG+ACeKkrFrWDKRWSfnnxuRpP3HkXK PQ4An2ynFqH2TwKTK2/QZtU7wvhC9tgG =9i0X -----END PGP SIGNATURE----- --------------enigD3AAD6ABCC7D5B5B42CD9B53-- From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 11:29:34 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89652106564A for ; Mon, 20 Jul 2009 11:29:34 +0000 (UTC) (envelope-from freebsd-stable-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5F9B58FC1E for ; Mon, 20 Jul 2009 11:29:34 +0000 (UTC) (envelope-from freebsd-stable-local@be-well.ilk.org) Received: (qmail 18472 invoked from network); 20 Jul 2009 11:02:53 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Jul 2009 11:02:53 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 3205F5080A; Mon, 20 Jul 2009 07:02:46 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 604C31CC22; Mon, 20 Jul 2009 07:02:46 -0400 (EDT) To: Glen Barber References: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> From: Lowell Gilbert Date: Mon, 20 Jul 2009 07:02:46 -0400 In-Reply-To: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> (Glen Barber's message of "Sun\, 19 Jul 2009 20\:17\:22 -0400") Message-ID: <44tz17k46h.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org Subject: Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 11:29:35 -0000 Glen Barber writes: > Possibly off-topic... > > > 2009/7/19 Glen Barber : >> 2009/7/19 Romain Tarti=E8re : >>> Hi Glen, >>> >>> On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: >>>> > % sh foo.sh >>>> > % zsh foo.sh >>>> > % bash foo.sh >>>> What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' ? >>> >>> This is not related to my problem since I am not running the script >>> using ./foo.sh but directly using the proper shell. =A0sh just behaves >>> differently, that looks odd so I would like to know if it is a bug in sh >>> or if there is no specification for this and the behaviour depends of >>> the implementation of each shell, in which case I have to tweak the >>> script I am porting to avoid this construct (passing $? as an argument >>> for example). >>> >>> Romain >>> >> >> My understanding was this: >> >> If you specify 'sh foo.sh' at the shell, the script will be run in a >> /bin/sh shell, _unless_ you override the shell _in_ the script. >> >> Ie, 'sh foo.sh' containing '#!/bin/sh' being redundant, but 'zsh >> foo.sh' containing '#!/bin/sh' would execute using zsh. >> >> > > I meant to say in the last line: "'#!/bin/sh' would override the 'zsh' sh= ell." > > Can someone enlighten me if I am wrong about this? The person to whom you were responding had it closer. The shell specified in the "#!" first line is only consulted if you run it as "./foo.sh". Otherwise, it's input to the shell that you started, and the line is only a comment. From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 12:57:55 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3F701065670; Mon, 20 Jul 2009 12:57:55 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:2:2d29:0:1::]) by mx1.freebsd.org (Postfix) with ESMTP id 3B1928FC0C; Mon, 20 Jul 2009 12:57:55 +0000 (UTC) (envelope-from hlh@restart.be) Received: from restart.be (avoriaz.tunnel.bel [IPv6:2001:41d0:2:2d29:1:ffff::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "avoriaz.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 473166226; Mon, 20 Jul 2009 14:57:54 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:2:2d29:1:2::]) (authenticated bits=0) by restart.be (8.14.3/8.14.3) with ESMTP id n6KCvoKv002737; Mon, 20 Jul 2009 14:57:51 +0200 (CEST) (envelope-from hlh@restart.be) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1248094673; bh=6wWeVdLGTQEyXNYLsgpZFy3z83xPKbRWkuES/Fb4P5k=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=0AthG3DLvuQSnsNQCajTLrE+JRTgPhE2/zqYyMGxabNcFz9gRtS2OJw5U4w3yJrl+ 5UjaI/0mnrttI0aOSqb9Q== DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:content-type: content-transfer-encoding:x-scanned-by; b=mYWlQDiNUjYJVtyroypxxRhg+NZ8vat0P2g7kaF8+L0MYseTa8IzwjDC/R3Jm9JVc cFyJakPi4uen8ic/vCG5A== Message-ID: <4A6469CE.4060907@restart.be> Date: Mon, 20 Jul 2009 14:57:50 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Thunderbird 2.0.0.22 (X11/20090717) MIME-Version: 1.0 To: "Li, Qing" References: <4A5734C3.3000806@restart.be> <4A5864DC.1070106@restart.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on IPv6:2001:41d0:2:2d29:1:1:: Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: 8.0-BETA1 - for the record - different paths followed by IPv4 and IPv6 for 'local' connections X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 12:57:56 -0000 Li, Qing wrote: > The patch has been committed, svn revision 195643. > > Thanks, > > -- Qing > Just another case where the route must be created: [root@avoriaz ~]# ifconfig gif0 gif0: flags=8051 metric 0 mtu 1280 tunnel inet 212.239.166.57 --> 94.23.44.41 inet6 fe80::21d:60ff:fead:2ace%gif0 prefixlen 64 scopeid 0x4 inet6 2001:41d0:2:2d29:1:ffff:: --> 2001:41d0:2:2d29:0:ffff:: prefixlen 128 options=1 [root@avoriaz ~]# ping6 2001:41d0:2:2d29:1:ffff:: PING6(56=40+8+8 bytes) 2001:41d0:2:2d29:1:ffff:: --> 2001:41d0:2:2d29:1:ffff:: ^C --- 2001:41d0:2:2d29:1:ffff:: ping6 statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss [root@avoriaz ~]# route add -inet6 2001:41d0:2:2d29:1:ffff:: -interface lo0 add host 2001:41d0:2:2d29:1:ffff::: gateway lo0 [root@avoriaz ~]# ping6 2001:41d0:2:2d29:1:ffff:: PING6(56=40+8+8 bytes) 2001:41d0:2:2d29:1:ffff:: --> 2001:41d0:2:2d29:1:ffff:: 16 bytes from ::1, icmp_seq=0 hlim=64 time=0.531 ms 16 bytes from ::1, icmp_seq=1 hlim=64 time=0.884 ms 16 bytes from ::1, icmp_seq=2 hlim=64 time=0.748 ms ^C --- 2001:41d0:2:2d29:1:ffff:: ping6 statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.531/0.721/0.884/0.145 ms Thanks Henri > > -----Original Message----- > From: Henri Hennebert [mailto:hlh@restart.be] > Sent: Sat 7/11/2009 3:09 AM > To: Li, Qing > Cc: freebsd-stable@freebsd.org; freebsd-net@freebsd.org > Subject: Re: 8.0-BETA1 - for the record - different paths followed by IPv4 and IPv6 for 'local' connections > > Li, Qing wrote: >> Hi, >> >> Please try patch-7-10 in my home directory http://people.freebsd.org/~qingli/ >> and let me know how it works out for you. I thought I had committed the patch >> but turned out I didn't. > > I apply the patch, reset my pf.conf to its previous content and all is > running smoothly. By the way, I discover after my post that my > "solution" was not working for long (many bytes) connections and this is > solved too. > > Many thank for your time > > Henri > > PS please commit as soon as possible > >>> On 8.0-BETA1 there is an assymetry: >>> >>> netstat -rn display >>> >>> 192.168.24.1 link#3 >>> .... >>> no entry for 2001:41d0:2:2d29:1:1:: >>> >> This is by design as part of the new architecture in 8.0, which maintains >> the L2 ARP/ND6 and L3 routing tables separately. >> >> -- Qing >> >> >> >> -----Original Message----- >> From: owner-freebsd-stable@freebsd.org on behalf of Henri Hennebert >> Sent: Fri 7/10/2009 5:32 AM >> To: freebsd-stable@freebsd.org; freebsd-st@freebsd.org >> Subject: 8.0-BETA1 - for the record - different paths followed by IPv4 and IPv6 for 'local' connections >> >> Hello, >> >> After upgrading from 7.2-STABLE to 8.0-BETA1 I encounter a problem when >> connecting with firefox to a local apache server using the global >> unicast IPv6 address of the local machine. pf.conf must be updated! >> >> My configuration: >> >> [root@avoriaz ~]# ifconfig em0 >> >> em0: flags=8843 metric 0 mtu 1500 >> options=19b >> ether 00:1d:60:ad:2a:ce >> inet 192.168.24.1 netmask 0xffffff00 broadcast 192.168.24.255 >> inet6 fe80::21d:60ff:fead:2ace%em0 prefixlen 64 scopeid 0x1 >> inet6 2001:41d0:2:2d29:1:1:: prefixlen 80 >> media: Ethernet 100baseTX (100baseTX ) >> status: active >> >> [root@avoriaz ~]# host www.restart.bel >> www.restart.bel is an alias for avoriaz.restart.bel. >> avoriaz.restart.bel has address 192.168.24.1 >> avoriaz.restart.bel has IPv6 address 2001:41d0:2:2d29:1:1:: >> >> pf.conf: >> >> int_if="em0" >> block in log all >> block out log all >> set skip on lo0 >> antispoof quick for $int_if inet >> # Allow trafic with physical internal network >> pass in quick on $int_if from ($int_if:network) to ($int_if) keep state >> pass out quick on $int_if from ($int_if) to ($int_if:network) keep state >> >> The problem: >> >> [root@avoriaz ~]# telnet -4 www.restart.bel 80 >> Trying 192.168.24.1... >> Connected to avoriaz.restart.bel. >> Escape character is '^]'. >> ^] >> telnet> quit >> Connection closed. >> [root@avoriaz ~]# telnet -6 www.restart.bel 80 >> Trying 2001:41d0:2:2d29:1:1::... >> --->Never connect and get a timeout! >> >> tcpdump and logging in pf show me that >> >> For a IPv4 connection: >> the packet from telnet to apache pass 2 times on lo0 (out and in) >> the answer packet from apache to telnet pass 2 times on lo0 (out and in) >> >> So no problem, there is `set skip on lo0' >> >> For a IPv6 connection: >> The first packet from telnet to apache pass 2 times on lo0 (out and in) >> The answer packet from apache to telnet path on em0 and is rejected >> due to the default flags S/SA. >> >> So I have to change pf.conf and replace the last line: >> pass out quick on $int_if from ($int_if) to ($int_if:network) \ >> keep state flags any >> >> Then all is OK >> >> By the way, on 7.2 >> >> netstat -rn display >> >> 192.168.24.1 00:1d:60:ad:2a:ce >> .... >> 2001:41d0:2:2d29:1:1:: 00:1d:60:ad:2a:ce >> >> >> On 8.0-BETA1 there is an assymetry: >> >> netstat -rn display >> >> 192.168.24.1 link#3 >> .... >> no entry for 2001:41d0:2:2d29:1:1:: >> >> Hope it may help someone >> >> Henri >> >> _______________________________________________ >> 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" >> > > > _______________________________________________ > 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 Jul 20 13:25:18 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 556791065670; Mon, 20 Jul 2009 13:25:18 +0000 (UTC) (envelope-from cristiano.deana@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id B0A298FC18; Mon, 20 Jul 2009 13:25:17 +0000 (UTC) (envelope-from cristiano.deana@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so542535fgb.12 for ; Mon, 20 Jul 2009 06:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=dS7KkKO7CqsAFFa8YEV0BciNwswrcu68RWlX6M1uP94=; b=GT29Z3+VMNACWXCzw7J1SQukh5ke+PG7oEOUA/QRE7Lbx0Mic00Fj/O2lXGdqFF/Td q1UBqsSzEM8gO0ZGo8x39aSE3P7gnEmYeu0xQ9w64xlq5QnR6VL7Ah9qTotTDCRS0cjY cn6C2OO05EJ5JXq0yji0dyghWyvDxSXZEiH9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=rZ58jThWFJb+iwsyXMH7tQbLP/W9sMImSvLP5iAE5embkD9UMBwhZHCIXH4GZEf0x4 Iwq+xvlbQm6Zx9LLRFe5yJA2RxmSxCuQMl5ZFJymzyS6s4UZb1qB8sT0XM19Dntu7pha h55PBg2QGiuqbWEPdUVD3FU/rwCYvKfcHJKrw= MIME-Version: 1.0 Received: by 10.86.92.13 with SMTP id p13mr3581847fgb.43.1248094345641; Mon, 20 Jul 2009 05:52:25 -0700 (PDT) Date: Mon, 20 Jul 2009 14:52:25 +0200 Message-ID: From: Cristiano Deana To: stable , questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: ftpd - Logging and resolving IP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 13:25:19 -0000 Hi, i use ftpd (base system), logging login, xfer, auth failure. What i need is to log the IP address of the client, not the hostname. I looked in ftpd(8) ma it seems it's not possible to disable the reverse resolution. Any idea? Thanks in advance -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/ From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 14:02:25 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0086F1065672 for ; Mon, 20 Jul 2009 14:02:25 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f205.google.com (mail-fx0-f205.google.com [209.85.220.205]) by mx1.freebsd.org (Postfix) with ESMTP id 82E108FC12 for ; Mon, 20 Jul 2009 14:02:24 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm1 with SMTP id 1so417008fxm.43 for ; Mon, 20 Jul 2009 07:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=gcdbW4PmxP5E8lVQ57OhSp4hfugID117+379B8hro7M=; b=uw7hHI8UmhyWds1cbyZen+iCzd8zcwS+jy/gOLSN30q2wLqs2qOXK822Gx+X9/7ws6 sXXIVui6hxpoDx1hzOblVIDXELB8cEOwLe6TWLW11A5GYp77gBAaEiLJ41e9fPItpCyu dNYUjx55oNlyUcvebPTo20gxLc+tA/nO31YpY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QbvPHh4c3VXBWLj6d87N8H8vn9fDUv6HseQVH/OFU/R97oHpWx8yoPUqojJg8ThER0 lxRMt67wJL8YXB5mNIXXc+IEsewfsGHwEncOgQeQTkT75Iskob6toQrjX/V6/EL9dCET q7RebQo5jvmj1hAtxv5X7KGyGsDfLUEoyfncw= MIME-Version: 1.0 Received: by 10.223.126.66 with SMTP id b2mr1312966fas.18.1248098543649; Mon, 20 Jul 2009 07:02:23 -0700 (PDT) In-Reply-To: <44tz17k46h.fsf@lowell-desk.lan> References: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> <44tz17k46h.fsf@lowell-desk.lan> Date: Mon, 20 Jul 2009 10:02:23 -0400 Message-ID: <4ad871310907200702q6d13a44bqaeb2242d65866b16@mail.gmail.com> From: Glen Barber To: Lowell Gilbert Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org Subject: Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 14:02:25 -0000 Hi, Lowell On Mon, Jul 20, 2009 at 7:02 AM, Lowell Gilbert wrote: > Glen Barber writes: > >> Possibly off-topic... >> >> >> 2009/7/19 Glen Barber : >>> 2009/7/19 Romain Tarti=E8re : >>>> Hi Glen, >>>> >>>> On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: >>>>> > % sh foo.sh >>>>> > % zsh foo.sh >>>>> > % bash foo.sh >>>>> What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' ? >>>> >>>> This is not related to my problem since I am not running the script >>>> using ./foo.sh but directly using the proper shell. =A0sh just behaves >>>> differently, that looks odd so I would like to know if it is a bug in = sh >>>> or if there is no specification for this and the behaviour depends of >>>> the implementation of each shell, in which case I have to tweak the >>>> script I am porting to avoid this construct (passing $? as an argument >>>> for example). >>>> >>>> Romain >>>> >>> >>> My understanding was this: >>> >>> If you specify 'sh foo.sh' at the shell, the script will be run in a >>> /bin/sh shell, _unless_ you override the shell _in_ the script. >>> >>> Ie, 'sh foo.sh' containing '#!/bin/sh' being redundant, but 'zsh >>> foo.sh' containing '#!/bin/sh' would execute using zsh. >>> >>> >> >> I meant to say in the last line: "'#!/bin/sh' would override the 'zsh' s= hell." >> >> Can someone enlighten me if I am wrong about this? > > The person to whom you were responding had it closer. > > The shell specified in the "#!" first line is only consulted if you run > it as "./foo.sh". =A0Otherwise, it's input to the shell that you started, > and the line is only a comment. > I suppose that makes sense, but what if the script location is in the user's $PATH? --=20 Glen Barber From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 14:34:55 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71B87106566B; Mon, 20 Jul 2009 14:34:55 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id D1F318FC0A; Mon, 20 Jul 2009 14:34:54 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n6KEYdbF014434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Jul 2009 17:34:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n6KEYdLd098402; Mon, 20 Jul 2009 17:34:39 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n6KEYd56098401; Mon, 20 Jul 2009 17:34:39 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 20 Jul 2009 17:34:39 +0300 From: Kostik Belousov To: Olivier SMEDTS Message-ID: <20090720143439.GL55190@deviant.kiev.zoral.com.ua> References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+fye0PR5b9WR6S4/" Content-Disposition: inline In-Reply-To: <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Ken Smith , freebsd-stable , Thomas Backman , FreeBSD current Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 14:34:55 -0000 --+fye0PR5b9WR6S4/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 20, 2009 at 04:29:39PM +0200, Olivier SMEDTS wrote: > 2009/7/19 Thomas Backman : > > So, to be clear: a fresh ports tree and "portupgrade -af" after buildin= g and > > installing r195767+ should be enough to solve any problems? (installker= nel, > > installworld, reboot, portupgrade -af) >=20 > But there won't be any problem until you do a "make delete-old-libs" > in /usr/src/, right ? Cherry-picking of the ports to upgrade is also problematic, as well as a compilation of third party software. --+fye0PR5b9WR6S4/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpkgH8ACgkQC3+MBN1Mb4jd3wCfZcoUpfRt7jY2oCMkSpxH7XP1 2YMAoOd5iXU81GmYPrWKWQ/wt8k2SSV8 =kuqh -----END PGP SIGNATURE----- --+fye0PR5b9WR6S4/-- From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 14:50:00 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A303D106566B for ; Mon, 20 Jul 2009 14:50:00 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-bw0-f208.google.com (mail-bw0-f208.google.com [209.85.218.208]) by mx1.freebsd.org (Postfix) with ESMTP id 3475A8FC16 for ; Mon, 20 Jul 2009 14:49:59 +0000 (UTC) (envelope-from olivier@gid0.org) Received: by bwz4 with SMTP id 4so1818354bwz.43 for ; Mon, 20 Jul 2009 07:49:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.117.142 with SMTP id r14mr4364379bkq.197.1248100179747; Mon, 20 Jul 2009 07:29:39 -0700 (PDT) In-Reply-To: <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> Date: Mon, 20 Jul 2009 16:29:39 +0200 Message-ID: <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> From: Olivier SMEDTS To: Thomas Backman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Ken Smith , freebsd-stable , FreeBSD current Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 14:50:00 -0000 2009/7/19 Thomas Backman : > On Jul 19, 2009, at 20:16, Ken Smith wrote: >> >> The problem is that as of the next time you update a machine that had >> been running -current you are best off reinstalling all ports or other >> applications you have on the machine. =A0When you reboot after doing the >> update to the base system everything you have installed will still work >> because the old shared library versions will still be there. =A0However >> anything you build on the machine after its base system gets updated >> would be linked against the newer base system shared libraries but any >> libraries that are part of ports or other applications (e.g. the Xorg >> libraries) would have been linked against the older library versions. >> You really don't want to leave things that way. > > So, to be clear: a fresh ports tree and "portupgrade -af" after building = and > installing r195767+ should be enough to solve any problems? (installkerne= l, > installworld, reboot, portupgrade -af) But there won't be any problem until you do a "make delete-old-libs" in /usr/src/, right ? Olivier > > Regards, > Thomas > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 15:03:09 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E25F11065675; Mon, 20 Jul 2009 15:03:09 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-fx0-f205.google.com (mail-fx0-f205.google.com [209.85.220.205]) by mx1.freebsd.org (Postfix) with ESMTP id 431BB8FC19; Mon, 20 Jul 2009 15:03:08 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by fxm1 with SMTP id 1so457596fxm.43 for ; Mon, 20 Jul 2009 08:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=G92Y891XybjEDe+qOCGAMWUEKoCVDN4w0f+vxzF8u1g=; b=YSnKBeZCR/Zph0kHZ4ZEQkPvtiRk/oefG60mD3JywTLxXRcmgM1c93ESA5kRc527LN kystVR/csTxhVMNQ35bdOSc7Tahqv79o24aYri0kLi78CfJ/tDRH9i3v+7UQiu7FtQvL EhJM08qHWS6VSjnzDCeDudFvRkwuUV/ZZdaD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=sDFsNXdkH1prNTAS2guFgeQObetiuFRpNEFvCy8pYpQkSH6stKilnrxJLbeX+CIk32 06CRs9w7qOU+evApstpJ3stgFCNTwtTuzvukigZwV7etxpUpHLsIg4mQAeOO/bAZh0xM BbvhY8S1z0/xO40j6Wc+phWIknQBaDndEhpCk= MIME-Version: 1.0 Received: by 10.204.116.69 with SMTP id l5mr4328060bkq.102.1248100472850; Mon, 20 Jul 2009 07:34:32 -0700 (PDT) In-Reply-To: References: Date: Mon, 20 Jul 2009 18:34:32 +0400 Message-ID: From: pluknet To: Cristiano Deana Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: stable , questions@freebsd.org Subject: Re: ftpd - Logging and resolving IP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 15:03:10 -0000 2009/7/20 Cristiano Deana : > Hi, > > i use ftpd (base system), logging login, xfer, auth failure. What i > need is to log the IP address of the client, not the hostname. > I looked in ftpd(8) ma it seems it's not possible to disable the > reverse resolution. > > Any idea? > > Thanks in advance > I hope it's still applicable. --- libexec/tftpd/tftpd.c.orig 2007-11-09 06:13:22.000000000 +0300 +++ libexec/tftpd/tftpd.c 2007-11-09 06:13:49.000000000 +0300 @@ -487,7 +487,7 @@ char hbuf[NI_MAXHOST]; getnameinfo((struct sockaddr *)&from, from.ss_len, - hbuf, sizeof(hbuf), NULL, 0, 0); + hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST); syslog(LOG_INFO, "%s: %s request for %s: %s", hbuf, tp->th_opcode == WRQ ? "write" : "read", filename, errtomsg(ecode)); -- wbr, pluknet From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 15:16:01 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC5C11065672 for ; Mon, 20 Jul 2009 15:16:01 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9807C8FC22 for ; Mon, 20 Jul 2009 15:16:00 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MSuar-0006PJ-8S for freebsd-stable@freebsd.org; Mon, 20 Jul 2009 15:15:57 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jul 2009 15:15:57 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jul 2009 15:15:57 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Mon, 20 Jul 2009 17:15:46 +0200 Lines: 25 Message-ID: References: <4A643F5B.8080806@mapper.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090615) In-Reply-To: <4A643F5B.8080806@mapper.nl> Sender: news Subject: Re: ZFS RAIDZ and atacontrol spindown settings X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 15:16:02 -0000 Mark Stapper wrote: > Good day, > > I am the proud user of a FreeBSD 7.2 AMD64 system housing, amongst other > things, a data server. > My "server"(It's called "Yoshi") runs FreeBSD from a mirrored system > disc, and has a zfs RAIDZ array with 4 discs for bulky data. > As it is a home server, and I work during the day, these four discs were > spinning happily all day long without much use for them doing so. > To save the world(and money) I issued the command "atacontrol spindown > 1800" for all the discs in my array spinning them down after thirty > minutes of idle spinning. > So far so good, me very happy! However, when I access the array after > the discs have been spun down, it spins up the discs one after the other... > Mind you one AFTER the other, taking 4*9 seconds to do a "ls" command on > my music directory. > Content as I am with the smooth down- and upspinning of the disks, I > would like it better if the four discs would spin up simultaneously. > Thus my question: "Is it possible to \"group\" discs to be spun up > together, or to issue a custom command upon upspinning of a disc such as > to spin up other disks?" Good question but the answer is probably no - it really only depends on how ZFS accesses the drives; if it accesses them in sequence, you can't change it. From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 17:25:28 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28911106568A for ; Mon, 20 Jul 2009 17:25:28 +0000 (UTC) (envelope-from rebotados@exemys.com) Received: from web.hostmailing.com (web.hostmailing.com [200.110.145.34]) by mx1.freebsd.org (Postfix) with ESMTP id 37DFF8FC1E for ; Mon, 20 Jul 2009 17:25:27 +0000 (UTC) (envelope-from rebotados@exemys.com) Received: from web.hostmailing.com ([200.110.145.34] helo=www.hostmailing.com) by web.hostmailing.com with esmtpa (Exim 4.63) (envelope-from ) id 1MSwaA-0001eb-GB for freebsd-stable@freebsd.org; Mon, 20 Jul 2009 14:23:22 -0300 Date: Mon, 20 Jul 2009 14:23:22 -0300 To: freebsd-stable@freebsd.org From: Exemys Mkt Message-ID: X-Priority: 3 X-Mailer: wh4535 [version 3.1] MIME-Version: 1.0 Content-Type: text/plain; charset = "iso-8859-1" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Industrial Wireless: Cellular or Wi-Fi ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: exemys-mkt@exemys.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2009 17:25:28 -0000 This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 17:56:14 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4A55106566C for ; Mon, 20 Jul 2009 17:56:14 +0000 (UTC) (envelope-from freebsd-stable-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id BA3518FC25 for ; Mon, 20 Jul 2009 17:56:14 +0000 (UTC) (envelope-from freebsd-stable-local@be-well.ilk.org) Received: (qmail 20076 invoked from network); 20 Jul 2009 17:56:13 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Jul 2009 17:56:13 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 024D250822; Mon, 20 Jul 2009 13:56:11 -0400 (EDT) To: Glen Barber References: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> <44tz17k46h.fsf@lowell-desk.lan> <4ad871310907200702q6d13a44bqaeb2242d65866b16@mail.gmail.com> From: Lowell Gilbert Date: Mon, 20 Jul 2009 13:56:11 -0400 In-Reply-To: <4ad871310907200702q6d13a44bqaeb2242d65866b16@mail.gmail.com> (Glen Barber's message of "Mon\, 20 Jul 2009 10\:02\:23 -0400") Message-ID: <44k523fdc4.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org, Lowell Gilbert Subject: Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 17:56:15 -0000 Glen Barber writes: > Hi, Lowell > > On Mon, Jul 20, 2009 at 7:02 AM, Lowell > Gilbert wrote: >> Glen Barber writes: >> >>> Possibly off-topic... >>> >>> >>> 2009/7/19 Glen Barber : >>>> 2009/7/19 Romain Tarti=E8re : >>>>> Hi Glen, >>>>> >>>>> On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: >>>>>> > % sh foo.sh >>>>>> > % zsh foo.sh >>>>>> > % bash foo.sh >>>>>> What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' ? >>>>> >>>>> This is not related to my problem since I am not running the script >>>>> using ./foo.sh but directly using the proper shell. =A0sh just behaves >>>>> differently, that looks odd so I would like to know if it is a bug in= sh >>>>> or if there is no specification for this and the behaviour depends of >>>>> the implementation of each shell, in which case I have to tweak the >>>>> script I am porting to avoid this construct (passing $? as an argument >>>>> for example). >>>>> >>>>> Romain >>>>> >>>> >>>> My understanding was this: >>>> >>>> If you specify 'sh foo.sh' at the shell, the script will be run in a >>>> /bin/sh shell, _unless_ you override the shell _in_ the script. >>>> >>>> Ie, 'sh foo.sh' containing '#!/bin/sh' being redundant, but 'zsh >>>> foo.sh' containing '#!/bin/sh' would execute using zsh. >>>> >>>> >>> >>> I meant to say in the last line: "'#!/bin/sh' would override the 'zsh' = shell." >>> >>> Can someone enlighten me if I am wrong about this? >> >> The person to whom you were responding had it closer. >> >> The shell specified in the "#!" first line is only consulted if you run >> it as "./foo.sh". =A0Otherwise, it's input to the shell that you started, >> and the line is only a comment. >> > > I suppose that makes sense, but what if the script location is in the > user's $PATH? That would be the same as "./foo.sh".=20=20 The distinction is between whether the file is treated as an executable or as input to a script. You might find the manual page for execve(2) useful for more detail on how the former case is handled. From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 18:03:57 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61B581065676 for ; Mon, 20 Jul 2009 18:03:57 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6838FC2B for ; Mon, 20 Jul 2009 18:03:56 +0000 (UTC) (envelope-from parv@pair.com) Received: from localhost.hawaii.res.rr.com ([98.150.187.245]) by hrndva-omta02.mail.rr.com with ESMTP id <20090720174712731.MLUV15412@hrndva-omta02.mail.rr.com> for ; Mon, 20 Jul 2009 17:47:12 +0000 Received: from holstein.holy.cow (localhost [127.0.0.1]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id 6A9EC3345 for ; Mon, 20 Jul 2009 07:49:01 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.13.8/8.13.8/Submit) id n6KHn0DJ041963 for freebsd-stable@freebsd.org; Mon, 20 Jul 2009 07:49:00 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Mon, 20 Jul 2009 07:49:00 -1000 From: parv@pair.com To: f-stable Message-ID: <20090720174900.GA5299@holstein.holy.cow> Mail-Followup-To: f-stable MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: pkg_delete dumps core while deinstalling old libgtkhtml X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 18:03:57 -0000 Hi, While deinstalling libgtkhtml-2.11.1, pkg_delete (FreeBSD 6-STABLE/i386) dies due to segfault ... gdb /usr/sbin/pkg_delete -c /var/db/package/libgtkhtml-2.11.1/pkg_delete.core GNU gdb 6.1.1 [FreeBSD] ... This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `pkg_delete'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libmd.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libmd.so.3 Reading symbols from /lib/libutil.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libutil.so.5 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x78152f52 in strcmp () from /lib/libc.so.6 (gdb) bt #0 0x78152f52 in strcmp () from /lib/libc.so.6 #1 0x0804b3e3 in ?? () #2 0x08052060 in ?? () #3 0x00000000 in ?? () #4 0x00000000 in ?? () #5 0x00000000 in ?? () #6 0x00000000 in ?? () #7 0x00000000 in ?? () #8 0x00000000 in ?? () #9 0x00000000 in ?? () #10 0x08052040 in ?? () #11 0x08056b60 in ?? () #12 0xbfbfda08 in ?? () #13 0x0804ad65 in ?? () #14 0x00000000 in ?? () #15 0x0000000c in ?? () #16 0xbfbfd870 in ?? () #17 0x78168518 in __sfvwrite () from /lib/libc.so.6 ... if anybody needs missing symbols, could you please tell me what I would need to do? I could (write a program) myself (to) handle the file deletion, unless there is already an existing program besides pkg_delete itself. Is there one? - Parv -- From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 18:13:35 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 653CA106567E; Mon, 20 Jul 2009 18:13:35 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail2.es.net [IPv6:2001:400:107:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4B7288FC22; Mon, 20 Jul 2009 18:13:35 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n6KIDEiN025043 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Jul 2009 11:13:14 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id DAA6C1CC0B; Mon, 20 Jul 2009 11:13:13 -0700 (PDT) To: Olivier SMEDTS In-reply-to: Your message of "Mon, 20 Jul 2009 16:29:39 +0200." <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> Date: Mon, 20 Jul 2009 11:13:13 -0700 From: "Kevin Oberman" Message-Id: <20090720181313.DAA6C1CC0B@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-07-20_08:2009-07-03, 2009-07-20, 2009-07-20 signatures=0 Cc: Ken Smith , freebsd-stable , Thomas Backman , FreeBSD current Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 18:13:36 -0000 > Date: Mon, 20 Jul 2009 16:29:39 +0200 > From: Olivier SMEDTS > Sender: owner-freebsd-current@freebsd.org > > 2009/7/19 Thomas Backman : > > On Jul 19, 2009, at 20:16, Ken Smith wrote: > >> > >> The problem is that as of the next time you update a machine that had > >> been running -current you are best off reinstalling all ports or other > >> applications you have on the machine.  When you reboot after doing the > >> update to the base system everything you have installed will still work > >> because the old shared library versions will still be there.  However > >> anything you build on the machine after its base system gets updated > >> would be linked against the newer base system shared libraries but any > >> libraries that are part of ports or other applications (e.g. the Xorg > >> libraries) would have been linked against the older library versions. > >> You really don't want to leave things that way. > > > > So, to be clear: a fresh ports tree and "portupgrade -af" after building and > > installing r195767+ should be enough to solve any problems? (installkernel, > > installworld, reboot, portupgrade -af) > > But there won't be any problem until you do a "make delete-old-libs" > in /usr/src/, right ? Wrong. As soon as you start updating ports you will start getting apps which link to both old and new versions and that does not work. If you don't update any ports which provide shared libs, you are OK. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 18:25:10 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 041C2106564A for ; Mon, 20 Jul 2009 18:25:10 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f208.google.com (mail-bw0-f208.google.com [209.85.218.208]) by mx1.freebsd.org (Postfix) with ESMTP id 8D31E8FC12 for ; Mon, 20 Jul 2009 18:25:08 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz4 with SMTP id 4so1945448bwz.43 for ; Mon, 20 Jul 2009 11:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZM0Bp+ETOk4wyiJF2zNCGWBEWq9ExhMXKit/pQ5WcuI=; b=Lbvu3rJONXkQTImi2G6G/gak9DXnz1Im2VJm5CpNm9EtjWLvjUcy/1wpo7HkqW/n4I UWayWrxii1PmE9imyWAgLIpqLq0FlaCh1tfemkWvDBi5xrlwmAHct4DqCUSjEtCSlNlm aDoxKuM+hvZzRwCCU9TarYEHgnVlrKxGRUlLc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gbrpKjcMXC3s9I6E1dFcrbTIiqwxj4C9S7+zeVR1u8kaf1mxqUJGvHNA89Hg6Axavk M9BnrhUomX+9jkebhg1ZrL/QHy/bCGzpxnwZLqgyilWV8FK5dALXdPNKBsij9WeTRaPJ FelJeVqsG7bBiiUZOyAEGJ1/UfCkEHy3MLC5g= MIME-Version: 1.0 Received: by 10.223.108.15 with SMTP id d15mr1536489fap.105.1248114307204; Mon, 20 Jul 2009 11:25:07 -0700 (PDT) In-Reply-To: <44k523fdc4.fsf@be-well.ilk.org> References: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> <44tz17k46h.fsf@lowell-desk.lan> <4ad871310907200702q6d13a44bqaeb2242d65866b16@mail.gmail.com> <44k523fdc4.fsf@be-well.ilk.org> Date: Mon, 20 Jul 2009 14:25:07 -0400 Message-ID: <4ad871310907201125u42789ff9h57c74c26b0538c18@mail.gmail.com> From: Glen Barber To: Lowell Gilbert Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org Subject: Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 18:25:10 -0000 On Mon, Jul 20, 2009 at 1:56 PM, Lowell Gilbert wrote: > Glen Barber writes: >>> The shell specified in the "#!" first line is only consulted if you run >>> it as "./foo.sh". =A0Otherwise, it's input to the shell that you starte= d, >>> and the line is only a comment. >>> >> >> I suppose that makes sense, but what if the script location is in the >> user's $PATH? > > That would be the same as "./foo.sh". > The distinction is between whether the file is treated as an executable > or as input to a script. =A0You might find the manual page for execve(2) > useful for more detail on how the former case is handled. > > > Aha! Yes, I will have a look. Thanks for the point in the right direction= . --=20 Glen Barber From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 19:19:33 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2DCD106564A for ; Mon, 20 Jul 2009 19:19:33 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by mx1.freebsd.org (Postfix) with ESMTP id 422258FC16 for ; Mon, 20 Jul 2009 19:19:32 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm11 with SMTP id 11so36726fxm.43 for ; Mon, 20 Jul 2009 12:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=k9IC/huxpWeGqC7MjMtLmWebmwagsWM8OWpSVUht8pQ=; b=CQi2K2FooykyWdqvbQMrGaK5j1PzAqV8R53mR7omz+dRHJ7nS6qnouJSlrH8ii8B7M mRw4/k5ZltV0vXRqECbiLhsLaSAGJXPN/cXJ3Y5OjBy18OiiEyRfm6iIEXjG+70So2Pn MxXhFVfVGBisgN7zjf4qWhX7DwK/EmnpOLYgs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IUDsPaZ53PH7a0GBEZIuLvwE8y0WvYupvG0Z5U6TfNxtnPhOiPJaKUNO/cWwXkDLkb QRqGQyXYyoFi86wLx2n7KKWCv/eM9jnfDdUsZgQLvma7kn7ftgfnhw0ZRwTbVHr3UA4t gSV9L5w29bRSBKBtunDx/X9MVnIKPx273HjLY= MIME-Version: 1.0 Received: by 10.223.119.198 with SMTP id a6mr1535768far.42.1248117572140; Mon, 20 Jul 2009 12:19:32 -0700 (PDT) In-Reply-To: <4A64C1A6.3080607@FreeBSD.org> References: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> <4A64C1A6.3080607@FreeBSD.org> Date: Mon, 20 Jul 2009 15:19:32 -0400 Message-ID: <4ad871310907201219x42ea0f2ave0c288170ed56a96@mail.gmail.com> From: Glen Barber To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 19:19:33 -0000 On Mon, Jul 20, 2009 at 3:12 PM, Doug Barton wrote: > Glen Barber wrote: >> Possibly off-topic... > > It's very off topic for -stable. If you want to follow up on this, > please do so in -hackers. > >> I meant to say in the last line: "'#!/bin/sh' would override the 'zsh' shell." >> >> Can someone enlighten me if I am wrong about this? > > It's trivial to create an example to test it yourself, don't ask when > you can do. :) > > #!/bin/foo > echo yes > > $ ./foo > bash: ./foo: /bin/foo: bad interpreter: No such file or directory > > $ sh foo > yes > > $ bash foo > yes > > > Now it's your turn. :) > Hi, Doug. The test I was going to run was: --------------------- #!/bin/sh echo $SHELL --------------------- which I would execute from $PATH and from 'sh/csh/zsh foo.sh', but I haven't had much time to play around with it. I plan on having time later today after ${JOB}. -- Glen Barber From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 19:31:35 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 076FF10657C3; Mon, 20 Jul 2009 19:31:35 +0000 (UTC) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by mx1.freebsd.org (Postfix) with ESMTP id CEB988FC2D; Mon, 20 Jul 2009 19:31:34 +0000 (UTC) (envelope-from cdillon@wolves.k12.mo.us) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 58040B893; Mon, 20 Jul 2009 14:11:57 -0500 (CDT) X-Virus-Scanned: amavisd-new at wolves.k12.mo.us Received: from mail.wolves.k12.mo.us ([127.0.0.1]) by localhost (mail.wolves.k12.mo.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id O9Kx9PV6uNuY; Mon, 20 Jul 2009 14:11:56 -0500 (CDT) Received: from wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id C213AB892; Mon, 20 Jul 2009 14:11:56 -0500 (CDT) Received: from rstech28.int.wolves.k12.mo.us (rstech28.int.wolves.k12.mo.us [10.1.3.200]) by www.wolves.k12.mo.us (Horde Framework) with HTTP; Mon, 20 Jul 2009 14:11:56 -0500 Message-ID: <20090720141156.357757p2m3l4sxoc@www.wolves.k12.mo.us> Date: Mon, 20 Jul 2009 14:11:56 -0500 From: Chris Dillon To: Ken Smith References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> In-Reply-To: <1248027417.14210.110.camel@neo.cse.buffalo.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 / FreeBSD-6.4 Cc: freebsd-current@freebsd.org, freebsd-stable Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 19:31:35 -0000 Quoting Ken Smith : > First I want to apologize. This should have happened a bit sooner in > our release cycle than now. To be honest I had slipped into "We have > symbol versioning for our libraries now" mode. But only a few of the > libraries currently have that turned on and I sorta forgot we still need > to deal with all the shared libraries that do not have symbol versioning > enabled yet. Sorry for the hassle this will cause. ...snip... Wouldn't this be a great opportunity to fix kern/133926 by bumping up the max username length? -- Chris Dillon - NetEng/SysAdm Reeds Spring R-IV School District Technology Department 175 Elementary Rd. Reeds Spring, MO 65737 Voice: 417-272-8266 Fax: 417-272-0015 From owner-freebsd-stable@FreeBSD.ORG Mon Jul 20 19:39:22 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEBCE106566B for ; Mon, 20 Jul 2009 19:39:22 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3C21F8FC08 for ; Mon, 20 Jul 2009 19:39:22 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 12326 invoked by uid 399); 20 Jul 2009 19:12:40 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 20 Jul 2009 19:12:40 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A64C1A6.3080607@FreeBSD.org> Date: Mon, 20 Jul 2009 12:12:38 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: Glen Barber References: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> In-Reply-To: <4ad871310907191717g1ed90be7y92250f2addc38d43@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2009 19:39:23 -0000 Glen Barber wrote: > Possibly off-topic... It's very off topic for -stable. If you want to follow up on this, please do so in -hackers. > I meant to say in the last line: "'#!/bin/sh' would override the 'zsh' shell." > > Can someone enlighten me if I am wrong about this? It's trivial to create an example to test it yourself, don't ask when you can do. :) #!/bin/foo echo yes $ ./foo bash: ./foo: /bin/foo: bad interpreter: No such file or directory $ sh foo yes $ bash foo yes Now it's your turn. :) Doug -- This .signature sanitized for your protection From owner-freebsd-stable@FreeBSD.ORG Tue Jul 21 03:05:09 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65888106566B for ; Tue, 21 Jul 2009 03:05:09 +0000 (UTC) (envelope-from hiyorin@gmail.com) Received: from mail-pz0-f193.google.com (mail-pz0-f193.google.com [209.85.222.193]) by mx1.freebsd.org (Postfix) with ESMTP id 33AF58FC08 for ; Tue, 21 Jul 2009 03:05:08 +0000 (UTC) (envelope-from hiyorin@gmail.com) Received: by pzk31 with SMTP id 31so2018090pzk.3 for ; Mon, 20 Jul 2009 20:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Z8k5f/zhbqX8f6Jw56C3NMVqbbV/VxQG3tmKBlIAS/Q=; b=qyNqY6S5dy6zCL64SHBQybNHRqONxr7heygpUXC6JJZ0mcUBX9A6DJPQEM6lSJ9pTO jSFLomHSVQMxye3J2d/llKUxIR5F3MT9JQ7BOyjadgZ3+grua834wtFHxBNDCqFL7sYR C5l4SXnm/6IZhlKAfy/nGE6CZHujQ6+4ejdqs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qkJX2xm7HglyFGH8DfLMjlh1e8F2ql4Y8XbM2nRI3WBy3y//UFDdzEQMQ8ld6a+fH2 VwZGiZ9hk0oIP+356fUEB+Q2ZcJyMqi9RSnkYVtETTyPDwp+hIzAhwjt5QPuNHD7e6h0 3iqFkYCTPNNJkV7JDAVI/cfXBFZr1yWjluEQc= MIME-Version: 1.0 Received: by 10.142.178.14 with SMTP id a14mr1269616wff.169.1248145508645; Mon, 20 Jul 2009 20:05:08 -0700 (PDT) In-Reply-To: References: <3bbf2fe10907061818v245abd0cgc3ca5073cb93aea4@mail.gmail.com> <3bbf2fe10907061827g35eaeb49g26cf6fdb64436ca7@mail.gmail.com> <3bbf2fe10907080250q35899d3dhc2f101b62c6e5306@mail.gmail.com> <4A5ECC8C.7030808@gmail.com> Date: Tue, 21 Jul 2009 11:05:08 +0800 Message-ID: From: =?UTF-8?B?6Zue?= To: Dan Naumov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 7.2-release/amd64: panic, spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 03:05:09 -0000 > I hope you can get some crash dumps for the developers to look at, > Attilio was trying to help me but sadly the machine had to be put into > active use so I could no longer play with FreeBSD due to unsolved > instability. I want to help investigate this problem also but I remembered that the /var/crash was empty after the panic.. Just the same as your situation. So is there other ways to get the crash dumps? My machine is also put into service now but I think it should be OK for a short down time. Regards, C.C. From owner-freebsd-stable@FreeBSD.ORG Tue Jul 21 06:14:26 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DEF01065670 for ; Tue, 21 Jul 2009 06:14:26 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out4.libero.it (cp-out4.libero.it [212.52.84.104]) by mx1.freebsd.org (Postfix) with ESMTP id 126168FC0A for ; Tue, 21 Jul 2009 06:14:25 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from libero.it (192.168.16.57) by cp-out4.libero.it (8.5.107) id 4A5C1B51005FDBE9; Tue, 21 Jul 2009 08:02:42 +0200 Date: Tue, 21 Jul 2009 08:02:42 +0200 Message-Id: MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "barbara" To: "hiyorin" X-XaM3-API-Version: 4.3 (R1) (B3pl25) X-SenderIP: 87.10.1.18 Cc: freebsd-stable , "dan.naumov" Subject: Re: 7.2-release/amd64: panic, spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 06:14:26 -0000 > > I hope you can get some crash dumps for the developers to look at, > > Attilio was trying to help me but sadly the machine had to be put int= o > > active use so I could no longer play with FreeBSD due to unsolved > > instability. > > I want to help investigate this problem also but I remembered that the > /var/crash was empty after the panic.. Just the same as your > situation. > So is there other ways to get the crash dumps? > My machine is also put into service now but I think it should be OK > for a short down time. Could that one (on i386) be related? http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/134584 From owner-freebsd-stable@FreeBSD.ORG Tue Jul 21 08:53:54 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59A93106567A; Tue, 21 Jul 2009 08:53:54 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out2.ops.tiscali.nl (smtp-out2.tiscali.nl [195.241.79.177]) by mx1.freebsd.org (Postfix) with ESMTP id E27158FC21; Tue, 21 Jul 2009 08:53:53 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out2.ops.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MTB6e-0006Fj-IX; Tue, 21 Jul 2009 10:53:52 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MTB6H-000EED-Pl; Tue, 21 Jul 2009 10:53:29 +0200 Message-ID: <4A658205.5000709@mapper.nl> Date: Tue, 21 Jul 2009 10:53:25 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Ivan Voras References: <4A643F5B.8080806@mapper.nl> <4A656076.2060205@mapper.nl> <9bbcef730907210137udf7f90ax21aa530ab859f8a6@mail.gmail.com> In-Reply-To: <9bbcef730907210137udf7f90ax21aa530ab859f8a6@mail.gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig914F76917941DCE91CA31D30" Cc: stable@freebsd.org Subject: Re: ZFS RAIDZ and atacontrol spindown settings X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 08:53:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig914F76917941DCE91CA31D30 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ivan Voras wrote: > 2009/7/21 Mark Stapper : > =20 >> Ivan Voras wrote: >> =20 >>> Mark Stapper wrote: >>> =20 >>>> Good day, >>>> >>>> I am the proud user of a FreeBSD 7.2 AMD64 system housing, amongst o= ther >>>> things, a data server. >>>> My "server"(It's called "Yoshi") runs FreeBSD from a mirrored system= >>>> disc, and has a zfs RAIDZ array with 4 discs for bulky data. >>>> As it is a home server, and I work during the day, these four discs = were >>>> spinning happily all day long without much use for them doing so. >>>> To save the world(and money) I issued the command "atacontrol spindo= wn >>>> 1800" for all the discs in my array spinning them down after thirty >>>> minutes of idle spinning. >>>> So far so good, me very happy! However, when I access the array afte= r >>>> the discs have been spun down, it spins up the discs one after the >>>> other... >>>> Mind you one AFTER the other, taking 4*9 seconds to do a "ls" comman= d on >>>> my music directory. >>>> Content as I am with the smooth down- and upspinning of the disks, I= >>>> would like it better if the four discs would spin up simultaneously.= >>>> Thus my question: "Is it possible to \"group\" discs to be spun up >>>> together, or to issue a custom command upon upspinning of a disc suc= h as >>>> to spin up other disks?" >>>> =20 >>> Good question but the answer is probably no - it really only depends >>> on how ZFS accesses the drives; if it accesses them in sequence, you >>> can't change it. >>> =20 >> I've been looking at writing a shell script which monitors >> /var/log/messages. >> something like: >> >> If last line in /var/log/messages is like "request while spun down. >> Starting." >> spinup disks >> >> couple of problems though, I should probably poll the kernel messages >> every second or so, but if I only check the last linee, I could miss t= he >> spinup message. >> I could count the number of lines in /var/log/messages and keep count = of >> the number of lines i've seen. Problem with this approach is that it's= >> not very efficient. >> So I was hoping there is a way to receive this kernel message directly= =2E >> I am now thinking in the lines of a program which received a signal on= >> new kernel messages available or something similar. >> >> Any thoughts? >> =20 > > You could do what "tail -f" does and simply hook a kqueue to get new > messages from the /var/log/messages file. > =20 I'll try that! thanks! --------------enig914F76917941DCE91CA31D30 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkplggkACgkQN9xNqOOVnWCMWQCfRaZ+oTtkXIf9/FtJb8G4fN7z 1o8AoI1+0k9ANE7RzBrpOrZAtTqnCvOt =KYsW -----END PGP SIGNATURE----- --------------enig914F76917941DCE91CA31D30-- From owner-freebsd-stable@FreeBSD.ORG Tue Jul 21 14:19:49 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7CAB1065670 for ; Tue, 21 Jul 2009 14:19:49 +0000 (UTC) (envelope-from arnaud.houdelette@tzim.net) Received: from golanth.tzim.net (unknown [IPv6:2001:41d0:1:d91f:21c:c0ff:fe4b:cf32]) by mx1.freebsd.org (Postfix) with ESMTP id 84CC48FC16 for ; Tue, 21 Jul 2009 14:19:49 +0000 (UTC) (envelope-from arnaud.houdelette@tzim.net) Received: from alarante.irisa.fr ([131.254.13.244]) by golanth.tzim.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MTGC4-000FKz-F1; Tue, 21 Jul 2009 16:19:48 +0200 Message-ID: <4A65CE7F.8040906@tzim.net> Date: Tue, 21 Jul 2009 16:19:43 +0200 From: Arnaud Houdelette User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Mark Stapper References: <4A643F5B.8080806@mapper.nl> <4A656076.2060205@mapper.nl> <9bbcef730907210137udf7f90ax21aa530ab859f8a6@mail.gmail.com> <4A658205.5000709@mapper.nl> In-Reply-To: <4A658205.5000709@mapper.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated-User: tzim@tzim.net X-Authenticator: plain Cc: stable@freebsd.org Subject: Re: ZFS RAIDZ and atacontrol spindown settings X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 14:19:50 -0000 Mark Stapper a écrit : > Ivan Voras wrote: > >> 2009/7/21 Mark Stapper : >> >> >>> Ivan Voras wrote: >>> >>> >>>> Mark Stapper wrote: >>>> >>>> >>>>> Good day, >>>>> >>>>> I am the proud user of a FreeBSD 7.2 AMD64 system housing, amongst other >>>>> things, a data server. >>>>> My "server"(It's called "Yoshi") runs FreeBSD from a mirrored system >>>>> disc, and has a zfs RAIDZ array with 4 discs for bulky data. >>>>> As it is a home server, and I work during the day, these four discs were >>>>> spinning happily all day long without much use for them doing so. >>>>> To save the world(and money) I issued the command "atacontrol spindown >>>>> 1800" for all the discs in my array spinning them down after thirty >>>>> minutes of idle spinning. >>>>> So far so good, me very happy! However, when I access the array after >>>>> the discs have been spun down, it spins up the discs one after the >>>>> other... >>>>> Mind you one AFTER the other, taking 4*9 seconds to do a "ls" command on >>>>> my music directory. >>>>> Content as I am with the smooth down- and upspinning of the disks, I >>>>> would like it better if the four discs would spin up simultaneously. >>>>> Thus my question: "Is it possible to \"group\" discs to be spun up >>>>> together, or to issue a custom command upon upspinning of a disc such as >>>>> to spin up other disks?" >>>>> >>>>> >>>> Good question but the answer is probably no - it really only depends >>>> on how ZFS accesses the drives; if it accesses them in sequence, you >>>> can't change it. >>>> >>>> >>> I've been looking at writing a shell script which monitors >>> /var/log/messages. >>> something like: >>> >>> If last line in /var/log/messages is like "request while spun down. >>> Starting." >>> spinup disks >>> >>> couple of problems though, I should probably poll the kernel messages >>> every second or so, but if I only check the last linee, I could miss the >>> spinup message. >>> I could count the number of lines in /var/log/messages and keep count of >>> the number of lines i've seen. Problem with this approach is that it's >>> not very efficient. >>> So I was hoping there is a way to receive this kernel message directly. >>> I am now thinking in the lines of a program which received a signal on >>> new kernel messages available or something similar. >>> >>> Any thoughts? >>> >>> >> You could do what "tail -f" does and simply hook a kqueue to get new >> messages from the /var/log/messages file. >> >> > I'll try that! thanks! > > As I get quite the same issue with a 4 disk raidz pool, could you please tell me the result of your tries ? which command do you use to force the disks to spin up ? Thanks From owner-freebsd-stable@FreeBSD.ORG Tue Jul 21 21:04:10 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6C08106564A for ; Tue, 21 Jul 2009 21:04:10 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 731AE8FC0A for ; Tue, 21 Jul 2009 21:04:10 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1MTMDQ-0007As-QW>; Tue, 21 Jul 2009 22:45:36 +0200 Received: from e178044086.adsl.alicedsl.de ([85.178.44.86] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1MTMDQ-0003Mm-Nt>; Tue, 21 Jul 2009 22:45:36 +0200 Message-ID: <4A6628F0.6080802@mail.zedat.fu-berlin.de> Date: Tue, 21 Jul 2009 22:45:36 +0200 From: "O. Hartmann" User-Agent: Thunderbird 2.0.0.22 (X11/20090719) MIME-Version: 1.0 To: Olivier SMEDTS References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> In-Reply-To: <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: 85.178.44.86 Cc: Ken Smith , freebsd-stable , Thomas Backman , FreeBSD current Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 21:04:11 -0000 Olivier SMEDTS wrote: > 2009/7/19 Thomas Backman : >> On Jul 19, 2009, at 20:16, Ken Smith wrote: >>> The problem is that as of the next time you update a machine that had= >>> been running -current you are best off reinstalling all ports or othe= r >>> applications you have on the machine. =EF=BF=BDWhen you reboot after = doing the >>> update to the base system everything you have installed will still wo= rk >>> because the old shared library versions will still be there. =EF=BF=BD= However >>> anything you build on the machine after its base system gets updated >>> would be linked against the newer base system shared libraries but an= y >>> libraries that are part of ports or other applications (e.g. the Xorg= >>> libraries) would have been linked against the older library versions.= >>> You really don't want to leave things that way. >> So, to be clear: a fresh ports tree and "portupgrade -af" after buildi= ng and >> installing r195767+ should be enough to solve any problems? (installke= rnel, >> installworld, reboot, portupgrade -af) >=20 > But there won't be any problem until you do a "make delete-old-libs" > in /usr/src/, right ? >=20 > Olivier >=20 >> Regards, >> Thomas >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.= org" >> >=20 Real fun this moment. It took appoximately 13 hours on a two socket, 8 core Dell PowerEdge 1950 III at 2,5 GHz with 16 GB RAM for 453 ports to be recompiled. I have another box (of many) running FreeBSD 8.0-BETA2/amd64 with 2 GB RAM and a Athlon64 2,2GHz CPU having 800(!) ports installed. Can you imagine how long this box will be occupied by 'portupgrade -af'? I guess 'cherry-picking' is the only solution. FreeBSD 8.0 on AMD64 does have serious performance issues these days, try to compile a compiler (gcc44, for instance) and watch how bumpy your X11 or how network traffic on a 'headless' server becomes. Kernel compilation time has been increased by approx 10 minutes on the 8 core box with 16 GB RAM since ~ 4 months now. I know, this is a kind of off topic for the questiojns discussed at the moment, but I guess those problems and fun are guaranteed for those having lots of ports, FreeBSD 8 running on AMD64 ;-)) Regards, Oliver From owner-freebsd-stable@FreeBSD.ORG Tue Jul 21 21:52:12 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74443106566B; Tue, 21 Jul 2009 21:52:12 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 30C1D8FC1C; Tue, 21 Jul 2009 21:52:12 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.3/8.14.3) with ESMTP id n6LLq1x1062025; Tue, 21 Jul 2009 14:52:01 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.3/8.14.3/Submit) id n6LLq1mw062024; Tue, 21 Jul 2009 14:52:01 -0700 (PDT) (envelope-from sgk) Date: Tue, 21 Jul 2009 14:52:01 -0700 From: Steve Kargl To: "O. Hartmann" Message-ID: <20090721215201.GA61999@troutmask.apl.washington.edu> References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> <4A6628F0.6080802@mail.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A6628F0.6080802@mail.zedat.fu-berlin.de> User-Agent: Mutt/1.4.2.3i Cc: Olivier SMEDTS , Ken Smith , freebsd-stable , Thomas Backman , FreeBSD current Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 21:52:12 -0000 On Tue, Jul 21, 2009 at 10:45:36PM +0200, O. Hartmann wrote: > > I have another box (of many) running FreeBSD 8.0-BETA2/amd64 with 2 GB > RAM and a Athlon64 2,2GHz CPU having 800(!) ports installed. Can you > imagine how long this box will be occupied by 'portupgrade -af'? I guess > 'cherry-picking' is the only solution. How many of those 800 ports are actually necessary and used? It would be better to get generate a complete list of your installed ports, use pkg_deinstall or pkg_delete to remove all ports, and then selectively re-install ports that are actually used. > FreeBSD 8.0 on AMD64 does have serious performance issues these days, > try to compile a compiler (gcc44, for instance) and watch how bumpy your > X11 or how network traffic on a 'headless' server becomes. Kernel > compilation time has been increased by approx 10 minutes on the 8 core > box with 16 GB RAM since ~ 4 months now. I know, this is a kind of off > topic for the questiojns discussed at the moment, but I guess those > problems and fun are guaranteed for those having lots of ports, FreeBSD > 8 running on AMD64 ;-)) > I compile gcc trunk on my 2 cpu amd64 based system almost everyday. I don't see the performance issue you seem to have. Do you use ULE? If yes, then switch to 4BSD. -- Steve From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 02:07:41 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FA951065670 for ; Wed, 22 Jul 2009 02:07:41 +0000 (UTC) (envelope-from hiyorin@gmail.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id 4E0E38FC0C for ; Wed, 22 Jul 2009 02:07:41 +0000 (UTC) (envelope-from hiyorin@gmail.com) Received: by mail-px0-f200.google.com with SMTP id 38so2494705pxi.3 for ; Tue, 21 Jul 2009 19:07:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=/HqPKGTA9AFqHiIYbp7BDprKSbEV+mmJXt4IhFNHypk=; b=VE0sNAZrszgiPS4eMwPqWEA6KaSMPS8tdgVEpHkH3woqnfBPUAzE6epYvw9Cz2/Q4f 3xqgL+4pGQWukti4aEGq7CZCCh4stZIuv+glT3u8pVqds2MXZM0uPeTELSTR14A2NRli 3FouGArJjRflPuWjX0FnBqWBfAKGzJieyTUhc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=tIF+Fn/2pFAztJvajVWZDhCoe+AZnsOyWhi5CMfl/TfD0OSkquwi2lagRn0mpTBZQi AhKiNBLpCc5o+4oIB9sYI0Vf2cpc+Rb7bHUPfmitl3LZqwVUKRIiUSzZiYVSTl9otxM3 Rldm3TGNsEllYtp2dbjs+CTZBWWi3uhL2gLfQ= Received: by 10.140.203.3 with SMTP id a3mr190426rvg.238.1248228461046; Tue, 21 Jul 2009 19:07:41 -0700 (PDT) Received: from ?10.130.10.181? ([202.82.159.125]) by mx.google.com with ESMTPS id f21sm2477664rvb.10.2009.07.21.19.07.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Jul 2009 19:07:40 -0700 (PDT) Message-ID: <4A667469.1080805@gmail.com> Date: Wed, 22 Jul 2009 10:07:37 +0800 From: "C. C. Tang" User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: barbara References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable , "dan.naumov" Subject: Re: 7.2-release/amd64: panic, spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 02:07:41 -0000 > Could that one (on i386) be related? > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/134584 > I have no idea about it but I can tell the difference... My machine panic randomly rather than on shutdown and I remembered that it failed to write core dump. It also failed to reboot automatically.. Regards, CC From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 05:39:04 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4FA6106564A for ; Wed, 22 Jul 2009 05:39:04 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: from us1.tomahawkonline.net (us1.tomahawkonline.net [66.98.178.56]) by mx1.freebsd.org (Postfix) with SMTP id 8D55D8FC0A for ; Wed, 22 Jul 2009 05:39:04 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: (qmail 12060 invoked by alias); 22 Jul 2009 02:20:27 -0000 Message-ID: <20090722022027.12059.qmail@us1.tomahawkonline.net> From: "Sagara Wijetunga" To: freebsd-stable@FreeBSD.org Date: Wed, 22 Jul 2009 10:20:27 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 05:39:05 -0000 Hi FreeBSD community The SCSI device (eg. da1s1) is not created automatically upon a CF card plug in on an USB multi-card reader on FreeBSD 7.2 (i386) but the SCSI device (eg. da1s1) is created automatically if I reboot the computer while the CF card is plug in. Here are detail: $ camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 0 lun 1 (pass1,da1) at scbus0 target 0 lun 2 (pass2,da2) at scbus0 target 0 lun 3 (pass3,da3) After the CF card is plugged in: $ ls -l /dev/ | grep da crw-r----- 1 root operator 0, 105 Jul 22 13:18 da0 crw-r----- 1 root operator 0, 106 Jul 22 13:18 da1 crw-r----- 1 root operator 0, 107 Jul 22 13:18 da2 crw-r----- 1 root operator 0, 108 Jul 22 13:18 da3 After reboot while the CF card is plugged in: $ ls -l /dev/ | grep da crw-r----- 1 root operator 0, 105 Jul 22 13:24 da0 crw-r----- 1 root operator 0, 106 Jul 22 13:24 da1 crw-r----- 1 root operator 0, 110 Jul 22 13:24 da1s1 crw-r----- 1 root operator 0, 107 Jul 22 13:24 da2 crw-r----- 1 root operator 0, 108 Jul 22 13:24 da3 My questions in this regards are: 1. Is this an error/bug in FreeBSD 7.2? 2. Or, does it require some configuration tweak? If this is an error/bug in FreeBSD 7.2, could somebody please develop a patch against the FreeBSD 7.2 sources? Kind regards Sagara From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 06:09:38 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53DD2106566B for ; Wed, 22 Jul 2009 06:09:38 +0000 (UTC) (envelope-from freebsd-stable@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id D53AE8FC0C for ; Wed, 22 Jul 2009 06:09:37 +0000 (UTC) (envelope-from freebsd-stable@dino.sk) Received: from via.dino.sk ([84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Wed, 22 Jul 2009 07:59:41 +0200 id 0002E011.4A66AACD.00009881 From: Milan Obuch To: freebsd-stable@freebsd.org Date: Wed, 22 Jul 2009 07:59:21 +0200 User-Agent: KMail/1.9.10 References: <20090722022027.12059.qmail@us1.tomahawkonline.net> In-Reply-To: <20090722022027.12059.qmail@us1.tomahawkonline.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907220759.22608.freebsd-stable@dino.sk> Cc: Sagara Wijetunga Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 06:09:38 -0000 On Wednesday 22 July 2009 04:20:27 Sagara Wijetunga wrote: > Hi FreeBSD community > > The SCSI device (eg. da1s1) is not created automatically upon a CF card > plug in on an USB multi-card reader on FreeBSD 7.2 (i386) but the SCSI > device (eg. da1s1) is created automatically if I reboot the computer while > the CF card is plug in. > > Here are detail: > $ camcontrol devlist > at scbus0 target 0 lun 0 (pass0,da0) > at scbus0 target 0 lun 1 (pass1,da1) > at scbus0 target 0 lun 2 (pass2,da2) > at scbus0 target 0 lun 3 (pass3,da3) > > After the CF card is plugged in: > $ ls -l /dev/ | grep da > crw-r----- 1 root operator 0, 105 Jul 22 13:18 da0 > crw-r----- 1 root operator 0, 106 Jul 22 13:18 da1 > crw-r----- 1 root operator 0, 107 Jul 22 13:18 da2 > crw-r----- 1 root operator 0, 108 Jul 22 13:18 da3 > > After reboot while the CF card is plugged in: > $ ls -l /dev/ | grep da > crw-r----- 1 root operator 0, 105 Jul 22 13:24 da0 > crw-r----- 1 root operator 0, 106 Jul 22 13:24 da1 > crw-r----- 1 root operator 0, 110 Jul 22 13:24 da1s1 > crw-r----- 1 root operator 0, 107 Jul 22 13:24 da2 > crw-r----- 1 root operator 0, 108 Jul 22 13:24 da3 > > My questions in this regards are: > 1. Is this an error/bug in FreeBSD 7.2? > This is known limitation of, I think, GEOM stack. > 2. Or, does it require some configuration tweak? > After plugging in your CF card, issue true > /dev/da1 command. After writing zero bytes (nothing gets actually written into your media, thus it is not changed at all) GEOM reads some data from media and creates desired device(s). Regards, Milan From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 07:01:36 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A433106564A for ; Wed, 22 Jul 2009 07:01:36 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out0.ops.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id B449A8FC15 for ; Wed, 22 Jul 2009 07:01:35 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out0.ops.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MTVpO-0008Cr-4F; Wed, 22 Jul 2009 09:01:34 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MTVp1-000Ffd-UV; Wed, 22 Jul 2009 09:01:03 +0200 Message-ID: <4A66B92C.8000800@mapper.nl> Date: Wed, 22 Jul 2009 09:01:00 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Arnaud Houdelette References: <4A643F5B.8080806@mapper.nl> <4A656076.2060205@mapper.nl> <9bbcef730907210137udf7f90ax21aa530ab859f8a6@mail.gmail.com> <4A658205.5000709@mapper.nl> <4A65CE7F.8040906@tzim.net> In-Reply-To: <4A65CE7F.8040906@tzim.net> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig79AF0E98F90AACF67708881F" Cc: stable@freebsd.org Subject: Re: ZFS RAIDZ and atacontrol spindown settings X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 07:01:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig79AF0E98F90AACF67708881F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Arnaud Houdelette wrote: > Mark Stapper a =C3=A9crit : >> Ivan Voras wrote: >> =20 >>> 2009/7/21 Mark Stapper : >>> =20 >>>> Ivan Voras wrote: >>>> =20 >>>>> Mark Stapper wrote: >>>>> =20 >>>>>> Good day, >>>>>> >>>>>> I am the proud user of a FreeBSD 7.2 AMD64 system housing, >>>>>> amongst other >>>>>> things, a data server. >>>>>> My "server"(It's called "Yoshi") runs FreeBSD from a mirrored syst= em >>>>>> disc, and has a zfs RAIDZ array with 4 discs for bulky data. >>>>>> As it is a home server, and I work during the day, these four >>>>>> discs were >>>>>> spinning happily all day long without much use for them doing so. >>>>>> To save the world(and money) I issued the command "atacontrol >>>>>> spindown >>>>>> 1800" for all the discs in my array spinning them down after thirt= y >>>>>> minutes of idle spinning. >>>>>> So far so good, me very happy! However, when I access the array >>>>>> after >>>>>> the discs have been spun down, it spins up the discs one after the= >>>>>> other... >>>>>> Mind you one AFTER the other, taking 4*9 seconds to do a "ls" >>>>>> command on >>>>>> my music directory. >>>>>> Content as I am with the smooth down- and upspinning of the disks,= I >>>>>> would like it better if the four discs would spin up simultaneousl= y. >>>>>> Thus my question: "Is it possible to \"group\" discs to be spun u= p >>>>>> together, or to issue a custom command upon upspinning of a disc >>>>>> such as >>>>>> to spin up other disks?" >>>>>> =20 >>>>> Good question but the answer is probably no - it really only depend= s >>>>> on how ZFS accesses the drives; if it accesses them in sequence, yo= u >>>>> can't change it. >>>>> =20 >>>> I've been looking at writing a shell script which monitors >>>> /var/log/messages. >>>> something like: >>>> >>>> If last line in /var/log/messages is like "request while spun down. >>>> Starting." >>>> spinup disks >>>> >>>> couple of problems though, I should probably poll the kernel message= s >>>> every second or so, but if I only check the last linee, I could >>>> miss the >>>> spinup message. >>>> I could count the number of lines in /var/log/messages and keep >>>> count of >>>> the number of lines i've seen. Problem with this approach is that it= 's >>>> not very efficient. >>>> So I was hoping there is a way to receive this kernel message >>>> directly. >>>> I am now thinking in the lines of a program which received a signal = on >>>> new kernel messages available or something similar. >>>> >>>> Any thoughts? >>>> =20 >>> You could do what "tail -f" does and simply hook a kqueue to get new >>> messages from the /var/log/messages file. >>> =20 >> I'll try that! thanks! >> >> =20 > As I get quite the same issue with a 4 disk raidz pool, could you > please tell me the result of your tries ? which command do you use to > force the disks to spin up ? > > Thanks I have been using a shell script containing: #!/bin.sh dd if=3D/dev/ad4 of=3D/dev/null count=3D1& dd if=3D/dev/ad6 of=3D/dev/null count=3D1& dd if=3D/dev/ad8 of=3D/dev/null count=3D1& dd if=3D/dev/ad10 of=3D/dev/null count=3D1& --------------enig79AF0E98F90AACF67708881F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpmuS8ACgkQN9xNqOOVnWBj5ACeJjgg6fTTVNfflIEeMOg2VA+D +yQAn3shYOvrdakN6U9tgjgvmryZMy2P =D8O7 -----END PGP SIGNATURE----- --------------enig79AF0E98F90AACF67708881F-- From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 07:11:00 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEBCE1065670 for ; Wed, 22 Jul 2009 07:11:00 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: from us1.tomahawkonline.net (us1.tomahawkonline.net [66.98.178.56]) by mx1.freebsd.org (Postfix) with SMTP id B527C8FC17 for ; Wed, 22 Jul 2009 07:11:00 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: (qmail 13150 invoked by alias); 22 Jul 2009 03:52:23 -0000 Message-ID: <20090722035223.13148.qmail@us1.tomahawkonline.net> References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <200907220759.22608.freebsd-stable@dino.sk> In-Reply-To: <200907220759.22608.freebsd-stable@dino.sk> From: "Sagara Wijetunga" To: Milan Obuch Date: Wed, 22 Jul 2009 11:52:23 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 07:11:01 -0000 Milan Obuch writes: > On Wednesday 22 July 2009 04:20:27 Sagara Wijetunga wrote: >> Hi FreeBSD community >> >> The SCSI device (eg. da1s1) is not created automatically upon a CF card >> plug in on an USB multi-card reader on FreeBSD 7.2 (i386) but the SCSI >> device (eg. da1s1) is created automatically if I reboot the computer while >> the CF card is plug in. >> >> Here are detail: >> $ camcontrol devlist >> at scbus0 target 0 lun 0 (pass0,da0) >> at scbus0 target 0 lun 1 (pass1,da1) >> at scbus0 target 0 lun 2 (pass2,da2) >> at scbus0 target 0 lun 3 (pass3,da3) >> >> After the CF card is plugged in: >> $ ls -l /dev/ | grep da >> crw-r----- 1 root operator 0, 105 Jul 22 13:18 da0 >> crw-r----- 1 root operator 0, 106 Jul 22 13:18 da1 >> crw-r----- 1 root operator 0, 107 Jul 22 13:18 da2 >> crw-r----- 1 root operator 0, 108 Jul 22 13:18 da3 >> >> After reboot while the CF card is plugged in: >> $ ls -l /dev/ | grep da >> crw-r----- 1 root operator 0, 105 Jul 22 13:24 da0 >> crw-r----- 1 root operator 0, 106 Jul 22 13:24 da1 >> crw-r----- 1 root operator 0, 110 Jul 22 13:24 da1s1 >> crw-r----- 1 root operator 0, 107 Jul 22 13:24 da2 >> crw-r----- 1 root operator 0, 108 Jul 22 13:24 da3 >> >> My questions in this regards are: >> 1. Is this an error/bug in FreeBSD 7.2? >> > > This is known limitation of, I think, GEOM stack. > >> 2. Or, does it require some configuration tweak? >> > > After plugging in your CF card, issue > > true > /dev/da1 > > command. After writing zero bytes (nothing gets actually written into your > media, thus it is not changed at all) GEOM reads some data from media and > creates desired device(s). > Hi Milan, thanks for the reply. Yep, your suggestion works but it simply unacceptable for end users. We are the makers of the Tomahawk Desktop (http://www.tomahawkcomputers.com/). Anybody in the FreeBSD community care to develop a patch to make it possible to use multi-card readers under FreeBSD? Best regards Sagara From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 07:39:07 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E36A106564A for ; Wed, 22 Jul 2009 07:39:07 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id E39898FC13 for ; Wed, 22 Jul 2009 07:39:06 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MTWPl-0000zK-QJ for freebsd-stable@freebsd.org; Wed, 22 Jul 2009 07:39:01 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jul 2009 07:39:01 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jul 2009 07:39:01 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Wed, 22 Jul 2009 09:38:50 +0200 Lines: 44 Message-ID: References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <200907220759.22608.freebsd-stable@dino.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090615) In-Reply-To: <200907220759.22608.freebsd-stable@dino.sk> Sender: news Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 07:39:07 -0000 Milan Obuch wrote: > On Wednesday 22 July 2009 04:20:27 Sagara Wijetunga wrote: >> Hi FreeBSD community >> >> The SCSI device (eg. da1s1) is not created automatically upon a CF card >> plug in on an USB multi-card reader on FreeBSD 7.2 (i386) but the SCSI >> device (eg. da1s1) is created automatically if I reboot the computer while >> the CF card is plug in. >> >> Here are detail: >> $ camcontrol devlist >> at scbus0 target 0 lun 0 (pass0,da0) >> at scbus0 target 0 lun 1 (pass1,da1) >> at scbus0 target 0 lun 2 (pass2,da2) >> at scbus0 target 0 lun 3 (pass3,da3) >> >> After the CF card is plugged in: >> $ ls -l /dev/ | grep da >> crw-r----- 1 root operator 0, 105 Jul 22 13:18 da0 >> crw-r----- 1 root operator 0, 106 Jul 22 13:18 da1 >> crw-r----- 1 root operator 0, 107 Jul 22 13:18 da2 >> crw-r----- 1 root operator 0, 108 Jul 22 13:18 da3 >> >> After reboot while the CF card is plugged in: >> $ ls -l /dev/ | grep da >> crw-r----- 1 root operator 0, 105 Jul 22 13:24 da0 >> crw-r----- 1 root operator 0, 106 Jul 22 13:24 da1 >> crw-r----- 1 root operator 0, 110 Jul 22 13:24 da1s1 >> crw-r----- 1 root operator 0, 107 Jul 22 13:24 da2 >> crw-r----- 1 root operator 0, 108 Jul 22 13:24 da3 >> >> My questions in this regards are: >> 1. Is this an error/bug in FreeBSD 7.2? > > This is known limitation of, I think, GEOM stack. No, it is certainly not. What would be the point? The problem the OP is not that the CF device itself is not detected - the device being /dev/da1 - but that the partition on the device (da1s1) is not detected. It is possibly malformed. The OP should nuke the device (overwrite with dd if=/dev/zero of=/dev/da1 bs=1m), re-create the partition table and see if that helps. From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 08:49:35 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51974106564A for ; Wed, 22 Jul 2009 08:49:35 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-ew0-f222.google.com (mail-ew0-f222.google.com [209.85.219.222]) by mx1.freebsd.org (Postfix) with ESMTP id CFD858FC13 for ; Wed, 22 Jul 2009 08:49:34 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ewy22 with SMTP id 22so37955ewy.43 for ; Wed, 22 Jul 2009 01:49:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=thctZYUlXXzInbyU4kU4BOoe07IGU3vyXJWYpNeC4f8=; b=THodhTOjQMvCAO/7BgtZjKutvepDrEvm0TUuvNtEm0bgzRWII6P46jMb16KAxqI02a CSHSEFTIfVypjrk+Pacv0CsDcpYsRNEd+whHZ6R7rkrBkmdkQOrlnqPQKp3PbeHhDwCf tMA1GZNRMYYH6RRDLLF2FRR2ZNIR+EwWFCPHk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=CaRbsxSlHh2Deo54kAqsjemLjpwO2VpcpZwBFgD2OwBQXphDGkbAFrPoUEU7xz6zJq q8tNIPwh0a79sIw4WC6v/gsCYPDZ9tAI2W76aDBJwAbPSDY+4n4jEjN7TE25MQDKNYJD LwnIEfpvOAfYqQbrI6WUHNTM1ZctlegjNueY8= Received: by 10.210.41.1 with SMTP id o1mr763191ebo.10.1248252573700; Wed, 22 Jul 2009 01:49:33 -0700 (PDT) Received: from ?127.0.0.1? (87-194-39-182.bethere.co.uk [87.194.39.182]) by mx.google.com with ESMTPS id 28sm1026089eyg.32.2009.07.22.01.49.31 (version=SSLv3 cipher=RC4-MD5); Wed, 22 Jul 2009 01:49:31 -0700 (PDT) From: Tom Evans To: Sagara Wijetunga In-Reply-To: <20090722035223.13148.qmail@us1.tomahawkonline.net> References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <200907220759.22608.freebsd-stable@dino.sk> <20090722035223.13148.qmail@us1.tomahawkonline.net> Content-Type: text/plain Date: Wed, 22 Jul 2009 09:49:30 +0100 Message-Id: <1248252570.2291.3.camel@strangepork.london.mintel.ad> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 08:49:36 -0000 On Wed, 2009-07-22 at 11:52 +0800, Sagara Wijetunga wrote: > Hi Milan, thanks for the reply. > > Yep, your suggestion works but it simply unacceptable for end users. We are > the makers of the Tomahawk Desktop (http://www.tomahawkcomputers.com/). > > Anybody in the FreeBSD community care to develop a patch to make it possible > to use multi-card readers under FreeBSD? > > Best regards > Sagara Perhaps that could be what the Tomahawk Desktop contributes back to FreeBSD? Seems to be your itch... Regards Tom From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 09:21:22 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04FD91065674 for ; Wed, 22 Jul 2009 09:21:22 +0000 (UTC) (envelope-from freebsd-stable@dino.sk) Received: from loki.netlab.sk (ns3.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 6F82E8FC12 for ; Wed, 22 Jul 2009 09:21:20 +0000 (UTC) (envelope-from freebsd-stable@dino.sk) Received: from via.dino.sk ([84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Wed, 22 Jul 2009 11:21:27 +0200 id 0002E011.4A66DA17.0000A379 From: Milan Obuch To: freebsd-stable@freebsd.org Date: Wed, 22 Jul 2009 11:21:09 +0200 User-Agent: KMail/1.9.10 References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <200907220759.22608.freebsd-stable@dino.sk> <20090722035223.13148.qmail@us1.tomahawkonline.net> In-Reply-To: <20090722035223.13148.qmail@us1.tomahawkonline.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907221121.10004.freebsd-stable@dino.sk> Cc: Sagara Wijetunga Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 09:21:22 -0000 On Wednesday 22 July 2009 08:11:23 Sagara Wijetunga wrote: > Milan Obuch writes: > > On Wednesday 22 July 2009 04:20:27 Sagara Wijetunga wrote: > >> Hi FreeBSD community > >> > >> The SCSI device (eg. da1s1) is not created automatically upon a CF card > >> plug in on an USB multi-card reader on FreeBSD 7.2 (i386) but the SCSI > >> device (eg. da1s1) is created automatically if I reboot the computer > >> while the CF card is plug in. > >> Which kind of reader is it?Is it something built-in or standalone connected via USB cable to (externally accessible) USB port on your computer? If the latter, could you try the difference between plugging first reader into USB port, than CF into reader and plugging first CF into reader and than connect reader into USB port? Regards, Milan From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 09:32:48 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 189EB106566C for ; Wed, 22 Jul 2009 09:32:48 +0000 (UTC) (envelope-from freebsd-stable@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 9BD458FC18 for ; Wed, 22 Jul 2009 09:32:47 +0000 (UTC) (envelope-from freebsd-stable@dino.sk) Received: from via.dino.sk ([84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Wed, 22 Jul 2009 11:32:54 +0200 id 0002E011.4A66DCC6.0000A3F4 From: Milan Obuch To: freebsd-stable@freebsd.org Date: Wed, 22 Jul 2009 11:32:34 +0200 User-Agent: KMail/1.9.10 References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <200907220759.22608.freebsd-stable@dino.sk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907221132.35462.freebsd-stable@dino.sk> Cc: Ivan Voras Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 09:32:48 -0000 On Wednesday 22 July 2009 09:38:50 Ivan Voras wrote: [ snip ] > >> After the CF card is plugged in: > >> $ ls -l /dev/ | grep da > >> crw-r----- 1 root operator 0, 105 Jul 22 13:18 da0 > >> crw-r----- 1 root operator 0, 106 Jul 22 13:18 da1 > >> crw-r----- 1 root operator 0, 107 Jul 22 13:18 da2 > >> crw-r----- 1 root operator 0, 108 Jul 22 13:18 da3 > >> > >> After reboot while the CF card is plugged in: > >> $ ls -l /dev/ | grep da > >> crw-r----- 1 root operator 0, 105 Jul 22 13:24 da0 > >> crw-r----- 1 root operator 0, 106 Jul 22 13:24 da1 > >> crw-r----- 1 root operator 0, 110 Jul 22 13:24 da1s1 > >> crw-r----- 1 root operator 0, 107 Jul 22 13:24 da2 > >> crw-r----- 1 root operator 0, 108 Jul 22 13:24 da3 > >> > >> My questions in this regards are: > >> 1. Is this an error/bug in FreeBSD 7.2? > > > > This is known limitation of, I think, GEOM stack. > > No, it is certainly not. What would be the point? > Please re-iterate :) When GEOM is signalled about new device, it tries to understand data structures - MBR, partition table, etc. The key is 'when signalled'. So this is not limitation of GEOM per se, just missing signalling of new device/data media arrival. > The problem the OP is not that the CF device itself is not detected - > the device being /dev/da1 - but that the partition on the device (da1s1) > is not detected. It is possibly malformed. > Not true. While not totally clear from original posting, problem is most probably no notion of medium (CF) present in reader, similar to medium (CD) in CD-ROM drive. > The OP should nuke the device (overwrite with dd if=/dev/zero > of=/dev/da1 bs=1m), re-create the partition table and see if that helps. > Again, maybe not clear from original posting, most probably this is not necessary. To me it looks like commonly used CF with msdosfs. If we are able to tell 'new media inserted into reader' event, maybe to devd, we could hook simple script fro this event. Problem is, currently, devfs tells 'new device umass0 detected', but this does not correspond clearly with 'new device daX detected', and, in case of multireader, you can't tell which one (CF, SD, other card) is actually inserted. At least for now, I have no simple idea how to solve this trouble. Regards, Milan From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 10:10:48 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 364C01065673 for ; Wed, 22 Jul 2009 10:10:48 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id E4B568FC12 for ; Wed, 22 Jul 2009 10:10:47 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MTYmT-0000XR-Ji for freebsd-stable@freebsd.org; Wed, 22 Jul 2009 10:10:37 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jul 2009 10:10:37 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jul 2009 10:10:37 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Wed, 22 Jul 2009 12:10:26 +0200 Lines: 37 Message-ID: References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <200907220759.22608.freebsd-stable@dino.sk> <200907221132.35462.freebsd-stable@dino.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090615) In-Reply-To: <200907221132.35462.freebsd-stable@dino.sk> Sender: news Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 10:10:48 -0000 Milan Obuch wrote: > On Wednesday 22 July 2009 09:38:50 Ivan Voras wrote: > > [ snip ] > >>>> After the CF card is plugged in: >>>> $ ls -l /dev/ | grep da >>>> crw-r----- 1 root operator 0, 105 Jul 22 13:18 da0 >>>> crw-r----- 1 root operator 0, 106 Jul 22 13:18 da1 >>>> crw-r----- 1 root operator 0, 107 Jul 22 13:18 da2 >>>> crw-r----- 1 root operator 0, 108 Jul 22 13:18 da3 >>>> >>>> After reboot while the CF card is plugged in: >>>> $ ls -l /dev/ | grep da >>>> crw-r----- 1 root operator 0, 105 Jul 22 13:24 da0 >>>> crw-r----- 1 root operator 0, 106 Jul 22 13:24 da1 >>>> crw-r----- 1 root operator 0, 110 Jul 22 13:24 da1s1 >>>> crw-r----- 1 root operator 0, 107 Jul 22 13:24 da2 >>>> crw-r----- 1 root operator 0, 108 Jul 22 13:24 da3 >>>> >>>> My questions in this regards are: >>>> 1. Is this an error/bug in FreeBSD 7.2? >>> This is known limitation of, I think, GEOM stack. >> No, it is certainly not. What would be the point? >> > > Please re-iterate :) > > When GEOM is signalled about new device, it tries to understand data > structures - MBR, partition table, etc. The key is 'when signalled'. So this > is not limitation of GEOM per se, just missing signalling of new device/data > media arrival. Ah yes, if the reader always signals the device present but doesn't signal media insertion, it would lead to the described problem. I agree there isn't a good solution apart from polling. From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 10:23:49 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3F1D1065674 for ; Wed, 22 Jul 2009 10:23:48 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: from us1.tomahawkonline.net (us1.tomahawkonline.net [66.98.178.56]) by mx1.freebsd.org (Postfix) with SMTP id B718F8FC12 for ; Wed, 22 Jul 2009 10:23:48 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: (qmail 15946 invoked by alias); 22 Jul 2009 07:05:10 -0000 Message-ID: <20090722070510.15945.qmail@us1.tomahawkonline.net> References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <200907220759.22608.freebsd-stable@dino.sk> <20090722035223.13148.qmail@us1.tomahawkonline.net> <200907221121.10004.freebsd-stable@dino.sk> In-Reply-To: <200907221121.10004.freebsd-stable@dino.sk> From: "Sagara Wijetunga" To: Milan Obuch Date: Wed, 22 Jul 2009 15:05:10 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org, Ivan Voras Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 10:23:49 -0000 Milan Obuch writes: > On Wednesday 22 July 2009 08:11:23 Sagara Wijetunga wrote: >> Milan Obuch writes: >> > On Wednesday 22 July 2009 04:20:27 Sagara Wijetunga wrote: >> >> Hi FreeBSD community >> >> >> >> The SCSI device (eg. da1s1) is not created automatically upon a CF card >> >> plug in on an USB multi-card reader on FreeBSD 7.2 (i386) but the SCSI >> >> device (eg. da1s1) is created automatically if I reboot the computer >> >> while the CF card is plug in. >> >> > > Which kind of reader is it?Is it something built-in or standalone connected > via USB cable to (externally accessible) USB port on your computer? If the > latter, could you try the difference between plugging first reader into USB > port, than CF into reader and plugging first CF into reader and than connect > reader into USB port? > 1. This is an internal multi-card reader. 2. The CF card is not malformed. I have tried with a brand new CF card, FreeBSD does not create a daXs1 slice device node even for the new CF card. 3. Tried both cards under Linux 2.6, they work fine. No issue at all. The moment the card is plug in, Linux creates the sdc1 device node, the moment the CF card is taken out of the reader, the Linux removes the sdc1 node. 4. Both cards factory formatted to msdos file system. Regards Sagara From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 10:33:30 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 848751065677 for ; Wed, 22 Jul 2009 10:33:30 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: from us1.tomahawkonline.net (us1.tomahawkonline.net [66.98.178.56]) by mx1.freebsd.org (Postfix) with SMTP id 47C9A8FC23 for ; Wed, 22 Jul 2009 10:33:30 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: (qmail 16079 invoked by alias); 22 Jul 2009 07:14:52 -0000 Message-ID: <20090722071452.16078.qmail@us1.tomahawkonline.net> References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <200907220759.22608.freebsd-stable@dino.sk> <200907221132.35462.freebsd-stable@dino.sk> In-Reply-To: From: "Sagara Wijetunga" To: Ivan Voras Date: Wed, 22 Jul 2009 15:14:52 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 10:33:30 -0000 Ivan Voras writes: > Milan Obuch wrote: >> On Wednesday 22 July 2009 09:38:50 Ivan Voras wrote: >> >> [ snip ] >> >>>>> After the CF card is plugged in: >>>>> $ ls -l /dev/ | grep da >>>>> crw-r----- 1 root operator 0, 105 Jul 22 13:18 da0 >>>>> crw-r----- 1 root operator 0, 106 Jul 22 13:18 da1 >>>>> crw-r----- 1 root operator 0, 107 Jul 22 13:18 da2 >>>>> crw-r----- 1 root operator 0, 108 Jul 22 13:18 da3 >>>>> >>>>> After reboot while the CF card is plugged in: >>>>> $ ls -l /dev/ | grep da >>>>> crw-r----- 1 root operator 0, 105 Jul 22 13:24 da0 >>>>> crw-r----- 1 root operator 0, 106 Jul 22 13:24 da1 >>>>> crw-r----- 1 root operator 0, 110 Jul 22 13:24 da1s1 >>>>> crw-r----- 1 root operator 0, 107 Jul 22 13:24 da2 >>>>> crw-r----- 1 root operator 0, 108 Jul 22 13:24 da3 >>>>> >>>>> My questions in this regards are: >>>>> 1. Is this an error/bug in FreeBSD 7.2? >>>> This is known limitation of, I think, GEOM stack. >>> No, it is certainly not. What would be the point? >>> >> >> Please re-iterate :) >> >> When GEOM is signalled about new device, it tries to understand data >> structures - MBR, partition table, etc. The key is 'when signalled'. So >> this is not limitation of GEOM per se, just missing signalling of new >> device/data media arrival. > > Ah yes, if the reader always signals the device present but doesn't signal > media insertion, it would lead to the described problem. > > I agree there isn't a good solution apart from polling. > I have earlier posted my tests with Linux. All tests were done with same CF cards and the very same multi-card reader on the same computer. They work on Linux. That is, nothing wrong with the multi-card reader, it does it's job of signaling well. Regards Sagara From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 10:38:43 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AC97106568F; Wed, 22 Jul 2009 10:38:43 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 299258FC12; Wed, 22 Jul 2009 10:38:43 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MTZDd-0003AY-Ub; Wed, 22 Jul 2009 11:38:41 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MTZDd-00020n-Te; Wed, 22 Jul 2009 11:38:41 +0100 To: ivoras@freebsd.org, sagara@tomahawk.com.sg In-Reply-To: <20090722071452.16078.qmail@us1.tomahawkonline.net> Message-Id: From: Pete French Date: Wed, 22 Jul 2009 11:38:41 +0100 Cc: freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 10:38:44 -0000 > I have earlier posted my tests with Linux. All tests were done with same CF > cards and the very same multi-card reader on the same computer. They work on > Linux. That is, nothing wrong with the multi-card reader, it does it's job > of signaling well. What makes you sure that Linux is using signalling ? It might be that they recognise the card reader does not signal and simply poll it every few seconds. Is it possible for you to use a non USB based card reader and see how that performs ? -pete. From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 10:58:52 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B70FE1065670 for ; Wed, 22 Jul 2009 10:58:52 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: from us1.tomahawkonline.net (us1.tomahawkonline.net [66.98.178.56]) by mx1.freebsd.org (Postfix) with SMTP id 7D4668FC26 for ; Wed, 22 Jul 2009 10:58:52 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: (qmail 16441 invoked by alias); 22 Jul 2009 07:40:14 -0000 Message-ID: <20090722074014.16439.qmail@us1.tomahawkonline.net> References: In-Reply-To: From: "Sagara Wijetunga" To: Pete French Date: Wed, 22 Jul 2009 15:40:14 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 10:58:53 -0000 Pete French writes: >> I have earlier posted my tests with Linux. All tests were done with same CF >> cards and the very same multi-card reader on the same computer. They work on >> Linux. That is, nothing wrong with the multi-card reader, it does it's job >> of signaling well. > > What makes you sure that Linux is using signalling ? It might be that > they recognise the card reader does not signal and simply poll it every > few seconds. > On Linux it does not take even a second, its instant. > Is it possible for you to use a non USB based card reader and see how > that performs ? > Almost all multi-card readers targeted for consumers are USB type. I'm not sure whether there are non-USB based multi-card readers available. Do USB multi-card readers work on FreeBSD in first place? Taking few seconds to create necessary device is alright, but asking people to reboot the computer after plug in a card is unacceptable. Regards Sagara From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 11:13:44 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AA051065674 for ; Wed, 22 Jul 2009 11:13:44 +0000 (UTC) (envelope-from news@citylink.dinoex.sub.org) Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [194.45.71.2]) by mx1.freebsd.org (Postfix) with ESMTP id E77F68FC0C for ; Wed, 22 Jul 2009 11:13:43 +0000 (UTC) (envelope-from news@citylink.dinoex.sub.org) Received: from uucp.dinoex.sub.de (uucp@uucp.dinoex.sub.de [194.45.71.2] (may be forged)) by uucp.dinoex.sub.de (8.14.3/8.14.2) with ESMTP id n6MBD7i3035062 for ; Wed, 22 Jul 2009 13:13:07 +0200 (CEST) (envelope-from news@citylink.dinoex.sub.org) X-MDaemon-Deliver-To: Received: from citylink.dinoex.sub.org (uucp@localhost) by uucp.dinoex.sub.de (8.14.3/8.14.2/Submit) with UUCP id n6MBD76O035061 for freebsd-stable@FreeBSD.ORG; Wed, 22 Jul 2009 13:13:07 +0200 (CEST) (envelope-from news@citylink.dinoex.sub.org) Received: from gate.oper.dinoex.org (gate-e [192.168.98.2]) by citylink.dinoex.sub.de (8.14.3/8.14.2) with ESMTP id n6MAGhTh045527 for ; Wed, 22 Jul 2009 12:16:43 +0200 (CEST) (envelope-from news@gate.oper.dinoex.org) Received: from gate.oper.dinoex.org (gate-e [192.168.98.2]) by gate.oper.dinoex.org (8.14.3/8.14.3) with ESMTP id n6MAE35c045228 for ; Wed, 22 Jul 2009 12:14:03 +0200 (CEST) (envelope-from news@gate.oper.dinoex.org) Received: (from news@localhost) by gate.oper.dinoex.org (8.14.3/8.14.3/Submit) id n6MAE2Mi045227 for freebsd-stable@FreeBSD.ORG; Wed, 22 Jul 2009 12:14:03 +0200 (CEST) (envelope-from news) From: pmc@citylink.dinoex.sub.org (Peter Much) Message-ID: Date: Wed, 22 Jul 2009 09:51:52 GMT Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Mime-Version: 1.0 Organization: dread of the bookshelf X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Sender: To: freebsd-stable@FreeBSD.ORG X-Milter: Spamilter (Reciever: uucp.dinoex.sub.de; Sender-ip: 194.45.71.2; Sender-helo: uucp.dinoex.sub.de; ) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (uucp.dinoex.sub.de [194.45.71.2]); Wed, 22 Jul 2009 13:13:08 +0200 (CEST) Cc: Subject: 7.2-STABLE ZFS: mv: set flags (was: 00000000): Invalid argument X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 11:13:44 -0000 Hi ZFS gurus! After upgrading my system from 7.2-PRERELEASE to 7.2-STABLE (as of last week), and accordingly upgrading my Pools from Version 6 to Version 13, I get this error when moving arbitrary files between different ZFS filesystems. While this seems not to do much harm (mv returns with 0), it is annoying. Does anybody know an explanation or fix, or is there some work in progress? rgds, PMc From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 13:21:05 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A582D10656B4; Wed, 22 Jul 2009 13:21:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 717FF8FC16; Wed, 22 Jul 2009 13:21:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 1A4A746B58; Wed, 22 Jul 2009 09:21:05 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 640038A09F; Wed, 22 Jul 2009 09:21:04 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Wed, 22 Jul 2009 08:14:37 -0400 User-Agent: KMail/1.9.7 References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <4A6628F0.6080802@mail.zedat.fu-berlin.de> <20090721215201.GA61999@troutmask.apl.washington.edu> In-Reply-To: <20090721215201.GA61999@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907220814.38246.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 22 Jul 2009 09:21:04 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: "O. Hartmann" , Thomas Backman , Olivier SMEDTS , FreeBSD current , Steve Kargl , Ken Smith Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 13:21:06 -0000 On Tuesday 21 July 2009 5:52:01 pm Steve Kargl wrote: > On Tue, Jul 21, 2009 at 10:45:36PM +0200, O. Hartmann wrote: > > > > I have another box (of many) running FreeBSD 8.0-BETA2/amd64 with 2 GB > > RAM and a Athlon64 2,2GHz CPU having 800(!) ports installed. Can you > > imagine how long this box will be occupied by 'portupgrade -af'? I guess > > 'cherry-picking' is the only solution. > > How many of those 800 ports are actually necessary and used? > It would be better to get generate a complete list of your > installed ports, use pkg_deinstall or pkg_delete to remove > all ports, and then selectively re-install ports that are > actually used. Xorg takes up ~200 ports alone (not including dependencies like perl, etc.) since the Xorg decided release engineering was too hard. Throw in things like KDE, OOo, Firefox, etc. for a desktop and you can get a fairly high package count. :-/ -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 14:20:38 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C5251065672 for ; Wed, 22 Jul 2009 14:20:38 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id ABE3A8FC1A for ; Wed, 22 Jul 2009 14:20:37 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id n6MEKYaq015345; Wed, 22 Jul 2009 22:20:34 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id n6MEKXhv015339; Wed, 22 Jul 2009 22:20:33 +0800 (KRAST) (envelope-from eugen) Date: Wed, 22 Jul 2009 22:20:33 +0800 From: Eugene Grosbein To: Sagara Wijetunga Message-ID: <20090722142033.GA13316@svzserv.kemerovo.su> References: <20090722022027.12059.qmail@us1.tomahawkonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090722022027.12059.qmail@us1.tomahawkonline.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 14:20:38 -0000 On Wed, Jul 22, 2009 at 10:20:27AM +0800, Sagara Wijetunga wrote: > My questions in this regards are: > 1. Is this an error/bug in FreeBSD 7.2? This is regression from pre-5.x days. In 4.x and earlier, you can have static device nodes and access them just fine. > 2. Or, does it require some configuration tweak? As a workaround, you should drop cardreader.conf into /usr/local/etc/devd/ (create directory if it does not exist) with contents like: attach 1000 { device-name "umass[0-9]+"; action "/usr/local/libexec/umass/attach-umass $device-name"; }; Script /usr/local/libexec/umass/attach-umass is invoked when umassX appears: #!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin DEV=/dev p=`dirname $0` [ -z "$1" ] && exit 1 u="$1" # wait until dust settles i=1; while [ $i -le 10 ] do sleep 1 device=`$p/umass2da $u` if [ $? = 0 ]; then : > $DEV/${device} break fi i=$(($i+1)) done This script calls /usr/local/libexec/umass/umass2da helper to translate umassX to daY (in hope this translation is possible): #!/bin/sh PATH=/sbin:/usr/bin camcontrol devlist -v | awk -v u=$1 '\ BEGIN { s = ""; e = 1; } $3 ~ /umass-sim[0-9]+/ { s = $3; sub("-sim","",s); } /[,(]da[0-9]+.*\)$/ { if(s == u) { match($NF, /da[0-9]+/); print substr($NF, RSTART, RLENGTH); e=0; exit 0; } } END { exit e; }' Eugene Grosbein From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 15:45:18 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00CD910656A9 for ; Wed, 22 Jul 2009 15:45:18 +0000 (UTC) (envelope-from bounce@abekaacademy.org) Received: from bms.pcci.edu (promo.abeka.com [12.237.119.104]) by mx1.freebsd.org (Postfix) with SMTP id C94DD8FC13 for ; Wed, 22 Jul 2009 15:45:07 +0000 (UTC) (envelope-from bounce@abekaacademy.org) Received: from abekaacademy.org (bmc.pcci.int [10.25.45.78]) by bms.pcci.edu (Postfix) with ESMTP id 40ABA4D5C0 for ; Wed, 22 Jul 2009 08:59:31 -0500 (CDT) From: A Beka Academy To: stable@freebsd.org Date: 22 Jul 2009 08:59:25 -0500 Message-ID: <20090722085925.6D47986129664C2E@promo.abeka.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: ABA K4 Video Program $350 or Save $100 on New K5-12 Enrollments! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 15:45:18 -0000 K4 Video Program (www.abekaacademy.org/k4offer.html) A Beka Academy K4 Video Program contains over 400 instructional hours=20 using age-appropriate, eye-catching visuals. Children gain knowledge in Phonics, Numbers, Poetry, Reading, Readiness=20 Skills, Drama, Writing, Music, Language Development, Bible, and Art. Student materials, parent manual, support materials, shipping, and taxes=20 are all included! The $350 special introductory price... - is available with Internet Video Streaming or DVD format ($75 fully-refundable retainer fee for DVD.) - includes all enrollments-Internet at www.abekaacademy.org/enroll,=20 Home School Materials Displays at abeka.com/MaterialsDisplay,=20 phone (1-800-874-3592), or mail. - includes shipping and sales tax for continental U.S.A. - is available to International customers at the same price=20 (additional retainer fee, shipping charges, and custom fees may=20 apply). - may not be combined with any other Discount or Savings and does no= t=20 include Payment Plan. New ABA K5-12 Enrollments (www.abekaacademy.org/NewEnrollmentOffer.html) Save $100 per student* when you enroll in A Beka Academy video at a Home=20 School Materials Display at www.abeka.com/MaterialsDisplay or enroll=20 online at www.abekaacademy.org/enroll and save $50 per student*. *Offer limited to new video students and former video students not=20 enrolled after 3/28/08. Full-grade enrollments only. This promotional=20 offer may not be combined with any other discount or rebates. From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 16:07:12 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E333D106568D for ; Wed, 22 Jul 2009 16:07:12 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id E9A558FC23 for ; Wed, 22 Jul 2009 16:07:11 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id n6MFheVH008777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Jul 2009 19:43:42 +0400 (MSD) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MTdym-0002g1-Dt; Wed, 22 Jul 2009 19:43:40 +0400 From: Vladimir Grebenschikov To: Steve Kargl In-Reply-To: <20090721215201.GA61999@troutmask.apl.washington.edu> References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> <4A6628F0.6080802@mail.zedat.fu-berlin.de> <20090721215201.GA61999@troutmask.apl.washington.edu> Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: quoted-printable Date: Wed, 22 Jul 2009 19:43:40 +0400 Message-Id: <1248277420.8644.70.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-stable , "O. Hartmann" , Thomas Backman , Olivier SMEDTS , FreeBSD current , Ken Smith Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 16:07:13 -0000 =F7 =D7=D4, 21/07/2009 =D7 14:52 -0700, Steve Kargl =D0=C9=DB=C5=D4: > On Tue, Jul 21, 2009 at 10:45:36PM +0200, O. Hartmann wrote: > >=20 > > I have another box (of many) running FreeBSD 8.0-BETA2/amd64 with 2 GB > > RAM and a Athlon64 2,2GHz CPU having 800(!) ports installed. Can you > > imagine how long this box will be occupied by 'portupgrade -af'? I gues= s > > 'cherry-picking' is the only solution. >=20 > How many of those 800 ports are actually necessary and used? > It would be better to get generate a complete list of your > installed ports, use pkg_deinstall or pkg_delete to remove > all ports, and then selectively re-install ports that are > actually used. I've found that much faster and cleaner way is to just remove whole /usr/local (preserving /usr/local/etc), and /var/db/pkg and then just install required ports, such process goes much faster. Also it removes all unused ports. As for ports number, it is really crazy, I have 1435 ports for notebook used as usual desktop and as multi-purpose development machine. PS. I am on i386, so can't say anything about amd64 specific performance problems. --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 16:30:49 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A7901065672 for ; Wed, 22 Jul 2009 16:30:49 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) by mx1.freebsd.org (Postfix) with ESMTP id AE87A8FC08 for ; Wed, 22 Jul 2009 16:30:48 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by bwz19 with SMTP id 19so290423bwz.43 for ; Wed, 22 Jul 2009 09:30:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=OPMCGmgoUOULGG68O6h5yDxCACWo3C1xMfhRfxJwZZ0=; b=hYqqbREpTwMXJByz1ejiyiYgumlNptyY1WyqPkfbR0R9E9XRRvUvesCRAGsMn6tKAr 5uxG+lkW/qI/st13I683zM2dLUfuSu9G6aUdJVr2xPyl7zgoth9I0iSfW2PRSo87TTPi 6naBWISsFiwLk9PTMETdtUYr/xXpNkDbXGDmM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=xKGLfOVoBXa0ODoEM+fNr1SKp7nWSYJq07RTOgZ3eGcyFltqGmcWux5zY2B2hMdXSa 1x+s0mb+YP9YMJfKxu01BFC9y2w405lBUvSf27DP9W1NQKVn7pXW3SyxaJ1jnYk4DTBn u1fe7guJzk8fsfIJozlQ5QQQ78Yf4ro0DRugI= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.114.208 with SMTP id f16mr586374faq.91.1248280247424; Wed, 22 Jul 2009 09:30:47 -0700 (PDT) In-Reply-To: <4A667469.1080805@gmail.com> References: <4A667469.1080805@gmail.com> Date: Wed, 22 Jul 2009 18:30:47 +0200 X-Google-Sender-Auth: 7b77cd591d7ff60e Message-ID: <3bbf2fe10907220930y27b5da04sd0a71d57b6a9d191@mail.gmail.com> From: Attilio Rao To: "C. C. Tang" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "dan.naumov" , barbara , freebsd-stable Subject: Re: 7.2-release/amd64: panic, spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 16:30:49 -0000 2009/7/22 C. C. Tang : >> Could that one (on i386) be related? >> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/134584 >> > > I have no idea about it but I can tell the difference... > My machine panic randomly rather than on shutdown and I remembered that it > failed to write core dump. It also failed to reboot automatically.. Is your problem on -CURRENT and amd64? At some point there has been a problem with PAT support (and tlb_shootdowns() could lead to a livelock hanging forever, leading to such a bug) but I expect it is fixed now. Can you try with a fresh new -CURRENT if any? Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 19:05:51 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAB0B106566B for ; Wed, 22 Jul 2009 19:05:51 +0000 (UTC) (envelope-from pprocacci@datapipe.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 84FB38FC1A for ; Wed, 22 Jul 2009 19:05:51 +0000 (UTC) (envelope-from pprocacci@datapipe.net) Received: from imp09 ([10.20.200.9]) by mta11.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090722190538.BFYB22327.mta11.charter.net@imp09> for ; Wed, 22 Jul 2009 15:05:38 -0400 Received: from beast.myhome ([75.138.246.106]) by imp09 with smtp.charter.net id K75e1c00A2JU3vv0575em1; Wed, 22 Jul 2009 15:05:38 -0400 Message-ID: <4A676307.8090503@datapipe.net> Date: Wed, 22 Jul 2009 14:05:43 -0500 From: "Paul A. Procacci" User-Agent: Thunderbird 2.0.0.22 (X11/20090722) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ue0 dhclient FBSD8-BETA2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 19:05:52 -0000 Gents, Since the name changed for my cdce device, booting up the OS fails to obtain an address via dhcp on this interface. dhclient works normally after the machine is booted and I provide the command on the command line. I've got the following in my rc.conf which I would have thought to be enough, but it doesn't matter as dhclient never gets run, ifconfig_ue0="DHCP" This isn't a deal breaker by any means, but would like to inquire about about the proper steps for getting dhclient to physically work on the ue0 interface. Docs on this subject (usb ethernet changes) at this point are scarce and I'm not sure what specifically needs to be done. Thanks, Paul From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 19:28:43 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47BD61065686 for ; Wed, 22 Jul 2009 19:28:43 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3F28FC20 for ; Wed, 22 Jul 2009 19:28:42 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id n6MJSofU002813; Wed, 22 Jul 2009 14:28:50 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id n6MJSoGZ002812; Wed, 22 Jul 2009 14:28:50 -0500 (CDT) (envelope-from brooks) Date: Wed, 22 Jul 2009 14:28:50 -0500 From: Brooks Davis To: "Paul A. Procacci" Message-ID: <20090722192850.GB94204@lor.one-eyed-alien.net> References: <4A676307.8090503@datapipe.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mojUlQ0s9EVzWg2t" Content-Disposition: inline In-Reply-To: <4A676307.8090503@datapipe.net> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Wed, 22 Jul 2009 14:28:51 -0500 (CDT) Cc: freebsd-stable@freebsd.org Subject: Re: ue0 dhclient FBSD8-BETA2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 19:28:43 -0000 --mojUlQ0s9EVzWg2t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 22, 2009 at 02:05:43PM -0500, Paul A. Procacci wrote: > Gents, >=20 > Since the name changed for my cdce device, booting up the OS fails to=20 > obtain an address via dhcp on this interface. dhclient works normally=20 > after the machine is booted and I provide the command on the command line. >=20 > I've got the following in my rc.conf which I would have thought to be=20 > enough, but it doesn't matter as dhclient never gets run, >=20 > ifconfig_ue0=3D"DHCP" >=20 > This isn't a deal breaker by any means, but would like to inquire about= =20 > about the proper steps for getting dhclient to physically work on the ue0= =20 > interface. Docs on this subject (usb ethernet changes) at this point are= =20 > scarce and I'm not sure what specifically needs to be done. This generally means that ue0 never reports a link up event which means dhclient never gets run. If so, the driver is broken, but you may be able to work around it by changing DHCP to SYNCDHCP. In that case it may work if the cable is plugged in when the device it attached. -- Brooks --mojUlQ0s9EVzWg2t Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFKZ2hyXY6L6fI4GtQRAkASAJ4odFjzq7gC4GLK32QpkDzaCD8b+ACgllXl uo3oAdYLwofFfq9DfF5Hmz0= =tNgX -----END PGP SIGNATURE----- --mojUlQ0s9EVzWg2t-- From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 20:06:31 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6CCC106564A for ; Wed, 22 Jul 2009 20:06:31 +0000 (UTC) (envelope-from pprocacci@datapipe.net) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id 382268FC13 for ; Wed, 22 Jul 2009 20:06:30 +0000 (UTC) (envelope-from pprocacci@datapipe.net) Received: from imp11 ([10.20.200.11]) by mta31.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090722200614.WXHF2647.mta31.charter.net@imp11>; Wed, 22 Jul 2009 16:06:14 -0400 Received: from beast.myhome ([75.138.226.179]) by imp11 with smtp.charter.net id K86D1c00S3ss4W30586DQr; Wed, 22 Jul 2009 16:06:14 -0400 Message-ID: <4A677148.6070506@datapipe.net> Date: Wed, 22 Jul 2009 15:06:32 -0500 From: "Paul A. Procacci" User-Agent: Thunderbird 2.0.0.22 (X11/20090722) MIME-Version: 1.0 To: Brooks Davis References: <4A676307.8090503@datapipe.net> <20090722192850.GB94204@lor.one-eyed-alien.net> In-Reply-To: <20090722192850.GB94204@lor.one-eyed-alien.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-stable@freebsd.org" Subject: Re: ue0 dhclient FBSD8-BETA2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 20:06:31 -0000 Brooks, I appreciate the quick follow up. You were right, and this now work perfectly. Thank you for taking the time to respond to my question. Thanks, Paul Brooks Davis wrote: > On Wed, Jul 22, 2009 at 02:05:43PM -0500, Paul A. Procacci wrote: > >> Gents, >> >> Since the name changed for my cdce device, booting up the OS fails to >> obtain an address via dhcp on this interface. dhclient works normally >> after the machine is booted and I provide the command on the command line. >> >> I've got the following in my rc.conf which I would have thought to be >> enough, but it doesn't matter as dhclient never gets run, >> >> ifconfig_ue0="DHCP" >> >> This isn't a deal breaker by any means, but would like to inquire about >> about the proper steps for getting dhclient to physically work on the ue0 >> interface. Docs on this subject (usb ethernet changes) at this point are >> scarce and I'm not sure what specifically needs to be done. >> > > This generally means that ue0 never reports a link up event which means > dhclient never gets run. If so, the driver is broken, but you may be > able to work around it by changing DHCP to SYNCDHCP. In that case > it may work if the cable is plugged in when the device it attached. > > -- Brooks > From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 20:07:04 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 933A01065670 for ; Wed, 22 Jul 2009 20:07:04 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 3AB7F8FC0A for ; Wed, 22 Jul 2009 20:07:04 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.3/8.14.2) with ESMTP id n6MJUZWi083895; Wed, 22 Jul 2009 15:30:35 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.3/8.14.2/Submit) id n6MJUXtS083894; Wed, 22 Jul 2009 15:30:33 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Date: Wed, 22 Jul 2009 15:30:33 -0400 From: David Schultz To: Vladimir Grebenschikov Message-ID: <20090722193033.GA83848@zim.MIT.EDU> Mail-Followup-To: Vladimir Grebenschikov , Steve Kargl , freebsd-stable , "O. Hartmann" , Thomas Backman , Olivier SMEDTS , FreeBSD current , Ken Smith References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> <4A6628F0.6080802@mail.zedat.fu-berlin.de> <20090721215201.GA61999@troutmask.apl.washington.edu> <1248277420.8644.70.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1248277420.8644.70.camel@localhost> Cc: freebsd-stable , "O. Hartmann" , Thomas Backman , Olivier SMEDTS , FreeBSD current , Steve Kargl , Ken Smith Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 20:07:04 -0000 On Wed, Jul 22, 2009, Vladimir Grebenschikov wrote: > Ð’ вт, 21/07/2009 в 14:52 -0700, Steve Kargl пишет: > > On Tue, Jul 21, 2009 at 10:45:36PM +0200, O. Hartmann wrote: > > > > > > I have another box (of many) running FreeBSD 8.0-BETA2/amd64 with 2 GB > > > RAM and a Athlon64 2,2GHz CPU having 800(!) ports installed. Can you > > > imagine how long this box will be occupied by 'portupgrade -af'? I guess > > > 'cherry-picking' is the only solution. > > > > How many of those 800 ports are actually necessary and used? > > It would be better to get generate a complete list of your > > installed ports, use pkg_deinstall or pkg_delete to remove > > all ports, and then selectively re-install ports that are > > actually used. > > I've found that much faster and cleaner way is to just remove > whole /usr/local (preserving /usr/local/etc), and /var/db/pkg > > and then just install required ports, such process goes much faster. > Also it removes all unused ports. I do the same thing. I wish the ports system kept track of which ports were installed explicitly by me, and which were only dependencies. Then it would be possible to garbage collect ports that are no longer needed. From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 20:15:20 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22D4A106564A; Wed, 22 Jul 2009 20:15:20 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from mail-pz0-f193.google.com (mail-pz0-f193.google.com [209.85.222.193]) by mx1.freebsd.org (Postfix) with ESMTP id D6E0B8FC0A; Wed, 22 Jul 2009 20:15:19 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by pzk31 with SMTP id 31so436589pzk.3 for ; Wed, 22 Jul 2009 13:15:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=WTiXBu09c84Xjf5b0ycCMjnGiwwkgTHkKrldgxlX8tE=; b=iGpFvLf9nWaAgORjHuH+JMgi7r2fb4mDdgREpDckwX6mJApzYgc55am9qQeHWRqF9m yy5RaTWXw/YoVbVFIcFV5oA+GcZqAlsn8dICraiXpCFePTozY0lMstRO0AlOamivCR2Y bUPuqyz2J9uTZxUPnbyFcgiOvuC16/YRWHrUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=BieWyjCphNU0kBRBK7Q8x7IieoUM8vdMv3QDL/sYWAE47Vf78NvQStxCPGFlzwb3Fb DXQYLqZfvy2KHuRd+eLNZvArhBc4MBcqdS8io5RNcm9IkEHB8bhe33v8La49GEL+kmod 6lh1di5OTcenZOqW93AxnoKQONsg8Q0rwTrmA= Received: by 10.114.61.2 with SMTP id j2mr1046417waa.18.1248292425014; Wed, 22 Jul 2009 12:53:45 -0700 (PDT) Received: from ?10.0.3.231? (pool-70-111-14-92.nwrk.east.verizon.net [70.111.14.92]) by mx.google.com with ESMTPS id j31sm1743243waf.14.2009.07.22.12.53.41 (version=SSLv3 cipher=RC4-MD5); Wed, 22 Jul 2009 12:53:43 -0700 (PDT) From: "Alexandre \"Sunny\" Kovalenko" To: David Schultz In-Reply-To: <20090722193033.GA83848@zim.MIT.EDU> References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> <4A6628F0.6080802@mail.zedat.fu-berlin.de> <20090721215201.GA61999@troutmask.apl.washington.edu> <1248277420.8644.70.camel@localhost> <20090722193033.GA83848@zim.MIT.EDU> Content-Type: text/plain; charset="UTF-8" Date: Wed, 22 Jul 2009 15:52:44 -0400 Message-Id: <1248292364.1479.16.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-stable , Vladimir Grebenschikov , "O. Hartmann" , Thomas Backman , Olivier SMEDTS , FreeBSD current , Steve Kargl , Ken Smith Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 20:15:20 -0000 On Wed, 2009-07-22 at 15:30 -0400, David Schultz wrote: > On Wed, Jul 22, 2009, Vladimir Grebenschikov wrote: > > Ð’ вт, 21/07/2009 в 14:52 -0700, Steve Kargl пишет: > > > On Tue, Jul 21, 2009 at 10:45:36PM +0200, O. Hartmann wrote: > > > > > > > > I have another box (of many) running FreeBSD 8.0-BETA2/amd64 with 2 GB > > > > RAM and a Athlon64 2,2GHz CPU having 800(!) ports installed. Can you > > > > imagine how long this box will be occupied by 'portupgrade -af'? I guess > > > > 'cherry-picking' is the only solution. > > > > > > How many of those 800 ports are actually necessary and used? > > > It would be better to get generate a complete list of your > > > installed ports, use pkg_deinstall or pkg_delete to remove > > > all ports, and then selectively re-install ports that are > > > actually used. > > > > I've found that much faster and cleaner way is to just remove > > whole /usr/local (preserving /usr/local/etc), and /var/db/pkg > > > > and then just install required ports, such process goes much faster. > > Also it removes all unused ports. > > I do the same thing. I wish the ports system kept track of which > ports were installed explicitly by me, and which were only > dependencies. ports-mgmt/pkg_cutleaves does not quite do that, but IMHO is pretty close. I does not detect build-time dependencies, though. > Then it would be possible to garbage collect ports > that are no longer needed. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Alexandre Kovalenko (ОлекÑандр Коваленко) From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 20:20:07 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F5281065674 for ; Wed, 22 Jul 2009 20:20:07 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-ew0-f222.google.com (mail-ew0-f222.google.com [209.85.219.222]) by mx1.freebsd.org (Postfix) with ESMTP id A6D1C8FC28 for ; Wed, 22 Jul 2009 20:20:06 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: by ewy22 with SMTP id 22so484386ewy.43 for ; Wed, 22 Jul 2009 13:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=hUSOvILJZM6O0Sddsj71qjGqrVTlwJ4R91A9Eb8IpgM=; b=V5mh5H4AsSJ6z9tOwKalvI54Ptf1SQUOL5meGre7w1CR0ALMQL4K70Zaq01HRcqJlV tWiYp+Kr2xpf13wIc/GjJQCo/tdysyFLAy+CXCGDDymaNMn8CMu0wRbhRqLq4E5dk55U FSA11xv3qKLDefg6XTXl6wTJBQZzra4iBX1q0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=NVpC3K+aCXIaMo4C1ZqVTwqdN39T452EziZQcE2KxfY17D2o2vd3BSEkYNtj++qKzU QO3hu8psYgzqiIXfWiwWnBNXq2622/x4VnaqZBOjbKREe3r7bx1S7A6LDCNKHkS5ueIH Q5L1FkX9eXqZ0SskGv1bA6+r5nI5gru+HhJdk= MIME-Version: 1.0 Received: by 10.210.13.17 with SMTP id 17mr1565013ebm.38.1248294005794; Wed, 22 Jul 2009 13:20:05 -0700 (PDT) Date: Wed, 22 Jul 2009 16:20:05 -0400 Message-ID: From: grarpamp To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: MAKE_DVD=1 make release X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 20:20:07 -0000 I'm not seeing a way to make the dvd image with: # $FreeBSD: src/release/Makefile,v 1.924.2.9 2009/04/15 03:42:59 kensmith Exp $ Am I missing the proper way to do this? Or can someone commit 'MAKE_DVD=' into 'MAKE_DVD+=' on lines 195 and 225? Or commit a more suitable update to src/release/Makefile? Thanks. From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 23:23:57 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A2F81065670 for ; Wed, 22 Jul 2009 23:23:57 +0000 (UTC) (envelope-from nakaji@kankyo-u.ac.jp) Received: from www.heimat.gr.jp (unknown [IPv6:2001:3e0:a84::1]) by mx1.freebsd.org (Postfix) with ESMTP id E3B9D8FC0A for ; Wed, 22 Jul 2009 23:23:56 +0000 (UTC) (envelope-from nakaji@kankyo-u.ac.jp) X-Virus-Scanned: amavisd-new at heimat.gr.jp Received: from ra333.heimat.gr.jp.kankyo-u.ac.jp (ra333.heimat.gr.jp [IPv6:2001:3e0:a84:0:200:4cff:fe17:573c]) by www.heimat.gr.jp (8.14.3/8.14.3) with ESMTP id n6MNNZRo044387; Thu, 23 Jul 2009 08:23:36 +0900 (JST) (envelope-from nakaji@kankyo-u.ac.jp) From: NAKAJI Hiroyuki To: freebsd-stable@freebsd.org References: <4A667469.1080805@gmail.com> Date: Thu, 23 Jul 2009 08:23:34 +0900 In-Reply-To: <4A667469.1080805@gmail.com> (C. C. Tang's message of "Wed, 22 Jul 2009 10:07:37 +0800") Message-ID: <864ot4xpxl.fsf@ra333.heimat.gr.jp> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, score=-6.0 required=13.0 tests=AWL,BAYES_00, CONTENT_TYPE_PRESENT,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on www.heimat.gr.jp Cc: "C. C. Tang" Subject: Re: 7.2-release/amd64: panic, spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 23:23:57 -0000 >>>>> In <4A667469.1080805@gmail.com> >>>>> "C. C. Tang" wrote: > > Could that one (on i386) be related? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/134584 > > > I have no idea about it but I can tell the difference... > My machine panic randomly rather than on shutdown and I remembered > that it failed to write core dump. It also failed to reboot > automatically.. I also have trouble like yours. http://lists.freebsd.org/pipermail/freebsd-stable/2009-June/050526.html I've heard from Attilio Rao that he had found the problem and is working on it. You can see Attilio's guide to collect debug informations: http://lists.freebsd.org/pipermail/freebsd-stable/2009-June/050528.html -- NAKAJI Hiroyuki From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 23:49:23 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DE281065670 for ; Wed, 22 Jul 2009 23:49:23 +0000 (UTC) (envelope-from tzim@tzim.net) Received: from golanth.tzim.net (unknown [IPv6:2001:41d0:1:d91f:21c:c0ff:fe4b:cf32]) by mx1.freebsd.org (Postfix) with ESMTP id AD3068FC08 for ; Wed, 22 Jul 2009 23:49:22 +0000 (UTC) (envelope-from tzim@tzim.net) Received: from carenath.tzim.net ([82.67.108.3] helo=[192.168.0.111]) by golanth.tzim.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MTlYn-000Nhx-KD; Thu, 23 Jul 2009 01:49:21 +0200 Message-ID: <4A67A582.8040702@tzim.net> Date: Thu, 23 Jul 2009 01:49:22 +0200 From: Arnaud Houdelette User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Mark Stapper References: <4A643F5B.8080806@mapper.nl> <4A656076.2060205@mapper.nl> <9bbcef730907210137udf7f90ax21aa530ab859f8a6@mail.gmail.com> <4A658205.5000709@mapper.nl> <4A65CE7F.8040906@tzim.net> <4A66B92C.8000800@mapper.nl> In-Reply-To: <4A66B92C.8000800@mapper.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated-User: tzim@tzim.net X-Authenticator: plain Cc: stable@freebsd.org Subject: Re: ZFS RAIDZ and atacontrol spindown settings X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 23:49:23 -0000 Mark Stapper wrote: > Arnaud Houdelette wrote: > >> Mark Stapper a écrit : >> >>> Ivan Voras wrote: >>> >>> >>>> 2009/7/21 Mark Stapper : >>>> >>>> >>>>> Ivan Voras wrote: >>>>> >>>>> >>>>>> Mark Stapper wrote: >>>>>> >>>>>> >>>>>>> Good day, >>>>>>> >>>>>>> I am the proud user of a FreeBSD 7.2 AMD64 system housing, >>>>>>> amongst other >>>>>>> things, a data server. >>>>>>> My "server"(It's called "Yoshi") runs FreeBSD from a mirrored system >>>>>>> disc, and has a zfs RAIDZ array with 4 discs for bulky data. >>>>>>> As it is a home server, and I work during the day, these four >>>>>>> discs were >>>>>>> spinning happily all day long without much use for them doing so. >>>>>>> To save the world(and money) I issued the command "atacontrol >>>>>>> spindown >>>>>>> 1800" for all the discs in my array spinning them down after thirty >>>>>>> minutes of idle spinning. >>>>>>> So far so good, me very happy! However, when I access the array >>>>>>> after >>>>>>> the discs have been spun down, it spins up the discs one after the >>>>>>> other... >>>>>>> Mind you one AFTER the other, taking 4*9 seconds to do a "ls" >>>>>>> command on >>>>>>> my music directory. >>>>>>> Content as I am with the smooth down- and upspinning of the disks, I >>>>>>> would like it better if the four discs would spin up simultaneously. >>>>>>> Thus my question: "Is it possible to \"group\" discs to be spun up >>>>>>> together, or to issue a custom command upon upspinning of a disc >>>>>>> such as >>>>>>> to spin up other disks?" >>>>>>> >>>>>>> >>>>>> Good question but the answer is probably no - it really only depends >>>>>> on how ZFS accesses the drives; if it accesses them in sequence, you >>>>>> can't change it. >>>>>> >>>>>> >>>>> I've been looking at writing a shell script which monitors >>>>> /var/log/messages. >>>>> something like: >>>>> >>>>> If last line in /var/log/messages is like "request while spun down. >>>>> Starting." >>>>> spinup disks >>>>> >>>>> couple of problems though, I should probably poll the kernel messages >>>>> every second or so, but if I only check the last linee, I could >>>>> miss the >>>>> spinup message. >>>>> I could count the number of lines in /var/log/messages and keep >>>>> count of >>>>> the number of lines i've seen. Problem with this approach is that it's >>>>> not very efficient. >>>>> So I was hoping there is a way to receive this kernel message >>>>> directly. >>>>> I am now thinking in the lines of a program which received a signal on >>>>> new kernel messages available or something similar. >>>>> >>>>> Any thoughts? >>>>> >>>>> >>>> You could do what "tail -f" does and simply hook a kqueue to get new >>>> messages from the /var/log/messages file. >>>> >>>> >>> I'll try that! thanks! >>> >>> >>> >> As I get quite the same issue with a 4 disk raidz pool, could you >> please tell me the result of your tries ? which command do you use to >> force the disks to spin up ? >> >> Thanks >> > I have been using a shell script containing: > #!/bin.sh > dd if=/dev/ad4 of=/dev/null count=1& > dd if=/dev/ad6 of=/dev/null count=1& > dd if=/dev/ad8 of=/dev/null count=1& > dd if=/dev/ad10 of=/dev/null count=1& > Thanks. FYI, I made the little script behind to speed up the spinup of the whole pool, in case it be some use for anybody : #!/bin/sh wait-spinup() { while true do read l l=`echo $l | grep 'request while spun down'` if [ -n "$l" -a "`date +%H%M%S`" != "$d" ]; then d=`date +%H%M%S` dd if=/dev/ad4 of=/dev/null count=1 2> /dev/null & dd if=/dev/ad6 of=/dev/null count=1 2> /dev/null & dd if=/dev/ad8 of=/dev/null count=1 2> /dev/null & dd if=/dev/ad10 of=/dev/null count=1 2> /dev/null & fi done } tail -n 0 -F /var/log/messages | wait-spinup From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 00:27:08 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB6321065677 for ; Thu, 23 Jul 2009 00:27:08 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nskntmtas03p.mx.bigpond.com (nskntmtas03p.mx.bigpond.com [61.9.168.143]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9108FC0C for ; Thu, 23 Jul 2009 00:27:07 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nskntotgx03p.mx.bigpond.com ([124.188.162.219]) by nskntmtas03p.mx.bigpond.com with ESMTP id <20090723002706.NOBZ1820.nskntmtas03p.mx.bigpond.com@nskntotgx03p.mx.bigpond.com> for ; Thu, 23 Jul 2009 00:27:06 +0000 Received: from areilly.bpa.nu ([124.188.162.219]) by nskntotgx03p.mx.bigpond.com with ESMTP id <20090723002705.FCAL21119.nskntotgx03p.mx.bigpond.com@areilly.bpa.nu> for ; Thu, 23 Jul 2009 00:27:05 +0000 Received: (qmail 12259 invoked by uid 501); 23 Jul 2009 00:26:51 -0000 Date: Thu, 23 Jul 2009 10:26:51 +1000 From: Andrew Reilly To: Vladimir Grebenschikov , Steve Kargl , freebsd-stable , "O. Hartmann" , Thomas Backman , Olivier SMEDTS , FreeBSD current , Ken Smith Message-ID: <20090723002651.GA11945@duncan.reilly.home> References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> <4A6628F0.6080802@mail.zedat.fu-berlin.de> <20090721215201.GA61999@troutmask.apl.washington.edu> <1248277420.8644.70.camel@localhost> <20090722193033.GA83848@zim.MIT.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090722193033.GA83848@zim.MIT.EDU> User-Agent: Mutt/1.4.2.3i X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150204.4A67AE59.00DB,ss=1,fgs=0 X-SIH-MSG-ID: ox46F9f+TAD0zmQv0WC2OwcnyAzlq3Mv8Z4QX81loRIGTUDBp8PfStrHK+ZRu8u6xDxPJhqFNGMnaazhTY3RstCK Cc: Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 00:27:09 -0000 On Wed, Jul 22, 2009 at 03:30:33PM -0400, David Schultz wrote: > I do the same thing. I wish the ports system kept track of which > ports were installed explicitly by me, and which were only > dependencies. Then it would be possible to garbage collect ports > that are no longer needed. Portmaster -s will cull ports that are "no longer depended on". Seems to work fairly well. You can (probably) find the list of ports that you installed deliberately by trawling through /var/db/pkg for those that don't have a +REQUIRED_BY file. (The portmaster -s trick works by finding ports that have a +REQUIRED_BY file that is empty, I believe.) Cheers, -- Andrew From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 00:48:15 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27ACE106566B for ; Thu, 23 Jul 2009 00:48:14 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) by mx1.freebsd.org (Postfix) with ESMTP id 67D2C8FC13 for ; Thu, 23 Jul 2009 00:48:14 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by bwz19 with SMTP id 19so510948bwz.43 for ; Wed, 22 Jul 2009 17:48:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=swKeg5cNlhhu31HNDiqaS3mAgsPvj4A+zJ+rWiRgM1c=; b=MHBTbH5yCaRu7Bbhqobh9nfjIabjqBr1DFl6iZ/2au0mc2kCnJ5fSND4Ej0mL5i/Bu D5mt75qiyPG/9gXlBjQGdqVtRn46D9dshtVvw9IiPGo+R69qMDUCmGooBtXT/DNAc7ad aUGDBvujIxJVq9eNQRsnEgUxE22SisKxUmBRM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=CURPypUS7HEoCe5u+vgA2yF3Dzh2Wp/v9vYvL9L+ZWMkIzFUbRTuBsPJySqpLPOTu/ C8ZLpwsT7XF8XtuzCMYwnwsps3YRBo++127rMPOV6ms0BUVFiGqpN1I3P0a9ZywSM/ZE MXBtV4ur/RJGsijhKRGe81L3sihgezC8apvv8= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.113.9 with SMTP id y9mr829938fap.19.1248310093299; Wed, 22 Jul 2009 17:48:13 -0700 (PDT) In-Reply-To: <864ot4xpxl.fsf@ra333.heimat.gr.jp> References: <4A667469.1080805@gmail.com> <864ot4xpxl.fsf@ra333.heimat.gr.jp> Date: Thu, 23 Jul 2009 02:48:13 +0200 X-Google-Sender-Auth: d25f2d57d80c2afe Message-ID: <3bbf2fe10907221748j7f317ce0yc13bc5d01b4936e@mail.gmail.com> From: Attilio Rao To: NAKAJI Hiroyuki Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, "C. C. Tang" Subject: Re: 7.2-release/amd64: panic, spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 00:48:15 -0000 2009/7/23 NAKAJI Hiroyuki : >>>>>> In <4A667469.1080805@gmail.com> >>>>>> "C. C. Tang" wrote: >> > Could that one (on i386) be related? >> > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/134584 >> > > >> I have no idea about it but I can tell the difference... >> My machine panic randomly rather than on shutdown and I remembered >> that it failed to write core dump. It also failed to reboot >> automatically.. > > I also have trouble like yours. > http://lists.freebsd.org/pipermail/freebsd-stable/2009-June/050526.html > > I've heard from Attilio Rao that he had found the problem and is working > on it. Your problem should be linked to a well known deadlock in the VM. kib@ and jeff@ were alredy working on a patch for that so I just passed them the ball. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 01:03:18 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 072C41065672; Thu, 23 Jul 2009 01:03:18 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id D9A5E8FC13; Thu, 23 Jul 2009 01:03:17 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from bcs-mail03.internal.cacheflow.com ([10.2.2.95]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id n6N13HK1016131; Wed, 22 Jul 2009 18:03:17 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 22 Jul 2009 18:02:20 -0700 Message-ID: In-Reply-To: <4A6469CE.4060907@restart.be> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 8.0-BETA1 - for the record - different paths followed by IPv4 and IPv6 for 'local' connections Thread-Index: AcoJObSWT5TAEZHBQUSzJcSfFLGE8QB9xV6w References: <4A5734C3.3000806@restart.be> <4A5864DC.1070106@restart.be> <4A6469CE.4060907@restart.be> From: "Li, Qing" To: "Henri Hennebert" Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: RE: 8.0-BETA1 - for the record - different paths followed by IPv4 and IPv6 for 'local' connections X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 01:03:18 -0000 > > > Just another case where the route must be created: >=20 That's probably because I explicitly disabled such route installation for PPP link type. Please apply patch http://people.freebsd.org/~qingli/patch and let me know if that solves your problem. Thanks, -- Qing > [root@avoriaz ~]# ifconfig gif0 > gif0: flags=3D8051 metric 0 mtu 1280 > tunnel inet 212.239.166.57 --> 94.23.44.41 > inet6 fe80::21d:60ff:fead:2ace%gif0 prefixlen 64 scopeid 0x4 > inet6 2001:41d0:2:2d29:1:ffff:: --> 2001:41d0:2:2d29:0:ffff:: > prefixlen > 128 > options=3D1 >=20 > [root@avoriaz ~]# ping6 2001:41d0:2:2d29:1:ffff:: > PING6(56=3D40+8+8 bytes) 2001:41d0:2:2d29:1:ffff:: --> > 2001:41d0:2:2d29:1:ffff:: > ^C > --- 2001:41d0:2:2d29:1:ffff:: ping6 statistics --- > 4 packets transmitted, 0 packets received, 100.0% packet loss >=20 > [root@avoriaz ~]# route add -inet6 2001:41d0:2:2d29:1:ffff:: -interface > lo0 > add host 2001:41d0:2:2d29:1:ffff::: gateway lo0 >=20 > [root@avoriaz ~]# ping6 2001:41d0:2:2d29:1:ffff:: > PING6(56=3D40+8+8 bytes) 2001:41d0:2:2d29:1:ffff:: --> > 2001:41d0:2:2d29:1:ffff:: > 16 bytes from ::1, icmp_seq=3D0 hlim=3D64 time=3D0.531 ms > 16 bytes from ::1, icmp_seq=3D1 hlim=3D64 time=3D0.884 ms > 16 bytes from ::1, icmp_seq=3D2 hlim=3D64 time=3D0.748 ms > ^C > --- 2001:41d0:2:2d29:1:ffff:: ping6 statistics --- > 3 packets transmitted, 3 packets received, 0.0% packet loss > round-trip min/avg/max/std-dev =3D 0.531/0.721/0.884/0.145 ms >=20 > Thanks >=20 > Henri > > > > -----Original Message----- > > From: Henri Hennebert [mailto:hlh@restart.be] > > Sent: Sat 7/11/2009 3:09 AM > > To: Li, Qing > > Cc: freebsd-stable@freebsd.org; freebsd-net@freebsd.org > > Subject: Re: 8.0-BETA1 - for the record - different paths followed by > IPv4 and IPv6 for 'local' connections > > > > Li, Qing wrote: > >> Hi, > >> > >> Please try patch-7-10 in my home directory > http://people.freebsd.org/~qingli/ > >> and let me know how it works out for you. I thought I had committed > the patch > >> but turned out I didn't. > > > > I apply the patch, reset my pf.conf to its previous content and all > is > > running smoothly. By the way, I discover after my post that my > > "solution" was not working for long (many bytes) connections and this > is > > solved too. > > > > Many thank for your time > > > > Henri > > > > PS please commit as soon as possible > > > >>> On 8.0-BETA1 there is an assymetry: > >>> > >>> netstat -rn display > >>> > >>> 192.168.24.1 link#3 > >>> .... > >>> no entry for 2001:41d0:2:2d29:1:1:: > >>> > >> This is by design as part of the new architecture in 8.0, which > maintains > >> the L2 ARP/ND6 and L3 routing tables separately. > >> > >> -- Qing > >> > >> > >> > >> -----Original Message----- > >> From: owner-freebsd-stable@freebsd.org on behalf of Henri Hennebert > >> Sent: Fri 7/10/2009 5:32 AM > >> To: freebsd-stable@freebsd.org; freebsd-st@freebsd.org > >> Subject: 8.0-BETA1 - for the record - different paths followed by > IPv4 and IPv6 for 'local' connections > >> > >> Hello, > >> > >> After upgrading from 7.2-STABLE to 8.0-BETA1 I encounter a problem > when > >> connecting with firefox to a local apache server using the global > >> unicast IPv6 address of the local machine. pf.conf must be updated! > >> > >> My configuration: > >> > >> [root@avoriaz ~]# ifconfig em0 > >> > >> em0: flags=3D8843 metric 0 mtu > 1500 > >> > options=3D19b 4> > >> ether 00:1d:60:ad:2a:ce > >> inet 192.168.24.1 netmask 0xffffff00 broadcast 192.168.24.255 > >> inet6 fe80::21d:60ff:fead:2ace%em0 prefixlen 64 scopeid 0x1 > >> inet6 2001:41d0:2:2d29:1:1:: prefixlen 80 > >> media: Ethernet 100baseTX (100baseTX ) > >> status: active > >> > >> [root@avoriaz ~]# host www.restart.bel > >> www.restart.bel is an alias for avoriaz.restart.bel. > >> avoriaz.restart.bel has address 192.168.24.1 > >> avoriaz.restart.bel has IPv6 address 2001:41d0:2:2d29:1:1:: > >> > >> pf.conf: > >> > >> int_if=3D"em0" > >> block in log all > >> block out log all > >> set skip on lo0 > >> antispoof quick for $int_if inet > >> # Allow trafic with physical internal network > >> pass in quick on $int_if from ($int_if:network) to ($int_if) keep > state > >> pass out quick on $int_if from ($int_if) to ($int_if:network) keep > state > >> > >> The problem: > >> > >> [root@avoriaz ~]# telnet -4 www.restart.bel 80 > >> Trying 192.168.24.1... > >> Connected to avoriaz.restart.bel. > >> Escape character is '^]'. > >> ^] > >> telnet> quit > >> Connection closed. > >> [root@avoriaz ~]# telnet -6 www.restart.bel 80 > >> Trying 2001:41d0:2:2d29:1:1::... > >> --->Never connect and get a timeout! > >> > >> tcpdump and logging in pf show me that > >> > >> For a IPv4 connection: > >> the packet from telnet to apache pass 2 times on lo0 (out and in) > >> the answer packet from apache to telnet pass 2 times on lo0 (out and > in) > >> > >> So no problem, there is `set skip on lo0' > >> > >> For a IPv6 connection: > >> The first packet from telnet to apache pass 2 times on lo0 (out and > in) > >> The answer packet from apache to telnet path on em0 and is rejected > >> due to the default flags S/SA. > >> > >> So I have to change pf.conf and replace the last line: > >> pass out quick on $int_if from ($int_if) to ($int_if:network) \ > >> keep state flags any > >> > >> Then all is OK > >> > >> By the way, on 7.2 > >> > >> netstat -rn display > >> > >> 192.168.24.1 00:1d:60:ad:2a:ce > >> .... > >> 2001:41d0:2:2d29:1:1:: 00:1d:60:ad:2a:ce > >> > >> > >> On 8.0-BETA1 there is an assymetry: > >> > >> netstat -rn display > >> > >> 192.168.24.1 link#3 > >> .... > >> no entry for 2001:41d0:2:2d29:1:1:: > >> > >> Hope it may help someone > >> > >> Henri > >> > >> _______________________________________________ > >> 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" > >> > > > > > > _______________________________________________ > > 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 Thu Jul 23 01:41:53 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0AA51065678 for ; Thu, 23 Jul 2009 01:41:53 +0000 (UTC) (envelope-from ben@morrow.me.uk) Received: from relay.pcl-ipout02.plus.net (relay.pcl-ipout02.plus.net [212.159.7.100]) by mx1.freebsd.org (Postfix) with ESMTP id 5958B8FC26 for ; Thu, 23 Jul 2009 01:41:53 +0000 (UTC) (envelope-from ben@morrow.me.uk) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As4EAPtVZ0rUOFPl/2dsb2JhbACBUdBzhA4F Received: from plesk-mail01.plus.net ([212.56.83.229]) by relay.pcl-ipout02.plus.net with ESMTP; 23 Jul 2009 02:12:47 +0100 Received: (qmail 11607 invoked from network); 23 Jul 2009 01:12:47 +0000 Received: from host81-155-194-55.range81-155.btcentralplus.com (HELO osiris.mauzo.dyndns.org) (81.155.194.55) by plesk-mail01.plus.net with SMTP; 23 Jul 2009 01:12:47 +0000 Received: (qmail 29491 invoked by uid 1001); 23 Jul 2009 01:12:46 -0000 Date: Thu, 23 Jul 2009 02:12:46 +0100 From: Ben Morrow To: freebsd-stable@freebsd.org Message-ID: <20090723011246.GA29465@osiris.mauzo.dyndns.org> Mail-Followup-To: freebsd-stable@freebsd.org References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> <4A6628F0.6080802@mail.zedat.fu-berlin.de> <20090721215201.GA61999@troutmask.apl.washington.edu> <1248277420.8644.70.camel@localhost> <20090722193033.GA83848@zim.MIT.EDU> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090723002651.GA11945@duncan.reilly.home> X-Newsgroups: gmane.os.freebsd.stable Organization: Who, me? User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 01:41:54 -0000 Quoth Andrew Reilly : > On Wed, Jul 22, 2009 at 03:30:33PM -0400, David Schultz wrote: > > I do the same thing. I wish the ports system kept track of which > > ports were installed explicitly by me, and which were only > > dependencies. Then it would be possible to garbage collect ports > > that are no longer needed. > > Portmaster -s will cull ports that are "no longer depended on". > Seems to work fairly well. > > You can (probably) find the list of ports that you installed > deliberately by trawling through /var/db/pkg for those that > don't have a +REQUIRED_BY file. (The portmaster -s trick works > by finding ports that have a +REQUIRED_BY file that is empty, I > believe.) The problem with that is if you install pkg A deliberately, but it then later becomes a dependancy of pkg B. If you remove pkg B (because it's no longer needed) there is then no evidence that pkg A was installed on purpose, rather than incidentally. portmaster -s will offer to remove it, and if you refuse it will offer to remove the empty +REQUIRED_BY, effectively promoting it to a 'manually installed' pkg again, though it's perhaps not entirely clear from the question that that is what the effect will be. This would be easy to solve in general by maintaining a 'world' package, or some such, that had dependencies on everything installed explicitly; but that would require modifying all the pkg and port installation tools (probably including bsd.port.mk itself) to support that convention. Ben From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 02:24:12 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0621D1065696 for ; Thu, 23 Jul 2009 02:24:12 +0000 (UTC) (envelope-from hiyorin@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id C38008FC18 for ; Thu, 23 Jul 2009 02:24:11 +0000 (UTC) (envelope-from hiyorin@gmail.com) Received: by rv-out-0506.google.com with SMTP id f9so180221rvb.43 for ; Wed, 22 Jul 2009 19:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=uEA8COwJkBxnheQq3DFVv6T7ztPBEm9yYS4rA993ZwY=; b=jHGobpeKlnRAf2Lbq6S4mQuYKDTSyYKWyKhHHEg8wQjibCZjSZsokfOEV3Tn3v6XL6 BAgAD5UEEnx1uZb9IY/tMKWQakp4DFoI3H4rhQ0gBuu0p7NgMhJOlQBrK9S7U/XBj4xR fLumZMwSN1RqHo0Tf7ayXmgyr0wEz0Ai6F1Ko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=fUtDyHLk5BxMkosobUWlF9JTWYFXXsGiorKAUluIylaUc5vwAlKkodJnAPDxLP6PYO /zjioU/w4nOnP8QWh9nL+kGJuCg5+nPhzS9aeYKXdtvAEY4NXdi7o01/oFN/sf7a3CQp iKv4ao1PFdNovUK0HWpZrjoCIW0kQHJ8p+zss= Received: by 10.140.133.4 with SMTP id g4mr1047639rvd.28.1248315851436; Wed, 22 Jul 2009 19:24:11 -0700 (PDT) Received: from ?10.130.10.181? ([202.82.159.125]) by mx.google.com with ESMTPS id f42sm5283752rvb.35.2009.07.22.19.24.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 22 Jul 2009 19:24:10 -0700 (PDT) Message-ID: <4A67C9C7.6090301@gmail.com> Date: Thu, 23 Jul 2009 10:24:07 +0800 From: "C. C. Tang" User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Attilio Rao References: <4A667469.1080805@gmail.com> <3bbf2fe10907220930y27b5da04sd0a71d57b6a9d191@mail.gmail.com> In-Reply-To: <3bbf2fe10907220930y27b5da04sd0a71d57b6a9d191@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "dan.naumov" , barbara , freebsd-stable Subject: Re: 7.2-release/amd64: panic, spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 02:24:14 -0000 Attilio Rao wrote: > 2009/7/22 C. C. Tang : >>> Could that one (on i386) be related? >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/134584 >>> >> I have no idea about it but I can tell the difference... >> My machine panic randomly rather than on shutdown and I remembered that it >> failed to write core dump. It also failed to reboot automatically.. > > Is your problem on -CURRENT and amd64? > At some point there has been a problem with PAT support (and > tlb_shootdowns() could lead to a livelock hanging forever, leading to > such a bug) but I expect it is fixed now. > Can you try with a fresh new -CURRENT if any? My problem is on i386 version of 7.2-RELEASE-p2 on Intel Atom 330 CPU. And my system just panic randomly with "spin lock held too long". It didn't panic at reboot or shutdown so I think it the problem is somewhat different from that mentioned by Barbara's PR? Anyway I disabled powerd and it seems become stable now. And I am sorry that my system has been put into service so it would be hard for me to switch to -CURRENT... :( Regards, C.C. From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 03:32:18 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72BBA10656B7 for ; Thu, 23 Jul 2009 03:32:18 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: from us1.tomahawkonline.net (us1.tomahawkonline.net [66.98.178.56]) by mx1.freebsd.org (Postfix) with SMTP id 39C048FC0A for ; Thu, 23 Jul 2009 03:32:18 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: (qmail 27859 invoked by alias); 23 Jul 2009 00:13:38 -0000 Message-ID: <20090723001338.27858.qmail@us1.tomahawkonline.net> References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <20090722142033.GA13316@svzserv.kemerovo.su> In-Reply-To: <20090722142033.GA13316@svzserv.kemerovo.su> From: "Sagara Wijetunga" To: Eugene Grosbein Date: Thu, 23 Jul 2009 08:13:38 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 03:32:18 -0000 Eugene Grosbein writes: > On Wed, Jul 22, 2009 at 10:20:27AM +0800, Sagara Wijetunga wrote: > >> My questions in this regards are: >> 1. Is this an error/bug in FreeBSD 7.2? > > This is regression from pre-5.x days. In 4.x and earlier, > you can have static device nodes and access them just fine. > >> 2. Or, does it require some configuration tweak? > > As a workaround, you should drop cardreader.conf into /usr/local/etc/devd/ > (create directory if it does not exist) with contents like: > > attach 1000 { > device-name "umass[0-9]+"; > action "/usr/local/libexec/umass/attach-umass $device-name"; > }; > > Script /usr/local/libexec/umass/attach-umass is invoked > when umassX appears: > > #!/bin/sh > > PATH=/bin:/sbin:/usr/bin:/usr/sbin > DEV=/dev > p=`dirname $0` > > [ -z "$1" ] && exit 1 > u="$1" > > # wait until dust settles > i=1; > while [ $i -le 10 ] > do > sleep 1 > device=`$p/umass2da $u` > if [ $? = 0 ]; then > : > $DEV/${device} > break > fi > i=$(($i+1)) > done > > This script calls /usr/local/libexec/umass/umass2da helper > to translate umassX to daY (in hope this translation is possible): > > #!/bin/sh > PATH=/sbin:/usr/bin > > camcontrol devlist -v | awk -v u=$1 '\ > BEGIN { s = ""; e = 1; } > $3 ~ /umass-sim[0-9]+/ { s = $3; sub("-sim","",s); } > /[,(]da[0-9]+.*\)$/ { > if(s == u) { > match($NF, /da[0-9]+/); > print substr($NF, RSTART, RLENGTH); > e=0; exit 0; > } > } > END { exit e; }' > Hi Eugene, thanks for the reply. The issue we discussed is about internal multi-card readers. For internal multi-card readers, the umassX created at boot time. If there is media inside at boot time, the device node for slices are also created. There is no issue about it. But the issue is after boot up, later some time, if you plug in a media card, FreeBSD does not generate any devd event. This needs to be fixed at the FreeBSD end, appreciate if the FreeBSD community actively fix it soon. Best regards Sagara From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 03:59:03 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 462B8106566C for ; Thu, 23 Jul 2009 03:59:03 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id A35EB8FC0A for ; Thu, 23 Jul 2009 03:59:02 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id n6N3x0hT067346; Thu, 23 Jul 2009 11:59:00 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id n6N3x0Dl067345; Thu, 23 Jul 2009 11:59:00 +0800 (KRAST) (envelope-from eugen) Date: Thu, 23 Jul 2009 11:59:00 +0800 From: Eugene Grosbein To: Sagara Wijetunga Message-ID: <20090723035900.GA67095@svzserv.kemerovo.su> References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <20090722142033.GA13316@svzserv.kemerovo.su> <20090723001338.27858.qmail@us1.tomahawkonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090723001338.27858.qmail@us1.tomahawkonline.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 03:59:03 -0000 On Thu, Jul 23, 2009 at 08:13:38AM +0800, Sagara Wijetunga wrote: > Hi Eugene, thanks for the reply. The issue we discussed is about internal > multi-card readers. For internal multi-card readers, the umassX created at > boot time. If there is media inside at boot time, the device node for > slices are also created. There is no issue about it. But the issue is after > boot up, later some time, if you plug in a media card, FreeBSD does not > generate any devd event. This needs to be fixed at the FreeBSD end, > appreciate if the FreeBSD community actively fix it soon. If there is no devd event really, you can setup cron job to poll your reader as a workaround. Or feel free to hack driver so it would generate events for devd :-) Eugene Grosbein From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 05:32:58 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 518381065676 for ; Thu, 23 Jul 2009 05:32:58 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: from us1.tomahawkonline.net (us1.tomahawkonline.net [66.98.178.56]) by mx1.freebsd.org (Postfix) with SMTP id 141BD8FC08 for ; Thu, 23 Jul 2009 05:32:57 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: (qmail 29044 invoked by alias); 23 Jul 2009 02:14:18 -0000 Message-ID: <20090723021418.29042.qmail@us1.tomahawkonline.net> References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <20090722142033.GA13316@svzserv.kemerovo.su> <20090723001338.27858.qmail@us1.tomahawkonline.net> <20090723035900.GA67095@svzserv.kemerovo.su> In-Reply-To: <20090723035900.GA67095@svzserv.kemerovo.su> From: "Sagara Wijetunga" To: Eugene Grosbein Date: Thu, 23 Jul 2009 10:14:18 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 05:32:58 -0000 Eugene Grosbein writes: > On Thu, Jul 23, 2009 at 08:13:38AM +0800, Sagara Wijetunga wrote: > >> Hi Eugene, thanks for the reply. The issue we discussed is about internal >> multi-card readers. For internal multi-card readers, the umassX created at >> boot time. If there is media inside at boot time, the device node for >> slices are also created. There is no issue about it. But the issue is after >> boot up, later some time, if you plug in a media card, FreeBSD does not >> generate any devd event. This needs to be fixed at the FreeBSD end, >> appreciate if the FreeBSD community actively fix it soon. > > If there is no devd event really, you can setup cron job to poll > your reader as a workaround. Or feel free to hack driver so it would > generate events for devd :-) > cat /dev/devctl shows nothing get to devd on media insertion. Poll via cron is not a solution. How often to poll? People expect immediate access to the card once plug in. At boot umassX, passX, daX are already setup for the reader. Once a card (media) is plug in, we expect a devd notification as follows: !system=DEVFS subsystem=CDEV type=CREATE cdev=daXs1 Once the media is taken out, we expect a devd notification as follows: !system=DEVFS subsystem=CDEV type=DESTROY cdev=daXs1 Where above X depends on which slot a card is plug in. If you conversant in this area, could you help us to identify what is/are the exact function/s in which program/s to look into identify the media insertion activity, so that we can generate relevant devd event. Regards Sagara From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 05:53:22 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F01C106566C for ; Thu, 23 Jul 2009 05:53:22 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id 8B0108FC16 for ; Thu, 23 Jul 2009 05:53:21 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id n6N5rISI072887; Thu, 23 Jul 2009 13:53:18 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id n6N5rHMO072886; Thu, 23 Jul 2009 13:53:17 +0800 (KRAST) (envelope-from eugen) Date: Thu, 23 Jul 2009 13:53:17 +0800 From: Eugene Grosbein To: Sagara Wijetunga Message-ID: <20090723055317.GA72627@svzserv.kemerovo.su> References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <20090722142033.GA13316@svzserv.kemerovo.su> <20090723001338.27858.qmail@us1.tomahawkonline.net> <20090723035900.GA67095@svzserv.kemerovo.su> <20090723021418.29042.qmail@us1.tomahawkonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090723021418.29042.qmail@us1.tomahawkonline.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 05:53:22 -0000 On Thu, Jul 23, 2009 at 10:14:18AM +0800, Sagara Wijetunga wrote: > If you conversant in this area, could you help us to identify what is/are > the exact function/s in which program/s to look into identify the media > insertion activity, so that we can generate relevant devd event. No, I'm not. In your position I would study the device specs - does it generate hardware event in case of media change in first place? If yes, I'd read sources of umass driver to see how it generates events for single flash device and add such event for reader's media change. If not, there should be polling anyway. Eugene Grosbein From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 07:19:30 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ABA2106566C for ; Thu, 23 Jul 2009 07:19:30 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out0.ops.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id B43E68FC14 for ; Thu, 23 Jul 2009 07:19:29 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out0.ops.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MTsaE-00079g-9Z; Thu, 23 Jul 2009 09:19:28 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MTsZq-000Isd-On; Thu, 23 Jul 2009 09:18:54 +0200 Message-ID: <4A680EDB.609@mapper.nl> Date: Thu, 23 Jul 2009 09:18:51 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Arnaud Houdelette References: <4A643F5B.8080806@mapper.nl> <4A656076.2060205@mapper.nl> <9bbcef730907210137udf7f90ax21aa530ab859f8a6@mail.gmail.com> <4A658205.5000709@mapper.nl> <4A65CE7F.8040906@tzim.net> <4A66B92C.8000800@mapper.nl> <4A67A582.8040702@tzim.net> In-Reply-To: <4A67A582.8040702@tzim.net> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF317C65BE6D7FC93ECF64AE5" Cc: stable@freebsd.org Subject: Re: ZFS RAIDZ and atacontrol spindown settings X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 07:19:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF317C65BE6D7FC93ECF64AE5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Arnaud Houdelette wrote: > Mark Stapper wrote: >> Arnaud Houdelette wrote: >> =20 >>> Mark Stapper a =C3=A9crit : >>> =20 >>>> Ivan Voras wrote: >>>> =20 >>>> =20 >>>>> 2009/7/21 Mark Stapper : >>>>> =20 >>>>>> Ivan Voras wrote: >>>>>> =20 >>>>>>> Mark Stapper wrote: >>>>>>> =20 >>>>>>>> Good day, >>>>>>>> >>>>>>>> I am the proud user of a FreeBSD 7.2 AMD64 system housing, >>>>>>>> amongst other >>>>>>>> things, a data server. >>>>>>>> My "server"(It's called "Yoshi") runs FreeBSD from a mirrored >>>>>>>> system >>>>>>>> disc, and has a zfs RAIDZ array with 4 discs for bulky data. >>>>>>>> As it is a home server, and I work during the day, these four >>>>>>>> discs were >>>>>>>> spinning happily all day long without much use for them doing so= =2E >>>>>>>> To save the world(and money) I issued the command "atacontrol >>>>>>>> spindown >>>>>>>> 1800" for all the discs in my array spinning them down after >>>>>>>> thirty >>>>>>>> minutes of idle spinning. >>>>>>>> So far so good, me very happy! However, when I access the array >>>>>>>> after >>>>>>>> the discs have been spun down, it spins up the discs one after t= he >>>>>>>> other... >>>>>>>> Mind you one AFTER the other, taking 4*9 seconds to do a "ls" >>>>>>>> command on >>>>>>>> my music directory. >>>>>>>> Content as I am with the smooth down- and upspinning of the >>>>>>>> disks, I >>>>>>>> would like it better if the four discs would spin up >>>>>>>> simultaneously. >>>>>>>> Thus my question: "Is it possible to \"group\" discs to be >>>>>>>> spun up >>>>>>>> together, or to issue a custom command upon upspinning of a disc= >>>>>>>> such as >>>>>>>> to spin up other disks?" >>>>>>>> =20 >>>>>>> Good question but the answer is probably no - it really only >>>>>>> depends >>>>>>> on how ZFS accesses the drives; if it accesses them in sequence, >>>>>>> you >>>>>>> can't change it. >>>>>>> =20 >>>>>> I've been looking at writing a shell script which monitors >>>>>> /var/log/messages. >>>>>> something like: >>>>>> >>>>>> If last line in /var/log/messages is like "request while spun down= =2E >>>>>> Starting." >>>>>> spinup disks >>>>>> >>>>>> couple of problems though, I should probably poll the kernel >>>>>> messages >>>>>> every second or so, but if I only check the last linee, I could >>>>>> miss the >>>>>> spinup message. >>>>>> I could count the number of lines in /var/log/messages and keep >>>>>> count of >>>>>> the number of lines i've seen. Problem with this approach is that >>>>>> it's >>>>>> not very efficient. >>>>>> So I was hoping there is a way to receive this kernel message >>>>>> directly. >>>>>> I am now thinking in the lines of a program which received a >>>>>> signal on >>>>>> new kernel messages available or something similar. >>>>>> >>>>>> Any thoughts? >>>>>> =20 >>>>> You could do what "tail -f" does and simply hook a kqueue to get ne= w >>>>> messages from the /var/log/messages file. >>>>> =20 >>>> I'll try that! thanks! >>>> >>>> =20 >>> As I get quite the same issue with a 4 disk raidz pool, could you >>> please tell me the result of your tries ? which command do you use to= >>> force the disks to spin up ? >>> >>> Thanks >>> =20 >> I have been using a shell script containing: >> #!/bin.sh >> dd if=3D/dev/ad4 of=3D/dev/null count=3D1& >> dd if=3D/dev/ad6 of=3D/dev/null count=3D1& >> dd if=3D/dev/ad8 of=3D/dev/null count=3D1& >> dd if=3D/dev/ad10 of=3D/dev/null count=3D1& >> =20 > > Thanks. > > FYI, I made the little script behind to speed up the spinup of the > whole pool, in case it be some use for anybody : > > #!/bin/sh > wait-spinup() { > while true > do > read l > l=3D`echo $l | grep 'request while spun down'` > if [ -n "$l" -a "`date +%H%M%S`" !=3D "$d" ]; then > d=3D`date +%H%M%S` > dd if=3D/dev/ad4 of=3D/dev/null count=3D1 2> /dev/null & > dd if=3D/dev/ad6 of=3D/dev/null count=3D1 2> /dev/null & > dd if=3D/dev/ad8 of=3D/dev/null count=3D1 2> /dev/null & > dd if=3D/dev/ad10 of=3D/dev/null count=3D1 2> /dev/null & > fi > done > } > > tail -n 0 -F /var/log/messages | wait-spinup > > Very very nice :-) Before: yoshi# time sh ./spinup.sh 0.000u 0.007s 0:39.13 0.0% 0+0k 0+0io 0pf+0w /var/log/messages Jul 23 09:05:56 yoshi kernel: ad4: request while spun down, starting. Jul 23 09:06:06 yoshi kernel: ad6: request while spun down, starting. Jul 23 09:06:16 yoshi kernel: ad8: request while spun down, starting. Jul 23 09:06:25 yoshi kernel: ad10: request while spun down, starting. With your script: yoshi# time sh ./spinup.sh 0.000u 0.007s 0:10.10 0.0% 0+0k 0+0io 0pf+0w /var/log/messages Jul 23 09:04:38 yoshi kernel: ad4: request while spun down, starting. Jul 23 09:04:38 yoshi kernel: ad6: request while spun down, starting. Jul 23 09:04:38 yoshi kernel: ad8: request while spun down, starting. Jul 23 09:04:38 yoshi kernel: ad10: request while spun down, starting. Finally i won't have to wait 40 seconds for a directory listing anymore! Thank you very very much! :-) Greetz, Mark --------------enigF317C65BE6D7FC93ECF64AE5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpoDt0ACgkQN9xNqOOVnWB1jACcCkxDl61zzwqpSJE/Op79Hl1I U+YAniS7JRtxKBTdLoym1wdLyFY85hSf =5L6p -----END PGP SIGNATURE----- --------------enigF317C65BE6D7FC93ECF64AE5-- From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 08:37:17 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 696691065670 for ; Thu, 23 Jul 2009 08:37:17 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-ew0-f222.google.com (mail-ew0-f222.google.com [209.85.219.222]) by mx1.freebsd.org (Postfix) with ESMTP id E3B308FC0A for ; Thu, 23 Jul 2009 08:37:16 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: by ewy22 with SMTP id 22so761712ewy.43 for ; Thu, 23 Jul 2009 01:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=vkHUUONXvzlmtdzsTRXuct+VCNdAOS7vUXaYechsJ7c=; b=uQofVAj3CWnkrCdTopmk5gxnvBBoO7nKyHEpCYeAf2n5ZyPgDbxsTqYLhaCqr26QBP l4yiYP0opvyCCkCTvRFtSrCiQMVLLNykddA3zMAC42yqKd02rj+I4zGg3YrFgwT+AQ8+ JbeWhado0tpXmeLlKKRHq/fiprxjdqb6p12I4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=nEH09lWiqkjxfei14vl9Ng/HLginxi2hpOlvp4ai/EcFvyi6klrwT8N6+CJxx2IwC1 MRRQ9T4yc3eaLt+NmImKOB2k/nw7dF5FhRQiecv6b33unaYQr9vasrMGKIxnhkkeMaSF +PKQ9VfyUOAEVDlueTDjODRtdqk2BKuYVSeXM= MIME-Version: 1.0 Received: by 10.210.53.1 with SMTP id b1mr7900969eba.20.1248338235853; Thu, 23 Jul 2009 01:37:15 -0700 (PDT) Date: Thu, 23 Jul 2009 04:37:15 -0400 Message-ID: From: grarpamp To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: NO_FSCHG=1 make release X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 08:37:17 -0000 Hi. A second note on make release for you... NO_FSCHG needs to be appended to the list of vars at line 492 of: # $FreeBSD: src/release/Makefile,v 1.924.2.9 2009/04/15 03:42:59 kensmith Exp $ Otherwise building on ZFS fails down in doRELEASE make distributing. From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 08:54:05 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 054C4106564A; Thu, 23 Jul 2009 08:54:05 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 9D9618FC3D; Thu, 23 Jul 2009 08:54:04 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: by yxe11 with SMTP id 11so1363138yxe.3 for ; Thu, 23 Jul 2009 01:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4rimbFVgP4kOaoAohsLxDl3+mKs3W35iUwafWyoHIkE=; b=SgwF+mA6nHfrw92D7LgAbHeuO5r61YyxohPTqmTjqCFpBNcitJVkQ/pP6xFP4fUTag 7IDp9EE6juJSwcslD8vM5mQ8TAWBlxf+QwUJTifmzROTACFKM36jd+d5Z2E53V5/4Apn mXwILIeY6BGOLgq8Xgvoypk1gKvWVQ6CposRA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QPqHCwp4xudnH4OeIZvPZtqozTNVl6l5X7FLDPdoosltUpNU7w9mG/xD1yLpzP2HKS lSD2AX5DzdUnNOGB6AENlZ5aY80sM2e1s6ccwxLfQ1kISNZMOSzoseThuLLtD1OJ+XiH 7CNo0vjx3JUe4oNivKqdYLi7y4Zzo1eBZpOuA= MIME-Version: 1.0 Received: by 10.100.208.8 with SMTP id f8mr2537634ang.64.1248339243506; Thu, 23 Jul 2009 01:54:03 -0700 (PDT) In-Reply-To: <4A67C9C7.6090301@gmail.com> References: <4A667469.1080805@gmail.com> <3bbf2fe10907220930y27b5da04sd0a71d57b6a9d191@mail.gmail.com> <4A67C9C7.6090301@gmail.com> Date: Thu, 23 Jul 2009 11:54:03 +0300 Message-ID: From: Dan Naumov To: "C. C. Tang" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Attilio Rao , barbara , freebsd-stable Subject: Re: 7.2-release/amd64: panic, spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 08:54:05 -0000 On Thu, Jul 23, 2009 at 5:24 AM, C. C. Tang wrote: > Attilio Rao wrote: >> >> 2009/7/22 C. C. Tang : >>>> >>>> Could that one (on i386) be related? >>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/134584 >>>> >>> I have no idea about it but I can tell the difference... >>> My machine panic randomly rather than on shutdown and I remembered that >>> it >>> failed to write core dump. It also failed to reboot automatically.. >> >> Is your problem on -CURRENT and amd64? >> At some point there has been a problem with PAT support (and >> tlb_shootdowns() could lead to a livelock hanging forever, leading to >> such a bug) but I expect it is fixed now. >> Can you try with a fresh new -CURRENT if any? > > My problem is on i386 version of 7.2-RELEASE-p2 on Intel Atom 330 CPU. > And my system just panic randomly with "spin lock held too long". > It didn't panic at reboot or shutdown so I think it the problem is somewh= at > different from that mentioned by Barbara's PR? > > Anyway I disabled powerd and it seems become stable now. > > And I am sorry that my system has been put into service so it would be ha= rd > for me to switch to -CURRENT... =A0:( > > Regards, > C.C. My problem was essentially the same, completely random "spin lock held too long" panics not related to reboots or shutdowns, the only difference was that I was on amd64. I too was running powerd on the system, but it didn't cross my mind that it could've been the culprit. Hopefully I will get a chance to test FreeBSD again on the same hardware at some point, with and without powerd. Rather sad if powerd is the actual cause, considering that the whole point of using an Atom-based system is powersaving :( - Sincerely, Dan Naumov From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 10:01:16 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDF41106566B; Thu, 23 Jul 2009 10:01:16 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:2:2d29:0:1::]) by mx1.freebsd.org (Postfix) with ESMTP id 74D2E8FC13; Thu, 23 Jul 2009 10:01:16 +0000 (UTC) (envelope-from hlh@restart.be) Received: from restart.be (avoriaz.tunnel.bel [IPv6:2001:41d0:2:2d29:1:ffff::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "avoriaz.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id A12E965A6; Thu, 23 Jul 2009 12:01:15 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:2:2d29:1:2::]) (authenticated bits=0) by restart.be (8.14.3/8.14.3) with ESMTP id n6NA1BgY031894; Thu, 23 Jul 2009 12:01:12 +0200 (CEST) (envelope-from hlh@restart.be) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1248343275; bh=Gg/FZaDVotr6VdFb+7Y22mkZx8XtuyNR5dTHyHRSmU4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=P/1G/u97WmGC71km9borv1mZ7WDySws9m3vm6NwYKXhev3RpDId/FBg1NyaaSSPun 4kHrjF/lpz98Ay1DObAuA== DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:content-type: content-transfer-encoding:x-scanned-by; b=oZ/oIs2aXaMOQMW2VwYYak9hanjVAie+quJSmXOMis802/cBV2rJ4rWwLy3Mejzbd 9XvYnHHvMlJg7tjjXXCDQ== Message-ID: <4A6834E7.60704@restart.be> Date: Thu, 23 Jul 2009 12:01:11 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Thunderbird 2.0.0.22 (X11/20090717) MIME-Version: 1.0 To: "Li, Qing" References: <4A5734C3.3000806@restart.be> <4A5864DC.1070106@restart.be> <4A6469CE.4060907@restart.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on IPv6:2001:41d0:2:2d29:1:1:: Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: [SOLVED] 8.0-BETA1 - for the record - different paths followed by IPv4 and IPv6 for 'local' connections X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 10:01:17 -0000 Li, Qing wrote: >> Just another case where the route must be created: >> > > That's probably because I explicitly disabled such > route installation for PPP link type. > > Please apply patch http://people.freebsd.org/~qingli/patch and > let me know if that solves your problem. The problem is solved. Thanks a lot. Henri PS. the ipv4 ping was working fine before (and after) your patch, so I don't see why you have to patch in.c > > Thanks, > > -- Qing > > > >> [root@avoriaz ~]# ifconfig gif0 >> gif0: flags=8051 metric 0 mtu 1280 >> tunnel inet 212.239.166.57 --> 94.23.44.41 >> inet6 fe80::21d:60ff:fead:2ace%gif0 prefixlen 64 scopeid 0x4 >> inet6 2001:41d0:2:2d29:1:ffff:: --> 2001:41d0:2:2d29:0:ffff:: >> prefixlen >> 128 >> options=1 >> >> [root@avoriaz ~]# ping6 2001:41d0:2:2d29:1:ffff:: >> PING6(56=40+8+8 bytes) 2001:41d0:2:2d29:1:ffff:: --> >> 2001:41d0:2:2d29:1:ffff:: >> ^C >> --- 2001:41d0:2:2d29:1:ffff:: ping6 statistics --- >> 4 packets transmitted, 0 packets received, 100.0% packet loss >> >> [root@avoriaz ~]# route add -inet6 2001:41d0:2:2d29:1:ffff:: > -interface >> lo0 >> add host 2001:41d0:2:2d29:1:ffff::: gateway lo0 >> >> [root@avoriaz ~]# ping6 2001:41d0:2:2d29:1:ffff:: >> PING6(56=40+8+8 bytes) 2001:41d0:2:2d29:1:ffff:: --> >> 2001:41d0:2:2d29:1:ffff:: >> 16 bytes from ::1, icmp_seq=0 hlim=64 time=0.531 ms >> 16 bytes from ::1, icmp_seq=1 hlim=64 time=0.884 ms >> 16 bytes from ::1, icmp_seq=2 hlim=64 time=0.748 ms >> ^C >> --- 2001:41d0:2:2d29:1:ffff:: ping6 statistics --- >> 3 packets transmitted, 3 packets received, 0.0% packet loss >> round-trip min/avg/max/std-dev = 0.531/0.721/0.884/0.145 ms >> >> Thanks >> >> Henri >>> -----Original Message----- >>> From: Henri Hennebert [mailto:hlh@restart.be] >>> Sent: Sat 7/11/2009 3:09 AM >>> To: Li, Qing >>> Cc: freebsd-stable@freebsd.org; freebsd-net@freebsd.org >>> Subject: Re: 8.0-BETA1 - for the record - different paths followed > by >> IPv4 and IPv6 for 'local' connections >>> Li, Qing wrote: >>>> Hi, >>>> >>>> Please try patch-7-10 in my home directory >> http://people.freebsd.org/~qingli/ >>>> and let me know how it works out for you. I thought I had committed >> the patch >>>> but turned out I didn't. >>> I apply the patch, reset my pf.conf to its previous content and all >> is >>> running smoothly. By the way, I discover after my post that my >>> "solution" was not working for long (many bytes) connections and > this >> is >>> solved too. >>> >>> Many thank for your time >>> >>> Henri >>> >>> PS please commit as soon as possible >>> >>>>> On 8.0-BETA1 there is an assymetry: >>>>> >>>>> netstat -rn display >>>>> >>>>> 192.168.24.1 link#3 >>>>> .... >>>>> no entry for 2001:41d0:2:2d29:1:1:: >>>>> >>>> This is by design as part of the new architecture in 8.0, which >> maintains >>>> the L2 ARP/ND6 and L3 routing tables separately. >>>> >>>> -- Qing >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: owner-freebsd-stable@freebsd.org on behalf of Henri Hennebert >>>> Sent: Fri 7/10/2009 5:32 AM >>>> To: freebsd-stable@freebsd.org; freebsd-st@freebsd.org >>>> Subject: 8.0-BETA1 - for the record - different paths followed by >> IPv4 and IPv6 for 'local' connections >>>> Hello, >>>> >>>> After upgrading from 7.2-STABLE to 8.0-BETA1 I encounter a problem >> when >>>> connecting with firefox to a local apache server using the global >>>> unicast IPv6 address of the local machine. pf.conf must be updated! >>>> >>>> My configuration: >>>> >>>> [root@avoriaz ~]# ifconfig em0 >>>> >>>> em0: flags=8843 metric 0 > mtu >> 1500 > options=19b> 4> >>>> ether 00:1d:60:ad:2a:ce >>>> inet 192.168.24.1 netmask 0xffffff00 broadcast 192.168.24.255 >>>> inet6 fe80::21d:60ff:fead:2ace%em0 prefixlen 64 scopeid 0x1 >>>> inet6 2001:41d0:2:2d29:1:1:: prefixlen 80 >>>> media: Ethernet 100baseTX (100baseTX ) >>>> status: active >>>> >>>> [root@avoriaz ~]# host www.restart.bel >>>> www.restart.bel is an alias for avoriaz.restart.bel. >>>> avoriaz.restart.bel has address 192.168.24.1 >>>> avoriaz.restart.bel has IPv6 address 2001:41d0:2:2d29:1:1:: >>>> >>>> pf.conf: >>>> >>>> int_if="em0" >>>> block in log all >>>> block out log all >>>> set skip on lo0 >>>> antispoof quick for $int_if inet >>>> # Allow trafic with physical internal network >>>> pass in quick on $int_if from ($int_if:network) to ($int_if) keep >> state >>>> pass out quick on $int_if from ($int_if) to ($int_if:network) keep >> state >>>> The problem: >>>> >>>> [root@avoriaz ~]# telnet -4 www.restart.bel 80 >>>> Trying 192.168.24.1... >>>> Connected to avoriaz.restart.bel. >>>> Escape character is '^]'. >>>> ^] >>>> telnet> quit >>>> Connection closed. >>>> [root@avoriaz ~]# telnet -6 www.restart.bel 80 >>>> Trying 2001:41d0:2:2d29:1:1::... >>>> --->Never connect and get a timeout! >>>> >>>> tcpdump and logging in pf show me that >>>> >>>> For a IPv4 connection: >>>> the packet from telnet to apache pass 2 times on lo0 (out and in) >>>> the answer packet from apache to telnet pass 2 times on lo0 (out > and >> in) >>>> So no problem, there is `set skip on lo0' >>>> >>>> For a IPv6 connection: >>>> The first packet from telnet to apache pass 2 times on lo0 (out and >> in) >>>> The answer packet from apache to telnet path on em0 and is > rejected >>>> due to the default flags S/SA. >>>> >>>> So I have to change pf.conf and replace the last line: >>>> pass out quick on $int_if from ($int_if) to ($int_if:network) \ >>>> keep state flags any >>>> >>>> Then all is OK >>>> >>>> By the way, on 7.2 >>>> >>>> netstat -rn display >>>> >>>> 192.168.24.1 00:1d:60:ad:2a:ce >>>> .... >>>> 2001:41d0:2:2d29:1:1:: 00:1d:60:ad:2a:ce >>>> >>>> >>>> On 8.0-BETA1 there is an assymetry: >>>> >>>> netstat -rn display >>>> >>>> 192.168.24.1 link#3 >>>> .... >>>> no entry for 2001:41d0:2:2d29:1:1:: >>>> >>>> Hope it may help someone >>>> >>>> Henri >>>> >>>> _______________________________________________ >>>> 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" >>> >>> _______________________________________________ >>> 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 Thu Jul 23 10:52:03 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49861106566B for ; Thu, 23 Jul 2009 10:52:03 +0000 (UTC) (envelope-from wwwrun@mail.lor.at) Received: from smtp.lor.at (mail.lor.at [81.10.208.226]) by mx1.freebsd.org (Postfix) with ESMTP id 040A68FC1A for ; Thu, 23 Jul 2009 10:52:02 +0000 (UTC) (envelope-from wwwrun@mail.lor.at) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.lor.at (Postfix) with ESMTP id E52D86399F for ; Thu, 23 Jul 2009 13:05:13 +0200 (CEST) Received: from smtp.lor.at ([127.0.0.1]) by localhost (fw01lor [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32277-05 for ; Thu, 23 Jul 2009 13:05:13 +0200 (CEST) Received: from mail.lor.at (mail.lor.at [192.168.1.3]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by smtp.lor.at (Postfix) with ESMTP id C9F7263898 for ; Thu, 23 Jul 2009 13:05:13 +0200 (CEST) Received: by mail.lor.at (Postfix, from userid 30) id 2DB56111714; Thu, 23 Jul 2009 12:21:18 +0200 (CEST) To: stable@freebsd.org From: Halifax Online Banking Content-Transfer-Encoding: 8bit Message-Id: <20090723102118.2DB56111714@mail.lor.at> Date: Thu, 23 Jul 2009 12:21:18 +0200 (CEST) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lor.at MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: 1 Unread Security Message X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 10:52:03 -0000 Dear Halifax Online Customer, You have 1 unread Security Message! [1]Click here to resolve the problem Sincerely, Halifax Online Banking Security Department Team. References 1. http://harrisburgbroncos.com/media/_mem_bin/formslogin.asp/index.php From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 12:45:31 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDDCF1065673; Thu, 23 Jul 2009 12:45:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8DF828FC25; Thu, 23 Jul 2009 12:45:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 4883146B35; Thu, 23 Jul 2009 08:45:31 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 7DA9A8A0A1; Thu, 23 Jul 2009 08:45:30 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Thu, 23 Jul 2009 08:37:23 -0400 User-Agent: KMail/1.9.7 References: <4A667469.1080805@gmail.com> <3bbf2fe10907220930y27b5da04sd0a71d57b6a9d191@mail.gmail.com> In-Reply-To: <3bbf2fe10907220930y27b5da04sd0a71d57b6a9d191@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907230837.23937.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Thu, 23 Jul 2009 08:45:30 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Attilio Rao , barbara , "dan.naumov" , "C. C. Tang" Subject: Re: 7.2-release/amd64: panic, spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 12:45:32 -0000 On Wednesday 22 July 2009 12:30:47 pm Attilio Rao wrote: > 2009/7/22 C. C. Tang : > >> Could that one (on i386) be related? > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/134584 > >> > > > > I have no idea about it but I can tell the difference... > > My machine panic randomly rather than on shutdown and I remembered that it > > failed to write core dump. It also failed to reboot automatically.. > > Is your problem on -CURRENT and amd64? > At some point there has been a problem with PAT support (and > tlb_shootdowns() could lead to a livelock hanging forever, leading to > such a bug) but I expect it is fixed now. That only happens in a test kernel module and not in stock FreeBSD (and no, it is not yet fixed). -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 14:14:41 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D127E10656FD for ; Thu, 23 Jul 2009 14:14:41 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail2.es.net [IPv6:2001:400:107:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id B90378FC33 for ; Thu, 23 Jul 2009 14:14:41 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n6NEEe8f026204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 23 Jul 2009 07:14:41 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id A69EF1CC0B; Thu, 23 Jul 2009 07:14:40 -0700 (PDT) To: Eugene Grosbein In-reply-to: Your message of "Thu, 23 Jul 2009 13:53:17 +0800." <20090723055317.GA72627@svzserv.kemerovo.su> Date: Thu, 23 Jul 2009 07:14:40 -0700 From: "Kevin Oberman" Message-Id: <20090723141440.A69EF1CC0B@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-07-23_08:2009-07-20, 2009-07-23, 2009-07-23 signatures=0 Cc: freebsd-stable@freebsd.org, Sagara Wijetunga Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 14:14:42 -0000 > Date: Thu, 23 Jul 2009 13:53:17 +0800 > From: Eugene Grosbein > Sender: owner-freebsd-stable@freebsd.org > > On Thu, Jul 23, 2009 at 10:14:18AM +0800, Sagara Wijetunga wrote: > > > If you conversant in this area, could you help us to identify what is/are > > the exact function/s in which program/s to look into identify the media > > insertion activity, so that we can generate relevant devd event. > > No, I'm not. In your position I would study the device specs - > does it generate hardware event in case of media change in first place? > > If yes, I'd read sources of umass driver to see how it generates events > for single flash device and add such event for reader's media change. > > If not, there should be polling anyway. If Linux detects media insertion instantly or Windows detects media insertion instantly (which I can confirm), there is some signal available, so looking at the Linux driver should provide a clue as to what to look for and that can be added to the FreeBSD umass driver. It would be a very desirable addition, but I am not volunteering as I currently don't use such devices. (And, no one would like the terrible code I would write, anyway.) -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 14:50:22 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51D951065670; Thu, 23 Jul 2009 14:50:22 +0000 (UTC) (envelope-from nakaji@kankyo-u.ac.jp) Received: from www.heimat.gr.jp (unknown [IPv6:2001:3e0:a84::1]) by mx1.freebsd.org (Postfix) with ESMTP id 1661A8FC1A; Thu, 23 Jul 2009 14:50:21 +0000 (UTC) (envelope-from nakaji@kankyo-u.ac.jp) X-Virus-Scanned: amavisd-new at heimat.gr.jp Received: from ra333.heimat.gr.jp.kankyo-u.ac.jp (ra333.heimat.gr.jp [IPv6:2001:3e0:a84:0:200:4cff:fe17:573c]) by www.heimat.gr.jp (8.14.3/8.14.3) with ESMTP id n6NEo4l3061997; Thu, 23 Jul 2009 23:50:05 +0900 (JST) (envelope-from nakaji@kankyo-u.ac.jp) From: NAKAJI Hiroyuki To: Attilio Rao References: <4A667469.1080805@gmail.com> <864ot4xpxl.fsf@ra333.heimat.gr.jp> <3bbf2fe10907221748j7f317ce0yc13bc5d01b4936e@mail.gmail.com> Date: Thu, 23 Jul 2009 23:50:04 +0900 In-Reply-To: <3bbf2fe10907221748j7f317ce0yc13bc5d01b4936e@mail.gmail.com> (Attilio Rao's message of "Thu, 23 Jul 2009 02:48:13 +0200") Message-ID: <86bpnbwj1f.fsf@ra333.heimat.gr.jp> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, score=-6.0 required=13.0 tests=AWL,BAYES_00, CONTENT_TYPE_PRESENT,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on www.heimat.gr.jp Cc: freebsd-stable@freebsd.org Subject: Re: 7.2-release/amd64: panic, spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 14:50:22 -0000 >>>>> In <3bbf2fe10907221748j7f317ce0yc13bc5d01b4936e@mail.gmail.com> >>>>> Attilio Rao wrote: > 2009/7/23 NAKAJI Hiroyuki : > >>>>>> In <4A667469.1080805@gmail.com> > >>>>>> "C. C. Tang" wrote: > >> > Could that one (on i386) be related? > >> > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/134584 > >> > > > > >> I have no idea about it but I can tell the difference... > >> My machine panic randomly rather than on shutdown and I remembered > >> that it failed to write core dump. It also failed to reboot > >> automatically.. > > > > I also have trouble like yours. > > http://lists.freebsd.org/pipermail/freebsd-stable/2009-June/050526.html > > > > I've heard from Attilio Rao that he had found the problem and is working > > on it. > Your problem should be linked to a well known deadlock in the VM. kib@ > and jeff@ were alredy working on a patch for that so I just passed > them the ball. Oops. Thanks for correction. I'm ready to test the patch. -- NAKAJI Hiroyuki From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 15:24:59 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C1851065723 for ; Thu, 23 Jul 2009 15:24:59 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7CE128FC2A for ; Thu, 23 Jul 2009 15:24:58 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA27879; Thu, 23 Jul 2009 18:24:17 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4A6880A1.3010003@icyb.net.ua> Date: Thu, 23 Jul 2009 18:24:17 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090630) MIME-Version: 1.0 To: Kevin Oberman References: <20090723055317.GA72627@svzserv.kemerovo.su> <20090723141440.A69EF1CC0B@ptavv.es.net> In-Reply-To: <20090723141440.A69EF1CC0B@ptavv.es.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Sagara Wijetunga , Eugene Grosbein Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 15:24:59 -0000 on 23/07/2009 17:14 Kevin Oberman said the following: > If Linux detects media insertion instantly or Windows detects media > insertion instantly (which I can confirm), there is some signal > available, so looking at the Linux driver should provide a clue as to > what to look for and that can be added to the FreeBSD umass driver. It > would be a very desirable addition, but I am not volunteering as I > currently don't use such devices. (And, no one would like the terrible > code I would write, anyway.) Just a note of caution: human "instant" is different from "computer instant". If OS driver polls, say, every 0.2 seconds, you won't be able to tell the difference. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 15:41:43 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79947106567E for ; Thu, 23 Jul 2009 15:41:43 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id AC2328FC2C for ; Thu, 23 Jul 2009 15:41:42 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA28459; Thu, 23 Jul 2009 18:41:20 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4A6884A0.5000906@icyb.net.ua> Date: Thu, 23 Jul 2009 18:41:20 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090630) MIME-Version: 1.0 To: "Peter C. Lai" References: <20090723055317.GA72627@svzserv.kemerovo.su> <20090723141440.A69EF1CC0B@ptavv.es.net> <4A6880A1.3010003@icyb.net.ua> <20090723153338.GA31463@cesium.hyperfine.info> In-Reply-To: <20090723153338.GA31463@cesium.hyperfine.info> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Sagara Wijetunga , Eugene Grosbein , freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 15:41:43 -0000 on 23/07/2009 18:33 Peter C. Lai said the following: > GEOM should pick up the state change, but the bug may continue to exist > because the CF reader is tagged as a storage device with invalid media > when umass attaches to it on startup; there wasn't a really good way to > actually enumerate the slice table upon insertion because the device > does not send a disconnect/reconnect to the bus when you insert the > card. At the time, the workaround was to tickle the device by attempting > a mount against the whole disk, then the slice table will be enumerated. It definitely doesn't do disconnect/reconnect, the question is does it send other kind of notification on media insertion/change? > Example, CF card reader on boot will be picked up as /dev/da4 > You insert card, no state change can be detected because the device > doesn't get reset on the bus. > mount /dev/da0 /mnt <-- will fail for obvious reasons, but now slices > are enumerated > mount /dev/da0s1f /mnt/mycfcard <-- ok $ true > /dev/da0 looks cleaner and is safer way to trigger the re-tasting. Still, this is a sub-case of polling. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 15:59:01 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93487106566B for ; Thu, 23 Jul 2009 15:59:01 +0000 (UTC) (envelope-from peter@simons-rock.edu) Received: from hedwig.simons-rock.edu (hedwig.simons-rock.edu [208.81.88.14]) by mx1.freebsd.org (Postfix) with ESMTP id 56C658FC29 for ; Thu, 23 Jul 2009 15:59:01 +0000 (UTC) (envelope-from peter@simons-rock.edu) Received: from cesium.hyperfine.info (c2.8d.5646.static.theplanet.com [70.86.141.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hedwig.simons-rock.edu (Postfix) with ESMTP id E49DF2BB34D; Thu, 23 Jul 2009 11:33:39 -0400 (EDT) Date: Thu, 23 Jul 2009 11:33:38 -0400 From: "Peter C. Lai" To: Andriy Gapon Message-ID: <20090723153338.GA31463@cesium.hyperfine.info> References: <20090723055317.GA72627@svzserv.kemerovo.su> <20090723141440.A69EF1CC0B@ptavv.es.net> <4A6880A1.3010003@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A6880A1.3010003@icyb.net.ua> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Sagara Wijetunga , Eugene Grosbein , freebsd-stable@freebsd.org Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 15:59:01 -0000 GEOM should pick up the state change, but the bug may continue to exist because the CF reader is tagged as a storage device with invalid media when umass attaches to it on startup; there wasn't a really good way to actually enumerate the slice table upon insertion because the device does not send a disconnect/reconnect to the bus when you insert the card. At the time, the workaround was to tickle the device by attempting a mount against the whole disk, then the slice table will be enumerated. Example, CF card reader on boot will be picked up as /dev/da4 You insert card, no state change can be detected because the device doesn't get reset on the bus. mount /dev/da0 /mnt <-- will fail for obvious reasons, but now slices are enumerated mount /dev/da0s1f /mnt/mycfcard <-- ok On 2009-07-23 06:24:17PM +0300, Andriy Gapon wrote: > on 23/07/2009 17:14 Kevin Oberman said the following: > > If Linux detects media insertion instantly or Windows detects media > > insertion instantly (which I can confirm), there is some signal > > available, so looking at the Linux driver should provide a clue as to > > what to look for and that can be added to the FreeBSD umass driver. It > > would be a very desirable addition, but I am not volunteering as I > > currently don't use such devices. (And, no one would like the terrible > > code I would write, anyway.) > > Just a note of caution: human "instant" is different from "computer instant". > If OS driver polls, say, every 0.2 seconds, you won't be able to tell the difference. > > -- > Andriy Gapon > _______________________________________________ > 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" -- =========================================================== Peter C. Lai | Bard College at Simon's Rock Systems Administrator | 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 =========================================================== From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 18:57:38 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2272C1065672 for ; Thu, 23 Jul 2009 18:57:38 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id E9E1B8FC12 for ; Thu, 23 Jul 2009 18:57:37 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 9CD653BD017 for ; Thu, 23 Jul 2009 14:57:37 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 23 Jul 2009 14:57:37 -0400 X-Sasl-enc: lK5Dq2eDvWaImM3PMhhkVY9R2+JY/UOpieMsYsyd/aCD 1248375457 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 46AF9B61E for ; Thu, 23 Jul 2009 14:57:37 -0400 (EDT) Message-ID: <4A68B2A0.8050509@incunabulum.net> Date: Thu, 23 Jul 2009 19:57:36 +0100 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <200901232244.n0NMiRmM098646@lurza.secnetix.de> <46acbb3e-71bc-4cff-93d7-59b48a1a9302@exchange01.ecp.noc> In-Reply-To: <46acbb3e-71bc-4cff-93d7-59b48a1a9302@exchange01.ecp.noc> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ataraid's revenge! (Was: Re: A nasty ataraid experience.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 18:57:38 -0000 6 months on, ataraid(4) did it again. This time, I was lucky -- I caught in in time, but the damage to the filesystem meant having to use fsdb to NULL out the affected inodes; mounting read-only, tarring, and untarring across the network, after a newfs, let me save the affected partition. All I was doing at the time was srm'ing a few sensitive files; all the processes wedged in WCHAN getblk. It seems ataraid(4) is not robust against temporary drive/controller problems. The SMART logs on the affected array drives all check out just fine, there are no bad block remaps. So, time to either buy a hardware RAID controller, or move to ZFS... From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 18:59:14 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04B8010656E7 for ; Thu, 23 Jul 2009 18:59:14 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5338A8FC17 for ; Thu, 23 Jul 2009 18:59:11 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 071993BC85C; Thu, 23 Jul 2009 14:59:11 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 23 Jul 2009 14:59:11 -0400 X-Sasl-enc: dEf1ZCJBScuDcnQ6OLdgTT1Hwb5vLztPwcc9JCx5s4ID 1248375550 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 42DBCB60E; Thu, 23 Jul 2009 14:59:10 -0400 (EDT) Message-ID: <4A68B2FD.5090807@incunabulum.net> Date: Thu, 23 Jul 2009 19:59:09 +0100 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Eugene Grosbein References: <20090722022027.12059.qmail@us1.tomahawkonline.net> <20090722142033.GA13316@svzserv.kemerovo.su> <20090723001338.27858.qmail@us1.tomahawkonline.net> <20090723035900.GA67095@svzserv.kemerovo.su> <20090723021418.29042.qmail@us1.tomahawkonline.net> <20090723055317.GA72627@svzserv.kemerovo.su> In-Reply-To: <20090723055317.GA72627@svzserv.kemerovo.su> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Sagara Wijetunga Subject: Re: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 18:59:14 -0000 Eugene Grosbein wrote: > On Thu, Jul 23, 2009 at 10:14:18AM +0800, Sagara Wijetunga wrote >> If you conversant in this area, could you help us to identify what is/are >> the exact function/s in which program/s to look into identify the media >> insertion activity, so that we can generate relevant devd event. >> > > No, I'm not. In your position I would study the device specs - > does it generate hardware event in case of media change in first place? > > If yes, I'd read sources of umass driver to see how it generates events > for single flash device and add such event for reader's media change. > rwatson@ has or has had a patch to do something like this. It is complicated by the fact that GEOM and NEWBUS don't necessarily talk to each other directly. I agree something needs to be done about removable volume management in FreeBSD. cheers, BMS From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 20:42:48 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECD9C1065670 for ; Thu, 23 Jul 2009 20:42:48 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id A8F278FC17 for ; Thu, 23 Jul 2009 20:42:48 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id n6NKglBr097142; Thu, 23 Jul 2009 15:42:47 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Thu, 23 Jul 2009 15:42:47 -0500 (CDT) From: "Sean C. Farley" To: Bruce Simpson In-Reply-To: <4A68B2A0.8050509@incunabulum.net> Message-ID: References: <200901232244.n0NMiRmM098646@lurza.secnetix.de> <46acbb3e-71bc-4cff-93d7-59b48a1a9302@exchange01.ecp.noc> <4A68B2A0.8050509@incunabulum.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: freebsd-stable@FreeBSD.org Subject: Re: ataraid's revenge! (Was: Re: A nasty ataraid experience.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 20:42:49 -0000 On Thu, 23 Jul 2009, Bruce Simpson wrote: > 6 months on, ataraid(4) did it again. > > This time, I was lucky -- I caught in in time, but the damage to the > filesystem meant having to use fsdb to NULL out the affected inodes; > mounting read-only, tarring, and untarring across the network, after a > newfs, let me save the affected partition. > All I was doing at the time was srm'ing a few sensitive files; all > the processes wedged in WCHAN getblk. It seems ataraid(4) is not > robust against temporary drive/controller problems. The SMART logs on > the affected array drives all check out just fine, there are no bad > block remaps. > > So, time to either buy a hardware RAID controller, or move to ZFS... Out of fear of what ataraid may do to me especially with Intel MatrixRAID[1], I switched to using gmirror awhile back, and it has worked well. When I buy some new drives soon, I am considering using gvinum with 8.0, but I need to find out more. Anyone know if I can boot off of a gvinum partition and/or how it works (or does not) with various label schemes? Sean 1. http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting -- scf@FreeBSD.org From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 20:45:57 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F575106564A for ; Thu, 23 Jul 2009 20:45:57 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-ew0-f220.google.com (mail-ew0-f220.google.com [209.85.219.220]) by mx1.freebsd.org (Postfix) with ESMTP id B774E8FC12 for ; Thu, 23 Jul 2009 20:45:56 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: by ewy20 with SMTP id 20so358995ewy.43 for ; Thu, 23 Jul 2009 13:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=S0D3stieev5vgdEM9LMZwJOFAUhOEXOu5AbPPDIXUl8=; b=wTwKExwm78q0wCjJrHg0XIJHqghGXAyi/vLfXAPeWmUiyg6xKJso6Qfk1h104iXYhs Vd1rJlcHuXUWbKDWUr67F+TwDUniSEqFrxvqJSEl5JG6HoXaVqNjRzILTmujbk1kTpfF Zch3mLRLx+CU9RMZg8WoLwriwDwPUAIy9jv4s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=duqnn8jqzsJcGgyKqcQcsHQcQ05anTlMX0+P/8wyt76nJoy49Z9BAEp3fM1N7RZMSi Oq7m2kWLYTTONMg1e3jbDEGCvyfXIBNHAfo3LpcJ8ziALaOszDBhGpwZz1u5B0j9vArd rWHjhleibB8jZpQzoRNhuNf1v5Wv6CtOkYtfo= MIME-Version: 1.0 Received: by 10.210.13.17 with SMTP id 17mr3195319ebm.38.1248381955485; Thu, 23 Jul 2009 13:45:55 -0700 (PDT) Date: Thu, 23 Jul 2009 16:45:54 -0400 Message-ID: From: grarpamp To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: MAKE_DVD=1 make release X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 20:45:57 -0000 Oops, DVD is made by default. I was reading '.if defined(MAKE_DVD)' as 'if not null', not 'if defined'. I retract this errant report :) The one about NO_FSCHG is still good though. From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 23:24:45 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51940106564A for ; Thu, 23 Jul 2009 23:24:45 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com [63.224.10.2]) by mx1.freebsd.org (Postfix) with SMTP id 072448FC1E for ; Thu, 23 Jul 2009 23:24:44 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 59700 invoked from network); 23 Jul 2009 18:24:44 -0500 Received: from keira.kiwi-computer.com (HELO kiwi-computer.com) (63.224.10.3) by hamlet.setfilepointer.com with SMTP; 23 Jul 2009 18:24:44 -0500 Received: (qmail 72746 invoked by uid 2001); 23 Jul 2009 23:24:44 -0000 Date: Thu, 23 Jul 2009 18:24:44 -0500 From: "Rick C. Petty" To: "Sean C. Farley" Message-ID: <20090723232443.GA72486@keira.kiwi-computer.com> References: <200901232244.n0NMiRmM098646@lurza.secnetix.de> <46acbb3e-71bc-4cff-93d7-59b48a1a9302@exchange01.ecp.noc> <4A68B2A0.8050509@incunabulum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@FreeBSD.org Subject: Re: ataraid's revenge! (Was: Re: A nasty ataraid experience.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd2008@kiwi-computer.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 23:24:45 -0000 This question should have been directed to freebsd-geom. On Thu, Jul 23, 2009 at 03:42:47PM -0500, Sean C. Farley wrote: > > Anyone know if I can boot off of a gvinum partition and/or how it works > (or does not) with various label schemes? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-root.html There are some downsides. First of all, when you mount your root partition under vinum, you can't unload the geom_vinum module (for obvious reasons). If you decide to relocate volumes in the future, you won't be able to remove the disks from the vinum. The reason is because you're not allowed to change the bsdlabel if there's a vinum slice while vinum is loaded, and you cannot remove a "device" from vinum even if it has no subdisks. I know lulf@ was looking into the second part. I used to do this on all my machines. Sometime soon after 7.1-release, I noticed a significant slowdown in disk performance, perhaps due to disk scheduling. Basically while any moderate I/O hit one gvinum volume, all other I/O on that disk was essentially suspended until the the heavier I/O completed. What this meant was that if I did an rsync to or from a volume whose subdisk resided on the same physical disk as my root and /usr partitions, I could not run any commands until the rsync finished or was killed (with control-C, since I couldn't even get a "killall" to execute). After that I switched all my machines to use gmirror which helped slightly. During that switch is when I discovered you need to be pretty clever to go away from "vinum root". I don't mean to say not to use gvinum. I put a lot of time into it, submitted some patches, and did a lot of testing with Ulf's deltas. There were still a couple of bugs when I stopped using it, but that doesn't mean they won't be fixed by 8.0. I just couldn't deal with the I/O performance issues which I was never able to track down. I need my workstations to be responsive while I'm rsyncing stuff around, and with 4 cores and 8 GB of RAM, I expected it to behave better. YMMV. FYI, the trick I used when migrating mirrors in vinum to gmirror: 1). Pick one disk to convert to gmirror first. I'll call this disk0. 2). Remove all subdisks which are attached to the device using disk0. 3). Reboot into single-user with vinum unloaded, specifying the raw device root (from disk1) instead of /dev/gvinum/root-volume. 4). Wipe sector 8 of the vinum slice on disk0. 5). Create a gmirror with disk0, re-bsdlabel, create new filesystems, etc. 6). Load geom_vinum kernel module. This may panic the kernel. If so, reboot normally using the vinum root volume. 7). Mount the new filesystems. 8). Mount the volumes you want moved to the mirror and rsync them over to the filesystems mounted on disk0. 9). Unmount all vinum volumes and try to unload the geom_vinum module. If this panics the kernel, or if there was a panic in step 6, you'll need to reboot into single-user again with geom_vinum unloaded. 10). Wipe sector 8 of the vinum slick on disk1. 11). Add disk1 to the gmirror, which should start a sync. 12). Load the geom_vinum module again, if you have other volumes not part of this mirror. If this panics the kernel, or if the kernel panicked after step 11, a normal restart might be successful. -- Rick C. Petty From owner-freebsd-stable@FreeBSD.ORG Fri Jul 24 01:02:53 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF1751065673 for ; Fri, 24 Jul 2009 01:02:53 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 7C3B38FC1B for ; Fri, 24 Jul 2009 01:02:53 +0000 (UTC) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id n6O10693094691; Thu, 23 Jul 2009 21:00:06 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200907240100.n6O10693094691@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 23 Jul 2009 21:02:53 -0400 To: Bruce Simpson , freebsd-stable@freebsd.org From: Mike Tancsa In-Reply-To: <4A68B2A0.8050509@incunabulum.net> References: <200901232244.n0NMiRmM098646@lurza.secnetix.de> <46acbb3e-71bc-4cff-93d7-59b48a1a9302@exchange01.ecp.noc> <4A68B2A0.8050509@incunabulum.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: ataraid's revenge! (Was: Re: A nasty ataraid experience.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jul 2009 01:02:53 -0000 At 02:57 PM 7/23/2009, Bruce Simpson wrote: >So, time to either buy a hardware RAID controller, or move to ZFS... I have gone through 4 bad disk replacements with ZFS (one totally dead, 3 throwing numerous errors), and numerous replacements with various 3ware and areca controllers. But so far so good with ZFS. ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From owner-freebsd-stable@FreeBSD.ORG Fri Jul 24 07:28:55 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED648106566B; Fri, 24 Jul 2009 07:28:55 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9D8F48FC16; Fri, 24 Jul 2009 07:28:54 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n6O6tIRq080382 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 24 Jul 2009 16:25:18 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Fri, 24 Jul 2009 16:25:07 +0930 User-Agent: KMail/1.9.10 References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <20090721215201.GA61999@troutmask.apl.washington.edu> <200907220814.38246.jhb@freebsd.org> In-Reply-To: <200907220814.38246.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1862751.5vLI0Mh6JJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200907241625.16312.doconnor@gsoft.com.au> X-Spam-Score: -3.585 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: John Baldwin , "O. Hartmann" , Thomas Backman , Olivier SMEDTS , FreeBSD current , Steve Kargl , Ken Smith Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jul 2009 07:28:56 -0000 --nextPart1862751.5vLI0Mh6JJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wed, 22 Jul 2009, John Baldwin wrote: > > How many of those 800 ports are actually necessary and used? > > It would be better to get generate a complete list of your > > installed ports, use pkg_deinstall or pkg_delete to remove > > all ports, and then selectively re-install ports that are > > actually used. > > Xorg takes up ~200 ports alone (not including dependencies like perl, > etc.) since the Xorg decided release engineering was too hard. Throw > in things like KDE, OOo, Firefox, etc. for a desktop and you can get > a fairly high package count. :-/ Ooh I only have 1315 on mine, but a 1.4GHz Pentium-M is pretty slow=20 these days :( Perhaps there needs to be a psuedo port for 'base' (or a few) so that=20 you can easily determine if you have already upgraded something against=20 the new base you installed. Certainly I find it difficult to leave my laptop on for long enough to=20 recompile everything when I upgrade -current (since I actually use it=20 for work), and portupgrade -fa has no way to tell if it's already done=20 something. If there were pseudo base ports you could tell it to force=20 upgrade everything that depends on the old base port and it would DTRT. I, of course, have no patches for such a thing :) I've deleted /usr/local & /var/db/pkg in the past, it can be very=20 therapeutic :) However it is not so good when your mp3 collection is=20 mounted on /usr/local/mp3 and you forgot to unmount it first.. :( =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1862751.5vLI0Mh6JJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQBKaVrU5ZPcIHs/zowRAjimAKChX1z895CZ6+YwFI2AC8GnRGJmJgCeNVwK EDfsTISjlY20fd3WDrqGrs0= =G5dX -----END PGP SIGNATURE----- --nextPart1862751.5vLI0Mh6JJ-- From owner-freebsd-stable@FreeBSD.ORG Fri Jul 24 07:52:39 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FD7A106566C; Fri, 24 Jul 2009 07:52:39 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 2CDDE8FC0A; Fri, 24 Jul 2009 07:52:38 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id EDE637E818; Thu, 23 Jul 2009 23:35:55 -0800 (AKDT) From: Mel Flynn To: freebsd-current@freebsd.org Date: Thu, 23 Jul 2009 23:35:54 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <200907220814.38246.jhb@freebsd.org> <200907241625.16312.doconnor@gsoft.com.au> In-Reply-To: <200907241625.16312.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907232335.54973.mel.flynn+fbsd.current@mailing.thruhere.net> Cc: Doug Barton , freebsd-stable@freebsd.org, "O. Hartmann" , Thomas Backman , Olivier SMEDTS , Steve Kargl , Ken Smith Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jul 2009 07:52:39 -0000 On Thursday 23 July 2009 22:55:07 Daniel O'Connor wrote: > On Wed, 22 Jul 2009, John Baldwin wrote: > > > How many of those 800 ports are actually necessary and used? > > > It would be better to get generate a complete list of your > > > installed ports, use pkg_deinstall or pkg_delete to remove > > > all ports, and then selectively re-install ports that are > > > actually used. > > > > Xorg takes up ~200 ports alone (not including dependencies like perl, > > etc.) since the Xorg decided release engineering was too hard. Throw > > in things like KDE, OOo, Firefox, etc. for a desktop and you can get > > a fairly high package count. :-/ > > Ooh I only have 1315 on mine, but a 1.4GHz Pentium-M is pretty slow > these days :( > > Perhaps there needs to be a psuedo port for 'base' (or a few) so that > you can easily determine if you have already upgraded something against > the new base you installed. > > Certainly I find it difficult to leave my laptop on for long enough to > recompile everything when I upgrade -current (since I actually use it > for work), and portupgrade -fa has no way to tell if it's already done > something. If there were pseudo base ports you could tell it to force > upgrade everything that depends on the old base port and it would DTRT. I wrapped portmaster, since -af has the same problem when something screws the build (mostly plist problems and $me wanting backup packages, but also classics like using sudo as PM_SU_CMD and trying to reinstall it). Basically, I made a list of all the installed ports and sorted dep order, then called portmaster -u for every port and if successful put an empty file +PM_DONE in /var/db/pkg//. On a restart the ports containing a +PM_DONE file are skipped. If the entire process finishes successfully, all +PM_DONE files are removed. I briefly looked into building it into portmaster, but that looked to take longer then I had time for. The main loop is at the bottom, perhaps Doug likes the idea and has the time to integrate it. > I, of course, have no patches for such a thing :) > > I've deleted /usr/local & /var/db/pkg in the past, it can be very > therapeutic :) However it is not so good when your mp3 collection is > mounted on /usr/local/mp3 and you forgot to unmount it first.. :( Or your websites in /usr/local/www, your database in /usr/local/pgsql or your squid conf and cache in /usr/local/squid. Especially when pkg_delete -af does the right thing and leaves all this in tact, I don't see the value of rm -rf /usr/local, other then a few minutes on a process that's likely going to be several hours or days. -- Mel mark_done() { local _name _name=$1 if test -d ${PKG_DBDIR}/${_name}; then ${SUDO} ${TOUCH} ${PKG_DBDIR}/${_name}/+PM_DONE else return 1; fi return 0; } for origin in ${LIST}; do pkgname=$(make -C ${PORTSDIR}/${origin} -V PKGNAME) if test -f ${PKG_DBDIR}/${pkgname}/+PM_DONE; then echo "Already done: ${pkgname} (${LOOP}/${TOTAL})" else echo "===> Building ${pkgname}" portmaster -u ${PORTSDIR}/${origin} if test $? -eq 0; then mark_done ${pkgname} || safe_abort else FAILED=$((${FAILED} + 1)) echo "Failed, continue? [n]" read CONT case "${CONT}" in [yY]|[yY][eE]|[yY][eE][sS]) echo "===> Marking state as done" mark_done ${pkgname} || safe_abort ;; *) break;; esac fi fi done if test ${FAILED} -eq 0; then echo "===> Removing state files" for FILE in ${PKG_DBDIR}/*/+PM_DONE; do ${SUDO} /bin/rm ${FILE} done echo "===> Removing origin list" /bin/rm ${LISTFILE} fi From owner-freebsd-stable@FreeBSD.ORG Fri Jul 24 08:30:12 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57A621065670 for ; Fri, 24 Jul 2009 08:30:12 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id E431D8FC21 for ; Fri, 24 Jul 2009 08:30:11 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id n6O8U9lN025205; Fri, 24 Jul 2009 09:30:09 +0100 (BST) Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1MUGAL-00002q-Ez; Fri, 24 Jul 2009 09:30:09 +0100 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.3/8.14.3) with ESMTP id n6O8U9gk050778; Fri, 24 Jul 2009 09:30:09 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.3/8.14.3/Submit) id n6O8U8EL050777; Fri, 24 Jul 2009 09:30:08 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: Bruce Simpson In-Reply-To: <4A68B2A0.8050509@incunabulum.net> References: <200901232244.n0NMiRmM098646@lurza.secnetix.de> <46acbb3e-71bc-4cff-93d7-59b48a1a9302@exchange01.ecp.noc> <4A68B2A0.8050509@incunabulum.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 24 Jul 2009 09:30:08 +0100 Message-Id: <1248424208.50198.2.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: freebsd-stable@FreeBSD.org Subject: Re: ataraid's revenge! (Was: Re: A nasty ataraid experience.) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jul 2009 08:30:12 -0000 On Thu, 2009-07-23 at 19:57 +0100, Bruce Simpson wrote: > 6 months on, ataraid(4) did it again. Which ataraid(4) controller is this? Seeing a verbose dmesg would help. There are several patches in the PR database for ataraid problems, it would be worth having a look. Gavin From owner-freebsd-stable@FreeBSD.ORG Fri Jul 24 13:11:14 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B6C71065670 for ; Fri, 24 Jul 2009 13:11:14 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) by mx1.freebsd.org (Postfix) with ESMTP id 18EF38FC12 for ; Fri, 24 Jul 2009 13:11:13 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by bwz19 with SMTP id 19so1392686bwz.43 for ; Fri, 24 Jul 2009 06:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=TXMgHGhR+4GVGkp14TIna0z/s96NeA2AS4SbEMmscaM=; b=tYmgdu8HQ0srQKSIncezdxtrOsD5Eq8ierpuz9S1si20U8Y9pMNI531StU+HRVpmig 1p1SiLI8cuysFV3TUxnCvPwtLUWg4mHW1W6Bimw3+dyAUqaJC0zkBcxqorxiseRliwnr kjNGSo/60OMGjO1NVvXOdZZIfs9hVjk9+rLfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=UHa9h2P2OWJqXpRsw+fEBzLz3sbyRDDGT8gmyphs+aYT1iQGR4WybahvUkOoZPK56s VLLics3gbU0IFYdO/QNA4Cv4IBCHhB7kIk9Rlvmf3lCuL9Dz2jGOicHL2EvlHmCe+bEf 1V8o5PWYg/rHAqsNNaikJnzUlUqCsQAC4hl28= MIME-Version: 1.0 Received: by 10.204.52.135 with SMTP id i7mr3158695bkg.154.1248441073191; Fri, 24 Jul 2009 06:11:13 -0700 (PDT) Date: Fri, 24 Jul 2009 17:11:13 +0400 Message-ID: From: pluknet To: freebsd-stable Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [geom] page fault in g_mbr_config() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jul 2009 13:11:14 -0000 Hi. I got a panic while performing a repetitive 'fdisk -BI aacd0', where aacd0 is a disk on aac0: . This means that the command was issued after filesystems were already created on aacd (after the first fdisk -BI aacd0 iteration), and are in umount'ed state. This is on 7.2-R, amd64. Config is a GENERIC plus ddb, carp, ipfw, quota. Fatal trap 12: page fault while in kernel mode cpuid = 5; apic id = 05 fault virtual address = 0x20 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff804cc554 stack pointer = 0x10:0xfffffffe80079b80 frame pointer = 0x10:0xfffffffe80079bd0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2 (g_event) [thread pid 2 tid 100013 ] Stopped at g_mbr_config+0x64: movq 0x20(%rax),%r15 db> bt Tracing pid 2 tid 100013 td 0xffffff000144da50 g_mbr_config() at g_mbr_config+0x64 g_run_events() at g_run_events+0x1b8 g_event_procbody() at g_event_procbody+0x57 fork_exit() at fork_exit+0x11f fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xfffffffe80079d30, rbp = 0 --- -- wbr, pluknet From owner-freebsd-stable@FreeBSD.ORG Fri Jul 24 13:16:35 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D7411065687 for ; Fri, 24 Jul 2009 13:16:35 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) by mx1.freebsd.org (Postfix) with ESMTP id 165158FC2C for ; Fri, 24 Jul 2009 13:16:34 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by bwz19 with SMTP id 19so1395365bwz.43 for ; Fri, 24 Jul 2009 06:16:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=EsjSz04uJ3H6Xv8UHqC2YULVIRmX4loxxt6mncCeJO8=; b=LdzSqpjmAh9hru8B5mo1jYgXcUz+++R8v0CavAYxI7hbN4ztqhDK08b0J5YNcQHFF0 7/SXfp/9YAb9MxiaiWpPY2rXQtO+U0jv8ozPlmdtsHzvQmsX/HJLiaR6/Ley2y778wPW ZeUOLytr0f1lRnqishpysC/DnWZKgk1m2jDSk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=MfwwCiY8eQBQ67Un3nzvG3qDdPDfnlpCd4QMcEwNlWyZZTLUWsQgqzF3gi0Rjn8q6j fbaZHTRcv+3RcUzlsxGM3yauYCMLYAjF94tjsZ7x4px1rlSJdMSNowQ8I/Ys3IRJ9hHG xg/ksygM/e1djRX1uh2VxxYgQofhUgKwLxS2w= MIME-Version: 1.0 Received: by 10.204.52.135 with SMTP id i7mr3163309bkg.154.1248441394116; Fri, 24 Jul 2009 06:16:34 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 Jul 2009 17:16:34 +0400 Message-ID: From: pluknet To: freebsd-stable Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [geom] page fault in g_mbr_config() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jul 2009 13:16:36 -0000 2009/7/24 pluknet : > Hi. > > I got a panic while performing a repetitive =A0'fdisk -BI aacd0', > where aacd0 is a disk on aac0: . > This means that the command was issued after filesystems > were already created on aacd (after the first fdisk -BI aacd0 > iteration), and are in umount'ed state. > > This is on 7.2-R, amd64. Config is a GENERIC plus ddb, carp, ipfw, quota. > > Fatal trap 12: page fault while in kernel mode > cpuid =3D 5; apic id =3D 05 > fault virtual address =A0 =3D 0x20 > fault code =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor read data, page not = present > instruction pointer =A0 =A0 =3D 0x8:0xffffffff804cc554 > stack pointer =A0 =A0 =A0 =A0 =A0 =3D 0x10:0xfffffffe80079b80 > frame pointer =A0 =A0 =A0 =A0 =A0 =3D 0x10:0xfffffffe80079bd0 > code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xfffff, type 0x1= b > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D DPL 0, pres 1, long 1,= def32 0, gran 1 > processor eflags =A0 =A0 =A0 =A0=3D interrupt enabled, resume, IOPL =3D 0 > current process =A0 =A0 =A0 =A0 =3D 2 (g_event) > [thread pid 2 tid 100013 ] > Stopped at =A0 =A0 =A0g_mbr_config+0x64: =A0 =A0 =A0movq =A0 =A00x20(%rax= ),%r15 > db> bt > Tracing pid 2 tid 100013 td 0xffffff000144da50 > g_mbr_config() at g_mbr_config+0x64 > g_run_events() at g_run_events+0x1b8 > g_event_procbody() at g_event_procbody+0x57 > fork_exit() at fork_exit+0x11f > fork_trampoline() at fork_trampoline+0xe > --- trap 0, rip =3D 0, rsp =3D 0xfffffffe80079d30, rbp =3D 0 --- And, of course... db> show proc 818 Process 818 (fdisk) at 0xffffff0004ed1000: state: NORMAL uid: 0 gids: 0, 0, 5 parent: pid 814 at 0xffffff00045c0478 ABI: FreeBSD ELF64 arguments: fdisk threads: 1 100169 D g_waitfo 0xffffff0004ec9100 fdisk db> bt 818 Tracing pid 818 tid 100169 td 0xffffff0004fbf6e0 sched_switch() at sched_switch+0x1fe mi_switch() at mi_switch+0x18e sleepq_timedwait() at sleepq_timedwait+0x31 _sleep() at _sleep+0x354 g_waitfor_event() at g_waitfor_event+0x9a g_ctl_ioctl() at g_ctl_ioctl+0x2df giant_ioctl() at giant_ioctl+0x7d devfs_ioctl_f() at devfs_ioctl_f+0x77 kern_ioctl() at kern_ioctl+0xa2 ioctl() at ioctl+0xf9 syscall() at syscall+0x256 Xfast_syscall() at Xfast_syscall+0xab --- syscall (54, FreeBSD ELF64, ioctl), rip =3D 0x8008200ec, rsp =3D 0x7fffffffe1d8, rbp =3D 0x4 --- --=20 wbr, pluknet From owner-freebsd-stable@FreeBSD.ORG Fri Jul 24 21:08:15 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB3D6106564A for ; Fri, 24 Jul 2009 21:08:15 +0000 (UTC) (envelope-from kutulu@kutulu.org) Received: from mail.informasoftware.com (mail.informasoftware.com [66.193.169.4]) by mx1.freebsd.org (Postfix) with ESMTP id 939F18FC14 for ; Fri, 24 Jul 2009 21:08:15 +0000 (UTC) (envelope-from kutulu@kutulu.org) Received: from [192.168.100.74] ([192.168.100.74] RDNS failed) by mail.informasoftware.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 24 Jul 2009 16:56:12 -0400 Message-ID: <4A6A1FEB.9030001@kutulu.org> Date: Fri, 24 Jul 2009 16:56:11 -0400 From: Mike Edenfield User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Jul 2009 20:56:12.0079 (UTC) FILETIME=[2D2ECBF0:01CA0CA1] Subject: Torrent clients bring pf-based firewall to its knees...? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jul 2009 21:08:16 -0000 I've recently begun running a torrent client after hours on a PC sitting behind our firewall (7.2-STABLE using pf). I have added a 'rdr' rule to redirect incoming traffic to the client PC from the firewall, and as far as the client is concerned everything is fine. However, after a short period of torrent activity, the machine running the firewall becomes extremely slow and lagged for all network traffic, but appears to be operating fine locally. Remote connections via ssh become extremely unresponsive, and eventually connections start timing out, but when logged in at the console, there doesn't appear to be any problem. Running tcpdump does not show nusually high volume of traffic, no more than I see during normal activity during the day. The volume and length of connections doesn't seem to matter much -- trying to copy a BSD or Linux DVD with hundreds of connections breaks just as quickly as much smaller torrents with a handful of peers. I know there are some cheap NAT-ing routers that get in trouble with torrents because of the heavy volume of state rules required, but I've never heard of anything like that being present in pf. And I've used torrent clients at home behind a pf firewall with no issues, but not on this specific version of the FreeBSD. I've tried shutting down the torrent client, clearing out the state and nat rules with pfctl, adding drop rules to reject the torrent traffic, and even bringing the network adapter down completely, but only a physical reboot (combined with not running the client ever again) seems to solve anything. Has anyone experienced this kind of problem before? Or alternatively, is there some way besides tcpdump and top (neither of which show anything unusual) that I can tell what exactly the machine is doing that's causing the network lag? --Mike From owner-freebsd-stable@FreeBSD.ORG Fri Jul 24 21:18:15 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 016F51065670 for ; Fri, 24 Jul 2009 21:18:15 +0000 (UTC) (envelope-from peter@simons-rock.edu) Received: from hedwig.simons-rock.edu (hedwig.simons-rock.edu [208.81.88.14]) by mx1.freebsd.org (Postfix) with ESMTP id BBD5A8FC12 for ; Fri, 24 Jul 2009 21:18:14 +0000 (UTC) (envelope-from peter@simons-rock.edu) Received: from cesium.hyperfine.info (c2.8d.5646.static.theplanet.com [70.86.141.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hedwig.simons-rock.edu (Postfix) with ESMTP id B28392BB345; Fri, 24 Jul 2009 17:18:13 -0400 (EDT) Date: Fri, 24 Jul 2009 17:18:12 -0400 From: "Peter C. Lai" To: Mike Edenfield Message-ID: <20090724211812.GI31463@cesium.hyperfine.info> References: <4A6A1FEB.9030001@kutulu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A6A1FEB.9030001@kutulu.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Torrent clients bring pf-based firewall to its knees...? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jul 2009 21:18:15 -0000 If only a reboot solves the problem sounds like a kernel problem? mbuf leakage? On 2009-07-24 04:56:11PM -0400, Mike Edenfield wrote: > I've recently begun running a torrent client after hours on a PC sitting > behind our firewall (7.2-STABLE using pf). I have added a 'rdr' rule to > redirect incoming traffic to the client PC from the firewall, and as far as > the client is concerned everything is fine. > > However, after a short period of torrent activity, the machine running the > firewall becomes extremely slow and lagged for all network traffic, but > appears to be operating fine locally. Remote connections via ssh become > extremely unresponsive, and eventually connections start timing out, but > when logged in at the console, there doesn't appear to be any problem. > Running tcpdump does not show nusually high volume of traffic, no more than > I see during normal activity during the day. The volume and length of > connections doesn't seem to matter much -- trying to copy a BSD or Linux > DVD with hundreds of connections breaks just as quickly as much smaller > torrents with a handful of peers. > > I know there are some cheap NAT-ing routers that get in trouble with > torrents because of the heavy volume of state rules required, but I've > never heard of anything like that being present in pf. And I've used > torrent clients at home behind a pf firewall with no issues, but not on > this specific version of the FreeBSD. > > I've tried shutting down the torrent client, clearing out the state and nat > rules with pfctl, adding drop rules to reject the torrent traffic, and even > bringing the network adapter down completely, but only a physical reboot > (combined with not running the client ever again) seems to solve anything. > > Has anyone experienced this kind of problem before? Or alternatively, is > there some way besides tcpdump and top (neither of which show anything > unusual) that I can tell what exactly the machine is doing that's causing > the network lag? > > --Mike > _______________________________________________ > 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" -- =========================================================== Peter C. Lai | Bard College at Simon's Rock Systems Administrator | 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 =========================================================== From owner-freebsd-stable@FreeBSD.ORG Fri Jul 24 23:38:28 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF1811065673 for ; Fri, 24 Jul 2009 23:38:28 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id B74618FC08 for ; Fri, 24 Jul 2009 23:38:28 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n6ONKFQR016571; Fri, 24 Jul 2009 19:20:15 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n6ONKFPN080562; Fri, 24 Jul 2009 19:20:15 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id EA2F11B5060; Fri, 24 Jul 2009 19:20:14 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090724232014.EA2F11B5060@freebsd-stable.sentex.ca> Date: Fri, 24 Jul 2009 19:20:14 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [releng_7 tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2009 23:38:29 -0000 TB --- 2009-07-24 21:39:39 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2009-07-24 21:39:39 - starting RELENG_7 tinderbox run for amd64/amd64 TB --- 2009-07-24 21:39:39 - cleaning the object tree TB --- 2009-07-24 21:40:06 - cvsupping the source tree TB --- 2009-07-24 21:40:06 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/amd64/amd64/supfile TB --- 2009-07-24 21:40:15 - building world TB --- 2009-07-24 21:40:15 - MAKEOBJDIRPREFIX=/obj TB --- 2009-07-24 21:40:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-07-24 21:40:15 - TARGET=amd64 TB --- 2009-07-24 21:40:15 - TARGET_ARCH=amd64 TB --- 2009-07-24 21:40:15 - TZ=UTC TB --- 2009-07-24 21:40:15 - __MAKE_CONF=/dev/null TB --- 2009-07-24 21:40:15 - cd /src TB --- 2009-07-24 21:40:15 - /usr/bin/make -B buildworld >>> World build started on Fri Jul 24 21:40:16 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Fri Jul 24 23:10:05 UTC 2009 TB --- 2009-07-24 23:10:05 - generating LINT kernel config TB --- 2009-07-24 23:10:05 - cd /src/sys/amd64/conf TB --- 2009-07-24 23:10:05 - /usr/bin/make -B LINT TB --- 2009-07-24 23:10:05 - building LINT kernel TB --- 2009-07-24 23:10:05 - MAKEOBJDIRPREFIX=/obj TB --- 2009-07-24 23:10:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-07-24 23:10:05 - TARGET=amd64 TB --- 2009-07-24 23:10:05 - TARGET_ARCH=amd64 TB --- 2009-07-24 23:10:05 - TZ=UTC TB --- 2009-07-24 23:10:05 - __MAKE_CONF=/dev/null TB --- 2009-07-24 23:10:05 - cd /src TB --- 2009-07-24 23:10:05 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Jul 24 23:10:05 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/inflate.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/init_main.c cc1: warnings being treated as errors In file included from /src/sys/kern/init_main.c:71: /src/sys/sys/sysproto.h:1705: warning: redundant redeclaration of 'lkmnosys' /src/sys/sys/sysent.h:164: warning: previous declaration of 'lkmnosys' was here /src/sys/sys/sysproto.h:1802: warning: redundant redeclaration of 'lkmressys' /src/sys/sys/sysent.h:165: warning: previous declaration of 'lkmressys' was here *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-07-24 23:20:14 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-07-24 23:20:14 - ERROR: failed to build lint kernel TB --- 2009-07-24 23:20:14 - 5024.71 user 564.53 system 6035.52 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-amd64-amd64.full From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 01:28:47 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B52181065672 for ; Sat, 25 Jul 2009 01:28:47 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 7E0628FC1B for ; Sat, 25 Jul 2009 01:28:47 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 5B06873098; Sat, 25 Jul 2009 03:35:00 +0200 (CEST) Date: Sat, 25 Jul 2009 03:35:00 +0200 From: Luigi Rizzo To: stable@freebsd.org Message-ID: <20090725013500.GC62402@onelab2.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: status of flash9/flash10 support in RELENG_7 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 01:28:48 -0000 Does anyone know what is the status of flash9 or flash10 in RELENG_7 ? Following the thread of a couple of months ago, i tried to: - remove all linux-* ports - set the following in /etc/make.conf OVERRIDE_LINUX_BASE_PORT=f8 OVERRIDE_LINUX_NONBASE_PORTS=f8 - set the following in /etc/sysctl.conf compat.linux.osrelease=2.6.16 - set the following in /etc/fstab linproc /usr/compat/linux/proc linprocfs rw 0 0 - reinstall linux_base-f8-8_11 - reinstall linux-flashplugin-10.0r22 (which in turn brings in the relevant linux-f8-* ports) - also install nspluginwrapper and create a firefox plugin - upgrade firefox to firefox-3.5,1 (native), just in case - run firefox with "limit stacksize 4megabytes" (or variants) as recommended to avoid npviewer growing/not dying This was done on 3 different machines (one laptop with a centrino, 2 desktops with AMD X2 dual core running in i386 mode) with mixed [in]success. On one machine thing started working well, but on the other two they did not (the various packages were of course slightly disaligned) and while trying to replicate the configuration i also broke the good one without figuring out why. Symptoms are that on certain sites or actions (e.g. switch to full screen on youtube videos) i get firefox freezing like this 22381 luigi 13 96 0 82580K 57484K ucond 1 0:00 0.20% firefox-bin 22413 luigi 1 97 0 72920K 33448K futex 1 0:00 0.20% npviewer.bin 22414 luigi 1 97 0 72920K 33448K futex 1 0:00 0.20% npviewer.bin and recovering control (but no video) after 10+seconds I also get a lot of the following weak_unref warnings with various addresses (firefox-bin:22381): GLib-GObject-WARNING **: IA__g_object_weak_unref: couldn't find weak ref 0x297ba9f0(0x2a10d110) (but not sure how related is this, because it happens even without a flash plugin). I have also tried flash9 instead of flash10, o fc10 instead of fc8, all with similar results. Is there a recipe for a working flas9 or flash10 operation ? cheers luigi From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 02:15:35 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0F7E106566B for ; Sat, 25 Jul 2009 02:15:35 +0000 (UTC) (envelope-from rivers@dignus.com) Received: from dignus.com (mail.dignus.com [209.42.196.2]) by mx1.freebsd.org (Postfix) with ESMTP id 55F808FC1A for ; Sat, 25 Jul 2009 02:15:34 +0000 (UTC) (envelope-from rivers@dignus.com) Received: from dave.dignus.com (dave.dignus.com [10.1.0.4]) by dignus.com (8.14.2/8.14.2) with ESMTP id n6P1f4c8031322; Fri, 24 Jul 2009 21:41:04 -0400 (EDT) (envelope-from rivers@dignus.com) Received: from dave.dignus.com (localhost [127.0.0.1]) by dave.dignus.com (8.13.8/8.11.3) with ESMTP id n6P1gU4O011091; Fri, 24 Jul 2009 21:42:30 -0400 (EDT) (envelope-from rivers@dave.dignus.com) Received: (from rivers@localhost) by dave.dignus.com (8.13.8/8.13.8/Submit) id n6P1gUQG011090; Fri, 24 Jul 2009 21:42:30 -0400 (EDT) (envelope-from rivers) From: Thomas David Rivers Message-Id: <200907250142.n6P1gUQG011090@dave.dignus.com> Date: Fri, 24 Jul 2009 21:42:30 -0400 To: peter@simons-rock.edu, kutulu@kutulu.org References: <4A6A1FEB.9030001@kutulu.org> <20090724211812.GI31463@cesium.hyperfine.info> In-Reply-To: <20090724211812.GI31463@cesium.hyperfine.info> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on office.dignus.com Cc: freebsd-stable@freebsd.org Subject: Re: Torrent clients bring pf-based firewall to its knees...? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 02:15:36 -0000 Is there a main() function in your program? Are you building this for LE operation, or with the Systems/C runtime? If it's Systems/C, are you using the RENT library (and the -frent option on the compilation?) If you want to build a non-RENT program for USS, you can, but you have to set the appropriate environment varible under USS to execute it; as a USS program is executed with the code sections marked READ-ONLY. - Dave Rivers - -- rivers@dignus.com Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 06:35:08 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3072A106566C for ; Sat, 25 Jul 2009 06:35:08 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from outgoing02.lava.net (pie.lava.net [IPv6:2001:1888:0:1:230:48ff:fe5b:3b8c]) by mx1.freebsd.org (Postfix) with ESMTP id D85F08FC13 for ; Sat, 25 Jul 2009 06:35:07 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by outgoing02.lava.net (Postfix) with ESMTP id 3C9A7170FA8; Fri, 24 Jul 2009 20:35:07 -1000 (HST) Received: by malasada.lava.net (Postfix, from userid 102) id 40105153882; Fri, 24 Jul 2009 20:35:06 -1000 (HST) Date: Fri, 24 Jul 2009 20:35:05 -1000 From: Clifton Royston To: Mike Edenfield Message-ID: <20090725063505.GA5216@lava.net> Mail-Followup-To: Mike Edenfield , freebsd-stable@freebsd.org References: <4A6A1FEB.9030001@kutulu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A6A1FEB.9030001@kutulu.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: Torrent clients bring pf-based firewall to its knees...? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 06:35:08 -0000 On Fri, Jul 24, 2009 at 04:56:11PM -0400, Mike Edenfield wrote: > I've recently begun running a torrent client after hours on a PC sitting > behind our firewall (7.2-STABLE using pf). I have added a 'rdr' rule to > redirect incoming traffic to the client PC from the firewall, and as far > as the client is concerned everything is fine. FWIW, I don't do torrents a lot, but I've had no problems running the Vuze/Azureus torrent client behind a pfSense firewall (7.2-based with pf) -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 07:07:25 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65401106564A for ; Sat, 25 Jul 2009 07:07:25 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id DAA008FC1E for ; Sat, 25 Jul 2009 07:07:24 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 77C3CA6EA1; Sat, 25 Jul 2009 10:36:18 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1873935015; Sat, 25 Jul 2009 10:36:18 +0400 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n6P6aH1X074119; Sat, 25 Jul 2009 10:36:17 +0400 (MSD) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n6P6aAiX074118; Sat, 25 Jul 2009 10:36:10 +0400 (MSD) (envelope-from dchagin) Date: Sat, 25 Jul 2009 10:36:10 +0400 From: Chagin Dmitry To: Luigi Rizzo Message-ID: <20090725063610.GA74076@dchagin.static.corbina.ru> References: <20090725013500.GC62402@onelab2.iet.unipi.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <20090725013500.GC62402@onelab2.iet.unipi.it> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: stable@freebsd.org Subject: Re: status of flash9/flash10 support in RELENG_7 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 07:07:25 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 25, 2009 at 03:35:00AM +0200, Luigi Rizzo wrote: > Does anyone know what is the status of flash9 or flash10 in RELENG_7 ? > Following the thread of a couple of months ago, i tried to: > - remove all linux-* ports > - set the following in /etc/make.conf > OVERRIDE_LINUX_BASE_PORT=3Df8 > OVERRIDE_LINUX_NONBASE_PORTS=3Df8 > - set the following in /etc/sysctl.conf > compat.linux.osrelease=3D2.6.16 > - set the following in /etc/fstab > linproc /usr/compat/linux/proc linprocfs rw 0 0 > - reinstall linux_base-f8-8_11 > - reinstall linux-flashplugin-10.0r22 (which in turn brings in the > relevant linux-f8-* ports) >=20 > - also install nspluginwrapper and create a firefox plugin > - upgrade firefox to firefox-3.5,1 (native), just in case > - run firefox with "limit stacksize 4megabytes" (or variants) > as recommended to avoid npviewer growing/not dying >=20 > This was done on 3 different machines (one laptop with a centrino, > 2 desktops with AMD X2 dual core running in i386 mode) with mixed > [in]success. On one machine thing started working well, but on the > other two they did not (the various packages were of course slightly > disaligned) and while trying to replicate the configuration i also > broke the good one without figuring out why. > Symptoms are that on certain sites or actions (e.g. switch to full > screen on youtube videos) i get firefox freezing like this >=20 > 22381 luigi 13 96 0 82580K 57484K ucond 1 0:00 0.20% firefox-bin > 22413 luigi 1 97 0 72920K 33448K futex 1 0:00 0.20% npviewer.b= in > 22414 luigi 1 97 0 72920K 33448K futex 1 0:00 0.20% npviewer.b= in >=20 > and recovering control (but no video) after 10+seconds >=20 hi, read: http://lists.freebsd.org/pipermail/freebsd-emulation/2009-June/006431.html > I also get a lot of the following weak_unref warnings with various addres= ses >=20 > (firefox-bin:22381): GLib-GObject-WARNING **: IA__g_object_weak_unref: co= uldn't find weak ref 0x297ba9f0(0x2a10d110) >=20 > (but not sure how related is this, because it happens even without a > flash plugin). >=20 > I have also tried flash9 instead of flash10, o fc10 instead of fc8, > all with similar results. >=20 > Is there a recipe for a working flas9 or flash10 operation ? >=20 > cheers > luigi > _______________________________________________ > 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" --=20 Have fun! chd --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkpqp9oACgkQ0t2Tb3OO/O2Z+ACfWV16rxSKkpccl+BFAH9xkx1w ca8Anj+8TzzI1l44AyXUs0WA6tw6ndvZ =Hl9o -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW-- From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 07:51:55 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F85F1065670 for ; Sat, 25 Jul 2009 07:51:55 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 67DE88FC1F for ; Sat, 25 Jul 2009 07:51:54 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (localhost [127.0.0.1]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id n6P7c96l023799; Sat, 25 Jul 2009 09:38:09 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: (from marc@localhost) by abigail.blackend.org (8.13.4/8.13.3/Submit) id n6P7c55V023798; Sat, 25 Jul 2009 09:38:05 +0200 (CEST) (envelope-from marc) Date: Sat, 25 Jul 2009 09:38:05 +0200 From: Marc Fonvieille To: Luigi Rizzo Message-ID: <20090725073805.GA11455@abigail.blackend.org> References: <20090725013500.GC62402@onelab2.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090725013500.GC62402@onelab2.iet.unipi.it> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 4.11-STABLE User-Agent: Mutt/1.5.9i Cc: stable@freebsd.org Subject: Re: status of flash9/flash10 support in RELENG_7 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 07:51:55 -0000 On Sat, Jul 25, 2009 at 03:35:00AM +0200, Luigi Rizzo wrote: > Does anyone know what is the status of flash9 or flash10 in RELENG_7 ? > Following the thread of a couple of months ago, i tried to: > - remove all linux-* ports > - set the following in /etc/make.conf > OVERRIDE_LINUX_BASE_PORT=f8 > OVERRIDE_LINUX_NONBASE_PORTS=f8 > - set the following in /etc/sysctl.conf > compat.linux.osrelease=2.6.16 > - set the following in /etc/fstab > linproc /usr/compat/linux/proc linprocfs rw 0 0 > - reinstall linux_base-f8-8_11 > - reinstall linux-flashplugin-10.0r22 (which in turn brings in the > relevant linux-f8-* ports) > > - also install nspluginwrapper and create a firefox plugin > - upgrade firefox to firefox-3.5,1 (native), just in case > - run firefox with "limit stacksize 4megabytes" (or variants) > as recommended to avoid npviewer growing/not dying > > This was done on 3 different machines (one laptop with a centrino, > 2 desktops with AMD X2 dual core running in i386 mode) with mixed > [in]success. On one machine thing started working well, but on the > other two they did not (the various packages were of course slightly > disaligned) and while trying to replicate the configuration i also > broke the good one without figuring out why. > Symptoms are that on certain sites or actions (e.g. switch to full > screen on youtube videos) i get firefox freezing like this > > 22381 luigi 13 96 0 82580K 57484K ucond 1 0:00 0.20% firefox-bin > 22413 luigi 1 97 0 72920K 33448K futex 1 0:00 0.20% npviewer.bin > 22414 luigi 1 97 0 72920K 33448K futex 1 0:00 0.20% npviewer.bin > > and recovering control (but no video) after 10+seconds > > I also get a lot of the following weak_unref warnings with various addresses > > (firefox-bin:22381): GLib-GObject-WARNING **: IA__g_object_weak_unref: couldn't find weak ref 0x297ba9f0(0x2a10d110) > > (but not sure how related is this, because it happens even without a > flash plugin). > > I have also tried flash9 instead of flash10, o fc10 instead of fc8, > all with similar results. > > Is there a recipe for a working flas9 or flash10 operation ? > The Handbook gives a reliable, i.e. reproductible one, recipe: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html 6.2.3 Firefox and Macromedia® Flash Plugin for running Flash 9 under 7.X and with default linux_base. I'm also working on an update for 8.X -- Marc From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 08:48:18 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16A49106564A for ; Sat, 25 Jul 2009 08:48:18 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 320298FC0C for ; Sat, 25 Jul 2009 08:48:16 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA03981; Sat, 25 Jul 2009 11:48:15 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1] helo=edge.pp.kiev.ua) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1MUcvP-0007Ws-0Y; Sat, 25 Jul 2009 11:48:15 +0300 Message-ID: <4A6AC6CD.9090005@icyb.net.ua> Date: Sat, 25 Jul 2009 11:48:13 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090723) MIME-Version: 1.0 To: freebsd-stable@FreeBSD.org, marck@FreeBSD.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: smartctl: Unrecognized command 13 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 08:48:18 -0000 This is stable/7 i386: $ smartctl -t select,568157535-568159000 /dev/ad10 ... Unrecognized command 13 in ata_command_interface() Please contact smartmontools-support@lists.sourceforge.net Error Write Selective Self-Test Log failed: Function not implemented In smartmontools sources this is command WRITE_LOG. Is this something that can be patched in smartmontools or does it require additional support from ata driver? -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 10:05:47 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE83C106566C for ; Sat, 25 Jul 2009 10:05:47 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 4F5648FC1E for ; Sat, 25 Jul 2009 10:05:46 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (localhost [127.0.0.1]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id n6PA5g1A025214; Sat, 25 Jul 2009 12:05:42 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: (from marc@localhost) by abigail.blackend.org (8.13.4/8.13.3/Submit) id n6PA5gEB025213; Sat, 25 Jul 2009 12:05:42 +0200 (CEST) (envelope-from marc) Date: Sat, 25 Jul 2009 12:05:42 +0200 From: Marc Fonvieille To: Luigi Rizzo Message-ID: <20090725100542.GD11455@abigail.blackend.org> References: <20090725013500.GC62402@onelab2.iet.unipi.it> <20090725073805.GA11455@abigail.blackend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090725073805.GA11455@abigail.blackend.org> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 4.11-STABLE User-Agent: Mutt/1.5.9i Cc: stable@freebsd.org Subject: Re: status of flash9/flash10 support in RELENG_7 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 10:05:48 -0000 On Sat, Jul 25, 2009 at 09:38:05AM +0200, Marc Fonvieille wrote: > > > > Is there a recipe for a working flas9 or flash10 operation ? > > > > The Handbook gives a reliable, i.e. reproductible one, recipe: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > 6.2.3 Firefox and Macromedia® Flash Plugin > > for running Flash 9 under 7.X and with default linux_base. > > I'm also working on an update for 8.X > I just updated the Handbook for 8.X and Flash (I know it wasn't your first question but it may help). -- Marc From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 10:14:53 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0119106566B for ; Sat, 25 Jul 2009 10:14:53 +0000 (UTC) (envelope-from rivers@dignus.com) Received: from dignus.com (mail.dignus.com [209.42.196.2]) by mx1.freebsd.org (Postfix) with ESMTP id 996018FC17 for ; Sat, 25 Jul 2009 10:14:53 +0000 (UTC) (envelope-from rivers@dignus.com) Received: from dave.dignus.com (dave.dignus.com [10.1.0.4]) by dignus.com (8.14.2/8.14.2) with ESMTP id n6PADM6b034701; Sat, 25 Jul 2009 06:13:22 -0400 (EDT) (envelope-from rivers@dignus.com) Received: from dave.dignus.com (localhost [127.0.0.1]) by dave.dignus.com (8.13.8/8.11.3) with ESMTP id n6PAEnfS012599; Sat, 25 Jul 2009 06:14:49 -0400 (EDT) (envelope-from rivers@dave.dignus.com) Received: (from rivers@localhost) by dave.dignus.com (8.13.8/8.13.8/Submit) id n6PAEnJp012598; Sat, 25 Jul 2009 06:14:49 -0400 (EDT) (envelope-from rivers) From: Thomas David Rivers Message-Id: <200907251014.n6PAEnJp012598@dave.dignus.com> Date: Sat, 25 Jul 2009 06:14:49 -0400 To: rivers@dignus.com, peter@simons-rock.edu, kutulu@kutulu.org References: <4A6A1FEB.9030001@kutulu.org> <20090724211812.GI31463@cesium.hyperfine.info> <200907250142.n6P1gUQG011090@dave.dignus.com> In-Reply-To: <200907250142.n6P1gUQG011090@dave.dignus.com> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on office.dignus.com Cc: freebsd-stable@freebsd.org Subject: Re: Torrent clients bring pf-based firewall to its knees...? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 10:14:54 -0000 My apologies all, This was clearly not intended for this list :-) - Thanks - - Dave Rivers - > > Is there a main() function in your program? > > Are you building this for LE operation, or with the Systems/C runtime? > > If it's Systems/C, are you using the RENT library (and the -frent > option on the compilation?) If you want to build a non-RENT program > for USS, you can, but you have to set the appropriate environment > varible under USS to execute it; as a USS program is executed > with the code sections marked READ-ONLY. > > - Dave Rivers - > > -- > rivers@dignus.com Work: (919) 676-0847 > Get your mainframe programming tools at http://www.dignus.com -- rivers@dignus.com Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 11:49:12 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CBEF106566C for ; Sat, 25 Jul 2009 11:49:12 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 60C2C8FC13 for ; Sat, 25 Jul 2009 11:49:12 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 40A5A73098; Sat, 25 Jul 2009 13:55:25 +0200 (CEST) Date: Sat, 25 Jul 2009 13:55:25 +0200 From: Luigi Rizzo To: Marc Fonvieille Message-ID: <20090725115525.GA85767@onelab2.iet.unipi.it> References: <20090725013500.GC62402@onelab2.iet.unipi.it> <20090725073805.GA11455@abigail.blackend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090725073805.GA11455@abigail.blackend.org> User-Agent: Mutt/1.4.2.3i Cc: stable@freebsd.org Subject: Re: status of flash9/flash10 support in RELENG_7 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 11:49:12 -0000 On Sat, Jul 25, 2009 at 09:38:05AM +0200, Marc Fonvieille wrote: > On Sat, Jul 25, 2009 at 03:35:00AM +0200, Luigi Rizzo wrote: > > Does anyone know what is the status of flash9 or flash10 in RELENG_7 ? > > Following the thread of a couple of months ago, i tried to: > > - remove all linux-* ports > > - set the following in /etc/make.conf > > OVERRIDE_LINUX_BASE_PORT=f8 > > OVERRIDE_LINUX_NONBASE_PORTS=f8 > > - set the following in /etc/sysctl.conf > > compat.linux.osrelease=2.6.16 > > - set the following in /etc/fstab > > linproc /usr/compat/linux/proc linprocfs rw 0 0 > > - reinstall linux_base-f8-8_11 > > - reinstall linux-flashplugin-10.0r22 (which in turn brings in the > > relevant linux-f8-* ports) > > > > - also install nspluginwrapper and create a firefox plugin > > - upgrade firefox to firefox-3.5,1 (native), just in case > > - run firefox with "limit stacksize 4megabytes" (or variants) > > as recommended to avoid npviewer growing/not dying > > > > This was done on 3 different machines (one laptop with a centrino, > > 2 desktops with AMD X2 dual core running in i386 mode) with mixed > > [in]success. On one machine thing started working well, but on the > > other two they did not (the various packages were of course slightly > > disaligned) and while trying to replicate the configuration i also > > broke the good one without figuring out why. > > Symptoms are that on certain sites or actions (e.g. switch to full > > screen on youtube videos) i get firefox freezing like this > > > > 22381 luigi 13 96 0 82580K 57484K ucond 1 0:00 0.20% firefox-bin > > 22413 luigi 1 97 0 72920K 33448K futex 1 0:00 0.20% npviewer.bin > > 22414 luigi 1 97 0 72920K 33448K futex 1 0:00 0.20% npviewer.bin > > > > and recovering control (but no video) after 10+seconds > > > > I also get a lot of the following weak_unref warnings with various addresses > > > > (firefox-bin:22381): GLib-GObject-WARNING **: IA__g_object_weak_unref: couldn't find weak ref 0x297ba9f0(0x2a10d110) > > > > (but not sure how related is this, because it happens even without a > > flash plugin). > > > > I have also tried flash9 instead of flash10, o fc10 instead of fc8, > > all with similar results. > > > > Is there a recipe for a working flas9 or flash10 operation ? > > > > The Handbook gives a reliable, i.e. reproductible one, recipe: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > 6.2.3 Firefox and Macromedia? Flash Plugin > > for running Flash 9 under 7.X and with default linux_base. from what i remember, flash9 with the default linux_base (fc4) did not work for me (though i don't remember the details). Are you positive that it is a working configuration on RELENG_7 ? Especially, fc4 does not support skype (except skype1.2, which however does not authenticate anymore), so using fc4 is not an option for me and i suspect desktop users in general. > I'm also working on an update for 8.X i see that for 8.x you suggest using fc10, which is also something i tried on RELENG_7 but had similar symptoms. Is there any known reason why HEAD and RELENG_7 should be different in terms of linux_base support ? cheers luigi From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 12:37:55 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D6BA1065672 for ; Sat, 25 Jul 2009 12:37:55 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 7C1018FC12 for ; Sat, 25 Jul 2009 12:37:53 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (localhost [127.0.0.1]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id n6PCbnJ3026765; Sat, 25 Jul 2009 14:37:49 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: (from marc@localhost) by abigail.blackend.org (8.13.4/8.13.3/Submit) id n6PCbnZ7026764; Sat, 25 Jul 2009 14:37:49 +0200 (CEST) (envelope-from marc) Date: Sat, 25 Jul 2009 14:37:49 +0200 From: Marc Fonvieille To: Luigi Rizzo Message-ID: <20090725123749.GA26505@abigail.blackend.org> References: <20090725013500.GC62402@onelab2.iet.unipi.it> <20090725073805.GA11455@abigail.blackend.org> <20090725115525.GA85767@onelab2.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090725115525.GA85767@onelab2.iet.unipi.it> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 4.11-STABLE User-Agent: Mutt/1.5.9i Cc: stable@freebsd.org, bsam@freebsd.org Subject: Re: status of flash9/flash10 support in RELENG_7 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 12:37:55 -0000 On Sat, Jul 25, 2009 at 01:55:25PM +0200, Luigi Rizzo wrote: > On Sat, Jul 25, 2009 at 09:38:05AM +0200, Marc Fonvieille wrote: > > On Sat, Jul 25, 2009 at 03:35:00AM +0200, Luigi Rizzo wrote: > > > > The Handbook gives a reliable, i.e. reproductible one, recipe: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > > 6.2.3 Firefox and Macromedia? Flash Plugin > > > > for running Flash 9 under 7.X and with default linux_base. > > from what i remember, flash9 with the default linux_base (fc4) > did not work for me (though i don't remember the details). > Are you positive that it is a working configuration on RELENG_7 ? > Yes, I did many installations of Flash9 with fc4 and firefox 2 or 3 on various boxes without any issues. Since it was reproductible, it's the recipe I put in the Handbook. > Especially, fc4 does not support skype (except skype1.2, which however > does not authenticate anymore), so using fc4 is not an option for > me and i suspect desktop users in general. > I don't use skype, so I wasn't annoyed. > > > I'm also working on an update for 8.X > > i see that for 8.x you suggest using fc10, which is also something i > tried on RELENG_7 but had similar symptoms. Is there any known reason > why HEAD and RELENG_7 should be different in terms of linux_base support ? > You should ask this question to bsam (CCed) which is our linux_base expert. The only reason I used in the Handbook fc4 for 7.X and f10 for 8.X it's that they are the linux_base versions used on these respective branches. -- Marc From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 13:13:50 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEA131065670 for ; Sat, 25 Jul 2009 13:13:50 +0000 (UTC) (envelope-from news@citylink.dinoex.sub.org) Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [194.45.71.2]) by mx1.freebsd.org (Postfix) with ESMTP id 473E08FC29 for ; Sat, 25 Jul 2009 13:13:49 +0000 (UTC) (envelope-from news@citylink.dinoex.sub.org) Received: from uucp.dinoex.sub.de (uucp@uucp.dinoex.sub.de [194.45.71.2] (may be forged)) by uucp.dinoex.sub.de (8.14.3/8.14.2) with ESMTP id n6PDDCls095025 for ; Sat, 25 Jul 2009 15:13:12 +0200 (CEST) (envelope-from news@citylink.dinoex.sub.org) X-MDaemon-Deliver-To: Received: from citylink.dinoex.sub.org (uucp@localhost) by uucp.dinoex.sub.de (8.14.3/8.14.2/Submit) with UUCP id n6PDDCpX095024 for freebsd-stable@FreeBSD.ORG; Sat, 25 Jul 2009 15:13:12 +0200 (CEST) (envelope-from news@citylink.dinoex.sub.org) Received: from gate.oper.dinoex.org (gate-e [192.168.98.2]) by citylink.dinoex.sub.de (8.14.3/8.14.2) with ESMTP id n6PD6cM5059935 for ; Sat, 25 Jul 2009 15:06:39 +0200 (CEST) (envelope-from news@gate.oper.dinoex.org) Received: from gate.oper.dinoex.org (gate-e [192.168.98.2]) by gate.oper.dinoex.org (8.14.3/8.14.3) with ESMTP id n6PD4EPg059642 for ; Sat, 25 Jul 2009 15:04:15 +0200 (CEST) (envelope-from news@gate.oper.dinoex.org) Received: (from news@localhost) by gate.oper.dinoex.org (8.14.3/8.14.3/Submit) id n6PD4Cto059641 for freebsd-stable@FreeBSD.ORG; Sat, 25 Jul 2009 15:04:13 +0200 (CEST) (envelope-from news) From: pmc@citylink.dinoex.sub.org (Peter Much) Message-ID: Date: Sat, 25 Jul 2009 12:36:52 GMT Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 References: Mime-Version: 1.0 Organization: dread of the bookshelf X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Sender: To: freebsd-stable@FreeBSD.ORG X-Milter: Spamilter (Reciever: uucp.dinoex.sub.de; Sender-ip: 194.45.71.2; Sender-helo: uucp.dinoex.sub.de; ) Cc: Subject: Re: 7.2-STABLE ZFS: mv: set flags (was: 00000000): Invalid argument X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 13:13:51 -0000 aka Peter Much schrieb mit Datum Wed, 22 Jul 2009 09:51:52 GMT in m2n.fbsd.stable: |After upgrading my system from 7.2-PRERELEASE to 7.2-STABLE (as |of last week), and accordingly upgrading my Pools from Version |6 to Version 13, I get this error when moving arbitrary files |between different ZFS filesystems. .. found my mistake: there are *two* tasks in the upgrade. Not only zfs pools need upgrade from version 6 to 13 (with command "zpool"), also the zfs filesystems need upgrade from version 1 to 3 (with command "zfs"). After doing both, the message is gone. rgds, PMc From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 13:19:54 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26991106564A for ; Sat, 25 Jul 2009 13:19:54 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id D67168FC14 for ; Sat, 25 Jul 2009 13:19:53 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.175.178.176] (helo=moosi) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1MUgi7-0003FT-MX; Sat, 25 Jul 2009 16:50:47 +0400 To: Luigi Rizzo References: <20090725013500.GC62402@onelab2.iet.unipi.it> <20090725073805.GA11455@abigail.blackend.org> <20090725115525.GA85767@onelab2.iet.unipi.it> From: Boris Samorodov Date: Sat, 25 Jul 2009 16:51:56 +0400 In-Reply-To: <20090725115525.GA85767@onelab2.iet.unipi.it> (Luigi Rizzo's message of "Sat\, 25 Jul 2009 13\:55\:25 +0200") Message-ID: <13015731@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: stable@freebsd.org Subject: Re: status of flash9/flash10 support in RELENG_7 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 13:19:54 -0000 Luigi Rizzo writes: > i see that for 8.x you suggest using fc10 Just FYI: it is a new default for current 8.x. -- WBR, bsam From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 13:34:49 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BE0D106566C for ; Sat, 25 Jul 2009 13:34:49 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 04CBE8FC19 for ; Sat, 25 Jul 2009 13:34:48 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.175.178.176] (helo=moosi) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1MUhOh-0003ny-R6; Sat, 25 Jul 2009 17:34:48 +0400 To: Marc Fonvieille References: <20090725013500.GC62402@onelab2.iet.unipi.it> <20090725073805.GA11455@abigail.blackend.org> <20090725115525.GA85767@onelab2.iet.unipi.it> <20090725123749.GA26505@abigail.blackend.org> From: Boris Samorodov Date: Sat, 25 Jul 2009 17:36:00 +0400 In-Reply-To: <20090725123749.GA26505@abigail.blackend.org> (Marc Fonvieille's message of "Sat\, 25 Jul 2009 14\:37\:49 +0200") Message-ID: <46928623@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: stable@freebsd.org, Luigi Rizzo Subject: Re: status of flash9/flash10 support in RELENG_7 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 13:34:49 -0000 Marc Fonvieille writes: > On Sat, Jul 25, 2009 at 01:55:25PM +0200, Luigi Rizzo wrote: >> i see that for 8.x you suggest using fc10, which is also something i >> tried on RELENG_7 but had similar symptoms. Is there any known reason >> why HEAD and RELENG_7 should be different in terms of linux_base support ? > > You should ask this question to bsam (CCed) which is our linux_base > expert. There are two cases here. The first one is resolving issue. I'm not sure if all the needed changes were done to RELENG_7 to let resolving work with linux_base-f10. If any linux port/application that uses resolving (i.e. www/linux-firefox) work at RELENG_7 then an MFC has been done. But that issue should not influence flashplugin. The second one (an absence of some syscalls) will not be resolved at RELENG_7 due to an ABI changes. I'm not aware of linux applications affected though. May be it's print/acroread9 but I'm not sure. As for the original question. I don't use flash so can't be very helpful here. But there are reports at emulation@ ML that both linux-f8-flashplugin10 and linux-f10-flashplugin10 work better then flashplugin[7|9]. -- WBR, bsam From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 13:42:50 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDC3C1065688 for ; Sat, 25 Jul 2009 13:42:50 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8E3948FC1B for ; Sat, 25 Jul 2009 13:42:50 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Iain Michael Butler", Issuer "Protected Networks Certificate Authority" (verified OK)) (Authenticated sender: imb) by sarah.protected-networks.net (Postfix) with ESMTPSA id 351A4617A for ; Sat, 25 Jul 2009 09:42:49 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1248529369; bh=/5G9NZN4zmwjZ/peo8bk+G3O8WyV+U9ud2yzaOjVh8E=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=V45Mgv+J32SPWUgtFTSYzyAC51bi34e069KfkgI9dWqKwVgZO6lGtlyABZZHsJL4q KCB0S8kO3/+zzb6BijaJsieHOgL9Hebuy3u65t0wGCKGO2uFLuzD8DtPIG6wrFM DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=BG7qr9jgWjceyHhPMSjic6I/z/JD1kWZlp8tNYYrJHHbAOTUAq4wBQ0WDzsyYv10H Vu2iQwwKHeSYGyJGimH0hpgoWGswgg36tm8CL2YwCjfb6QBAoNRdmMkbPaRLg2d Message-ID: <4A6B0BD3.6040206@protected-networks.net> Date: Sat, 25 Jul 2009 09:42:43 -0400 From: Michael Butler User-Agent: Thunderbird 2.0.0.22 (X11/20090723) MIME-Version: 1.0 To: freebsd-stable X-Enigmail-Version: 0.96.0 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: regression with jexec? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 13:42:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 After a clean rebuild ('rm -rf /usr/obj/*') .. imb@aaron:/home/imb> uname -a FreeBSD aaron.protected-networks.net 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jul 25 05:39:55 EDT 2009 imb@aaron:/home/imb> jls JID IP Address Hostname Path [ .. ] 5 202.12.127.68 db.protected-networks.net /usr/local/jails/db.protected-networks.net imb@aaron:/home/imb> sudo jexec 5 tcsh jexec: Unable to parse jail ID.: No such file or directory Huh? imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkprC9MACgkQQv9rrgRC1JJ3KgCeLtnD97GwaDGnkUQ2QWBLjIqn hU4AmwSIgRBmCXaweI7MRi3sjAfS0gci =n2l2 -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 15:21:50 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83839106566C for ; Sat, 25 Jul 2009 15:21:50 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qy0-f191.google.com (mail-qy0-f191.google.com [209.85.221.191]) by mx1.freebsd.org (Postfix) with ESMTP id 3416A8FC08 for ; Sat, 25 Jul 2009 15:21:50 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by qyk29 with SMTP id 29so2872420qyk.3 for ; Sat, 25 Jul 2009 08:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=FSImNUh7m0sZMllQzaDM8TJyipxW12WubCpoAgtP9F0=; b=YoDdDVmqjSFE3HYm/+Ki2kRDwQ12z9ZJblSMgQDWelVWgJo/2WN8PB3ECOMgA1AbhK 0y08/x2gUfbKhRObujJA10xiWnbvoy40Z3Lq7Sg4Z5sv1qj2GYpFR6d7JTDPcVbVAkjj X2Z7VE2SX491ART7Sywj7B7g3s/ct0KTjZw00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=QA/wDE6PRmtCKk3Z397BPqYpDcYQ/zIDtJVJ0fdZH40ACGgc6mvuwSt5AJZGESP2a9 F9FP7KosNBPIfYWJWMjB7BWF0dXC2LAKF412lC74iICZUDPk8CrgUlHzxK6dohS7tQkP hkMKLhR853taxmYNFQZy7qVx72fHE8U7V7U0A= Received: by 10.224.45.149 with SMTP id e21mr4362888qaf.275.1248533431242; Sat, 25 Jul 2009 07:50:31 -0700 (PDT) Received: from kan.dnsalias.net (c-98-217-224-113.hsd1.ma.comcast.net [98.217.224.113]) by mx.google.com with ESMTPS id 4sm6901152qwe.47.2009.07.25.07.50.28 (version=SSLv3 cipher=RC4-MD5); Sat, 25 Jul 2009 07:50:30 -0700 (PDT) Date: Sat, 25 Jul 2009 10:50:20 -0400 From: Alexander Kabaev To: Boris Samorodov Message-ID: <20090725105020.66e281ee@kan.dnsalias.net> In-Reply-To: <46928623@ipt.ru> References: <20090725013500.GC62402@onelab2.iet.unipi.it> <20090725073805.GA11455@abigail.blackend.org> <20090725115525.GA85767@onelab2.iet.unipi.it> <20090725123749.GA26505@abigail.blackend.org> <46928623@ipt.ru> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/QTTM/tAnfFU2Bwu.jR0.zoi"; protocol="application/pgp-signature" Cc: stable@freebsd.org Subject: Re: status of flash9/flash10 support in RELENG_7 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 15:21:50 -0000 --Sig_/QTTM/tAnfFU2Bwu.jR0.zoi Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 25 Jul 2009 17:36:00 +0400 Boris Samorodov wrote: >=20 > As for the original question. I don't use flash so can't be very > helpful here. But there are reports at emulation@ ML that both > linux-f8-flashplugin10 and linux-f10-flashplugin10 work better > then flashplugin[7|9]. >=20 It does not work very well under Linux32 compat on -current - our futex implementation seems to be too broken and causes frequent deadlock and causes multiple threads to get stuck on process exit. One can easily collect dozens of those stuck processes doing causal web browsing. --=20 Alexander Kabaev --Sig_/QTTM/tAnfFU2Bwu.jR0.zoi Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iD8DBQFKaxuyQ6z1jMm+XZYRAt6sAJ47Glr60hpf9+dgQXSXSpws6JzO3wCffw4H mEAymedvzSpoZdW0N1QXFQY= =5AYF -----END PGP SIGNATURE----- --Sig_/QTTM/tAnfFU2Bwu.jR0.zoi-- From owner-freebsd-stable@FreeBSD.ORG Sat Jul 25 20:09:31 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23D2C106566C for ; Sat, 25 Jul 2009 20:09:31 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id D859C8FC08 for ; Sat, 25 Jul 2009 20:09:30 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 2B6BE1E002BD; Sat, 25 Jul 2009 21:53:18 +0200 (CEST) Received: from triton.kn-bremen.de (noident@localhost [127.0.0.1]) by triton.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n6PJp6aO060966; Sat, 25 Jul 2009 21:51:06 +0200 (CEST) (envelope-from nox@triton.kn-bremen.de) Received: (from nox@localhost) by triton.kn-bremen.de (8.14.3/8.14.3/Submit) id n6PJp5WW060965; Sat, 25 Jul 2009 21:51:05 +0200 (CEST) (envelope-from nox) Date: Sat, 25 Jul 2009 21:51:05 +0200 (CEST) From: Juergen Lock Message-Id: <200907251951.n6PJp5WW060965@triton.kn-bremen.de> To: rizzo@iet.unipi.it X-Newsgroups: local.list.freebsd.stable In-Reply-To: <20090725013500.GC62402@onelab2.iet.unipi.it> Organization: home Cc: stable@freebsd.org, malus.x@gmail.com Subject: Re: status of flash9/flash10 support in RELENG_7 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Jul 2009 20:09:31 -0000 In article <20090725013500.GC62402@onelab2.iet.unipi.it> you write: >Does anyone know what is the status of flash9 or flash10 in RELENG_7 ? >Following the thread of a couple of months ago, i tried to: >- remove all linux-* ports >- set the following in /etc/make.conf > OVERRIDE_LINUX_BASE_PORT=f8 > OVERRIDE_LINUX_NONBASE_PORTS=f8 >- set the following in /etc/sysctl.conf > compat.linux.osrelease=2.6.16 >- set the following in /etc/fstab > linproc /usr/compat/linux/proc linprocfs rw 0 0 >- reinstall linux_base-f8-8_11 >- reinstall linux-flashplugin-10.0r22 (which in turn brings in the > relevant linux-f8-* ports) > >- also install nspluginwrapper and create a firefox plugin >- upgrade firefox to firefox-3.5,1 (native), just in case >- run firefox with "limit stacksize 4megabytes" (or variants) > as recommended to avoid npviewer growing/not dying > >This was done on 3 different machines (one laptop with a centrino, >2 desktops with AMD X2 dual core running in i386 mode) with mixed >[in]success. On one machine thing started working well, but on the >other two they did not (the various packages were of course slightly >disaligned) and while trying to replicate the configuration i also >broke the good one without figuring out why. >Symptoms are that on certain sites or actions (e.g. switch to full >screen on youtube videos) i get firefox freezing like this > >22381 luigi 13 96 0 82580K 57484K ucond 1 0:00 0.20% firefox-bin >22413 luigi 1 97 0 72920K 33448K futex 1 0:00 0.20% npviewer.bin >22414 luigi 1 97 0 72920K 33448K futex 1 0:00 0.20% npviewer.bin > >and recovering control (but no video) after 10+seconds > >I also get a lot of the following weak_unref warnings with various addresses > >(firefox-bin:22381): GLib-GObject-WARNING **: IA__g_object_weak_unref: couldn't find weak ref 0x297ba9f0(0x2a10d110) > >(but not sure how related is this, because it happens even without a >flash plugin). > >I have also tried flash9 instead of flash10, o fc10 instead of fc8, >all with similar results. > >Is there a recipe for a working flas9 or flash10 operation ? Hmm. All I can say is I'm not sure I can even remember flash hanging since I lowered the stack limit using this nspluginwrapper patch: http://docs.freebsd.org/cgi/mid.cgi?20090630184146.GA39346 (btw still no words from the nspluginwrappper port maintainer about this, or I missed them? Cc'd again...) _When_ flash hung, I usually got it back to running by doing `killall npviewer.bin' and optionally quitting ff and doing `rm /tmp/_org_wrapper_NSPlugins_libflashplayer.so*' and then restarting the browser. (If you don't do that, remaining npviewer.bin processes might interfere with later ff sessions making flash appear more broken than it really is...) HTH, Juergen