From owner-freebsd-current@FreeBSD.ORG Sun May 21 04:04:21 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id D720416A423 for ; Sun, 21 May 2006 04:04:20 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: current@freebsd.org Date: Sun, 21 May 2006 12:04:10 +0800 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605211204.10259.davidxu@freebsd.org> Cc: Subject: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 04:04:21 -0000 It is very weired that on AMD64, bind() can not bind to local address, the following code prints out "bind(): Can't assign requested address". David Xu --- include #include #include int main() { struct sockaddr_in addr; int s; s = socket(AF_INET, SOCK_STREAM, 0); if (s == -1) { perror("socket()"); return (1); } addr.sin_family = AF_INET; addr.sin_port = htons(9000); addr.sin_addr.s_addr = inet_addr("127.0.0.1"); if (bind(s, (struct sockaddr *)&addr, sizeof(addr))) { perror("bind()"); return (2); } close(s); return (0); } From owner-freebsd-current@FreeBSD.ORG Sun May 21 04:32:58 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA8F016A41F; Sun, 21 May 2006 04:32:57 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D53C443D45; Sun, 21 May 2006 04:32:56 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k4L4WolY057743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 May 2006 07:32:50 +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.13.6/8.13.6) with ESMTP id k4L4WogN038867; Sun, 21 May 2006 07:32:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k4L4WnEM038866; Sun, 21 May 2006 07:32:49 +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: Sun, 21 May 2006 07:32:49 +0300 From: Kostik Belousov To: David Xu Message-ID: <20060521043249.GF54541@deviant.kiev.zoral.com.ua> References: <200605211204.10259.davidxu@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lkTb+7nhmha7W+c3" Content-Disposition: inline In-Reply-To: <200605211204.10259.davidxu@freebsd.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on fw.zoral.com.ua Cc: current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 04:32:58 -0000 --lkTb+7nhmha7W+c3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 21, 2006 at 12:04:10PM +0800, David Xu wrote: > It is very weired that on AMD64, bind() can not bind to local address, > the following code prints out "bind(): Can't assign requested address". >=20 > David Xu > --- >=20 >=20 > include > #include > #include >=20 > int main() > { > struct sockaddr_in addr; > int s; >=20 > s =3D socket(AF_INET, SOCK_STREAM, 0); > if (s =3D=3D -1) { > perror("socket()"); > return (1); > } >=20 > addr.sin_family =3D AF_INET; > addr.sin_port =3D htons(9000); > addr.sin_addr.s_addr =3D inet_addr("127.0.0.1"); >=20 > if (bind(s, (struct sockaddr *)&addr, sizeof(addr))) { > perror("bind()"); > return (2); > } >=20 > close(s); > return (0); > } I tried your code on the amd64% uname -a FreeBSD amd64.kiev.zoral.com.ua 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Fri May= 12 12:05:38 UTC 2006 root@:/mnt/bsd/obj/amd64/usr/bsd/src/sys/GENERIC = amd64 and did not receive any errors. Could it be that you have lo0 misconfigured= ? What ifconfig -a show ? --lkTb+7nhmha7W+c3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEb+1wC3+MBN1Mb4gRAuSiAJ9TFwqAYdDJjAJRlIWgH7wa7vKoRgCgiuMJ V19eHzIHk/pLLoO1dM2nrAY= =Rhm+ -----END PGP SIGNATURE----- --lkTb+7nhmha7W+c3-- From owner-freebsd-current@FreeBSD.ORG Sun May 21 04:34:41 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id D30C916A455; Sun, 21 May 2006 04:34:40 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: Kostik Belousov Date: Sun, 21 May 2006 12:34:30 +0800 User-Agent: KMail/1.8.2 References: <200605211204.10259.davidxu@freebsd.org> <20060521043249.GF54541@deviant.kiev.zoral.com.ua> In-Reply-To: <20060521043249.GF54541@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605211234.30224.davidxu@freebsd.org> Cc: current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 04:34:41 -0000 On Sunday 21 May 2006 12:32, Kostik Belousov wrote: > I tried your code on the > > amd64% uname -a > FreeBSD amd64.kiev.zoral.com.ua 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Fri May > 12 12:05:38 UTC 2006 root@:/mnt/bsd/obj/amd64/usr/bsd/src/sys/GENERIC > amd64 > > and did not receive any errors. Could it be that you have lo0 misconfigured > ? What ifconfig -a show ? I am trying it on -CURRENT, and found lo0 does not have an address, what can cause this ? David Xu From owner-freebsd-current@FreeBSD.ORG Sun May 21 05:19:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB41116A423 for ; Sun, 21 May 2006 05:19:58 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81F3D43D45 for ; Sun, 21 May 2006 05:19:58 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so735211wxd for ; Sat, 20 May 2006 22:19:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PvlHsS8NLST0LQjQkhkPku7wBZ4WZVzv5VheLOeIIrGEh4vEfeLbTKkNj8WsT/m/Oh5h5Xg2cuIm9lCsHnKDOIxwixTRAYzVHX4x4d81uXsA+b3aPsSkOCWbMag9xriYquvNSIgG9fGzMhon8dJ1KpUP+Oak1J/2gEDm5c0diIY= Received: by 10.70.11.10 with SMTP id 10mr3869627wxk; Sat, 20 May 2006 22:19:58 -0700 (PDT) Received: by 10.70.71.2 with HTTP; Sat, 20 May 2006 22:19:58 -0700 (PDT) Message-ID: Date: Sat, 20 May 2006 22:19:58 -0700 From: "Kip Macy" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 05:20:21 -0000 I'm proud to announce that FreeBSD on the T1 is now stable enough that it can "make buildworld" natively. The source is currently available in perforce under the view //depot/projects/kmacy_sun4v/... I probably won't roll it back into CVS until the logical domaining support is done. I'm looking forward to receiving input from individuals who plan to deploy it to find out what workloads to target in performance tuning. -Kip From owner-freebsd-current@FreeBSD.ORG Sun May 21 05:30:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16E7416A420 for ; Sun, 21 May 2006 05:30:53 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2955443D48 for ; Sun, 21 May 2006 05:30:52 +0000 (GMT) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id BB8F2EB095D; Sun, 21 May 2006 13:30:50 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id NLp2bOYzi3ZO; Sun, 21 May 2006 13:30:48 +0800 (CST) Received: from [192.168.1.9] (unknown [61.51.108.194]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id B850BEB28B9; Sun, 21 May 2006 13:30:46 +0800 (CST) From: Xin LI To: kmacy@fsmware.com In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-MLQjg/D9YDf27Fp4c+Ur" Organization: The FreeBSD Project Date: Sun, 21 May 2006 13:30:42 +0800 Message-Id: <1148189442.2692.4.camel@spirit> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 05:30:53 -0000 --=-MLQjg/D9YDf27Fp4c+Ur Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Kip, =E5=9C=A8 2006-05-20=E5=85=AD=E7=9A=84 22:19 -0700=EF=BC=8CKip Macy=E5=86= =99=E9=81=93=EF=BC=9A > I'm proud to announce that FreeBSD on the T1 is now stable enough that > it can "make buildworld" natively. That's great news! Thanks for the hard work! > The source is currently available in perforce under the view > //depot/projects/kmacy_sun4v/... I probably won't roll it back into I will try to see if I can get access to an UltraSPARC T1 box at company to try this out. > CVS until the logical domaining support is done. I'm looking forward > to receiving input from individuals who plan to deploy it to find out > what workloads to target in performance tuning. I think that to encourage more tests, you would probably want to provide a downloadable copy of the output of "p4 diff" since we do not provide anonymous p4 access for outside developers (yet) :-) Cheers, --=20 Xin LI http://www.delphij.net/ --=-MLQjg/D9YDf27Fp4c+Ur Content-Type: application/pgp-signature; name=signature.asc Content-Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8=E5=88=86?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEb/sChcUczkLqiksRAgEBAKCP+mhIRayUbhywwn7j8anKVHkggACg7zhU FInC8v+5obq9PyhpBenWcV4= =9V0j -----END PGP SIGNATURE----- --=-MLQjg/D9YDf27Fp4c+Ur-- From owner-freebsd-current@FreeBSD.ORG Sun May 21 05:47:41 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4978B16A421; Sun, 21 May 2006 05:47:41 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id D34E243D46; Sun, 21 May 2006 05:47:40 +0000 (GMT) (envelope-from sobomax@sippysoft.com) Received: from sippysoft.com (localhost.360sip.com [127.0.0.1]) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4L5lddm083032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 May 2006 22:47:39 -0700 (PDT) (envelope-from sobomax@sippysoft.com) Received: (from sobomax@localhost) by sippysoft.com (8.13.6/8.13.6/Submit) id k4L5ldE0083031; Sat, 20 May 2006 22:47:39 -0700 (PDT) (envelope-from sobomax) Date: Sat, 20 May 2006 22:47:39 -0700 From: Maxim Sobolev To: David Xu Message-ID: <20060521054739.GA82826@gk.360sip.com> References: <200605211204.10259.davidxu@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605211204.10259.davidxu@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: current@FreeBSD.ORG Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 05:47:41 -0000 You forgot to bzero(3) addr. This is a common mistake - obviously it has nothing to do with AMD64. -Maxim On Sun, May 21, 2006 at 12:04:10PM +0800, David Xu wrote: > It is very weired that on AMD64, bind() can not bind to local address, > the following code prints out "bind(): Can't assign requested address". > > David Xu > --- > > > include > #include > #include > > int main() > { > struct sockaddr_in addr; > int s; > > s = socket(AF_INET, SOCK_STREAM, 0); > if (s == -1) { > perror("socket()"); > return (1); > } > > addr.sin_family = AF_INET; > addr.sin_port = htons(9000); > addr.sin_addr.s_addr = inet_addr("127.0.0.1"); > > if (bind(s, (struct sockaddr *)&addr, sizeof(addr))) { > perror("bind()"); > return (2); > } > > close(s); > return (0); > } > _______________________________________________ > 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" > From owner-freebsd-current@FreeBSD.ORG Sun May 21 05:50:59 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06E6916A45D; Sun, 21 May 2006 05:50:59 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CE7F43D73; Sun, 21 May 2006 05:50:50 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (hha77re95nsi8n08@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k4L5ooV0059594; Sat, 20 May 2006 22:50:50 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k4L5onHg059593; Sat, 20 May 2006 22:50:49 -0700 (PDT) (envelope-from jmg) Date: Sat, 20 May 2006 22:50:49 -0700 From: John-Mark Gurney To: David Xu Message-ID: <20060521055049.GE770@funkthat.com> Mail-Followup-To: David Xu , current@freebsd.org References: <200605211204.10259.davidxu@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605211204.10259.davidxu@freebsd.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 05:50:59 -0000 David Xu wrote this message on Sun, May 21, 2006 at 12:04 +0800: > It is very weired that on AMD64, bind() can not bind to local address, > the following code prints out "bind(): Can't assign requested address". [...] > struct sockaddr_in addr; [...] > addr.sin_family = AF_INET; > addr.sin_port = htons(9000); > addr.sin_addr.s_addr = inet_addr("127.0.0.1"); You also forgot to initalized sin_len... I personally have adopted the policy of using getsockaddr to initalize my addr's... that way if sockaddr grows any additional fields, hopefully the kernel's getsockaddr will properly fill them out for me... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-current@FreeBSD.ORG Sun May 21 05:53:36 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E84716A44D; Sun, 21 May 2006 05:53:36 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail21.syd.optusnet.com.au (mail21.syd.optusnet.com.au [211.29.133.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58B1343D45; Sun, 21 May 2006 05:53:35 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail21.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4L5rXLe030901 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 21 May 2006 15:53:33 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4L5rW1a017735; Sun, 21 May 2006 15:53:32 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4L5rW2N017734; Sun, 21 May 2006 15:53:32 +1000 (EST) (envelope-from peter) Date: Sun, 21 May 2006 15:53:32 +1000 From: Peter Jeremy To: David Xu Message-ID: <20060521055332.GE1587@turion.vk2pj.dyndns.org> References: <200605211204.10259.davidxu@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605211204.10259.davidxu@freebsd.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 05:53:36 -0000 On Sun, 2006-May-21 12:04:10 +0800, David Xu wrote: > struct sockaddr_in addr; ... > > addr.sin_family = AF_INET; > addr.sin_port = htons(9000); > addr.sin_addr.s_addr = inet_addr("127.0.0.1"); It's a good idea to assign sin_len as well. And, ideally, you would bzero the structure first. On Sun, 2006-May-21 12:34:30 +0800, David Xu wrote: >I am trying it on -CURRENT, and found lo0 does not have an address, what can >cause this ? There should be an ifconfig_lo0 in /etc/defaults/rc.conf which causes lo0 to be initialised via /etc/rc.d/netif and /etc/network.subr. Do you get any errors during boot? -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Sun May 21 06:00:41 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id D3AD716A426; Sun, 21 May 2006 06:00:40 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: Peter Jeremy Date: Sun, 21 May 2006 14:00:30 +0800 User-Agent: KMail/1.8.2 References: <200605211204.10259.davidxu@freebsd.org> <20060521055332.GE1587@turion.vk2pj.dyndns.org> In-Reply-To: <20060521055332.GE1587@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605211400.30163.davidxu@freebsd.org> Cc: current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 06:00:41 -0000 On Sunday 21 May 2006 13:53, Peter Jeremy wrote: > On Sun, 2006-May-21 12:04:10 +0800, David Xu wrote: > > struct sockaddr_in addr; > > ... > > > addr.sin_family = AF_INET; > > addr.sin_port = htons(9000); > > addr.sin_addr.s_addr = inet_addr("127.0.0.1"); > > It's a good idea to assign sin_len as well. And, ideally, you would > bzero the structure first. > > On Sun, 2006-May-21 12:34:30 +0800, David Xu wrote: > >I am trying it on -CURRENT, and found lo0 does not have an address, what > > can cause this ? > > There should be an ifconfig_lo0 in /etc/defaults/rc.conf which causes lo0 > to be initialised via /etc/rc.d/netif and /etc/network.subr. Do you get > any errors during boot? in fact, finally I found sysinstall only put nve0 in variable network_interfaces, this causes lo0 does not have an address assigned. David Xu From owner-freebsd-current@FreeBSD.ORG Sun May 21 06:07:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E94FA16A424; Sun, 21 May 2006 06:07:14 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru (mx.gfk.ru [84.21.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BD1E43D5A; Sun, 21 May 2006 06:07:12 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from demon.hhp.local by mx.gfk.ru (MDaemon.PRO.v8.1.4.R) with ESMTP id md50000230796.msg; Sun, 21 May 2006 10:07:09 +0400 Received: from dialup-chibis.gfk.ru ([10.0.6.45]) by demon.hhp.local with Microsoft SMTPSVC(5.0.2195.6713); Sun, 21 May 2006 10:07:05 +0400 Date: Sun, 21 May 2006 10:07:52 +0400 (MSD) From: Yuriy Tsibizov X-X-Sender: chibis@free.home.local To: sekes In-Reply-To: <53cc795f0605201022t1f87ab4jf25276ccbf724045@mail.gmail.com> Message-ID: <20060521095613.I777@free.home.local> References: <53cc795f0605201022t1f87ab4jf25276ccbf724045@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-OriginalArrivalTime: 21 May 2006 06:07:05.0809 (UTC) FILETIME=[C925FC10:01C67C9C] X-Spam-Processed: mx.gfk.ru, Sun, 21 May 2006 10:07:09 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.8 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-MDAV-Processed: mx.gfk.ru, Sun, 21 May 2006 10:07:10 +0400 Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 06:07:15 -0000 On Sat, 20 May 2006, sekes wrote: > On 5/20/06, Yuriy Tsibizov wrote: > > On Sat, 20 May 2006, sekes wrote: > > > i have this soundcard: > > EMU10000 Sound Blaster Live! (Also Live! 5.1) - OEM from > DELL - CT4780 > > > > i can test your driver, but it is not supported as i see :( > > may i hope of supporting dell oem cards by your driver in a > future? > > Can you try? I think it can work with emu10kx, there was some > yes it does. thanks. everything works fine except a liitle lack: rears > not producing any sound :) Did you set your sound player to use /dev/dsp1 for output? You will also need to use mixer -f /dev/mixer1 to control "rear" mixer. > > that's a dmesg: > emu10kx0: port 0xdf80-0xdf9f irq > 21 at device 13.0 on pci2 Do you really have this card or it is misdetected? > pcm0: on emu10kx0 > pcm0: > pcm1: on emu10kx0 > pcm2: on emu10kx0 > pcm3: on emu10kx0 > pci2: at device 13.1 (no driver attached) center / sub will not work on your card (for now). > sudo cat /dev/emu10kx0 > FreeBSD EMU10Kx Audio Driver > > Hardware resource usage: > DSP General Purpose Registers: 38 used, 256 total > DSP Instruction Registers: 54 used, 512 total > Card supports AC97 codec and 5.1 output, SBLive! DSP code > > Installed devices: > EMU10Kx DSP FRONT PCM Interface on pcm0 > EMU10Kx DSP REAR PCM Interface on pcm1 > EMU10Kx DSP CENTER PCM Interface on pcm2 > EMU10Kx DSP SUBWOOFER PCM Interface on pcm3 > EMU10Kx MIDI Interface > On-card connector on midi0 Hmm... I'll look on this too. There should be no MIDI related info, because you don't have midi device in dmesg. > IR reciever MIDI events disabled Thank you for your help, Yuriy From owner-freebsd-current@FreeBSD.ORG Sun May 21 06:20:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22E8016A53D for ; Sun, 21 May 2006 06:20:54 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id B44B143D45 for ; Sun, 21 May 2006 06:20:53 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id CEEF9170DE; Sun, 21 May 2006 06:20:49 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4L6Kmiw054271; Sun, 21 May 2006 08:20:48 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: kmacy@fsmware.com From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 20 May 2006 22:19:58 PDT." Date: Sun, 21 May 2006 08:20:47 +0200 Message-ID: <54270.1148192447@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 06:20:55 -0000 In message , "Kip Macy" writes: >I'm proud to announce that FreeBSD on the T1 is now stable enough that >it can "make buildworld" natively. Bravo! -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Sun May 21 07:17:45 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB6CD16A421 for ; Sun, 21 May 2006 07:17:45 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D14343D45 for ; Sun, 21 May 2006 07:17:45 +0000 (GMT) (envelope-from sobomax@sippysoft.com) Received: from sippysoft.com (localhost.360sip.com [127.0.0.1]) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4L7HhC7083897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 May 2006 00:17:43 -0700 (PDT) (envelope-from sobomax@sippysoft.com) Received: (from sobomax@localhost) by sippysoft.com (8.13.6/8.13.6/Submit) id k4L7Hhwo083896; Sun, 21 May 2006 00:17:43 -0700 (PDT) (envelope-from sobomax) Date: Sun, 21 May 2006 00:17:43 -0700 From: Maxim Sobolev To: Poul-Henning Kamp Message-ID: <20060521071743.GB82826@gk.360sip.com> References: <54270.1148192447@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54270.1148192447@critter.freebsd.dk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@FreeBSD.ORG, kmacy@fsmware.com Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 07:17:45 -0000 Perhaps it deservers an entry on the newsflash page? -Maxim On Sun, May 21, 2006 at 08:20:47AM +0200, Poul-Henning Kamp wrote: > In message , "Kip > Macy" writes: > >I'm proud to announce that FreeBSD on the T1 is now stable enough that > >it can "make buildworld" natively. > > Bravo! > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > _______________________________________________ > 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" > From owner-freebsd-current@FreeBSD.ORG Sun May 21 07:20:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3FA016A438 for ; Sun, 21 May 2006 07:20:15 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01D0E43D45 for ; Sun, 21 May 2006 07:20:14 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by wx-out-0102.google.com with SMTP id i30so446085wxd for ; Sun, 21 May 2006 00:20:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dYv52/gNw+ZDDPqQ+EXX4282b4T2Moe8HXoZlhouieu+rJ5pscQxsYT0FqNAQkuazv9XalFB3+UM28VgKgMrU9BajKex+loHk8LPCVO8UED0Vb6/7zX2Zm8YJj0mCj+TyGeYGmolB7lFedaplFotjQw96Xx2Z8Dn6s8xNHO0kvI= Received: by 10.70.76.17 with SMTP id y17mr3921663wxa; Sun, 21 May 2006 00:20:14 -0700 (PDT) Received: by 10.70.71.2 with HTTP; Sun, 21 May 2006 00:20:14 -0700 (PDT) Message-ID: Date: Sun, 21 May 2006 00:20:14 -0700 From: "Kip Macy" To: "Maxim Sobolev" In-Reply-To: <20060521071743.GB82826@gk.360sip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <54270.1148192447@critter.freebsd.dk> <20060521071743.GB82826@gk.360sip.com> Cc: Poul-Henning Kamp , freebsd-current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 07:20:16 -0000 If Linux can get a CNET article about just partially booting on the T1 I think that FreeBSD can add a couple of lines to its own website :-). -Kip On 5/21/06, Maxim Sobolev wrote: > Perhaps it deservers an entry on the newsflash page? > > -Maxim > > On Sun, May 21, 2006 at 08:20:47AM +0200, Poul-Henning Kamp wrote: > > In message , "Kip > > Macy" writes: > > >I'm proud to announce that FreeBSD on the T1 is now stable enough that > > >it can "make buildworld" natively. > > > > Bravo! > > > > -- > > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > > phk@FreeBSD.ORG | TCP/IP since RFC 956 > > FreeBSD committer | BSD since 4.3-tahoe > > Never attribute to malice what can adequately be explained by incompete= nce. > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" > > > From owner-freebsd-current@FreeBSD.ORG Sun May 21 08:06:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id D186416A420; Sun, 21 May 2006 08:06:53 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: Rostislav Krasny Date: Sun, 21 May 2006 16:06:43 +0800 User-Agent: KMail/1.8.2 References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <20060519210105.d4418b6f.rosti.bsd@gmail.com> <20060520012653.41cf7366.rosti.bsd@gmail.com> In-Reply-To: <20060520012653.41cf7366.rosti.bsd@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200605211606.43381.davidxu@freebsd.org> Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Cc: Igor Sysoev , Colin Percival , freebsd-current@freebsd.org Subject: Re: [PATCH] FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 08:06:54 -0000 On Saturday 20 May 2006 06:26, Rostislav Krasny wrote: > Ok, there is the patch. Attached to this email. I tested it on my i386 > 6.1-STABLE with GENERIC and with custom MYKERNEL. MYKERNEL doesn't have > "options CPU_FXSAVE_LEAK" and it also attached to this email. I changed > FXSAVE_LEAK to CPU_FXSAVE_LEAK for consistency with other CPU_* options. > I don't have any amd64 machine, so I didn't test this patch on that > architecture. Could somebody with amd64 test it? > > By the way, following command could be used to check how kernel has > been compiled, regarding the CPU_FXSAVE_LEAK option: > > objdump -x /boot/kernel/kernel | grep fpu_clean_state The patch looks fine to me, but can it be CPU_FXSAVE_NOLEAK ? so only people know the problem will turn it on. David Xu From owner-freebsd-current@FreeBSD.ORG Sun May 21 08:40:06 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 820F116A420; Sun, 21 May 2006 08:40:05 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: Peter Jeremy Date: Sun, 21 May 2006 16:39:54 +0800 User-Agent: KMail/1.8.2 References: <200605211204.10259.davidxu@freebsd.org> <20060521055332.GE1587@turion.vk2pj.dyndns.org> <200605211400.30163.davidxu@freebsd.org> In-Reply-To: <200605211400.30163.davidxu@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200605211639.54343.davidxu@freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 08:40:06 -0000 On Sunday 21 May 2006 14:00, David Xu wrote: > in fact, finally I found sysinstall only put nve0 in variable > network_interfaces, this causes lo0 does not have an address assigned. > > David Xu Sorry for misleading, I finally found the culprit, it is gnome Networking Setting dialog, if you use it, it will write network_interfaces into /etc/rc.conf, but it ignores lo0, so next time when you reboot your machine, the lo0 adaptive does not have an address, now I can reproduce it on another machine, there is a line in my rc.conf file: network_interfaces=fxp0 but no lo0 David Xu From owner-freebsd-current@FreeBSD.ORG Sun May 21 08:49:41 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3757616A420 for ; Sun, 21 May 2006 08:49:41 +0000 (UTC) (envelope-from michal.vanco@satro.sk) Received: from mail.satronet.sk (mail.satronet.sk [217.144.16.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id B308F43D48 for ; Sun, 21 May 2006 08:49:40 +0000 (GMT) (envelope-from michal.vanco@satro.sk) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.satronet.sk (Postfix) with ESMTP id C1E0B1606A986 for ; Sun, 21 May 2006 10:49:37 +0200 (CEST) Received: from mail.satronet.sk ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06246-03-2 for ; Sun, 21 May 2006 10:49:35 +0200 (CEST) Received: from [192.168.0.10] (misko.satronet.sk [217.144.17.91]) (using SSLv3 with cipher EXP1024-RC4-SHA (56/128 bits)) (No client certificate requested) by mail.satronet.sk (Postfix) with ESMTP id 605301606759C for ; Sun, 21 May 2006 10:49:34 +0200 (CEST) From: Michal =?utf-8?q?Van=C4=8Do?= Organization: Satro, s.r.o. To: freebsd-current@freebsd.org Date: Sun, 21 May 2006 10:49:29 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4219440.aR5H8hgdfa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605211049.33097.michal.vanco@satro.sk> X-Virus-Scanned: by amavisd-new-20030616-p10 at satronet.sk Subject: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 08:49:41 -0000 --nextPart4219440.aR5H8hgdfa Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I have problem with my Atheros 5212 based 802.11/bg card. After I insert th= e=20 card into PCMCIA slot on my laptop, I get this: cbb0: card inserted: event=3D0x00000000, state=3D30000820 cbb0: cbb_power: 3V cbb0: cbb_power: 0V =2E.. and the card doesn't work of course. My PCMCIA is: cbb0: irq 11 at device 10.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 It is strange because, everything works fine under Linux even under Windows= =2E=20 The only problem is FreeBSD. My version is: # uname -a =46reeBSD silver 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UT= C=20 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Is there any way how to fix this? regards, Michal --nextPart4219440.aR5H8hgdfa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEcCmdcNQdtX6Dm/0RAtT1AJwLF7Y0PKYsOw15VJaiNCmUlR16+wCgyTlT XZ2He1u+/cMycbcHDg+P/W0= =mSy0 -----END PGP SIGNATURE----- --nextPart4219440.aR5H8hgdfa-- From owner-freebsd-current@FreeBSD.ORG Sun May 21 08:56:38 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9695016A438; Sun, 21 May 2006 08:56:38 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail12.syd.optusnet.com.au (mail12.syd.optusnet.com.au [211.29.132.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF47043D70; Sun, 21 May 2006 08:56:37 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail12.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4L8uaWg010462 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 21 May 2006 18:56:36 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4L8ua6g018257; Sun, 21 May 2006 18:56:36 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4L8uasv018256; Sun, 21 May 2006 18:56:36 +1000 (EST) (envelope-from peter) Date: Sun, 21 May 2006 18:56:36 +1000 From: Peter Jeremy To: David Xu Message-ID: <20060521085636.GH1587@turion.vk2pj.dyndns.org> References: <200605211204.10259.davidxu@freebsd.org> <20060521055332.GE1587@turion.vk2pj.dyndns.org> <200605211400.30163.davidxu@freebsd.org> <200605211639.54343.davidxu@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605211639.54343.davidxu@freebsd.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 08:56:43 -0000 On Sun, 2006-May-21 16:39:54 +0800, David Xu wrote: >Sorry for misleading, I finally found the culprit, it is gnome Networking >Setting dialog, if you use it, it will write network_interfaces >into /etc/rc.conf, but it ignores lo0, so next time when you reboot your >machine, the lo0 adaptive does not have an address, Nasty. I think that deserves a PR against the relevant piece of gnome. -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Sun May 21 08:59:21 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97D2316A481; Sun, 21 May 2006 08:59:21 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6F2943D53; Sun, 21 May 2006 08:59:18 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail07.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4L8xDM8020310 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 21 May 2006 18:59:14 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4L8xDld018279; Sun, 21 May 2006 18:59:13 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4L8xDRQ018278; Sun, 21 May 2006 18:59:13 +1000 (EST) (envelope-from peter) Date: Sun, 21 May 2006 18:59:13 +1000 From: Peter Jeremy To: Beech Rintoul Message-ID: <20060521085913.GI1587@turion.vk2pj.dyndns.org> References: <200605211204.10259.davidxu@freebsd.org> <200605211400.30163.davidxu@freebsd.org> <200605211639.54343.davidxu@freebsd.org> <200605210051.48906.beech@alaskaparadise.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IpbVkmxF4tDyP/Kb" Content-Disposition: inline In-Reply-To: <200605210051.48906.beech@alaskaparadise.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org, David Xu , current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 08:59:21 -0000 --IpbVkmxF4tDyP/Kb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 2006-May-21 00:51:31 -0800, Beech Rintoul wrote: >On Sunday 21 May 2006 00:39, David Xu wrote: >> network_interfaces=3Dfxp0 >> >> but no lo0 >Add the following to /etc/rc.conf manually: > >ifconfig_lo0=3D"inet 127.0.0.1"=20 That won't work because the network startup code is using network_interfaces as the authoritative list of network interfaces and will ignore ifconfig_lo= 0. --=20 Peter Jeremy --IpbVkmxF4tDyP/Kb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEcCvg/opHv/APuIcRAsTCAJwItY9lglRfLsTjGodh78n3h5B98QCcDfKw KjGx2uE+vUsCb61409zk+Rk= =FFXd -----END PGP SIGNATURE----- --IpbVkmxF4tDyP/Kb-- From owner-freebsd-current@FreeBSD.ORG Sun May 21 08:59:21 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97D2316A481; Sun, 21 May 2006 08:59:21 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6F2943D53; Sun, 21 May 2006 08:59:18 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail07.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4L8xDM8020310 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 21 May 2006 18:59:14 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4L8xDld018279; Sun, 21 May 2006 18:59:13 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4L8xDRQ018278; Sun, 21 May 2006 18:59:13 +1000 (EST) (envelope-from peter) Date: Sun, 21 May 2006 18:59:13 +1000 From: Peter Jeremy To: Beech Rintoul Message-ID: <20060521085913.GI1587@turion.vk2pj.dyndns.org> References: <200605211204.10259.davidxu@freebsd.org> <200605211400.30163.davidxu@freebsd.org> <200605211639.54343.davidxu@freebsd.org> <200605210051.48906.beech@alaskaparadise.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IpbVkmxF4tDyP/Kb" Content-Disposition: inline In-Reply-To: <200605210051.48906.beech@alaskaparadise.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org, David Xu , current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 08:59:21 -0000 --IpbVkmxF4tDyP/Kb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 2006-May-21 00:51:31 -0800, Beech Rintoul wrote: >On Sunday 21 May 2006 00:39, David Xu wrote: >> network_interfaces=3Dfxp0 >> >> but no lo0 >Add the following to /etc/rc.conf manually: > >ifconfig_lo0=3D"inet 127.0.0.1"=20 That won't work because the network startup code is using network_interfaces as the authoritative list of network interfaces and will ignore ifconfig_lo= 0. --=20 Peter Jeremy --IpbVkmxF4tDyP/Kb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEcCvg/opHv/APuIcRAsTCAJwItY9lglRfLsTjGodh78n3h5B98QCcDfKw KjGx2uE+vUsCb61409zk+Rk= =FFXd -----END PGP SIGNATURE----- --IpbVkmxF4tDyP/Kb-- From owner-freebsd-current@FreeBSD.ORG Sun May 21 09:37:03 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B32416A471; Sun, 21 May 2006 09:37:03 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from ms-dienst.rz.rwth-aachen.de (ms-1.rz.RWTH-Aachen.DE [134.130.3.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0ADB43D6D; Sun, 21 May 2006 09:36:49 +0000 (GMT) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from circe (circe.rz.RWTH-Aachen.DE [134.130.3.36]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IZM00IGY01ADI@ms-dienst.rz.rwth-aachen.de>; Sun, 21 May 2006 11:36:47 +0200 (MEST) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Sun, 21 May 2006 11:36:46 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.1/8.13.1/1) with ESMTP id k4L9ajfH011181; Sun, 21 May 2006 11:36:45 +0200 Received: from haakonia.hitnet.rwth-aachen.de ([137.226.181.92]) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1FhkMf-0002JE-Q1; Sun, 21 May 2006 11:36:45 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id B1F503F40B; Sun, 21 May 2006 11:36:44 +0200 (CEST) Date: Sun, 21 May 2006 11:36:43 +0200 From: Christian Brueffer In-reply-to: To: kmacy@fsmware.com Message-id: <20060521093642.GA1134@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; boundary=HlL+5n6rz5pIUxbD; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.11 X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <54270.1148192447@critter.freebsd.dk> <20060521071743.GB82826@gk.360sip.com> Cc: Poul-Henning Kamp , freebsd-current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 09:37:03 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 21, 2006 at 12:20:14AM -0700, Kip Macy wrote: > If Linux can get a CNET article about just partially booting on the T1 > I think that FreeBSD can add a couple of lines to its own website > :-). >=20 > -Kip Great news! Does the following look ok? Index: news.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /data/ncvs/freebsd/www/en/news/news.xml,v retrieving revision 1.398 diff -u -r1.398 news.xml --- news.xml 17 May 2006 21:13:37 -0000 1.398 +++ news.xml 21 May 2006 09:34:19 -0000 @@ -32,6 +32,22 @@ 5 =20 + 21 + + FreeBSD Self-Hosting on the Sun T1 Processor + +

FreeBSD is now able to complete a full run of the + "make buildworld" command on machines running the Sun T1 + processor with CoolThreads technology, and is thus self-hosting. + The code currently resides in the + FreeBSD Perforce revision control system and will be merged= to + the official CVS repository, once support for logical domaining + is complete

+
+
=20 + + 17

New committer: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BABBA16A422; Sun, 21 May 2006 09:55:16 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from ms-dienst.rz.rwth-aachen.de (ms-1.rz.RWTH-Aachen.DE [134.130.3.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id D848143D48; Sun, 21 May 2006 09:55:15 +0000 (GMT) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from circe (circe.rz.RWTH-Aachen.DE [134.130.3.36]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IZM00JJK0W2AV@ms-dienst.rz.rwth-aachen.de>; Sun, 21 May 2006 11:55:15 +0200 (MEST) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Sun, 21 May 2006 11:55:13 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.1/8.13.1/1) with ESMTP id k4L9tDHb013131; Sun, 21 May 2006 11:55:13 +0200 Received: from haakonia.hitnet.rwth-aachen.de ([137.226.181.92]) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1FhkeX-0002UF-MT; Sun, 21 May 2006 11:55:13 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id 84DF33F40B; Sun, 21 May 2006 11:55:13 +0200 (CEST) Date: Sun, 21 May 2006 11:55:13 +0200 From: Christian Brueffer In-reply-to: <20060521093642.GA1134@haakonia.hitnet.RWTH-Aachen.DE> To: Christian Brueffer Message-id: <20060521095513.GC1134@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; boundary=UFHRwCdBEJvubb2X; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.11 X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <54270.1148192447@critter.freebsd.dk> <20060521071743.GB82826@gk.360sip.com> <20060521093642.GA1134@haakonia.hitnet.RWTH-Aachen.DE> Cc: Poul-Henning Kamp , freebsd-current@freebsd.org, kmacy@fsmware.com Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 09:55:16 -0000 --UFHRwCdBEJvubb2X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 21, 2006 at 11:36:43AM +0200, Christian Brueffer wrote: > On Sun, May 21, 2006 at 12:20:14AM -0700, Kip Macy wrote: > > If Linux can get a CNET article about just partially booting on the T1 > > I think that FreeBSD can add a couple of lines to its own website > > :-). > >=20 > > -Kip >=20 > Great news! Does the following look ok? >=20 New version after input from maxim@: Index: news.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /data/ncvs/freebsd/www/en/news/news.xml,v retrieving revision 1.398 diff -u -r1.398 news.xml --- news.xml 17 May 2006 21:13:37 -0000 1.398 +++ news.xml 21 May 2006 09:52:19 -0000 @@ -32,6 +32,23 @@ 5 =20 + 21 + + FreeBSD Self-Hosting on the Sun T1 Processor + +

FreeBSD is now able to complete a full run of the + "make buildworld" command on machines running the Sun T1 pr= ocessor + with CoolThreads technology, and is thus self-hosting. + The code currently resides in the + FreeBSD Perforce revision control system and will be merg= ed to + the official CVS repository, once support for logical domaining + is complete.

+
+
=20 + + 17

New committer: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 743D816A427 for ; Sun, 21 May 2006 10:22:15 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DEE843D5A for ; Sun, 21 May 2006 10:22:10 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k4LAM5KK079214 for ; Sun, 21 May 2006 14:22:05 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k4LAM5ms079213 for freebsd-current@freebsd.org; Sun, 21 May 2006 14:22:05 +0400 (MSD) (envelope-from yar) Date: Sun, 21 May 2006 14:22:05 +0400 From: Yar Tikhiy To: freebsd-current@freebsd.org Message-ID: <20060521102204.GB78879@comp.chem.msu.su> References: <20060518151232.GA37743@comp.chem.msu.su> <200605181819.k4IIJHL7001150@hardy.tmseck.homedns.org> <20060519085408.GB51604@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060519085408.GB51604@comp.chem.msu.su> User-Agent: Mutt/1.5.9i Subject: Re: Root FS corruption X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 10:22:15 -0000 On Fri, May 19, 2006 at 12:54:08PM +0400, Yar Tikhiy wrote: > On Thu, May 18, 2006 at 08:19:17PM +0200, Thomas-Martin Seck wrote: > > * Yar Tikhiy : > > > > > I saw the following / corruption in a fresh CURRENT when using > > > nextboot. Of course, it wasn't the fault of nextboot itself, > > > nextboot simply was the only utility to modify / in my case. > > > > > > I found the contents of nextboot.conf once in my custom /root/supfile, > > > the other time in the stock /etc/protocols. /etc/protocols was > > > large enough to see how the corruption had happened: the first > > > fragment, 2048 bytes, of the file was replaced by the contents of > > > nextboot.conf, zero padded. > > > > > > The / was a usual 2048/16384 UFS2 without soft-updates. The kernel > > > was GENERIC. Forced fsck reported no problems at all. The / had > > > never been dirty because I used nextboot to boot single-user with > > > all FSen read-only and investigate a panic unrelated to FS. > > > > > > Did any one see a similar problem of fragment mis-allocation? > > > > I experienced the exact same corruption some months ago with a RELENG_6 > > test system I update regularly. Unfortunately, this corruption happened > > only once, I was never able to reproduce it since. > > > > The kernel is a stripped down GENERIC, /root is a 2048/16384 UFS2 fs. > > Thank you for your reply! Apropos, today /boot/kernel/ng_fec.ko > fell a victim to the corruption in exactly the same way: its first > fragment was replaced by the nextboot.conf contents. The system > was updated last time on the day before yesterday. > > Of course, more / corruption is likely. The case of nextboot.conf > is just detectable easily. Thank Daemon, it's a test machine and > not a production server. I'm still trying to find a pattern in the > corruption. I've just tried to and reproduced the corruption immediately. The victim is ng_fec.ko again. Perhaps the file lies at a vulnerable spot. Attached is the typescript of my post-facto debug session involving ls -i and fsdb. A point to note is the proximity of ng_fec.ko and nextboot.conf: They are at adjacent blocks. Looks like an off-by-one bug, doesn't it? However, I can't imagine how the nextboot stuff gets written to _both_ /boot/nextboot.conf and the first fragment of ng_fec.ko. The fragment appears to have been written twice, to adjacent, yet different, locations. -- Yar # hd /boot/kernel/ng_fec.ko|head 00000000 6e 65 78 74 62 6f 6f 74 5f 65 6e 61 62 6c 65 3d |nextboot_enable=| 00000010 22 4e 4f 22 20 0a 6b 65 72 6e 65 6c 3d 22 54 45 |"NO" .kernel="TE| 00000020 53 54 22 0a 6b 65 72 6e 65 6c 5f 6f 70 74 69 6f |ST".kernel_optio| 00000030 6e 73 3d 22 2d 73 22 0a 00 00 00 00 00 00 00 00 |ns="-s".........| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000800 54 47 52 41 50 48 5f 4d 53 47 00 6d 6f 64 75 6c |TGRAPH_MSG.modul| 00000810 65 5f 72 65 67 69 73 74 65 72 5f 69 6e 69 74 00 |e_register_init.| 00000820 62 7a 65 72 6f 00 6e 67 5f 66 72 65 65 5f 69 74 |bzero.ng_free_it| 00000830 65 6d 00 69 66 5f 66 72 65 65 00 69 66 75 6e 69 |em.if_free.ifuni| # fsck -n / ** /dev/ad0s3a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1522 files, 53031 used, 73808 free (1016 frags, 9099 blocks, 0.8% fragmentation) # ls -li1 /boot/nextboot.conf /boot/kernel/ng_fec.ko 25693 /boot/kernel/ng_fec.ko 25610 /boot/nextboot.conf # fsdb -r /dev/ad0s3a ** /dev/ad0s3a (NO WRITE) Examining file system `/dev/ad0s3a' Last Mounted on / current inode: directory I=2 MODE=40755 SIZE=512 MTIME=May 19 17:44:35 2006 [0 nsec] CTIME=May 19 17:44:35 2006 [0 nsec] ATIME=May 21 13:36:54 2006 [0 nsec] OWNER=root GRP=wheel LINKCNT=20 FLAGS=0 BLKCNT=4 GEN=6c8c4dd5 fsdb (inum: 2)> inode 25610 current inode: regular file I=25610 MODE=100644 SIZE=56 MTIME=May 21 13:38:02 2006 [0 nsec] CTIME=May 21 13:38:02 2006 [0 nsec] ATIME=May 21 13:38:02 2006 [0 nsec] OWNER=root GRP=wheel LINKCNT=1 FLAGS=0 BLKCNT=4 GEN=7f9710d0 fsdb (inum: 25610)> blocks Blocks for inode 25610: Direct blocks: 129599 (1 frag) fsdb (inum: 25610)> inode 25693 current inode: regular file I=25693 MODE=100555 SIZE=12922 MTIME=May 19 13:36:50 2006 [0 nsec] CTIME=May 19 13:36:50 2006 [0 nsec] ATIME=May 21 13:36:56 2006 [0 nsec] OWNER=root GRP=wheel LINKCNT=1 FLAGS=0 BLKCNT=1c GEN=8b771c4 fsdb (inum: 25693)> blocks Blocks for inode 25693: Direct blocks: 129600 (7 frags) fsdb (inum: 25693)> q From owner-freebsd-current@FreeBSD.ORG Sun May 21 10:37:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A846216A423 for ; Sun, 21 May 2006 10:37:09 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE7AD43D45 for ; Sun, 21 May 2006 10:37:08 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k4LAb6DB079510 for ; Sun, 21 May 2006 14:37:07 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k4LAb6dx079509 for freebsd-current@freebsd.org; Sun, 21 May 2006 14:37:06 +0400 (MSD) (envelope-from yar) Date: Sun, 21 May 2006 14:37:06 +0400 From: Yar Tikhiy To: freebsd-current@freebsd.org Message-ID: <20060521103706.GC78879@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: kbdmux + ddb = hard freeze X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 10:37:09 -0000 Just to save other folks' time, I'd like to remind that using Ctrl+Alt+Esc to escape to ddb still leads to the system freezing hard if kbdmux is enabled--at least with a PS/2 keyboard. I had missed this issue when it was brought up here a month ago, so I spent some time to find why my system was hanging dead. Possible workarounds found: - remove kbdmux from the kernel configuration file - disable kbdmux in device.hints: hint.kbdmux.0.disabled="1" - go straight to remote gdb: sysctl debug.kdb.current=gdb sysctl debug.kdb.enter=1 -- Yar From owner-freebsd-current@FreeBSD.ORG Sun May 21 11:16:20 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A666E16A420 for ; Sun, 21 May 2006 11:16:20 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAEA943D49 for ; Sun, 21 May 2006 11:16:19 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so751624wxd for ; Sun, 21 May 2006 04:16:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gSeiCp77z8fRcU+cBiECh0W7EOU2M2OHTL3QpHqBBG9S1cJkv/ak+okKANzEMODCkwZkBS/Q1/Bnppgx0l7jDWCC4SGgiduz/r1YZsXR/X1dOGd0y09g+tliMvVNILraMuFHb/86KAS68w/7GNQC4VPxs4u13DDJ5FJg2LLbVIA= Received: by 10.70.46.9 with SMTP id t9mr1554860wxt; Sun, 21 May 2006 04:16:19 -0700 (PDT) Received: by 10.70.105.1 with HTTP; Sun, 21 May 2006 04:16:19 -0700 (PDT) Message-ID: <84dead720605210416y268f890end72848a9edc293b7@mail.gmail.com> Date: Sun, 21 May 2006 16:46:19 +0530 From: "Joseph Koshy" To: "Robert Watson" In-Reply-To: <20060520233201.B8068@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060520233201.B8068@fledge.watson.org> Cc: current@freebsd.org Subject: Re: PMC enters debugger with NMI on ctrl-C X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 11:16:20 -0000 > tiger-2# pmcstat -S unhalted-cycles -O /tmp/sample.out > ^CNMI ... going to debugger > [thread pid 898 tid 100175 ] > Stopped at p4_stop_pmc+0x70: movl $0,%eax > db> bt > Tracing pid 898 tid 100175 td 0xc765c360 > p4_stop_pmc(0,1,1,0,0) at p4_stop_pmc+0x70 > pmc_release_pmc_descriptor(c703ca00,c06c03f3,c1032860,c103cac8,e992fb18) = at > pmc_release_pmc_descriptor+0x61 > pmc_syscall_handler(c765c360,e992fd04,2,202,c09c07d8) at > pmc_syscall_handler+0xf6f > syscall(3b,3b,bfbf003b,0,8050ee0) at syscall+0x2ee > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (210, FreeBSD ELF32, pmc_syscall_handler), eip =3D 0x280d104d= , esp =3D > 0xbfbfe6e0, ebp =3D 0xbfbfe6f8 --- > db> > I'll leave it in the debugger overnight in case there's > anything useful to be done with it. There appears to be a race here and here is my guess as to how this is getting triggered. 0. An NMI is posted by the PMC and is in the process of working its way through the processors innards. 1. In the meantime, at p4_stop_pmc+0x6e, the CPU turns off the interrupting PMC by turning off its enable bit with a WRMSR instruction. This also zeroes the CCCR_OVF bits in that register. 2. The processor now takes its NMI interrupt at the boundary of the WRMSR instruction (at p4_stop_pmc+6e). The PMC handler p4_intr() doesn't find any PMC with a CCCR_OVF bit set and so assumes that the NMI wasn't caused by a PMC. It bounces the NMI to trap() which promptly panics. I need to think about this. Here is a work-around for now: Index: hwpmc_piv.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/FreeBSD/src/sys/dev/hwpmc/hwpmc_piv.c,v retrieving revision 1.13 diff -u -u -r1.13 hwpmc_piv.c --- hwpmc_piv.c 28 Mar 2006 14:09:21 -0000 1.13 +++ hwpmc_piv.c 21 May 2006 11:02:26 -0000 @@ -1698,7 +1698,7 @@ atomic_add_int(did_interrupt ? &pmc_stats.pm_intr_processed : &pmc_stats.pm_intr_ignored, 1); - return did_interrupt; + return 1; } > BTW, saw some oddness. I capture the PMC samples on one > box, and post-process on another. This results in the > following oddness: I used the above pmcstat command to > track unhalted-cycles on a Dual Xeon, then post-processed > on an amd64 box, so pmcstat generated gmon output with > the name p4-global-power-events. Perhaps pmcstat should > capture the event name in its data file so that when doing > later post-processing, it can use the names from the > machine the captures were on, rather than the names of the > machine the processing is being done on? It does this already. 'unhalted-cycles' is an alias that is converted to the machine specific PMC name at the time of data collection. Intel P4 Xeons alias unhalted-cycles to event 'p4-global-power-events'. On an amd64 'unhalted-cycles' maps to 'k8-bu-cpu-clk-unhalted'. --=20 FreeBSD Developer, http://people.freebsd.org/~jkoshy From owner-freebsd-current@FreeBSD.ORG Sun May 21 11:44:01 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D42EE16A422 for ; Sun, 21 May 2006 11:44:01 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EAFD43D48 for ; Sun, 21 May 2006 11:44:00 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:qiXl0d0tCT/vXJkmAbTQrxP4wF+kF5zfrMwgYl3J5XCDdbMsn807Hi2Edf82uI9w@kasuga-iwi.mahoroba.org [IPv6:2001:2f0:104:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.6/8.13.6) with ESMTP/inet6 id k4LBhtG8014426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 21 May 2006 20:43:55 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Sun, 21 May 2006 20:43:52 +0900 Message-ID: From: Hajimu UMEMOTO To: current@FreeBSD.org User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.5 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Sun, 21 May 2006 20:43:56 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on ameno.mahoroba.org Cc: Subject: HEADS UP: resolver's ABI backward compatibility was lost X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 11:44:01 -0000 Hi, I've just committed following things: 1) Upgrade res_update(3) and the friends to BIND9's one excluding TSIG support. 2) Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer is too short. This conforms to RFC3493, POSIX and XPG6. 3) Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1 on 64 bit arch. 4) Nuke some compatibility crufts of resolver for 6.X and earlier. 1) broke ABI backward compatibility of res_update(3) and the friends. 2) broke applications which see EAI_MEMORY as return code from getnameinfo(3). 3) broke ABI backward compatibility of gethostbyaddr(3) on 64 bit arch. 4) broke resolver's ABI backward compatibility against FreeBSD 6.X and earlier. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-current@FreeBSD.ORG Sun May 21 11:45:07 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7444416A41F; Sun, 21 May 2006 11:45:07 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7349A43D45; Sun, 21 May 2006 11:45:06 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:6KfSmU1Ci3Kc/B/pRlmap3Ohbrq8grL0eq+spTD7v/Os3sbz2Xmt+q6XW8EuDlsE@kasuga-iwi.mahoroba.org [IPv6:2001:2f0:104:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.6/8.13.6) with ESMTP/inet6 id k4LBj21B007773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 May 2006 20:45:02 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Sun, 21 May 2006 20:44:58 +0900 Message-ID: From: Hajimu UMEMOTO To: Hajimu UMEMOTO In-Reply-To: References: User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.5 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Sun, 21 May 2006 20:45:02 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on ameno.mahoroba.org Cc: Daniel Eischen , re@freebsd.org, current@freebsd.org Subject: Re: Shared library version bump? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 11:45:07 -0000 Hi, >>>>> On Sun, 14 May 2006 04:51:41 +0900 >>>>> Hajimu UMEMOTO said: >>>>> On Fri, 12 May 2006 13:44:58 -0400 (EDT) >>>>> Daniel Eischen said: > I wish to fix following things which break ABI backward compatibility > when libc version bump: > > - gethostbyaddr(3) prototype to conform to POSIX. > - Fix wrong usage of EAI_MEMORY in getnameinfo(). It needs to > return EAI_OVERFLOW. > - Update res_update() and friends to BIND9's one. > - Nuke some compatibility crufts for 6.X and earlier. deischen> Go ahead. Just realize though, that after 7.0 is released deischen> you will have to support any ABI from then on without version deischen> bumps (meaning, you have to keep shims for any old 7.0+ ABIs deischen> in libc). ume> Okay, I'll do. Done. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-current@FreeBSD.ORG Sun May 21 12:01:20 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14ECD16A422 for ; Sun, 21 May 2006 12:01:20 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42ECC43D46 for ; Sun, 21 May 2006 12:01:17 +0000 (GMT) (envelope-from dominique.goncalves@gmail.com) Received: by nz-out-0102.google.com with SMTP id l8so763479nzf for ; Sun, 21 May 2006 05:01:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tem56vZDbb2VQWHZzrxxwdV0d2dq2TJ2xYtK87b99IrwRhJwpgNv9EEPowBLrFymalPbezK4J8tQuJIqZsONaUoPLZxs0lL9allssa8alH5iJFZyzfkFjC0rRaXudnKCGmjKcFOwtU2XUA7qxjwLuIYifAbsn5mtd1ETaYlRr2g= Received: by 10.36.42.10 with SMTP id p10mr4609038nzp; Sun, 21 May 2006 05:01:16 -0700 (PDT) Received: by 10.36.177.6 with HTTP; Sun, 21 May 2006 05:01:16 -0700 (PDT) Message-ID: <7daacbbe0605210501m68b30568tc5f766074f5431e6@mail.gmail.com> Date: Sun, 21 May 2006 14:01:16 +0200 From: "Dominique Goncalves" To: "Yar Tikhiy" In-Reply-To: <20060521103706.GC78879@comp.chem.msu.su> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060521103706.GC78879@comp.chem.msu.su> Cc: freebsd-current@freebsd.org Subject: Re: kbdmux + ddb = hard freeze X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 12:01:20 -0000 Hi, On 5/21/06, Yar Tikhiy wrote: > Just to save other folks' time, I'd like to remind that using > Ctrl+Alt+Esc to escape to ddb still leads to the system freezing > hard if kbdmux is enabled--at least with a PS/2 keyboard. I had > missed this issue when it was brought up here a month ago, so I > spent some time to find why my system was hanging dead. Possible > workarounds found: > > - remove kbdmux from the kernel configuration file > > - disable kbdmux in device.hints: > hint.kbdmux.0.disabled=3D"1" > > - go straight to remote gdb: > sysctl debug.kdb.current=3Dgdb > sysctl debug.kdb.enter=3D1 There is a patch here http://lists.freebsd.org/pipermail/freebsd-current/2006-April/062615.html HTH > -- > Yar > _______________________________________________ > 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= " > Regards. --=20 There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life." From owner-freebsd-current@FreeBSD.ORG Sun May 21 12:39:36 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4513F16A421; Sun, 21 May 2006 12:39:36 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5BC743D45; Sun, 21 May 2006 12:39:35 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k4LCdYxP024363; Sun, 21 May 2006 08:39:34 -0400 (EDT) Date: Sun, 21 May 2006 08:39:34 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Hajimu UMEMOTO In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: re@freebsd.org, current@freebsd.org Subject: Re: Shared library version bump? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 12:39:36 -0000 On Sun, 21 May 2006, Hajimu UMEMOTO wrote: > Hi, > >>>>>> On Sun, 14 May 2006 04:51:41 +0900 >>>>>> Hajimu UMEMOTO said: > >>>>>> On Fri, 12 May 2006 13:44:58 -0400 (EDT) >>>>>> Daniel Eischen said: > >> I wish to fix following things which break ABI backward compatibility >> when libc version bump: >> >> - gethostbyaddr(3) prototype to conform to POSIX. >> - Fix wrong usage of EAI_MEMORY in getnameinfo(). It needs to >> return EAI_OVERFLOW. >> - Update res_update() and friends to BIND9's one. >> - Nuke some compatibility crufts for 6.X and earlier. > > deischen> Go ahead. Just realize though, that after 7.0 is released > deischen> you will have to support any ABI from then on without version > deischen> bumps (meaning, you have to keep shims for any old 7.0+ ABIs > deischen> in libc). > > ume> Okay, I'll do. > > Done. That's great, but we haven't had a library version bump yet ;-) -- DE From owner-freebsd-current@FreeBSD.ORG Sun May 21 08:51:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2E4016A420; Sun, 21 May 2006 08:51:54 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from pinnacle.akherb.com (60-105-237-24.gci.net [24.237.105.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36B4D43D46; Sun, 21 May 2006 08:51:53 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id 8BBDB5CDA; Sun, 21 May 2006 00:51:53 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 Received: from [192.168.241.104] (7-137-58-66.gci.net [66.58.137.7]) by pinnacle.akherb.com (Postfix) with ESMTP id E5F8F5C0F; Sun, 21 May 2006 00:51:50 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: freebsd-current@freebsd.org Date: Sun, 21 May 2006 00:51:31 -0800 User-Agent: KMail/1.9.1 References: <200605211204.10259.davidxu@freebsd.org> <200605211400.30163.davidxu@freebsd.org> <200605211639.54343.davidxu@freebsd.org> In-Reply-To: <200605211639.54343.davidxu@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1711697.kDTM3eWT7P"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605210051.48906.beech@alaskaparadise.com> X-Mailman-Approved-At: Sun, 21 May 2006 14:25:04 +0000 Cc: Peter Jeremy , David Xu , current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 08:51:54 -0000 --nextPart1711697.kDTM3eWT7P Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 21 May 2006 00:39, David Xu wrote: > On Sunday 21 May 2006 14:00, David Xu wrote: > > in fact, finally I found sysinstall only put nve0 in variable > > network_interfaces, this causes lo0 does not have an address assigned. > > > > David Xu > > Sorry for misleading, I finally found the culprit, it is gnome Networking > Setting dialog, if you use it, it will write network_interfaces > into /etc/rc.conf, but it ignores lo0, so next time when you reboot your > machine, the lo0 adaptive does not have an address, now I can > reproduce it on another machine, there is a line in my rc.conf file: > > network_interfaces=3Dfxp0 > > but no lo0 > > David Xu Add the following to /etc/rc.conf manually: ifconfig_lo0=3D"inet 127.0.0.1"=20 Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart1711697.kDTM3eWT7P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEcCokp5D0B1NlT4URAk2PAJ9sMmBQDi0LRVx5QtgNhENVpzyy5QCghseU k+YYWju8eCJ+ROPj2kangyk= =cuKY -----END PGP SIGNATURE----- --nextPart1711697.kDTM3eWT7P-- From owner-freebsd-current@FreeBSD.ORG Sun May 21 08:51:54 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2E4016A420; Sun, 21 May 2006 08:51:54 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from pinnacle.akherb.com (60-105-237-24.gci.net [24.237.105.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36B4D43D46; Sun, 21 May 2006 08:51:53 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id 8BBDB5CDA; Sun, 21 May 2006 00:51:53 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 Received: from [192.168.241.104] (7-137-58-66.gci.net [66.58.137.7]) by pinnacle.akherb.com (Postfix) with ESMTP id E5F8F5C0F; Sun, 21 May 2006 00:51:50 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: freebsd-current@freebsd.org Date: Sun, 21 May 2006 00:51:31 -0800 User-Agent: KMail/1.9.1 References: <200605211204.10259.davidxu@freebsd.org> <200605211400.30163.davidxu@freebsd.org> <200605211639.54343.davidxu@freebsd.org> In-Reply-To: <200605211639.54343.davidxu@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1711697.kDTM3eWT7P"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605210051.48906.beech@alaskaparadise.com> X-Mailman-Approved-At: Sun, 21 May 2006 14:25:16 +0000 Cc: Peter Jeremy , David Xu , current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 08:51:54 -0000 --nextPart1711697.kDTM3eWT7P Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 21 May 2006 00:39, David Xu wrote: > On Sunday 21 May 2006 14:00, David Xu wrote: > > in fact, finally I found sysinstall only put nve0 in variable > > network_interfaces, this causes lo0 does not have an address assigned. > > > > David Xu > > Sorry for misleading, I finally found the culprit, it is gnome Networking > Setting dialog, if you use it, it will write network_interfaces > into /etc/rc.conf, but it ignores lo0, so next time when you reboot your > machine, the lo0 adaptive does not have an address, now I can > reproduce it on another machine, there is a line in my rc.conf file: > > network_interfaces=3Dfxp0 > > but no lo0 > > David Xu Add the following to /etc/rc.conf manually: ifconfig_lo0=3D"inet 127.0.0.1"=20 Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart1711697.kDTM3eWT7P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEcCokp5D0B1NlT4URAk2PAJ9sMmBQDi0LRVx5QtgNhENVpzyy5QCghseU k+YYWju8eCJ+ROPj2kangyk= =cuKY -----END PGP SIGNATURE----- --nextPart1711697.kDTM3eWT7P-- From owner-freebsd-current@FreeBSD.ORG Sun May 21 09:05:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D604A16A5B3; Sun, 21 May 2006 09:05:27 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from pinnacle.akherb.com (60-105-237-24.gci.net [24.237.105.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69ABC43D46; Sun, 21 May 2006 09:05:27 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id 260F55CDA; Sun, 21 May 2006 01:05:27 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 Received: from [192.168.241.104] (7-137-58-66.gci.net [66.58.137.7]) by pinnacle.akherb.com (Postfix) with ESMTP id 7AA1B5C0F; Sun, 21 May 2006 01:05:26 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: Peter Jeremy Date: Sun, 21 May 2006 01:05:20 -0800 User-Agent: KMail/1.9.1 References: <200605211204.10259.davidxu@freebsd.org> <200605210051.48906.beech@alaskaparadise.com> <20060521085913.GI1587@turion.vk2pj.dyndns.org> In-Reply-To: <20060521085913.GI1587@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2465914.Az4Qy9SSem"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605210105.24641.beech@alaskaparadise.com> X-Mailman-Approved-At: Sun, 21 May 2006 14:26:08 +0000 Cc: freebsd-current@freebsd.org, David Xu , current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 09:05:28 -0000 --nextPart2465914.Az4Qy9SSem Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 21 May 2006 00:59, Peter Jeremy wrote: > On Sun, 2006-May-21 00:51:31 -0800, Beech Rintoul wrote: > >On Sunday 21 May 2006 00:39, David Xu wrote: > >> network_interfaces=3Dfxp0 > >> > >> but no lo0 > > > >Add the following to /etc/rc.conf manually: > > > >ifconfig_lo0=3D"inet 127.0.0.1" > > That won't work because the network startup code is using > network_interfaces as the authoritative list of network interfaces and wi= ll > ignore ifconfig_lo0. Sounds bad you should probably file a pr. That's going to bite a lot of=20 people. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart2465914.Az4Qy9SSem Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEcC1Up5D0B1NlT4URApzsAJ9YdWIAN6svS02jGk48E+bvSnIEAACeLIzA PM2cVuRJyOZxmGAywSLjMHI= =Ljql -----END PGP SIGNATURE----- --nextPart2465914.Az4Qy9SSem-- From owner-freebsd-current@FreeBSD.ORG Sun May 21 09:05:27 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D604A16A5B3; Sun, 21 May 2006 09:05:27 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from pinnacle.akherb.com (60-105-237-24.gci.net [24.237.105.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69ABC43D46; Sun, 21 May 2006 09:05:27 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id 260F55CDA; Sun, 21 May 2006 01:05:27 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 Received: from [192.168.241.104] (7-137-58-66.gci.net [66.58.137.7]) by pinnacle.akherb.com (Postfix) with ESMTP id 7AA1B5C0F; Sun, 21 May 2006 01:05:26 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: Peter Jeremy Date: Sun, 21 May 2006 01:05:20 -0800 User-Agent: KMail/1.9.1 References: <200605211204.10259.davidxu@freebsd.org> <200605210051.48906.beech@alaskaparadise.com> <20060521085913.GI1587@turion.vk2pj.dyndns.org> In-Reply-To: <20060521085913.GI1587@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2465914.Az4Qy9SSem"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605210105.24641.beech@alaskaparadise.com> X-Mailman-Approved-At: Sun, 21 May 2006 14:26:54 +0000 Cc: freebsd-current@freebsd.org, David Xu , current@freebsd.org Subject: Re: couldn't bind to local address X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 09:05:28 -0000 --nextPart2465914.Az4Qy9SSem Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 21 May 2006 00:59, Peter Jeremy wrote: > On Sun, 2006-May-21 00:51:31 -0800, Beech Rintoul wrote: > >On Sunday 21 May 2006 00:39, David Xu wrote: > >> network_interfaces=3Dfxp0 > >> > >> but no lo0 > > > >Add the following to /etc/rc.conf manually: > > > >ifconfig_lo0=3D"inet 127.0.0.1" > > That won't work because the network startup code is using > network_interfaces as the authoritative list of network interfaces and wi= ll > ignore ifconfig_lo0. Sounds bad you should probably file a pr. That's going to bite a lot of=20 people. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart2465914.Az4Qy9SSem Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEcC1Up5D0B1NlT4URApzsAJ9YdWIAN6svS02jGk48E+bvSnIEAACeLIzA PM2cVuRJyOZxmGAywSLjMHI= =Ljql -----END PGP SIGNATURE----- --nextPart2465914.Az4Qy9SSem-- From owner-freebsd-current@FreeBSD.ORG Sun May 21 14:52:49 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05D0916A606; Sun, 21 May 2006 14:52:49 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id E66EC43D69; Sun, 21 May 2006 14:52:47 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:uDNzQw7VxhQ7FTpN1goVbQACdRmCXioFogduOB3Ficv0Evy00O1a3RshyG1T0q5K@kasuga-iwi.mahoroba.org [IPv6:2001:2f0:104:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.6/8.13.6) with ESMTP/inet6 id k4LEqePI019632 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 May 2006 23:52:41 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Sun, 21 May 2006 23:52:37 +0900 Message-ID: From: Hajimu UMEMOTO To: Daniel Eischen In-Reply-To: References: User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.5 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Sun, 21 May 2006 23:52:41 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on ameno.mahoroba.org Cc: re@freebsd.org, Hajimu UMEMOTO , current@freebsd.org Subject: Re: Shared library version bump? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 14:53:06 -0000 Hi, >>>>> On Sun, 21 May 2006 08:39:34 -0400 (EDT) >>>>> Daniel Eischen said: deischen> That's great, but we haven't had a library version bump yet ;-) Yes, it was intentional. Because, I was not sure when it should be bumped. Okay, I'll bump the version of libc and the libraries which call gethostbyaddr(3). Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-current@FreeBSD.ORG Sun May 21 15:18:07 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F6E816A458; Sun, 21 May 2006 15:18:07 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 556DD43D49; Sun, 21 May 2006 15:18:06 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:B+nQHzDsjarOV9hCaYiXZqFqqWVr7UX41nKssdTXrS4iHGelnh4lTjz+lVSoLscl@kasuga-iwi.mahoroba.org [IPv6:2001:2f0:104:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.6/8.13.6) with ESMTP/inet6 id k4LFI0ii092887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 May 2006 00:18:00 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Mon, 22 May 2006 00:17:56 +0900 Message-ID: From: Hajimu UMEMOTO To: Hajimu UMEMOTO In-Reply-To: References: User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.5 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Mon, 22 May 2006 00:18:01 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on ameno.mahoroba.org Cc: Daniel Eischen , re@freebsd.org, current@freebsd.org Subject: Re: Shared library version bump? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 15:18:09 -0000 Hi, >>>>> On Sun, 21 May 2006 23:52:37 +0900 >>>>> Hajimu UMEMOTO said: deischen> That's great, but we haven't had a library version bump yet ;-) ume> Yes, it was intentional. Because, I was not sure when it should be ume> bumped. Okay, I'll bump the version of libc and the libraries which ume> call gethostbyaddr(3). Done. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-current@FreeBSD.ORG Sun May 21 16:05:22 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2461916A52A for ; Sun, 21 May 2006 16:05:22 +0000 (UTC) (envelope-from pete@altadena.net) Received: from gooney.altadena.net (gooney.altadena.net [207.215.170.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F14D43D5E for ; Sun, 21 May 2006 16:05:16 +0000 (GMT) (envelope-from pete@altadena.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=2.gooney; d=altadena.net; b=Oot0JZ30sIzuLaZ0p7GKvpHEpOFum0bDx3B26SDgBF6DB5vZRU41TcY8r9Rt0VQMNTUnEVgHryZbq3xYheIH/ph5ukvL/buV/05ETajhd4l5e6rgU5Og+Y/wRsq16WgWN847/MrdgOW9qCAZIugXbTC8ALj2Xdww4g9tvryE9TI=; Received: from east.altadena.net ([72.1.156.142] helo=[192.168.170.196]) by gooney.altadena.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.54) id 1FhqQJ-0003dH-5m; Sun, 21 May 2006 09:04:55 -0700 Message-ID: <44708FA0.9060204@altadena.net> Date: Sun, 21 May 2006 12:04:48 -0400 From: Peter Carah Organization: Altadena Internet Communications User-Agent: Thunderbird 1.5 (X11/20060413) MIME-Version: 1.0 To: Jordan Sissel , current@freebsd.org References: <20060507080835.A58C615BD@fury.csh.rit.edu> In-Reply-To: <20060507080835.A58C615BD@fury.csh.rit.edu> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: [patch] new moused and psm patchset X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 16:05:25 -0000 Jordan Sissel wrote: > I need some folks to test and criticize my work thus far for a > replacement mouse input system. > I fixed this to apply to 6-stable with only a little trouble (I have a laptop with synaptics pad that is unpleasant to use with the current driver...) Once I figured out that I needed TWO modules (synaptics and sysmouse) in moused, and modified /etc/rc.d/moused to not use incompatible args - the other guy's reply about ignoring -p and such DO matter :-) things worked pretty well. Thunderbird will not extend a selection and PAN has trouble with scroll bars in very full newsgroups. I can try to get a 6.x version of the patchset; AFAIK the main work that remains all goes into moused... style(9), Giant aren't my department (yet). My kernel-fu is weak too :-( (though I have to do some kernel tweaks for linux at work in the next week or so; it may get better.) I can use the uhid driver too (laptop doesn't have an external ps2 connector). The alps pad is very common. Fortunately most pads should at least work with generic. > ou will have a new moused(8) with magic and fairy dust... or something. > For information on how to use the new mouse daemon, see the project > page. > > There are many issues still needing to be resolved, but I've been using > this code base on my new and ancient laptops for several months now. > > psm todo list: > - remove Giant requirement > - ensure it's properly written, my kernel code-fu is weak. > > moused todo list: > - write uhid driver > - port up mouse support from the "old mouse" system, as demanded? > > From owner-freebsd-current@FreeBSD.ORG Sun May 21 17:32:23 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB4D816A60E; Sun, 21 May 2006 17:32:23 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1C6543D6E; Sun, 21 May 2006 17:32:20 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k4LHWKg4016437; Sun, 21 May 2006 13:32:20 -0400 (EDT) Date: Sun, 21 May 2006 13:32:19 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Hajimu UMEMOTO In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: re@freebsd.org, current@freebsd.org Subject: Re: Shared library version bump? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 17:32:30 -0000 On Sun, 21 May 2006, Hajimu UMEMOTO wrote: > Hi, > >>>>>> On Sun, 21 May 2006 08:39:34 -0400 (EDT) >>>>>> Daniel Eischen said: > > deischen> That's great, but we haven't had a library version bump yet ;-) > > Yes, it was intentional. Because, I was not sure when it should be > bumped. Okay, I'll bump the version of libc and the libraries which > call gethostbyaddr(3). We're waiting for Ken Smith (on behalf of re@) to bump all the libraries. -- DE From owner-freebsd-current@FreeBSD.ORG Sun May 21 17:38:30 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 738AF16A436; Sun, 21 May 2006 17:38:30 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0613D43D46; Sun, 21 May 2006 17:38:29 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from localhost (localhost [127.0.0.1]) by people.fsn.hu (Postfix) with ESMTP id 302428441E; Sun, 21 May 2006 19:38:27 +0200 (CEST) Received: from people.fsn.hu ([127.0.0.1]) by localhost (people.fsn.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 46013-01; Sun, 21 May 2006 19:38:22 +0200 (CEST) Received: from [172.16.164.68] (fw.axelero.hu [195.228.243.120]) by people.fsn.hu (Postfix) with ESMTP id B279C84408; Sun, 21 May 2006 19:38:21 +0200 (CEST) Message-ID: <4470A58E.1050101@fsn.hu> Date: Sun, 21 May 2006 19:38:22 +0200 From: Attila Nagy User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Jason Evans References: <8E2A65C9-1CEA-452F-B8BB-CAEB573F60DD@freebsd.org> In-Reply-To: <8E2A65C9-1CEA-452F-B8BB-CAEB573F60DD@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at fsn.hu Cc: freebsd-current@freebsd.org Subject: Re: jemalloc paper/slides available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 17:38:36 -0000 Hello, On 2006. 05. 18. 19:19, Jason Evans wrote: > The paper and slides for jemalloc that I presented at BSDcan 2006 are > available at: > http://people.freebsd.org/~jasone/jemalloc/bsdcan2006/ > If you read only one or the other, choose the paper. Thank you. Here is a quick comparison (the article is in hungarian) on a Sun T2000 with Solaris and Linux and an Intel dual core low voltage Xeon (Sossaman, Core Duo as a server processor): http://hup.hu/node/25322 I've lost the results for FreeBSD 6 for different blocksizes, so only 1kB is on the picture, which contains all OSs. With 1MB, you can see only Solaris and Linux on the same machine, besides FreeBSD -CURRENT. Do you have any ideas about the sudden drop after 16 threads? (the machine had four cores) -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone: +3630 306 6758 http://www.fsn.hu/ From owner-freebsd-current@FreeBSD.ORG Sun May 21 17:52:41 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 132EF16A7A9 for ; Sun, 21 May 2006 17:52:41 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from lh.synack.net (lh.synack.net [204.152.188.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D6BC43D66 for ; Sun, 21 May 2006 17:52:14 +0000 (GMT) (envelope-from jasone@FreeBSD.org) Received: by lh.synack.net (Postfix, from userid 100) id 42EE85E4939; Sun, 21 May 2006 10:52:14 -0700 (PDT) Received: from [192.168.168.201] (moscow-cuda-gen2-68-64-60-20.losaca.adelphia.net [68.64.60.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lh.synack.net (Postfix) with ESMTP id D46975E4917; Sun, 21 May 2006 10:52:12 -0700 (PDT) Message-ID: <4470A8CA.7010203@FreeBSD.org> Date: Sun, 21 May 2006 10:52:10 -0700 From: Jason Evans User-Agent: Mozilla Thunderbird 1.0.8-1.4.1 (X11/20060420) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Attila Nagy References: <8E2A65C9-1CEA-452F-B8BB-CAEB573F60DD@freebsd.org> <4470A58E.1050101@fsn.hu> In-Reply-To: <4470A58E.1050101@fsn.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.5 (2005-11-28) on lh.synack.net X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.5 Cc: freebsd-current@freebsd.org Subject: Re: jemalloc paper/slides available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 17:52:51 -0000 Attila Nagy wrote: > On 2006. 05. 18. 19:19, Jason Evans wrote: > >> The paper and slides for jemalloc that I presented at BSDcan 2006 are >> available at: >> http://people.freebsd.org/~jasone/jemalloc/bsdcan2006/ >> If you read only one or the other, choose the paper. > > Thank you. Here is a quick comparison (the article is in hungarian) on a > Sun T2000 with Solaris and Linux and an Intel dual core low voltage Xeon > (Sossaman, Core Duo as a server processor): > http://hup.hu/node/25322 > > I've lost the results for FreeBSD 6 for different blocksizes, so only > 1kB is on the picture, which contains all OSs. With 1MB, you can see > only Solaris and Linux on the same machine, besides FreeBSD -CURRENT. > > Do you have any ideas about the sudden drop after 16 threads? (the > machine had four cores) I doubt this is an issue for the benchmark, but it's possible that the default of 16 arenas (on a 4-CPU system) is causing the dropoff. You can test this by setting MALLOC_OPTIONS=N in the environment (each N doubles the number of arenas). Jason From owner-freebsd-current@FreeBSD.ORG Sun May 21 17:55:20 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 393F916A7DD for ; Sun, 21 May 2006 17:55:20 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC67C43D5A for ; Sun, 21 May 2006 17:55:15 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 66E5246CB9; Sun, 21 May 2006 13:55:15 -0400 (EDT) Date: Sun, 21 May 2006 18:55:15 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Maxim Konovalov In-Reply-To: <20060515025600.U70399@mp2.macomnet.net> Message-ID: <20060521185034.K8068@fledge.watson.org> References: <20060317141627.W2181@fledge.watson.org> <20060329100839.V19236@fledge.watson.org> <20060401102918.P79188@fledge.watson.org> <20060401170554.R82503@fledge.watson.org> <20060402233436.P76562@fledge.watson.org> <20060515025600.U70399@mp2.macomnet.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org Subject: Re: HEADS UP: socket and pcb reference changes entering tree today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 17:55:30 -0000 On Mon, 15 May 2006, Maxim Konovalov wrote: > There is a bug in raw ip code processing which panics system. I put a small > regression test in src/tools/regression/netinet/rawconnect. > > At the moment the code path for the connected raw ip socket looks like that: > > % soclose() > % sodisconnect() > % rip_disconnect() > % rip_abort() > % rip_pcbdetach() > % rip_detach <<<--------- panic > % rip_pcbdetach() > > .. and we panics in rip_detach() at KASSERT(inp != NULL). > > With this patch panic has gone. This looks good in terms of pcb structure, but you should acquire SOCK_LOCK around the so_state manipulation. To prevent races, I suggest doing it while also holding the INP lock in the center of the locking sets from the inpcb. There are some other remaining bugs in the raw socket code elsewhere also, I think. Robert N M Watson > > Index: raw_ip.c > =================================================================== > RCS file: /home/ncvs/src/sys/netinet/raw_ip.c,v > retrieving revision 1.160 > diff -u -p -r1.160 raw_ip.c > --- raw_ip.c 21 Apr 2006 09:25:39 -0000 1.160 > +++ raw_ip.c 14 May 2006 23:39:15 -0000 > @@ -661,9 +661,19 @@ rip_abort(struct socket *so) > static int > rip_disconnect(struct socket *so) > { > + struct inpcb *inp; > + > if ((so->so_state & SS_ISCONNECTED) == 0) > return ENOTCONN; > - rip_abort(so); > + > + inp = sotoinpcb(so); > + KASSERT(inp != NULL, ("rip_disconnect: inp == NULL")); > + INP_INFO_WLOCK(&ripcbinfo); > + INP_LOCK(inp); > + inp->inp_faddr.s_addr = INADDR_ANY; > + INP_UNLOCK(inp); > + INP_INFO_WUNLOCK(&ripcbinfo); > + so->so_state &= ~SS_ISCONNECTED; > return (0); > } > %%% > > -- > Maxim Konovalov > From owner-freebsd-current@FreeBSD.ORG Sun May 21 17:44:00 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBF6F16A43E for ; Sun, 21 May 2006 17:44:00 +0000 (UTC) (envelope-from will@firepipe.net) Received: from puck.firepipe.net (gw.boulder.firepipe.net [216.87.87.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82B0F43D49 for ; Sun, 21 May 2006 17:44:00 +0000 (GMT) (envelope-from will@firepipe.net) Received: by puck.firepipe.net (Postfix, from userid 1000) id B757161C1E; Sun, 21 May 2006 11:43:59 -0600 (MDT) Date: Sun, 21 May 2006 11:43:59 -0600 From: Will Andrews To: Xin LI Message-ID: <20060521174358.GB82368@puck.firepipe.net> Mail-Followup-To: Xin LI , kmacy@fsmware.com, freebsd-current@freebsd.org References: <1148189442.2692.4.camel@spirit> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5I6of5zJg18YgZEa" Content-Disposition: inline In-Reply-To: <1148189442.2692.4.camel@spirit> User-Agent: Mutt/1.5.11 X-Mailman-Approved-At: Sun, 21 May 2006 18:02:37 +0000 Cc: freebsd-current@freebsd.org, kmacy@fsmware.com Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 17:44:05 -0000 --5I6of5zJg18YgZEa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 21, 2006 at 01:30:42PM +0800, Xin LI wrote: > I think that to encourage more tests, you would probably want to provide > a downloadable copy of the output of "p4 diff" since we do not provide > anonymous p4 access for outside developers (yet) :-) Actually we do, although it's not via p4 but rather cvsup. cvsup10 and cvsup18 should carry everything that's in perforce. Maybe with a few minor exceptions. --=20 wca --5I6of5zJg18YgZEa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEcKbeF47idPgWcsURAizSAJ4qB1baXGfZ5Q8X/OplLc2lkkoW6wCffH1J 5Pk31gJsgsQQeWjKnqppYL8= =eG8g -----END PGP SIGNATURE----- --5I6of5zJg18YgZEa-- From owner-freebsd-current@FreeBSD.ORG Sun May 21 18:03:27 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BE3C16A654; Sun, 21 May 2006 18:03:27 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6E2C43D80; Sun, 21 May 2006 18:03:15 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.4/8.13.3) with ESMTP id k4LI3EMm008925; Sun, 21 May 2006 22:03:14 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Sun, 21 May 2006 22:03:14 +0400 (MSD) From: Maxim Konovalov To: Robert Watson In-Reply-To: <20060521185034.K8068@fledge.watson.org> Message-ID: <20060521215823.H6324@mp2.macomnet.net> References: <20060317141627.W2181@fledge.watson.org> <20060329100839.V19236@fledge.watson.org> <20060401102918.P79188@fledge.watson.org> <20060401170554.R82503@fledge.watson.org> <20060402233436.P76562@fledge.watson.org> <20060515025600.U70399@mp2.macomnet.net> <20060521185034.K8068@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: current@FreeBSD.org Subject: Re: HEADS UP: socket and pcb reference changes entering tree today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 18:03:33 -0000 On Sun, 21 May 2006, 18:55+0100, Robert Watson wrote: > > On Mon, 15 May 2006, Maxim Konovalov wrote: > > > There is a bug in raw ip code processing which panics system. I > > put a small regression test in > > src/tools/regression/netinet/rawconnect. > > > > At the moment the code path for the connected raw ip socket looks > > like that: > > > > % soclose() > > % sodisconnect() > > % rip_disconnect() > > % rip_abort() > > % rip_pcbdetach() > > % rip_detach <<<--------- panic > > % rip_pcbdetach() > > > > .. and we panics in rip_detach() at KASSERT(inp != NULL). > > > > With this patch panic has gone. > > This looks good in terms of pcb structure, but you should acquire > SOCK_LOCK around the so_state manipulation. To prevent races, I > suggest doing it while also holding the INP lock in the center of > the locking sets from the inpcb. There are some other remaining bugs > in the raw socket code elsewhere also, I think. I "copied" this code from udp_usrreq.c::udp_disconnect(). There is no such lock. Is it a bug too? -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Sun May 21 18:04:59 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C68F16A759 for ; Sun, 21 May 2006 18:04:59 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61F0243D66 for ; Sun, 21 May 2006 18:04:58 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 90D8946CCB; Sun, 21 May 2006 14:04:57 -0400 (EDT) Date: Sun, 21 May 2006 19:04:57 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Maxim Konovalov In-Reply-To: <20060521215823.H6324@mp2.macomnet.net> Message-ID: <20060521190358.G8068@fledge.watson.org> References: <20060317141627.W2181@fledge.watson.org> <20060329100839.V19236@fledge.watson.org> <20060401102918.P79188@fledge.watson.org> <20060401170554.R82503@fledge.watson.org> <20060402233436.P76562@fledge.watson.org> <20060515025600.U70399@mp2.macomnet.net> <20060521185034.K8068@fledge.watson.org> <20060521215823.H6324@mp2.macomnet.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@FreeBSD.org Subject: Re: HEADS UP: socket and pcb reference changes entering tree today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 18:05:04 -0000 On Sun, 21 May 2006, Maxim Konovalov wrote: >> This looks good in terms of pcb structure, but you should acquire SOCK_LOCK >> around the so_state manipulation. To prevent races, I suggest doing it >> while also holding the INP lock in the center of the locking sets from the >> inpcb. There are some other remaining bugs in the raw socket code elsewhere >> also, I think. > > I "copied" this code from udp_usrreq.c::udp_disconnect(). There is no such > lock. Is it a bug too? Yes. I have some intuitions about why the datagram protocols manually frob the disconnected flag rather than calling soisdisconnected(), but am generally unsure that this is the right thing. Robert N M Watson From owner-freebsd-current@FreeBSD.ORG Sun May 21 18:14:38 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3DDB16A481; Sun, 21 May 2006 18:14:38 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13CAA43D46; Sun, 21 May 2006 18:14:37 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.4/8.13.3) with ESMTP id k4LIEanh011803; Sun, 21 May 2006 22:14:37 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Sun, 21 May 2006 22:14:36 +0400 (MSD) From: Maxim Konovalov To: Robert Watson In-Reply-To: <20060521190358.G8068@fledge.watson.org> Message-ID: <20060521221016.F6324@mp2.macomnet.net> References: <20060317141627.W2181@fledge.watson.org> <20060329100839.V19236@fledge.watson.org> <20060401102918.P79188@fledge.watson.org> <20060401170554.R82503@fledge.watson.org> <20060402233436.P76562@fledge.watson.org> <20060515025600.U70399@mp2.macomnet.net> <20060521185034.K8068@fledge.watson.org> <20060521215823.H6324@mp2.macomnet.net> <20060521190358.G8068@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: current@FreeBSD.org Subject: Re: HEADS UP: socket and pcb reference changes entering tree today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 18:14:43 -0000 On Sun, 21 May 2006, 19:04+0100, Robert Watson wrote: > > On Sun, 21 May 2006, Maxim Konovalov wrote: > > > > This looks good in terms of pcb structure, but you should > > > acquire SOCK_LOCK around the so_state manipulation. To prevent > > > races, I suggest doing it while also holding the INP lock in the > > > center of the locking sets from the inpcb. There are some other > > > remaining bugs in the raw socket code elsewhere also, I think. > > > > I "copied" this code from udp_usrreq.c::udp_disconnect(). There > > is no such lock. Is it a bug too? > > Yes. > > I have some intuitions about why the datagram protocols manually frob the > disconnected flag rather than calling soisdisconnected(), but am generally > unsure that this is the right thing. I thought about that but hadn't find any explanations. I'm testing a patch below: Index: raw_ip.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/raw_ip.c,v retrieving revision 1.161 diff -u -p -r1.161 raw_ip.c --- raw_ip.c 15 May 2006 09:28:57 -0000 1.161 +++ raw_ip.c 21 May 2006 18:13:14 -0000 @@ -671,9 +671,11 @@ rip_disconnect(struct socket *so) INP_INFO_WLOCK(&ripcbinfo); INP_LOCK(inp); inp->inp_faddr.s_addr = INADDR_ANY; + SOCK_LOCK(so); + so->so_state &= ~SS_ISCONNECTED; + SOCK_UNLOCK(so); INP_UNLOCK(inp); INP_INFO_WUNLOCK(&ripcbinfo); - so->so_state &= ~SS_ISCONNECTED; return (0); } Index: udp_usrreq.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/udp_usrreq.c,v retrieving revision 1.188 diff -u -p -r1.188 udp_usrreq.c --- udp_usrreq.c 6 May 2006 11:24:59 -0000 1.188 +++ udp_usrreq.c 21 May 2006 18:12:43 -0000 @@ -1057,9 +1057,11 @@ udp_disconnect(struct socket *so) in_pcbdisconnect(inp); inp->inp_laddr.s_addr = INADDR_ANY; + SOCK_LOCK(so) + so->so_state &= ~SS_ISCONNECTED; /* XXX */ + SOCK_UNLOCK(so) INP_UNLOCK(inp); INP_INFO_WUNLOCK(&udbinfo); - so->so_state &= ~SS_ISCONNECTED; /* XXX */ return 0; } %%% -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Sun May 21 18:53:37 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD5BF16A42B for ; Sun, 21 May 2006 18:53:37 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F1A843D48 for ; Sun, 21 May 2006 18:53:37 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 707AF46C8D; Sun, 21 May 2006 14:53:36 -0400 (EDT) Date: Sun, 21 May 2006 19:53:36 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Maxim Konovalov In-Reply-To: <20060521221016.F6324@mp2.macomnet.net> Message-ID: <20060521195004.H8068@fledge.watson.org> References: <20060317141627.W2181@fledge.watson.org> <20060329100839.V19236@fledge.watson.org> <20060401102918.P79188@fledge.watson.org> <20060401170554.R82503@fledge.watson.org> <20060402233436.P76562@fledge.watson.org> <20060515025600.U70399@mp2.macomnet.net> <20060521185034.K8068@fledge.watson.org> <20060521215823.H6324@mp2.macomnet.net> <20060521190358.G8068@fledge.watson.org> <20060521221016.F6324@mp2.macomnet.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@FreeBSD.org Subject: Re: HEADS UP: socket and pcb reference changes entering tree today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 18:53:39 -0000 On Sun, 21 May 2006, Maxim Konovalov wrote: >>> I "copied" this code from udp_usrreq.c::udp_disconnect(). There is no >>> such lock. Is it a bug too? >> >> Yes. >> >> I have some intuitions about why the datagram protocols manually frob the >> disconnected flag rather than calling soisdisconnected(), but am generally >> unsure that this is the right thing. > > I thought about that but hadn't find any explanations. > > I'm testing a patch below: This patch looks good to me. The races here are quite minor in practice, involving simultaneous changes of connection state between different threads acting on the same socket, but also the sort of thing that would be almost impossible to debug if it occurred in practice :-). Robert N M Watson > Index: raw_ip.c > =================================================================== > RCS file: /home/ncvs/src/sys/netinet/raw_ip.c,v > retrieving revision 1.161 > diff -u -p -r1.161 raw_ip.c > --- raw_ip.c 15 May 2006 09:28:57 -0000 1.161 > +++ raw_ip.c 21 May 2006 18:13:14 -0000 > @@ -671,9 +671,11 @@ rip_disconnect(struct socket *so) > INP_INFO_WLOCK(&ripcbinfo); > INP_LOCK(inp); > inp->inp_faddr.s_addr = INADDR_ANY; > + SOCK_LOCK(so); > + so->so_state &= ~SS_ISCONNECTED; > + SOCK_UNLOCK(so); > INP_UNLOCK(inp); > INP_INFO_WUNLOCK(&ripcbinfo); > - so->so_state &= ~SS_ISCONNECTED; > return (0); > } > > Index: udp_usrreq.c > =================================================================== > RCS file: /home/ncvs/src/sys/netinet/udp_usrreq.c,v > retrieving revision 1.188 > diff -u -p -r1.188 udp_usrreq.c > --- udp_usrreq.c 6 May 2006 11:24:59 -0000 1.188 > +++ udp_usrreq.c 21 May 2006 18:12:43 -0000 > @@ -1057,9 +1057,11 @@ udp_disconnect(struct socket *so) > > in_pcbdisconnect(inp); > inp->inp_laddr.s_addr = INADDR_ANY; > + SOCK_LOCK(so) > + so->so_state &= ~SS_ISCONNECTED; /* XXX */ > + SOCK_UNLOCK(so) > INP_UNLOCK(inp); > INP_INFO_WUNLOCK(&udbinfo); > - so->so_state &= ~SS_ISCONNECTED; /* XXX */ > return 0; > } > > %%% > > -- > Maxim Konovalov > From owner-freebsd-current@FreeBSD.ORG Sun May 21 18:54:45 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CFD716A6DC for ; Sun, 21 May 2006 18:54:45 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id D564743D4C for ; Sun, 21 May 2006 18:54:43 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so785619wxd for ; Sun, 21 May 2006 11:54:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TlzuUqElvq0ZrQGsrvcZ1G9fD2FWsZcHQE71tTi46tMe8T5BkGJ3Jxa/eHyMAG75MkI4qvtdTR4u4+d2j+VKy+7Qz5VjclAlWFVu1sr2NzL0WTs4hUtKm5kLOYP1izcmEhsgPXJu0HIXsalIN4dQRqJf01UIUMPZ2NG3LfKWNRI= Received: by 10.70.116.10 with SMTP id o10mr4357970wxc; Sun, 21 May 2006 11:54:43 -0700 (PDT) Received: by 10.70.71.2 with HTTP; Sun, 21 May 2006 11:54:43 -0700 (PDT) Message-ID: Date: Sun, 21 May 2006 11:54:43 -0700 From: "Kip Macy" To: "Christian Brueffer" In-Reply-To: <20060521095513.GC1134@haakonia.hitnet.RWTH-Aachen.DE> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <54270.1148192447@critter.freebsd.dk> <20060521071743.GB82826@gk.360sip.com> <20060521093642.GA1134@haakonia.hitnet.RWTH-Aachen.DE> <20060521095513.GC1134@haakonia.hitnet.RWTH-Aachen.DE> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 18:54:48 -0000 Looks good. Thanks. -Kip On 5/21/06, Christian Brueffer wrote: > On Sun, May 21, 2006 at 11:36:43AM +0200, Christian Brueffer wrote: > > On Sun, May 21, 2006 at 12:20:14AM -0700, Kip Macy wrote: > > > If Linux can get a CNET article about just partially booting on the T= 1 > > > I think that FreeBSD can add a couple of lines to its own website > > > :-). > > > > > > -Kip > > > > Great news! Does the following look ok? > > > > New version after input from maxim@: > > Index: news.xml > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /data/ncvs/freebsd/www/en/news/news.xml,v > retrieving revision 1.398 > diff -u -r1.398 news.xml > --- news.xml 17 May 2006 21:13:37 -0000 1.398 > +++ news.xml 21 May 2006 09:52:19 -0000 > @@ -32,6 +32,23 @@ > 5 > > > + 21 > + > + FreeBSD Self-Hosting on the Sun T1 Processor > + > +

FreeBSD is now able to complete a full run of the > + "make buildworld" command on machines running the + href=3D"http://www.sun.com/processors/UltraSPARC-T1/">Sun T1 = processor > + with CoolThreads technology, and is thus self-hosting. > + The code currently resides in the + href=3D"http://perforce.freebsd.org/branchView.cgi?BRANCH=3Dk= macy%5fsun4v"> > + FreeBSD Perforce revision control system and will be me= rged to > + the official CVS repository, once support for logical domaini= ng > + is complete.

> +
> +
> + > + > 17 > >

New committer: > > > - Christian > > -- > Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org > GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc > GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D > > > From owner-freebsd-current@FreeBSD.ORG Sun May 21 18:58:44 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CFC216A977 for ; Sun, 21 May 2006 18:58:44 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 921D443D66 for ; Sun, 21 May 2006 18:58:41 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 1A39146C95; Sun, 21 May 2006 14:58:41 -0400 (EDT) Date: Sun, 21 May 2006 19:58:41 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Will Andrews In-Reply-To: <20060521174358.GB82368@puck.firepipe.net> Message-ID: <20060521195737.W8068@fledge.watson.org> References: <1148189442.2692.4.camel@spirit> <20060521174358.GB82368@puck.firepipe.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: kmacy@fsmware.com, freebsd-current@freebsd.org, Xin LI Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 18:58:47 -0000 On Sun, 21 May 2006, Will Andrews wrote: > On Sun, May 21, 2006 at 01:30:42PM +0800, Xin LI wrote: >> I think that to encourage more tests, you would probably want to provide >> a downloadable copy of the output of "p4 diff" since we do not provide >> anonymous p4 access for outside developers (yet) :-) > > Actually we do, although it's not via p4 but rather cvsup. cvsup10 and > cvsup18 should carry everything that's in perforce. Maybe with a few minor > exceptions. In general, cvsup10 (and presumably 18?) carry only a small subset of Perforce -- they explicitly export certain branches. In the past, the CVS exporter has proven a bit unreliable in the context of TrustedBSD -- it occasionally breaks when it finds something it doesn't like, require administrator fixing, etc. Robert N M Watson From owner-freebsd-current@FreeBSD.ORG Sun May 21 19:14:46 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C39616A43C for ; Sun, 21 May 2006 19:14:46 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2627A43D45 for ; Sun, 21 May 2006 19:14:46 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so787285wxd for ; Sun, 21 May 2006 12:14:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hgPYrfTfUVyWwV2iTFegymUrpB0/V1DPtEA4avhQe8+8pfm4MvC4VtzfGIo4TCy0tzPKRLLK2+PfQyV+wfpBF3CYIWYnd3WRYhip3gzpHUUxJ8gu0I0XJqF4JVfB/mDrtZieWAAvxMoAS4iEsqKyAJhpkmAPqfzYLDBh8Tav/8Q= Received: by 10.70.75.12 with SMTP id x12mr4379161wxa; Sun, 21 May 2006 12:14:44 -0700 (PDT) Received: by 10.70.71.2 with HTTP; Sun, 21 May 2006 12:14:44 -0700 (PDT) Message-ID: Date: Sun, 21 May 2006 12:14:44 -0700 From: "Kip Macy" To: "Attila Nagy" In-Reply-To: <4470A58E.1050101@fsn.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <8E2A65C9-1CEA-452F-B8BB-CAEB573F60DD@freebsd.org> <4470A58E.1050101@fsn.hu> Cc: freebsd-current@freebsd.org Subject: Re: jemalloc paper/slides available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 19:14:47 -0000 Hi, Although I can't comment on the sudden performance dropoff, I would like to point out that the numbers from the benchmark imply that the benchmark isn't using non-temporal loads and stores on either platform. The "it should just work" comment doesn't apply as it equates to driving a racecar with 6 gears and then never using anything higher than 5th in competition - because "it should just work". -Kip On 5/21/06, Attila Nagy wrote: > Hello, > > On 2006. 05. 18. 19:19, Jason Evans wrote: > > The paper and slides for jemalloc that I presented at BSDcan 2006 are > > available at: > > http://people.freebsd.org/~jasone/jemalloc/bsdcan2006/ > > If you read only one or the other, choose the paper. > Thank you. Here is a quick comparison (the article is in hungarian) on a > Sun T2000 with Solaris and Linux and an Intel dual core low voltage Xeon > (Sossaman, Core Duo as a server processor): > http://hup.hu/node/25322 > > I've lost the results for FreeBSD 6 for different blocksizes, so only > 1kB is on the picture, which contains all OSs. With 1MB, you can see > only Solaris and Linux on the same machine, besides FreeBSD -CURRENT. > > Do you have any ideas about the sudden drop after 16 threads? (the > machine had four cores) > > -- > Attila Nagy e-mail: Attila.Nagy@fsn.hu > Free Software Network (FSN.HU) phone: +3630 306 6758 > http://www.fsn.hu/ > _______________________________________________ > 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= " > From owner-freebsd-current@FreeBSD.ORG Sun May 21 19:43:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F11C16A5DA for ; Sun, 21 May 2006 19:43:47 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B17E43D49 for ; Sun, 21 May 2006 19:43:46 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 5ED8A1A4DD2; Sun, 21 May 2006 12:43:46 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C62F951742; Sun, 21 May 2006 15:43:45 -0400 (EDT) Date: Sun, 21 May 2006 15:43:45 -0400 From: Kris Kennaway To: kmacy@fsmware.com Message-ID: <20060521194345.GA49885@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 19:43:49 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, May 20, 2006 at 10:19:58PM -0700, Kip Macy wrote: > I'm proud to announce that FreeBSD on the T1 is now stable enough that > it can "make buildworld" natively. Excellent work! When can I start breaking it? :) Kris --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEcMLxWry0BWjoQKURArUlAJ49gJoXoTBvAyBkiE8lSMaVkd7QFwCdHLkL N93pApRl3LBS631zAzga2mA= =WNCu -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0-- From owner-freebsd-current@FreeBSD.ORG Sun May 21 19:56:23 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B5F116A5EE for ; Sun, 21 May 2006 19:56:23 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA1EC43D46 for ; Sun, 21 May 2006 19:56:22 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so790702wxd for ; Sun, 21 May 2006 12:56:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CPSwQAToo1nUao9jFTOl0XohEyvCSReJ+MK4ouvcCcTp7rZrm/gQRyXRqhC2BQpwJnAgG4Vf9TlQ7lif17G+03n2IATipgneEpGtDU/KEC4kbH0xTqMXkPgo9gDwKwuTzCt2ExwbS7YD70BmdMbopOpwuvDyACvVGPd+0ywiUv4= Received: by 10.70.77.7 with SMTP id z7mr4412905wxa; Sun, 21 May 2006 12:56:22 -0700 (PDT) Received: by 10.70.71.2 with HTTP; Sun, 21 May 2006 12:56:21 -0700 (PDT) Message-ID: Date: Sun, 21 May 2006 12:56:21 -0700 From: "Kip Macy" To: "Kris Kennaway" In-Reply-To: <20060521194345.GA49885@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060521194345.GA49885@xor.obsecurity.org> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 19:56:25 -0000 On 5/21/06, Kris Kennaway wrote: > On Sat, May 20, 2006 at 10:19:58PM -0700, Kip Macy wrote: > > I'm proud to announce that FreeBSD on the T1 is now stable enough that > > it can "make buildworld" natively. > > Excellent work! Thanks. > When can I start breaking it? :) As soon as someone can provide you with a T1000 or T2000 - I think Paul may already have one. I went out of my way to make sure that: export MAKEOBJDIRPREFIX=3D; make buildworld TARGET_ARCH=3Dsparc64 TARGET=3Dsun4v; make buildkernel TARGET_ARCH=3Dsparc64 TARGET=3Dsun4v; su; make installworld TARGET_ARCH=3Dsparc64 TARGET=3Dsun4v DESTDIR=3D; make installkernel TARGET_ARCH=3Dsparc64 TARGET=3Dsun4v DESTDIR=3D; would just work straight out of perforce. I ended up doing make -j8 buildworld because make -j32 exposed a panic inducing race in NFS about 30 minutes in. I'm really looking forward to seeing what kind of locking contention we're getting in the kernel. -Kip From owner-freebsd-current@FreeBSD.ORG Sun May 21 20:30:21 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FFA116A482; Sun, 21 May 2006 20:30:21 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D69243D45; Sun, 21 May 2006 20:30:21 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Sun, 21 May 2006 13:30:15 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 10DC945046; Sun, 21 May 2006 13:30:15 -0700 (PDT) To: Hajimu UMEMOTO In-reply-to: Your message of "Sun, 21 May 2006 20:43:52 +0900." Date: Sun, 21 May 2006 13:30:15 -0700 From: "Kevin Oberman" Message-Id: <20060521203015.10DC945046@ptavv.es.net> Cc: current@FreeBSD.org Subject: Re: HEADS UP: resolver's ABI backward compatibility was lost X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 20:30:22 -0000 > Date: Sun, 21 May 2006 20:43:52 +0900 > From: Hajimu UMEMOTO > Sender: owner-freebsd-current@freebsd.org > > Hi, > > I've just committed following things: > > 1) Upgrade res_update(3) and the friends to BIND9's one excluding TSIG > support. Why is the TSIG support excluded? It's something I have wanted a great deal and which may become mandatory for US governments systems in the future. is there a problem with including it or some other issue? -- 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 From owner-freebsd-current@FreeBSD.ORG Sun May 21 20:54:40 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 002D116A6EB for ; Sun, 21 May 2006 20:54:39 +0000 (UTC) (envelope-from current@dino.sk) Received: from mail.netlab.sk (mail.netlab.sk [213.215.72.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F24043D48 for ; Sun, 21 May 2006 20:54:36 +0000 (GMT) (envelope-from current@dino.sk) Received: from [192.168.16.13] (home.dino.sk [213.215.74.194]) (AUTH: PLAIN milan@netlab.sk, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mail.netlab.sk with esmtp; Sun, 21 May 2006 23:00:29 +0200 id 00289C12.4470D4ED.0000268D From: Milan Obuch To: freebsd-current@freebsd.org Date: Sun, 21 May 2006 22:54:14 +0200 User-Agent: KMail/1.9.1 References: <200605160920.33323.current@dino.sk> <20060516085912.GA88689@walton.maths.tcd.ie> <200605170959.33082.current@dino.sk> In-Reply-To: <200605170959.33082.current@dino.sk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605212254.15332.current@dino.sk> Subject: Re: Weird thing - pciconf reading differs in two systems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 20:54:42 -0000 On Wednesday 17 May 2006 09:59, Milan Obuch wrote: > On Tuesday 16 May 2006 10:59, David Malone wrote: > > On Tue, May 16, 2006 at 09:20:32AM +0200, Milan Obuch wrote: > > > This makes me wonder - how could the same card be identified as two > > > different devices? I tested the same card, then another one and the > > > result is the same. Working in my tablet, not working in WRAP. There is > > > one difference, however - kernel in WRAP has ath built-in, in my tablet > > > I am kldloading it. > > > > Could be loose connections in the WRAP - if some of the pins are not > > connected properly that could result in 0xff showing up in various > > places (or worse). > > > > David. > > I do not think it's the case. I did test it with two boards, in three > slots. Were it loose connector, it would not be for any combination of > card/slot on WRAP, but not else. I will try it once more, on some other > machine/other boards and we'll see the result. > > Milan After some testing, I found there is issue with reset timing in v1.09 and v1.10 WRAP's bios versions. Version v1.11 seems to be working. Just if someone sees similar issue, BIOS update could be the solution. Milan -- No need to mail me directly. Just reply to mailing list, please. From owner-freebsd-current@FreeBSD.ORG Sun May 21 21:27:42 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E3B116A453; Sun, 21 May 2006 21:27:42 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id B62B543D45; Sun, 21 May 2006 21:27:41 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [192.168.2.2]) ([10.251.60.73]) by a50.ironport.com with ESMTP; 21 May 2006 14:27:39 -0700 Message-ID: <4470DB4A.6020304@elischer.org> Date: Sun, 21 May 2006 14:27:38 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hajimu UMEMOTO References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Daniel Eischen , re@freebsd.org, current@freebsd.org Subject: Re: Shared library version bump? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 21:27:45 -0000 Hajimu UMEMOTO wrote: >Hi, > > > >>>>>>On Sun, 14 May 2006 04:51:41 +0900 >>>>>>Hajimu UMEMOTO said: >>>>>> >>>>>> > > > >>>>>>On Fri, 12 May 2006 13:44:58 -0400 (EDT) >>>>>>Daniel Eischen said: >>>>>> >>>>>> > > > >>I wish to fix following things which break ABI backward compatibility >>when libc version bump: >> >> - gethostbyaddr(3) prototype to conform to POSIX. >> - Fix wrong usage of EAI_MEMORY in getnameinfo(). It needs to >> return EAI_OVERFLOW. >> - Update res_update() and friends to BIND9's one. >> - Nuke some compatibility crufts for 6.X and earlier. >> >> > >deischen> Go ahead. Just realize though, that after 7.0 is released >deischen> you will have to support any ABI from then on without version >deischen> bumps (meaning, you have to keep shims for any old 7.0+ ABIs >deischen> in libc). > >ume> Okay, I'll do. > > I assume htat EVENTUALLY we will bump numbers again when something sufficiently big needs to be done to the ABI. >Done. > >Sincerely, > >-- >Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan >ume@mahoroba.org ume@{,jp.}FreeBSD.org >http://www.imasy.org/~ume/ >_______________________________________________ >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" > > From owner-freebsd-current@FreeBSD.ORG Sun May 21 21:38:38 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0FA416A448 for ; Sun, 21 May 2006 21:38:38 +0000 (UTC) (envelope-from psionic@csh.rit.edu) Received: from whitefox.csh.rit.edu (whitefox.csh.rit.edu [129.21.60.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6307D43D46 for ; Sun, 21 May 2006 21:38:36 +0000 (GMT) (envelope-from psionic@csh.rit.edu) Received: from localhost (localhost [127.0.0.1]) by whitefox.csh.rit.edu (Postfix) with ESMTP id F2FF1114A2; Sun, 21 May 2006 17:38:42 -0400 (EDT) Received: from whitefox.csh.rit.edu ([127.0.0.1]) by localhost (whitefox.csh.rit.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24821-07; Sun, 21 May 2006 17:38:42 -0400 (EDT) Received: from fury.csh.rit.edu (fury.csh.rit.edu [129.21.60.5]) by whitefox.csh.rit.edu (Postfix) with ESMTP id 88D6C11492; Sun, 21 May 2006 17:38:42 -0400 (EDT) Received: from fury.csh.rit.edu (localhost [127.0.0.1]) by fury.csh.rit.edu (Postfix) with ESMTP id A36321525; Sun, 21 May 2006 17:38:34 -0400 (EDT) To: Peter Carah In-reply-to: <44708FA0.9060204@altadena.net> References: <20060507080835.A58C615BD@fury.csh.rit.edu> <44708FA0.9060204@altadena.net> Comments: In-reply-to Peter Carah message dated "Sun, 21 May 2006 12:04:48 -0400." Date: Sun, 21 May 2006 17:38:34 -0400 From: Jordan Sissel Message-Id: <20060521213834.A36321525@fury.csh.rit.edu> X-Virus-Scanned: amavisd-new at csh.rit.edu Cc: psionic@csh.rit.edu, current@freebsd.org Subject: Re: [patch] new moused and psm patchset X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 21:38:42 -0000 On 21 May 2006 at 12:04, Peter Carah wrote: > Jordan Sissel wrote: > > I need some folks to test and criticize my work thus far for a > > replacement mouse input system. > > > > I fixed this to apply to 6-stable with only a little trouble (I have a laptop > with synaptics pad that is unpleasant to use with the current driver...) > Once I figured out that I needed TWO modules (synaptics and sysmouse) in > moused, and modified /etc/rc.d/moused to not use incompatible args - the other > guy's reply about ignoring -p and such DO matter :-) things worked pretty well. > Thunderbird will not extend a selection and PAN has trouble with scroll bars > in very full newsgroups. > > I can try to get a 6.x version of the patchset; AFAIK the main work that > remains all goes into moused... > > style(9), Giant aren't my department (yet). > My kernel-fu is weak too :-( (though I have to do some kernel tweaks for linux > at work in the next week or so; it may get better.) > > I can use the uhid driver too (laptop doesn't have an external ps2 connector). > > The alps pad is very common. Fortunately most pads should at least work with > generic. > Cool! I actually use this on my laptop that runs 6.x. It was developed against 6.x (started with 5.3 though), so having it work in 6.xland should be simple. ALPS is on my list of drivers to port up from the old mouse stuff. I don't have any hardware that uses it though, so I'll table it until I have something. I'm hoping to have a new patchset with more features available for testing in a few weeks. I'm in the middle of moving and finishing school so I don't have time to write much code. Patches are welcome, if you want to write any. If you have perforce access, you can pull the latest versions of my code from the freebsd perforce depot: //depot/user/jls Thanks for helping to test this! -Jordan From owner-freebsd-current@FreeBSD.ORG Sun May 21 22:47:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5839E16AF84 for ; Sun, 21 May 2006 22:47:15 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62B4143D48 for ; Sun, 21 May 2006 22:47:14 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by wx-out-0102.google.com with SMTP id i30so515271wxd for ; Sun, 21 May 2006 15:47:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Uqo1ECFxcB4BBRYFKKy9MVCzDQyegouRhvnk2U+PaLxkhq3nkdQjCLG3qwQ4F78JRS2yCdyzgZhsyb01ibhLFDlQ/F2SlbkAaxVlCpkgUThmJOmpwBfC3wb2jWGdqkirEg/y+EoevsJD+gDfelh9Z1+FkfIj8Tez7b/6jj8BVG4= Received: by 10.70.12.16 with SMTP id 16mr4543492wxl; Sun, 21 May 2006 15:47:13 -0700 (PDT) Received: by 10.70.71.2 with HTTP; Sun, 21 May 2006 15:47:13 -0700 (PDT) Message-ID: Date: Sun, 21 May 2006 15:47:13 -0700 From: "Kip Macy" To: "Christian Brueffer" In-Reply-To: <20060521093642.GA1134@haakonia.hitnet.RWTH-Aachen.DE> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <54270.1148192447@critter.freebsd.dk> <20060521071743.GB82826@gk.360sip.com> <20060521093642.GA1134@haakonia.hitnet.RWTH-Aachen.DE> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 22:47:16 -0000 I can't find the original e-mail, but someone was suggesting I post a dmesg to link to. http://www.fsmware.com/sun4v/dmesg_latest.txt On 5/21/06, Christian Brueffer wrote: > On Sun, May 21, 2006 at 12:20:14AM -0700, Kip Macy wrote: > > If Linux can get a CNET article about just partially booting on the T1 > > I think that FreeBSD can add a couple of lines to its own website > > :-). > > > > -Kip > > Great news! Does the following look ok? > > Index: news.xml > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /data/ncvs/freebsd/www/en/news/news.xml,v > retrieving revision 1.398 > diff -u -r1.398 news.xml > --- news.xml 17 May 2006 21:13:37 -0000 1.398 > +++ news.xml 21 May 2006 09:34:19 -0000 > @@ -32,6 +32,22 @@ > 5 > > > + 21 > + > + FreeBSD Self-Hosting on the Sun T1 Processor > + > +

FreeBSD is now able to complete a full run of the > + "make buildworld" command on machines running the Sun T1 > + processor with CoolThreads technology, and is thus self-hosti= ng. > + The code currently resides in the + href=3D"http://perforce.freebsd.org/branchView.cgi?BRANCH= =3Dkmacy%5fsun4v"> > + FreeBSD Perforce revision control system and will be merg= ed to > + the official CVS repository, once support for logical domaini= ng > + is complete

> +
> +
> + > + > 17 > >

New committer: > > - Christian > > -- > Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org > GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc > GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D > > > From owner-freebsd-current@FreeBSD.ORG Sun May 21 23:51:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72FB316A586; Sun, 21 May 2006 23:51:53 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E523543D45; Sun, 21 May 2006 23:51:50 +0000 (GMT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.13.4.20060308/8.13.4) with ESMTP id k4LNpmel095333; Sun, 21 May 2006 16:51:48 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.13.4.20060308/8.13.4/Submit) id k4LNpmhJ095330; Sun, 21 May 2006 16:51:48 -0700 (PDT) Date: Sun, 21 May 2006 16:51:48 -0700 (PDT) From: Matthew Dillon Message-Id: <200605212351.k4LNpmhJ095330@apollo.backplane.com> To: David Xu References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <20060519210105.d4418b6f.rosti.bsd@gmail.com> <20060520012653.41cf7366.rosti.bsd@gmail.com> <200605211606.43381.davidxu@freebsd.org> Cc: Rostislav Krasny , Igor Sysoev , Colin Percival , freebsd-current@freebsd.org Subject: Re: [PATCH] FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 23:51:55 -0000 :> :> By the way, following command could be used to check how kernel has :> been compiled, regarding the CPU_FXSAVE_LEAK option: :> :> objdump -x /boot/kernel/kernel | grep fpu_clean_state : :The patch looks fine to me, but can it be CPU_FXSAVE_NOLEAK ? :so only people know the problem will turn it on. : :David Xu I don't think it really needs to be optioned. Since the FPU state is demand-loaded from a trap/exception anyway, a huge amount of code is run in the same path that fpu_clean_state is called from. fpu_clean_state itself only eats a few nanoseconds (like maybe ~1/10 of the time that fninit takes). -Matt From owner-freebsd-current@FreeBSD.ORG Mon May 22 00:02:46 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F15416A520; Mon, 22 May 2006 00:02:46 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC06243D46; Mon, 22 May 2006 00:02:45 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k4M02fQG028301; Sun, 21 May 2006 20:02:41 -0400 (EDT) Date: Sun, 21 May 2006 20:02:41 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Julian Elischer In-Reply-To: <4470DB4A.6020304@elischer.org> Message-ID: References: <4470DB4A.6020304@elischer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: re@freebsd.org, Hajimu UMEMOTO , current@freebsd.org Subject: Re: Shared library version bump? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 00:02:46 -0000 On Sun, 21 May 2006, Julian Elischer wrote: > Hajimu UMEMOTO wrote: > >> deischen> Go ahead. Just realize though, that after 7.0 is released >> deischen> you will have to support any ABI from then on without version >> deischen> bumps (meaning, you have to keep shims for any old 7.0+ ABIs >> deischen> in libc). >> >> ume> Okay, I'll do. >> > > I assume htat EVENTUALLY we will bump numbers again when something > sufficiently > big needs to be done to the ABI. Symbol versioning is suppose to allow one library to support different ABIs, so the hope is that we will never have to bump libc's version number. If you change ABI, you still have to keep the old code around (or some sort of compatability shims) in the library. -- DE From owner-freebsd-current@FreeBSD.ORG Mon May 22 00:51:52 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id CCCD716A542; Mon, 22 May 2006 00:51:51 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: freebsd-current@freebsd.org Date: Mon, 22 May 2006 08:51:39 +0800 User-Agent: KMail/1.8.2 References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <200605211606.43381.davidxu@freebsd.org> <200605212351.k4LNpmhJ095330@apollo.backplane.com> In-Reply-To: <200605212351.k4LNpmhJ095330@apollo.backplane.com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605220851.40212.davidxu@freebsd.org> Cc: Rostislav Krasny , Igor Sysoev , Colin Percival Subject: Re: [PATCH] FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 00:51:52 -0000 On Monday 22 May 2006 07:51, Matthew Dillon wrote: > :> By the way, following command could be used to check how kernel has > :> been compiled, regarding the CPU_FXSAVE_LEAK option: > :> > :> objdump -x /boot/kernel/kernel | grep fpu_clean_state > : > :The patch looks fine to me, but can it be CPU_FXSAVE_NOLEAK ? > :so only people know the problem will turn it on. > : > :David Xu > > I don't think it really needs to be optioned. Since the FPU state > is demand-loaded from a trap/exception anyway, a huge amount of code > is run in the same path that fpu_clean_state is called from. > fpu_clean_state itself only eats a few nanoseconds (like maybe ~1/10 > of the time that fninit takes). > > -Matt > > I personally hate to see such nasty code if my CPU does not have such a nasty bug, I don't know if the existing code really has impact in real world. David Xu From owner-freebsd-current@FreeBSD.ORG Sun May 21 22:43:49 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F68816AD5E for ; Sun, 21 May 2006 22:43:49 +0000 (UTC) (envelope-from will@firepipe.net) Received: from puck.firepipe.net (gw.boulder.firepipe.net [216.87.87.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA76443D45 for ; Sun, 21 May 2006 22:43:44 +0000 (GMT) (envelope-from will@firepipe.net) Received: by puck.firepipe.net (Postfix, from userid 1000) id 2B71561C46; Sun, 21 May 2006 16:43:44 -0600 (MDT) Date: Sun, 21 May 2006 16:43:44 -0600 From: Will Andrews To: freebsd-current@freebsd.org Message-ID: <20060521224343.GE82368@puck.firepipe.net> Mail-Followup-To: freebsd-current@freebsd.org References: <1148189442.2692.4.camel@spirit> <20060521174358.GB82368@puck.firepipe.net> <20060521195737.W8068@fledge.watson.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fWddYNRDgTk9wQGZ" Content-Disposition: inline In-Reply-To: <20060521195737.W8068@fledge.watson.org> User-Agent: Mutt/1.5.11 X-Mailman-Approved-At: Mon, 22 May 2006 01:02:59 +0000 Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 22:44:25 -0000 --fWddYNRDgTk9wQGZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 21, 2006 at 07:58:41PM +0100, Robert Watson wrote: > In general, cvsup10 (and presumably 18?) carry only a small subset of=20 > Perforce -- they explicitly export certain branches. In the past, the CV= S=20 > exporter has proven a bit unreliable in the context of TrustedBSD -- it= =20 > occasionally breaks when it finds something it doesn't like, require=20 > administrator fixing, etc. OK, my apologies for the misinformation. --=20 wca --fWddYNRDgTk9wQGZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEcO0eF47idPgWcsURArLsAJ4pMs97ztLF8Rb7Nqr2aug81eIoEwCeMETI OIA92xKO7P2ycmMJixgAkus= =plYH -----END PGP SIGNATURE----- --fWddYNRDgTk9wQGZ-- From owner-freebsd-current@FreeBSD.ORG Mon May 22 01:26:12 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E5B716A428 for ; Mon, 22 May 2006 01:26:12 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 875CA43D46 for ; Mon, 22 May 2006 01:26:11 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by wx-out-0102.google.com with SMTP id i30so527750wxd for ; Sun, 21 May 2006 18:26:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RYplcHHiLFreElHHuY9KgSNkBYBw2Gi5D+4dUnbu9290ftmNWLuATrKryCgvJP3RAlVMUoGUykel45exf2XQdvDZLdK0fZ9VcIXwbMiJlKz2ohXG3M64a/Tzatl0XVGyel7Y/sajP9YBE7PlZlRjOoYDwZo/qUqlhITwPzE6hVc= Received: by 10.70.17.10 with SMTP id 10mr4625799wxq; Sun, 21 May 2006 18:26:09 -0700 (PDT) Received: by 10.70.35.7 with HTTP; Sun, 21 May 2006 18:26:09 -0700 (PDT) Message-ID: <70e8236f0605211826x3e58904fpb88979cf5da348c4@mail.gmail.com> Date: Mon, 22 May 2006 02:26:09 +0100 From: "Joao Barros" To: kmacy@fsmware.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <54270.1148192447@critter.freebsd.dk> <20060521071743.GB82826@gk.360sip.com> <20060521093642.GA1134@haakonia.hitnet.RWTH-Aachen.DE> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 01:26:12 -0000 On 5/21/06, Kip Macy wrote: > I can't find the original e-mail, but someone was suggesting I post a > dmesg to link to. > > http://www.fsmware.com/sun4v/dmesg_latest.txt I'm wondering, Sun provided the machine along with documentation to enable FreeBSD to run on it. But booting is one thing, making use of all of the machine is another: pci9: at device 8.0 (no driver attached) pci10: at device 1.0 (no driver attached) pci10: at device 2.0 (no driver attached) Did they provide documentation for IDE, SCSI, RAID and Fibre controllers the machine has? Not to bite the hand of Sun but just wondering if they gave just a hand or the whole arm ;-) PS: Good job! --=20 Joao Barros From owner-freebsd-current@FreeBSD.ORG Mon May 22 01:30:23 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3918216A6C1 for ; Mon, 22 May 2006 01:30:22 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3DAA43D6E for ; Mon, 22 May 2006 01:30:16 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so816446wxd for ; Sun, 21 May 2006 18:30:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a20yIMqQ8NBK/rzQ4a8ldSvQZdLKnOKgCLSLrFY6hCx4vauS8IpsUlDNURq0+HHzF70aA4/lRexUnJzyCv0GpNHIGfQmz+tzHwOOYgJx2NVRCPuy2sDaQIem24UFvn7FrQwssTVVwvWE6F5C5ojbBDwu1IuRlSXJJKkRyaQpDtI= Received: by 10.70.116.10 with SMTP id o10mr4628254wxc; Sun, 21 May 2006 18:30:16 -0700 (PDT) Received: by 10.70.71.2 with HTTP; Sun, 21 May 2006 18:30:16 -0700 (PDT) Message-ID: Date: Sun, 21 May 2006 18:30:16 -0700 From: "Kip Macy" To: "Joao Barros" In-Reply-To: <70e8236f0605211826x3e58904fpb88979cf5da348c4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <54270.1148192447@critter.freebsd.dk> <20060521071743.GB82826@gk.360sip.com> <20060521093642.GA1134@haakonia.hitnet.RWTH-Aachen.DE> <70e8236f0605211826x3e58904fpb88979cf5da348c4@mail.gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 01:30:25 -0000 The fibre channel is a borrowed qlogic card. At the moment it hangs late in boot when I enable isp. The LSI SAS card uses the MPT driver which isn't big-endian safe yet. So information isn't the problem in this case. -Kip > I'm wondering, Sun provided the machine along with documentation to > enable FreeBSD to run on it. But booting is one thing, making use of > all of the machine is another: > pci9: at device 8.0 (no driver attached) > pci10: at device 1.0 (no driver attached) > pci10: at device 2.0 (no driver attached) > > Did they provide documentation for IDE, SCSI, RAID and Fibre > controllers the machine has? > Not to bite the hand of Sun but just wondering if they gave just a > hand or the whole arm ;-) > > PS: Good job! > -- > Joao Barros > From owner-freebsd-current@FreeBSD.ORG Mon May 22 01:31:37 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8549416A4EE for ; Mon, 22 May 2006 01:31:37 +0000 (UTC) (envelope-from rosti.bsd@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id C773E43D6E for ; Mon, 22 May 2006 01:31:24 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so1198451uge for ; Sun, 21 May 2006 18:31:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=D4dv3oA6JU81glxNumQlcdAmlhO96PsNPsoO3Ktk4QyaXVnp5vK2EawWzhQOtwcFmc7jrKye6DThUevlx+ODJXs1R9A5AkNGD/KkWUtG3Qiru4xPiHCGKtLHU74HaHNTmdO3fNNPzpp7KeWJ1L4pancV4EnJ1FE5MCbR5lzNxsE= Received: by 10.66.244.11 with SMTP id r11mr3309707ugh; Sun, 21 May 2006 18:31:22 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id e1sm4848886ugf.2006.05.21.18.31.20; Sun, 21 May 2006 18:31:22 -0700 (PDT) Date: Mon, 22 May 2006 04:31:15 +0300 From: Rostislav Krasny To: David Xu Message-Id: <20060522043115.e581e490.rosti.bsd@gmail.com> In-Reply-To: <200605211606.43381.davidxu@freebsd.org> References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <20060519210105.d4418b6f.rosti.bsd@gmail.com> <20060520012653.41cf7366.rosti.bsd@gmail.com> <200605211606.43381.davidxu@freebsd.org> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Mon__22_May_2006_04_31_15_+0300_KGhdYI=ifZv6W/Kh" Cc: Igor Sysoev , Colin Percival , freebsd-current@freebsd.org Subject: Re: [PATCH] FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 01:31:38 -0000 This is a multi-part message in MIME format. --Multipart=_Mon__22_May_2006_04_31_15_+0300_KGhdYI=ifZv6W/Kh Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 21 May 2006 16:06:43 +0800 David Xu wrote: > On Saturday 20 May 2006 06:26, Rostislav Krasny wrote: > > Ok, there is the patch. Attached to this email. I tested it on my i386 > > 6.1-STABLE with GENERIC and with custom MYKERNEL. MYKERNEL doesn't have > > "options CPU_FXSAVE_LEAK" and it also attached to this email. I changed > > FXSAVE_LEAK to CPU_FXSAVE_LEAK for consistency with other CPU_* options. > > I don't have any amd64 machine, so I didn't test this patch on that > > architecture. Could somebody with amd64 test it? > > > > By the way, following command could be used to check how kernel has > > been compiled, regarding the CPU_FXSAVE_LEAK option: > > > > objdump -x /boot/kernel/kernel | grep fpu_clean_state > > The patch looks fine to me, but can it be CPU_FXSAVE_NOLEAK ? > so only people know the problem will turn it on. I've changed the patch. But instead of CPU_FXSAVE_NOLEAK I use CPU_FXSAVE_NO_LEAK, for consistency with options like CPU_CYRIX_NO_LOCK. The new patch is safer for STABLE users with custom kernels because even previously customized kernels should continue to use fpu_clean_state() after rebuilding. A new version of the patch is attached to this email. If that patch is going to be commited, a few words about it should probably be written in the src/UPDATING for those who use Intel or VIA processors. --Multipart=_Mon__22_May_2006_04_31_15_+0300_KGhdYI=ifZv6W/Kh Content-Type: text/plain; name="fpu2.diff" Content-Disposition: attachment; filename="fpu2.diff" Content-Transfer-Encoding: 7bit diff -ru src/sys.orig/amd64/amd64/fpu.c src/sys/amd64/amd64/fpu.c --- src/sys.orig/amd64/amd64/fpu.c Sun Apr 23 00:16:39 2006 +++ src/sys/amd64/amd64/fpu.c Mon May 22 02:56:15 2006 @@ -33,6 +33,8 @@ #include __FBSDID("$FreeBSD: src/sys/amd64/amd64/fpu.c,v 1.157.2.1 2006/04/19 07:00:35 cperciva Exp $"); +#include "opt_cpu.h" + #include #include #include @@ -96,7 +98,9 @@ typedef u_char bool_t; +#ifndef CPU_FXSAVE_NO_LEAK static void fpu_clean_state(void); +#endif int hw_float = 1; SYSCTL_INT(_hw,HW_FLOATINGPT, floatingpoint, @@ -409,7 +413,9 @@ PCPU_SET(fpcurthread, curthread); pcb = PCPU_GET(curpcb); +#ifndef CPU_FXSAVE_NO_LEAK fpu_clean_state(); +#endif if ((pcb->pcb_flags & PCB_FPUINITDONE) == 0) { /* @@ -478,7 +484,9 @@ s = intr_disable(); if (td == PCPU_GET(fpcurthread)) { +#ifndef CPU_FXSAVE_NO_LEAK fpu_clean_state(); +#endif fxrstor(addr); intr_restore(s); } else { @@ -488,6 +496,7 @@ curthread->td_pcb->pcb_flags |= PCB_FPUINITDONE; } +#ifndef CPU_FXSAVE_NO_LEAK /* * On AuthenticAMD processors, the fxrstor instruction does not restore * the x87's stored last instruction pointer, last data pointer, and last @@ -518,6 +527,7 @@ */ __asm __volatile("ffree %%st(7); fld %0" : : "m" (dummy_variable)); } +#endif /* !CPU_FXSAVE_NO_LEAK */ /* * This really sucks. We want the acpi version only, but it requires diff -ru src/sys.orig/amd64/conf/NOTES src/sys/amd64/conf/NOTES --- src/sys.orig/amd64/conf/NOTES Mon May 1 11:47:20 2006 +++ src/sys/amd64/conf/NOTES Mon May 22 02:45:11 2006 @@ -57,6 +57,12 @@ # Options for CPU features. # +# CPU_FXSAVE_NO_LEAK disables security workaround of FPU registers leak by +# FXSAVE and FXRSTOR instructions of "7th generation" and "8th generation" +# processors manufactured by AMD. For more information read a +# FreeBSD-SA-06:14.fpu security advisory. +options CPU_FXSAVE_NO_LEAK + # # PERFMON causes the driver for Pentium/Pentium Pro performance counters # to be compiled. See perfmon(4) for more information. diff -ru src/sys.orig/conf/options.amd64 src/sys/conf/options.amd64 --- src/sys.orig/conf/options.amd64 Thu Jun 30 02:23:16 2005 +++ src/sys/conf/options.amd64 Mon May 22 02:39:36 2006 @@ -49,6 +49,7 @@ # EOF # ------------------------------- HAMMER opt_cpu.h +CPU_FXSAVE_NO_LEAK opt_cpu.h PPC_PROBE_CHIPSET opt_ppc.h PPC_DEBUG opt_ppc.h PSM_HOOKRESUME opt_psm.h diff -ru src/sys.orig/conf/options.i386 src/sys/conf/options.i386 --- src/sys.orig/conf/options.i386 Sat Jul 2 23:06:42 2005 +++ src/sys/conf/options.i386 Mon May 22 02:38:22 2006 @@ -52,6 +52,7 @@ CPU_ELAN_XTAL opt_cpu.h CPU_ENABLE_LONGRUN opt_cpu.h CPU_FASTER_5X86_FPU opt_cpu.h +CPU_FXSAVE_NO_LEAK opt_cpu.h CPU_GEODE opt_cpu.h CPU_I486_ON_386 opt_cpu.h CPU_IORT opt_cpu.h diff -ru src/sys.orig/i386/conf/NOTES src/sys/i386/conf/NOTES --- src/sys.orig/i386/conf/NOTES Thu May 11 15:41:40 2006 +++ src/sys/i386/conf/NOTES Mon May 22 02:45:36 2006 @@ -118,6 +118,11 @@ # # CPU_FASTER_5X86_FPU enables faster FPU exception handler. # +# CPU_FXSAVE_NO_LEAK disables security workaround of FPU registers leak by +# FXSAVE and FXRSTOR instructions of "7th generation" and "8th generation" +# processors manufactured by AMD. For more information read a +# FreeBSD-SA-06:14.fpu security advisory. +# # CPU_GEODE is for the SC1100 Geode embedded processor. This option # is necessary because the i8254 timecounter is toast. # @@ -192,6 +197,7 @@ options CPU_ELAN_XTAL=32768000 options CPU_ENABLE_LONGRUN options CPU_FASTER_5X86_FPU +options CPU_FXSAVE_NO_LEAK options CPU_GEODE options CPU_I486_ON_386 options CPU_IORT diff -ru src/sys.orig/i386/isa/npx.c src/sys/i386/isa/npx.c --- src/sys.orig/i386/isa/npx.c Mon May 1 11:48:01 2006 +++ src/sys/i386/isa/npx.c Mon May 22 02:54:26 2006 @@ -142,7 +142,7 @@ typedef u_char bool_t; -#ifdef CPU_ENABLE_SSE +#if defined(CPU_ENABLE_SSE) && !defined(CPU_FXSAVE_NO_LEAK) static void fpu_clean_state(void); #endif @@ -956,7 +956,7 @@ fnsave(addr); } -#ifdef CPU_ENABLE_SSE +#if defined(CPU_ENABLE_SSE) && !defined(CPU_FXSAVE_NO_LEAK) /* * On AuthenticAMD processors, the fxrstor instruction does not restore * the x87's stored last instruction pointer, last data pointer, and last @@ -987,7 +987,7 @@ */ __asm __volatile("ffree %%st(7); fld %0" : : "m" (dummy_variable)); } -#endif /* CPU_ENABLE_SSE */ +#endif /* CPU_ENABLE_SSE && !CPU_FXSAVE_NO_LEAK */ static void fpurstor(addr) @@ -996,7 +996,9 @@ #ifdef CPU_ENABLE_SSE if (cpu_fxsr) { +#ifndef CPU_FXSAVE_NO_LEAK fpu_clean_state(); +#endif fxrstor(addr); } else #endif --Multipart=_Mon__22_May_2006_04_31_15_+0300_KGhdYI=ifZv6W/Kh-- From owner-freebsd-current@FreeBSD.ORG Mon May 22 01:51:12 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FFD316A485 for ; Mon, 22 May 2006 01:51:12 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0073143D45 for ; Mon, 22 May 2006 01:51:11 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.18.171.231]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IZN00LQA959CZ80@vms042.mailsrvcs.net> for current@freebsd.org; Sun, 21 May 2006 20:51:10 -0500 (CDT) Date: Sun, 21 May 2006 21:50:29 -0400 From: "Alexandre \"Sunny\" Kovalenko" To: current@freebsd.org Message-id: <1148262629.1065.9.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-type: text/plain; charset=iso-8859-5 Content-transfer-encoding: 8BIT Cc: Subject: Assertion failed... function arena_run_reg_dalloc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 01:51:12 -0000 I get following message on today's (May 21) -CURRENT with up-to-date jpilot from ports: Assertion failed: ((run->regs_mask[elm] & (1 << bit)) == 0), function arena_run_reg_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 1638. Program received signal SIGABRT, Aborted. 0x28adbf97 in kill () from /lib/libc.so.6 Code leading to this is as follows: Breakpoint 1, get_inline_pixbuf_data.0 () at jpilot.c:1358 1358 pixbuf = gdk_pixbuf_new_from_xpm_data(xpm_icon_data); 1360 return NULL; 1359 if (!pixbuf) 1362 if (gdk_pixbuf_get_width(pixbuf) != icon_size || 1362 if (gdk_pixbuf_get_width(pixbuf) != icon_size || 1370 pixdata = (GdkPixdata*)g_malloc(sizeof(GdkPixdata)); 1371 gdk_pixdata_from_pixbuf(pixdata, pixbuf, FALSE); 1370 pixdata = (GdkPixdata*)g_malloc(sizeof(GdkPixdata)); 1371 gdk_pixdata_from_pixbuf(pixdata, pixbuf, FALSE); 1372 data = gdk_pixdata_serialize(pixdata, &len); 1374 fprintf(stderr, "pixbuf pointer is %04x\n", pixbuf); pixbuf pointer is 8292f18 1375 g_free(pixbuf); Assertion failed: ((run->regs_mask[elm] & (1 << bit)) == 0), function arena_run_reg_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 1638. Program received signal SIGABRT, Aborted. 0x28adbf97 in kill () from /lib/libc.so.6 Stack trace is: (gdb) bt #0 0x28adbf97 in kill () from /lib/libc.so.6 #1 0x289df7c7 in raise () from /lib/libpthread.so.2 #2 0x28adaabc in abort () from /lib/libc.so.6 #3 0x28ac31b6 in __assert () from /lib/libc.so.6 #4 0x28a6548d in reallocf () from /lib/libc.so.6 #5 0x28a67b19 in free () from /lib/libc.so.6 #6 0x287f38b1 in g_free () from /usr/local/lib/libglib-2.0.so.0 #7 0x0807cf6a in get_inline_pixbuf_data.0 () at jpilot.c:1375 #8 0x0807d4cd in get_main_menu (window=0x82a5028, menubar=0xbfbfdee0, plugin_list=0x82b0830) at jpilot.c:1382 #9 0x0807f0eb in main (argc=1, argv=0xbfbfe770) at jpilot.c:2443 Malloc flags are: lrwxr-xr-x 1 root wheel 3 May 21 21:32 /etc/malloc.conf -> ajZ Since pointer does not look unreasonable, I would really appreciate any suggestion on why is this specific assertion was triggered. That would allow me to look for the culprit. I would be happy to provide any additional information. -- Alexandre Kovalenko (¾ÛÕÚáÐÝÔà ºÞÒÐÛÕÝÚÞ) From owner-freebsd-current@FreeBSD.ORG Mon May 22 01:55:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BFC916A4C2 for ; Mon, 22 May 2006 01:55:14 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp1.utsp.utwente.nl [130.89.2.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A6F243D45 for ; Mon, 22 May 2006 01:55:13 +0000 (GMT) (envelope-from pieter@degoeje.nl) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id k4M1t8gC009750 for ; Mon, 22 May 2006 03:55:08 +0200 From: Pieter de Goeje To: freebsd-current@freebsd.org Date: Mon, 22 May 2006 03:55:08 +0200 User-Agent: KMail/1.9.1 References: <20060520141209.A2285@free.home.local> In-Reply-To: <20060520141209.A2285@free.home.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605220355.08380.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 01:55:24 -0000 Hi, I have a Sound Blaster Live! 5.1 Digital card (well, that's what it says on the card itself), but it isn't detected correctly until after I add the following line to emu10kx.c: {0x1102, 0x0002, 0x1102, 0x8066, "CT4780", "SBLive! 5.1 Digital", HAS_AC97 | HAS_51 | IS_EMU10K1}, Otherwise it's detected as "SBLive! (Unknown model)", without the 5.1 bits. The driver seems to work fine here, I didn't do extensive testing but I can play my mp3s :) pciconf -vl: emu10kx0@pci0:10:0: class=0x040100 card=0x80661102 chip=0x00021102 rev=0x0a hdr=0x00 vendor = 'Creative Labs' device = 'EMU10000 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780' class = multimedia subclass = audio cat /dev/emu10kx0 FreeBSD EMU10Kx Audio Driver Hardware resource usage: DSP General Purpose Registers: 38 used, 256 total DSP Instruction Registers: 54 used, 512 total Card supports AC97 codec and 5.1 output, SBLive! DSP code Installed devices: EMU10Kx DSP FRONT PCM Interface on pcm0 EMU10Kx DSP REAR PCM Interface on pcm1 EMU10Kx DSP CENTER PCM Interface on pcm2 EMU10Kx DSP SUBWOOFER PCM Interface on pcm3 EMU10Kx MIDI Interface On-card connector on midi0 IR reciever MIDI events disabled Regards, Pieter de Goeje From owner-freebsd-current@FreeBSD.ORG Mon May 22 02:08:16 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEDC716A42F; Mon, 22 May 2006 02:08:16 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 769F543D45; Mon, 22 May 2006 02:08:16 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [192.168.2.2]) ([10.251.60.93]) by a50.ironport.com with ESMTP; 21 May 2006 19:08:16 -0700 Message-ID: <44711D0F.3060104@elischer.org> Date: Sun, 21 May 2006 19:08:15 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Eischen References: <4470DB4A.6020304@elischer.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: re@freebsd.org, Hajimu UMEMOTO , current@freebsd.org Subject: Re: Shared library version bump? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 02:08:17 -0000 Daniel Eischen wrote: > On Sun, 21 May 2006, Julian Elischer wrote: > >> Hajimu UMEMOTO wrote: >> >>> deischen> Go ahead. Just realize though, that after 7.0 is released >>> deischen> you will have to support any ABI from then on without version >>> deischen> bumps (meaning, you have to keep shims for any old 7.0+ ABIs >>> deischen> in libc). >>> >>> ume> Okay, I'll do. >>> >> >> I assume htat EVENTUALLY we will bump numbers again when something >> sufficiently >> big needs to be done to the ABI. > > > Symbol versioning is suppose to allow one library to support different > ABIs, so the hope is that we will never have to bump libc's version > number. If you change ABI, you still have to keep the old code around > (or some sort of compatability shims) in the library. > yes but that could get too big a drain on resources oftetr while (trying ot shim really old stuff into really new stuff.) It might eventually get to a point where it would be good to cut and run.. From owner-freebsd-current@FreeBSD.ORG Mon May 22 02:00:50 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0AE916A437 for ; Mon, 22 May 2006 02:00:50 +0000 (UTC) (envelope-from needacoder@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49E0C43D45 for ; Mon, 22 May 2006 02:00:50 +0000 (GMT) (envelope-from needacoder@gmail.com) Received: by nf-out-0910.google.com with SMTP id x29so469758nfb for ; Sun, 21 May 2006 19:00:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mgb/gZi5bOYaOHvfmU0xqzmUhnQmz8i+jMbYEfZ4koY8EXQQYBgOzIz2kd7U0kyFvHwSk5jVxosgH4z4YHj7sCttqoZq0pcAPbnW4tzfBsiu/BCwnjrbwKGff347inRXSHP5D1OkdobM4lNUPmHxQ5GdYMDmjZT2bDRHHZAPbwY= Received: by 10.49.61.19 with SMTP id o19mr3351061nfk; Sun, 21 May 2006 18:54:19 -0700 (PDT) Received: by 10.49.75.2 with HTTP; Sun, 21 May 2006 18:54:19 -0700 (PDT) Message-ID: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> Date: Sun, 21 May 2006 21:54:19 -0400 From: "m m" To: kmacy@fsmware.com, current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Mailman-Approved-At: Mon, 22 May 2006 03:01:02 +0000 Cc: Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 02:00:51 -0000 On 5/21/06, Kip Macy wrote: > I can't find the original e-mail, but someone was suggesting I post a > dmesg to link to. > > http://www.fsmware.com/sun4v/dmesg_latest.txt ... FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs ... SMP: AP CPU #31 Launched! SMP: AP CPU #30 Launched! SMP: AP CPU #29 Launched! SMP: AP CPU #28 Launched! ... Some phylosophical questions - is this machine really an SMP? Can we have an "SMP" when there's only one chip? (it's CMT/CMP, isn't it?) Can we perhaps stop calling any MP an "SMP" one of these days? While on topic, the Opterons aren't SMP either, and neither are the ht-Xeons... but we somehow keep lumping them into the "SMP" category. Maybe we should fix this once and for all? Won't it be weird to write page-allocation code for NUMA machines and put the code into an SMP directory? What about coloring algorithms on the T1000 to improve locality in it's funky cache hierarchy, are we going to put that under "SMP" category too? Who was it that decided that all the world that has more than core is an SMP? (please pardon the format of this mail - but I really only have questions, no answers...) From owner-freebsd-current@FreeBSD.ORG Mon May 22 03:20:00 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 117EA16A421; Mon, 22 May 2006 03:20:00 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98C9B43D45; Mon, 22 May 2006 03:19:59 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k4M3Ju8d026311; Sun, 21 May 2006 23:19:56 -0400 (EDT) Date: Sun, 21 May 2006 23:19:56 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Julian Elischer In-Reply-To: <44711D0F.3060104@elischer.org> Message-ID: References: <4470DB4A.6020304@elischer.org> <44711D0F.3060104@elischer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: re@freebsd.org, Hajimu UMEMOTO , current@freebsd.org Subject: Re: Shared library version bump? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 03:20:00 -0000 On Sun, 21 May 2006, Julian Elischer wrote: > Daniel Eischen wrote: > >> On Sun, 21 May 2006, Julian Elischer wrote: >> >>> Hajimu UMEMOTO wrote: >>> >>>> deischen> Go ahead. Just realize though, that after 7.0 is released >>>> deischen> you will have to support any ABI from then on without version >>>> deischen> bumps (meaning, you have to keep shims for any old 7.0+ ABIs >>>> deischen> in libc). >>>> >>>> ume> Okay, I'll do. >>>> >>> >>> I assume htat EVENTUALLY we will bump numbers again when something >>> sufficiently >>> big needs to be done to the ABI. >> >> >> Symbol versioning is suppose to allow one library to support different >> ABIs, so the hope is that we will never have to bump libc's version >> number. If you change ABI, you still have to keep the old code around >> (or some sort of compatability shims) in the library. >> > yes but that could get too big a drain on resources oftetr while (trying ot > shim really old > stuff into really new stuff.) It might eventually get to a point where it > would be good > to cut and run.. You can never say never, but we need to better maintain our ABI. I believe Solaris has had one only version of libc from day one (Solaris, not the BSD-derived SunOS). I can see bumping libc version number again if, for instance, we were to move the resolver stuff into libresolv, or something like that. -- DE From owner-freebsd-current@FreeBSD.ORG Mon May 22 03:31:33 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCB0816A422 for ; Mon, 22 May 2006 03:31:33 +0000 (UTC) (envelope-from root@solink.ru) Received: from ns.itam.nsc.ru (ns.itam.nsc.ru [194.226.179.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 125DE43D45 for ; Mon, 22 May 2006 03:31:32 +0000 (GMT) (envelope-from root@solink.ru) Received: from site.lan (itut.itam.nsc.ru [194.226.179.2]) by ns.itam.nsc.ru (8.13.1/8.13.1) with ESMTP id k4M3VO9l013969 for ; Mon, 22 May 2006 10:31:25 +0700 Received: from bocha.solink.office ([192.168.66.166]) (authenticated bits=0) by site.lan (8.12.11.20060308/8.12.11) with ESMTP id k4M3VMJD031356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 May 2006 10:31:23 +0700 From: Bachilo Dmitry Organization: Solink Ltd To: freebsd-current@freebsd.org Date: Mon, 22 May 2006 10:31:22 +0700 User-Agent: KMail/1.9.1 References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> In-Reply-To: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200605221031.23050.root@solink.ru> Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 03:31:34 -0000 =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 =F0=CF=CE=C5=C4=C5=CC=D8=CE=C9=CB 22= =CD=C1=D1 2006 08:54 m m =CE=C1=D0=C9=D3=C1=CC(a): > On 5/21/06, Kip Macy wrote: > > I can't find the original e-mail, but someone was suggesting I post a > > dmesg to link to. > > > > http://www.fsmware.com/sun4v/dmesg_latest.txt > > ... > FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs > ... > SMP: AP CPU #31 Launched! > SMP: AP CPU #30 Launched! > SMP: AP CPU #29 Launched! > SMP: AP CPU #28 Launched! > ... > > Some phylosophical questions - is this machine really an SMP? Can we > have an "SMP" when there's only one chip? (it's CMT/CMP, isn't it?) > Can we perhaps stop calling any MP an "SMP" one of these days? While > on topic, the Opterons aren't SMP either, and neither are the > ht-Xeons... but we somehow keep lumping them into the "SMP" category. > Maybe we should fix this once and for all? Won't it be weird to > write page-allocation code for NUMA machines and put the code into an > SMP directory? What about coloring algorithms on the T1000 to improve > locality in it's funky cache hierarchy, are we going to put that under > "SMP" category too? Who was it that decided that all the world that > has more than core is an SMP? > > (please pardon the format of this mail - but I really only have > questions, no answers...) Well, this is 8-core processor, so it is pretty an SMP system, made to have= =20 cheeper multiprocessing then what we call "real" multiprocessor system does= =2E=20 Sun says that it is much wiser to place more cores then to populate PUs and= =20 they themselves call Niagara-powered (UltraSPARC T1) systems a 32-processor= =20 systems. So why not call it SMP? We say SMP when we want to say that there= =20 are many processing devices (cores), noone say that there must be many CPUs= =20 on the mainboard. On the other hand, thread and HT is not a physical core, = so=20 here I should agree - it's not SMP, it's stupid HT or great multithreading= =20 T1. Nevertheless I am shure that noone want to break the tradition or rewrite t= he=20 system just to forget this term.... =2D----------------------- =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E2=C1=DE=C9=CC=CF =E4=CD=C9=D4=D2=C9=CA =F2=D5=CB=CF=D7=CF=C4=C9=D4=C5=CC=D8 =CF=D4=C4=C5=CC=C1 =D3=C9=D3=D4=C5=CD= =CE=CF=CA =C9=CE=D4=C5=C7=D2=C1=C3=C9=C9 =EF=EF=EF "=EB=CF=CD=D0=C1=CE=C9=D1 =F3=CF=EC=C9=CE=CB" From owner-freebsd-current@FreeBSD.ORG Mon May 22 04:15:20 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B471D16A555; Mon, 22 May 2006 04:15:20 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF83043D48; Mon, 22 May 2006 04:15:19 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fi1om-000I8b-Ej; Mon, 22 May 2006 13:14:56 +0900 Message-ID: <44713AC0.70409@micom.mng.net> Date: Mon, 22 May 2006 13:14:56 +0900 From: Ganbold User-Agent: Thunderbird 1.5.0.2 (X11/20060425) MIME-Version: 1.0 To: Brian Candler References: <446D7741.10102@micom.mng.net> <20060519095344.P13833@beagle.kn.op.dlr.de> <446D7C09.3090003@micom.mng.net> <20060519081215.GO84736@cell.sick.ru> <446D80EC.3010106@micom.mng.net> <20060519121256.GA13356@uk.tiscali.com> In-Reply-To: <20060519121256.GA13356@uk.tiscali.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org, Harti Brandt , Gleb Smirnoff Subject: Re: small patch for ngctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 04:15:21 -0000 Brian Candler wrote: > On Fri, May 19, 2006 at 05:25:16PM +0900, Ganbold wrote: > >> Rec'd data packet on hook "qqqq": >> 0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. >> 0010: 00 4e 17 4e 00 00 80 11 a0 c6 c0 a8 00 3b c0 a8 .N.N.........;.. >> 0020: 00 ff 00 89 00 89 00 3a b1 dc 80 8f 01 10 00 01 .......:........ >> 0030: 00 00 00 00 00 00 20 45 4f 45 42 46 44 45 42 45 ...... EOEBFDEBE >> 0040: 42 43 41 43 41 43 41 43 41 43 41 43 41 43 41 43 BCACACACACACACAC >> ... >> >> Is it what it supposed to handle? >> > > Looks like a valid ethernet frame to me; > > ff:ff:ff:ff:ff:ff - destination MAC addr (broadcast) > 00:14:6c:2e:23:71 - source MAC addr > 0800 - protocol (IP) > 45 00 - IPv4 > 00 4e - datagram length > 17 4e 00 00 - ID, flags, frag offset > 80 - TTL > 11 - protocol (UDP) > a0 c6 - header checksum > c0 a8 00 3b - source IP: 192.168.0.59 > c0 a8 00 ff - destination IP: 192.168.0.255 > 00 89 - source port 137 > 00 89 - destination port 137 > 00 3a - length > b1 dc - UDP checksum > ... - ... data > > So I'd say this is some Windows machine broadcasting NetBIOS crap around > your network :-) > Yeah, I'm all alone with FreeBSD, everybody in office uses Windows except me :( Ganbold > Regards, > > Brian. > _______________________________________________ > 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" > > > > From owner-freebsd-current@FreeBSD.ORG Mon May 22 04:17:38 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 329C216A44C; Mon, 22 May 2006 04:17:38 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85AA243D82; Mon, 22 May 2006 04:17:25 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:KsgB9gQeoC41avYCp2+GDuh/qYBXfiuutt4p8j3KQwHzlHPJEi9mM/MLrq6DG7ac@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.6/8.13.6) with ESMTP/inet6 id k4M4HHgZ061789 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 May 2006 13:17:20 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Mon, 22 May 2006 13:17:16 +0900 Message-ID: From: Hajimu UMEMOTO To: Andrey Chernov In-Reply-To: <20060522012521.GA33030@nagual.pp.ru> References: <20060522012521.GA33030@nagual.pp.ru> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 5.5-PRERELEASE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.5 (ameno.mahoroba.org [IPv6:::1]); Mon, 22 May 2006 13:17:20 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on ameno.mahoroba.org Cc: current@freebsd.org Subject: Re: Libc bumping X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 04:17:38 -0000 Hi, >>>>> On Mon, 22 May 2006 05:25:22 +0400 >>>>> Andrey Chernov said: ache> Since you bump libc major to 7, do you saw the comments near that line, ache> saying: ache> # If you bump SHLIB_MAJOR, remove the kluge from gen/gethostname.c. ache> # If you bump SHLIB_MAJOR, see standards/55112. ache> ? I didn't notice them. Please feel free to fix them before enabling symbol versioning. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-current@FreeBSD.ORG Mon May 22 04:18:42 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E42A16A531; Mon, 22 May 2006 04:18:42 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC60B43D69; Mon, 22 May 2006 04:18:33 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fi1sB-000I9x-Av; Mon, 22 May 2006 13:18:27 +0900 Message-ID: <44713B93.2060603@micom.mng.net> Date: Mon, 22 May 2006 13:18:27 +0900 From: Ganbold User-Agent: Thunderbird 1.5.0.2 (X11/20060425) MIME-Version: 1.0 To: Harti Brandt References: <446D7741.10102@micom.mng.net> <20060519095344.P13833@beagle.kn.op.dlr.de> <446D7C09.3090003@micom.mng.net> <20060519081215.GO84736@cell.sick.ru> <446D80EC.3010106@micom.mng.net> <20060519135346.L13833@beagle.kn.op.dlr.de> In-Reply-To: <20060519135346.L13833@beagle.kn.op.dlr.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org, Gleb Smirnoff Subject: Re: small patch for ngctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 04:18:42 -0000 Harti Brandt wrote: > On Fri, 19 May 2006, Ganbold wrote: > > G>Gleb Smirnoff wrote: > G>> On Fri, May 19, 2006 at 05:04:25PM +0900, Ganbold wrote: > G>> G> I see. How can I make system to send unexpected messages to ngctl? > G>> > G>> > G>> > kldload ng_ether > G>> > ngctl > G>> > > G>> > G>> + ls > G>> There are 2 total nodes: > G>> Name: ngctl990 Type: socket ID: 00000004 Num hooks: 0 > G>> Name: fxp0 Type: ether ID: 00000002 Num hooks: 0 > G>> + connect fxp0: qqq lower > G>> + Rec'd data packet on hook "qqq": > G>> 0000: 00 10 a4 89 56 3f 00 30 48 80 34 83 08 00 45 00 ....V?.0H.4...E. > G>> 0010: 05 dc a0 91 20 00 40 11 91 7a 51 13 40 70 51 13 .... .@..zQ.@pQ. > G>> 0020: 40 6f 08 01 03 27 20 88 9b c6 77 90 1f ee 00 00 @o...' ...w..... > G>> 0030: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ > G>> 0040: 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 ................ > G>> 0050: 01 a4 00 00 00 01 00 00 03 e8 00 00 00 00 00 00 ................ > G>> > G>> > G>It receives bunch of stuffs with patched ngctl: > G> > G>+ ls > G>There are 3 total nodes: > G> Name: ngctl3919 Type: socket ID: 00000005 Num hooks: 1 > G> Name: fxp0 Type: ether ID: 00000003 Num hooks: 1 > G> Name: re0 Type: ether ID: 00000002 Num hooks: 0 > G>+ connect re0: qqq lower > G>ngctl: send msg: File exists > G>+ connect re0: qqqq lower > G>+ > G>Rec'd data packet on hook "qqqq": > G>0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. > G>0010: 00 4e 17 32 00 00 80 11 a0 e2 c0 a8 00 3b c0 a8 .N.2.........;.. > G>0020: 00 ff 00 89 00 89 00 3a 9b d7 80 8d 01 10 00 01 .......:........ > G>0030: 00 00 00 00 00 00 20 45 43 45 42 46 45 45 45 46 ...... ECEBFEEEF > G>0040: 46 45 4d 45 42 45 4e 43 41 43 41 43 41 43 41 43 FEMEBENCACACACAC > G>0050: 41 43 41 43 41 43 41 00 00 20 00 01 ACACACA.. .. > G>Rec'd data packet on hook "qqqq": > G>0000: ff ff ff ff ff ff 00 14 6c 2e 28 9d 08 06 00 01 ........l.(..... > G>0010: 08 00 06 04 00 01 00 14 6c 2e 28 9d c0 a8 00 07 ........l.(..... > G>0020: 00 00 00 00 00 00 c0 a8 00 3b 00 00 00 00 00 00 .........;...... > G>0030: 00 00 00 00 00 00 00 00 00 00 00 00 ............ > G>+ > G>Rec'd data packet on hook "qqqq": > G>0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. > G>0010: 00 4e 17 47 00 00 80 11 a0 cd c0 a8 00 3b c0 a8 .N.G.........;.. > G>0020: 00 ff 00 89 00 89 00 3a 9b d8 80 8e 01 10 00 01 .......:........ > G>0030: 00 00 00 00 00 00 20 45 43 45 42 46 45 45 45 46 ...... ECEBFEEEF > G>0040: 46 45 4d 45 42 45 4e 43 41 43 41 43 41 43 41 43 FEMEBENCACACACAC > G>0050: 41 43 41 43 41 41 41 00 00 20 00 01 ACACAAA.. .. > G>+ > G>Rec'd data packet on hook "qqqq": > G>0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. > G>0010: 00 4e 17 4e 00 00 80 11 a0 c6 c0 a8 00 3b c0 a8 .N.N.........;.. > G>0020: 00 ff 00 89 00 89 00 3a b1 dc 80 8f 01 10 00 01 .......:........ > G>0030: 00 00 00 00 00 00 20 45 4f 45 42 46 44 45 42 45 ...... EOEBFDEBE > G>0040: 42 43 41 43 41 43 41 43 41 43 41 43 41 43 41 43 BCACACACACACACAC > G>... > G> > G>Is it what it supposed to handle? > > Yes. Nice. That's a feature I was missing for a long time. > Did you test this patch by any chance? Is there any issue with it to be not committed? Please let me know. thanks, Ganbold > harti > _______________________________________________ > 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" > > > > From owner-freebsd-current@FreeBSD.ORG Mon May 22 07:11:21 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F8ED16A425; Mon, 22 May 2006 07:11:21 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CB6043D45; Mon, 22 May 2006 07:11:20 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k4M7BG7S099863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 May 2006 11:11:17 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k4M7BGV2099862; Mon, 22 May 2006 11:11:16 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 22 May 2006 11:11:16 +0400 From: Gleb Smirnoff To: Ganbold Message-ID: <20060522071116.GD84736@cell.sick.ru> References: <446D7741.10102@micom.mng.net> <20060519095344.P13833@beagle.kn.op.dlr.de> <446D7C09.3090003@micom.mng.net> <20060519081215.GO84736@cell.sick.ru> <446D80EC.3010106@micom.mng.net> <20060519135346.L13833@beagle.kn.op.dlr.de> <44713B93.2060603@micom.mng.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <44713B93.2060603@micom.mng.net> User-Agent: Mutt/1.5.6i Cc: ru@FreeBSD.org, freebsd-current@FreeBSD.org, Harti Brandt Subject: Re: small patch for ngctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 07:11:21 -0000 On Mon, May 22, 2006 at 01:18:27PM +0900, Ganbold wrote: G> Harti Brandt wrote: G> >On Fri, 19 May 2006, Ganbold wrote: G> > G> >G>Gleb Smirnoff wrote: G> >G>> On Fri, May 19, 2006 at 05:04:25PM +0900, Ganbold wrote: G> >G>> G> I see. How can I make system to send unexpected messages to ngctl? G> >G>> G> >G>> G> >G>> > kldload ng_ether G> >G>> > ngctl G> >G>> > G> >G>> G> >G>> + ls G> >G>> There are 2 total nodes: G> >G>> Name: ngctl990 Type: socket ID: 00000004 Num G> >hooks: 0 G> >G>> Name: fxp0 Type: ether ID: 00000002 Num G> >hooks: 0 G> >G>> + connect fxp0: qqq lower G> >G>> + Rec'd data packet on hook "qqq": G> >G>> 0000: 00 10 a4 89 56 3f 00 30 48 80 34 83 08 00 45 00 G> >....V?.0H.4...E. G> >G>> 0010: 05 dc a0 91 20 00 40 11 91 7a 51 13 40 70 51 13 .... G> >.@..zQ.@pQ. G> >G>> 0020: 40 6f 08 01 03 27 20 88 9b c6 77 90 1f ee 00 00 @o...' G> >...w..... G> >G>> 0030: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 G> >................ G> >G>> 0040: 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 G> >................ G> >G>> 0050: 01 a4 00 00 00 01 00 00 03 e8 00 00 00 00 00 00 G> >................ G> >G>> G> >G>> G> >G>It receives bunch of stuffs with patched ngctl: G> >G> G> >G>+ ls G> >G>There are 3 total nodes: G> >G> Name: ngctl3919 Type: socket ID: 00000005 Num hooks: 1 G> >G> Name: fxp0 Type: ether ID: 00000003 Num hooks: 1 G> >G> Name: re0 Type: ether ID: 00000002 Num hooks: 0 G> >G>+ connect re0: qqq lower G> >G>ngctl: send msg: File exists G> >G>+ connect re0: qqqq lower G> >G>+ G> >G>Rec'd data packet on hook "qqqq": G> >G>0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. G> >G>0010: 00 4e 17 32 00 00 80 11 a0 e2 c0 a8 00 3b c0 a8 .N.2.........;.. G> >G>0020: 00 ff 00 89 00 89 00 3a 9b d7 80 8d 01 10 00 01 .......:........ G> >G>0030: 00 00 00 00 00 00 20 45 43 45 42 46 45 45 45 46 ...... ECEBFEEEF G> >G>0040: 46 45 4d 45 42 45 4e 43 41 43 41 43 41 43 41 43 FEMEBENCACACACAC G> >G>0050: 41 43 41 43 41 43 41 00 00 20 00 01 ACACACA.. .. G> >G>Rec'd data packet on hook "qqqq": G> >G>0000: ff ff ff ff ff ff 00 14 6c 2e 28 9d 08 06 00 01 ........l.(..... G> >G>0010: 08 00 06 04 00 01 00 14 6c 2e 28 9d c0 a8 00 07 ........l.(..... G> >G>0020: 00 00 00 00 00 00 c0 a8 00 3b 00 00 00 00 00 00 .........;...... G> >G>0030: 00 00 00 00 00 00 00 00 00 00 00 00 ............ G> >G>+ G> >G>Rec'd data packet on hook "qqqq": G> >G>0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. G> >G>0010: 00 4e 17 47 00 00 80 11 a0 cd c0 a8 00 3b c0 a8 .N.G.........;.. G> >G>0020: 00 ff 00 89 00 89 00 3a 9b d8 80 8e 01 10 00 01 .......:........ G> >G>0030: 00 00 00 00 00 00 20 45 43 45 42 46 45 45 45 46 ...... ECEBFEEEF G> >G>0040: 46 45 4d 45 42 45 4e 43 41 43 41 43 41 43 41 43 FEMEBENCACACACAC G> >G>0050: 41 43 41 43 41 41 41 00 00 20 00 01 ACACAAA.. .. G> >G>+ G> >G>Rec'd data packet on hook "qqqq": G> >G>0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. G> >G>0010: 00 4e 17 4e 00 00 80 11 a0 c6 c0 a8 00 3b c0 a8 .N.N.........;.. G> >G>0020: 00 ff 00 89 00 89 00 3a b1 dc 80 8f 01 10 00 01 .......:........ G> >G>0030: 00 00 00 00 00 00 20 45 4f 45 42 46 44 45 42 45 ...... EOEBFDEBE G> >G>0040: 42 43 41 43 41 43 41 43 41 43 41 43 41 43 41 43 BCACACACACACACAC G> >G>... G> >G> G> >G>Is it what it supposed to handle? G> > G> >Yes. Nice. That's a feature I was missing for a long time. G> > G> Did you test this patch by any chance? Is there any issue with it to be G> not committed? G> Please let me know. I will review and commit soon. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-current@FreeBSD.ORG Mon May 22 07:33:17 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59AB716A422 for ; Mon, 22 May 2006 07:33:17 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail20.syd.optusnet.com.au (mail20.syd.optusnet.com.au [211.29.132.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED1A943D48 for ; Mon, 22 May 2006 07:33:14 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail20.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4M7X5tt026398 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 22 May 2006 17:33:09 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4M7X5DS000883; Mon, 22 May 2006 17:33:05 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4M7X4PD000882; Mon, 22 May 2006 17:33:04 +1000 (EST) (envelope-from peter) Date: Mon, 22 May 2006 17:33:04 +1000 From: Peter Jeremy To: Bachilo Dmitry Message-ID: <20060522073304.GA730@turion.vk2pj.dyndns.org> References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> <200605221031.23050.root@solink.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605221031.23050.root@solink.ru> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 07:33:17 -0000 On Mon, 2006-May-22 10:31:22 +0700, Bachilo Dmitry wrote: >? ????????? ?? ??????????? 22 ??? 2006 08:54 m m ???????(a): >> Some phylosophical questions - is this machine really an SMP? Can we ... >Well, this is 8-core processor, so it is pretty an SMP system, made to have >cheeper multiprocessing then what we call "real" multiprocessor system does. I don't think m m is referring to the cores but the NUMA: The CPUs aren't all equivalent so it's not 'symmetric'. OTOH, it's not the same as (eg) the IBM S/370 CPU+AP systems where the AP couldn't handle interrupts. -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Mon May 22 14:26:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AFBF16A7A1; Mon, 22 May 2006 14:26:10 +0000 (UTC) (envelope-from jandrese@mitre.org) Received: from smtp-mclean.mitre.org (smtpproxy2.mitre.org [192.80.55.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 619E243D4C; Mon, 22 May 2006 14:26:09 +0000 (GMT) (envelope-from jandrese@mitre.org) Received: from smtp-mclean.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-mclean.mitre.org (8.12.11.20060308/8.12.11) with SMTP id k4MEPwBY010658; Mon, 22 May 2006 10:25:58 -0400 Received: from smtp-mclean.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-mclean.mitre.org (Postfix) with ESMTP id 4DF911BD7A; Mon, 22 May 2006 10:25:58 -0400 (EDT) Received: from IMCFE1.MITRE.ORG (imcfe1.mitre.org [129.83.29.3]) by smtp-mclean.mitre.org (8.12.11.20060308/8.12.11) with ESMTP id k4MEPrHS010551; Mon, 22 May 2006 10:25:53 -0400 Received: from IMCSRV2.MITRE.ORG ([129.83.20.164]) by IMCFE1.MITRE.ORG with Microsoft SMTPSVC(6.0.3790.1830); Mon, 22 May 2006 10:25:52 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 22 May 2006 10:25:51 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Call for testing: emu10kx driver for Creative sound cards thread-index: AcZ799P1f+7LTINZTiysE1td97zXngBs35rQ From: "Andresen, Jason" To: , X-OriginalArrivalTime: 22 May 2006 14:25:52.0902 (UTC) FILETIME=[A17FBA60:01C67DAB] Cc: Subject: RE: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 14:26:16 -0000 >From: owner-freebsd-current@freebsd.org=20 >[mailto:owner-freebsd-current@freebsd.org] On Behalf Of Yuriy Tsibizov >Sent: Saturday, May 20, 2006 6:22 AM >To: freebsd-current@freebsd.org; freebsd-multimedia@freebsd.org >Cc: Alexander Leidinger >Subject: Call for testing: emu10kx driver for Creative sound cards > >This driver can replace emu10k1 driver. Older version of this >driver was available from ports (audio/emu10kx). While I'm not in earshot of my system, it did compile and load cleanly for my SB Live! Value card: (19 ~/emu10kx-module): cat /dev/emu10kx0 FreeBSD EMU10Kx Audio Driver Hardware resource usage: DSP General Purpose Registers: 38 used, 256 total DSP Instruction Registers: 54 used, 512 total Card supports AC97 codec, SBLive! DSP code Installed devices: EMU10Kx DSP FRONT PCM Interface on pcm0 EMU10Kx DSP REAR PCM Interface on pcm1 EMU10Kx MIDI Interface On-card connector on midi0 IR reciever MIDI events disabled From owner-freebsd-current@FreeBSD.ORG Mon May 22 14:54:06 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6E1516A63C for ; Mon, 22 May 2006 14:54:06 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from lh.synack.net (lh.synack.net [204.152.188.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6934D43D68 for ; Mon, 22 May 2006 14:53:05 +0000 (GMT) (envelope-from jasone@FreeBSD.org) Received: by lh.synack.net (Postfix, from userid 100) id 96EEA5E4939; Mon, 22 May 2006 07:53:05 -0700 (PDT) Received: from [192.168.168.201] (moscow-cuda-gen2-68-64-60-20.losaca.adelphia.net [68.64.60.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lh.synack.net (Postfix) with ESMTP id 2B50F5E4931; Mon, 22 May 2006 07:53:04 -0700 (PDT) Message-ID: <4471D04C.3050009@FreeBSD.org> Date: Mon, 22 May 2006 07:53:00 -0700 From: Jason Evans User-Agent: Mozilla Thunderbird 1.0.8-1.4.1 (X11/20060420) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" References: <1148262629.1065.9.camel@RabbitsDen> In-Reply-To: <1148262629.1065.9.camel@RabbitsDen> Content-Type: text/plain; charset=ISO-8859-5; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.5 (2005-11-28) on lh.synack.net X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.5 Cc: current@freebsd.org Subject: Re: Assertion failed... function arena_run_reg_dalloc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 14:54:09 -0000 Alexandre "Sunny" Kovalenko wrote: > I get following message on today's (May 21) -CURRENT with up-to-date > jpilot from ports: > > Assertion failed: ((run->regs_mask[elm] & (1 << bit)) == 0), function > arena_run_reg_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 1638. This assertion most likely failed due to trying to free an object that was already free (double free). > Stack trace is: > > (gdb) bt > #0 0x28adbf97 in kill () from /lib/libc.so.6 > #1 0x289df7c7 in raise () from /lib/libpthread.so.2 > #2 0x28adaabc in abort () from /lib/libc.so.6 > #3 0x28ac31b6 in __assert () from /lib/libc.so.6 > #4 0x28a6548d in reallocf () from /lib/libc.so.6 > #5 0x28a67b19 in free () from /lib/libc.so.6 > #6 0x287f38b1 in g_free () from /usr/local/lib/libglib-2.0.so.0 > #7 0x0807cf6a in get_inline_pixbuf_data.0 () at jpilot.c:1375 > #8 0x0807d4cd in get_main_menu (window=0x82a5028, menubar=0xbfbfdee0, > plugin_list=0x82b0830) > at jpilot.c:1382 > #9 0x0807f0eb in main (argc=1, argv=0xbfbfe770) at jpilot.c:2443 This stack trace is somehow wrong. free() does not call reallocf(). Jason From owner-freebsd-current@FreeBSD.ORG Mon May 22 16:25:25 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5A8816B932 for ; Mon, 22 May 2006 16:25:25 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8742643D7E for ; Mon, 22 May 2006 16:25:07 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1FiDDO-000B1P-Bw; Mon, 22 May 2006 10:25:06 -0600 In-Reply-To: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Mon, 22 May 2006 10:25:05 -0600 To: m m X-Mailer: Apple Mail (2.750) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 16:25:32 -0000 On May 21, 2006, at 7:54 PM, m m wrote: > While > on topic, the Opterons aren't SMP either, and neither are the > ht-Xeons... I would like t\o hear the rational for the Opterons (presumably the dual core ones) not being SMP. They have two independent operating cores in one physical package. Who cares how it is packaged? I would tend to agree with you on the ht-Xeon in terms of general descriptions. I do not know as well how the ht-xeon work as I don't use any but it seems to me that the "SMP" moniker, at least in FreeBSD, relate to how things are scheduled. Btw, Opteron MB with a single dual-core ship get a BIOS report on Boot of having 2 CPUs... Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-current@FreeBSD.ORG Mon May 22 16:34:12 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9064616B8D9 for ; Mon, 22 May 2006 16:34:12 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 094E543D5D for ; Mon, 22 May 2006 16:34:02 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k4MGY1Hx072860; Mon, 22 May 2006 11:34:02 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4471E7FB.3090400@centtech.com> Date: Mon, 22 May 2006 11:34:03 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: "Chad Leigh -- Shire.Net LLC" References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1476/Mon May 22 03:00:37 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: current@freebsd.org, m m Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 16:34:22 -0000 Chad Leigh -- Shire.Net LLC wrote: > > On May 21, 2006, at 7:54 PM, m m wrote: > >> While >> on topic, the Opterons aren't SMP either, and neither are the >> ht-Xeons... > > I would like t\o hear the rational for the Opterons (presumably the dual > core ones) not being SMP. They have two independent operating cores in > one physical package. Who cares how it is packaged? I would tend to > agree with you on the ht-Xeon in terms of general descriptions. I do > not know as well how the ht-xeon work as I don't use any but it seems to > me that the "SMP" moniker, at least in FreeBSD, relate to how things are > scheduled. > > Btw, Opteron MB with a single dual-core ship get a BIOS report on Boot > of having 2 CPUs... Careful - two cores doesn't mean two caches, and isn't always just 'two cores glued into one package'. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-current@FreeBSD.ORG Mon May 22 18:55:45 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9FB916AAAE for ; Mon, 22 May 2006 18:55:45 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6248143D46 for ; Mon, 22 May 2006 18:55:45 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1FiFZA-000KJD-Om; Mon, 22 May 2006 12:55:44 -0600 In-Reply-To: <4471E7FB.3090400@centtech.com> References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> <4471E7FB.3090400@centtech.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Mon, 22 May 2006 12:55:43 -0600 To: Eric Anderson X-Mailer: Apple Mail (2.750) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: current@freebsd.org, m m Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 18:55:49 -0000 On May 22, 2006, at 10:34 AM, Eric Anderson wrote: > Chad Leigh -- Shire.Net LLC wrote: >> On May 21, 2006, at 7:54 PM, m m wrote: >>> While >>> on topic, the Opterons aren't SMP either, and neither are the >>> ht-Xeons... >> I would like t\o hear the rational for the Opterons (presumably >> the dual core ones) not being SMP. They have two independent >> operating cores in one physical package. Who cares how it is >> packaged? I would tend to agree with you on the ht-Xeon in terms >> of general descriptions. I do not know as well how the ht-xeon >> work as I don't use any but it seems to me that the "SMP" moniker, >> at least in FreeBSD, relate to how things are scheduled. >> Btw, Opteron MB with a single dual-core ship get a BIOS report on >> Boot of having 2 CPUs... > > Careful - two cores doesn't mean two caches, and isn't always just > 'two cores glued into one package'. > But on the Opteron, the subject of the discussion, it does. They have two caches. The Intel Core Duo dies not. Chad > ------------------------------------------------------------------- --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-current@FreeBSD.ORG Mon May 22 18:33:24 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8589916A6E2 for ; Mon, 22 May 2006 18:33:24 +0000 (UTC) (envelope-from needacoder@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3C3343D45 for ; Mon, 22 May 2006 18:33:23 +0000 (GMT) (envelope-from needacoder@gmail.com) Received: by nf-out-0910.google.com with SMTP id x29so594778nfb for ; Mon, 22 May 2006 11:33:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sprH+w5dBjdI1BS3ESq4TNjd8Znh4jSLKYowPlYIU0hi620aNQ5QJ8vQSp1x7ps5KL4JKWiHxuOxxQ9aXnNyC1dXgpUJnbCLD4KjZu3cr2m1sJ3Irds7qAsum2J3zC2lYAj8XC5oVzX7RRRGA3ix3UBKf7qxgb7i7J/U+dQPmYQ= Received: by 10.48.219.1 with SMTP id r1mr4042486nfg; Mon, 22 May 2006 11:33:22 -0700 (PDT) Received: by 10.49.75.2 with HTTP; Mon, 22 May 2006 11:33:22 -0700 (PDT) Message-ID: <1e4841eb0605221133s428d9136p3d5f7eff964167f4@mail.gmail.com> Date: Mon, 22 May 2006 14:33:22 -0400 From: "m m" To: "Chad Leigh -- Shire.Net LLC" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> X-Mailman-Approved-At: Mon, 22 May 2006 19:10:09 +0000 Cc: current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 18:33:24 -0000 On 5/22/06, Chad Leigh -- Shire.Net LLC wrote: > > On May 21, 2006, at 7:54 PM, m m wrote: > > > While > > on topic, the Opterons aren't SMP either, and neither are the > > ht-Xeons... > > I would like t\o hear the rational for the Opterons (presumably the > dual core ones) not being SMP. They have two independent operating > cores in one physical package. Who cares how it is packaged? I > would tend to agree with you on the ht-Xeon in terms of general > descriptions. I do not know as well how the ht-xeon work as I don't > use any but it seems to me that the "SMP" moniker, at least in > FreeBSD, relate to how things are scheduled. SMP stands for "Symmetric MultiProcessing", which means that multiple processors have equal access latency to memory - typically accomplished by sitting the processors on a shared bus with memory. The MultiProcessor Opterons are _NOT_ SMP, they are _NUMA_ machines, "NonUniform Memory Access"; in the MP Opterons each processor has (or can have) its own "local" memory, which makes up only part of the shared address space. When an Opteron accesses an address that is not in its "local" memory, it has to talk to a remote processor's memory, thereby incurring a different access latency. From owner-freebsd-current@FreeBSD.ORG Mon May 22 19:17:03 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B7A016AF6C for ; Mon, 22 May 2006 19:17:03 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id A24BA43D49 for ; Mon, 22 May 2006 19:17:02 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1FiFtm-000LLJ-1Y; Mon, 22 May 2006 13:17:02 -0600 In-Reply-To: <1e4841eb0605221133s428d9136p3d5f7eff964167f4@mail.gmail.com> References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> <1e4841eb0605221133s428d9136p3d5f7eff964167f4@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2B495EE0-9E81-4CDD-84AF-D3789C9FCB95@shire.net> Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Mon, 22 May 2006 13:17:01 -0600 To: m m X-Mailer: Apple Mail (2.750) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 19:17:04 -0000 On May 22, 2006, at 12:33 PM, m m wrote: > On 5/22/06, Chad Leigh -- Shire.Net LLC wrote: >> >> On May 21, 2006, at 7:54 PM, m m wrote: >> >> > While >> > on topic, the Opterons aren't SMP either, and neither are the >> > ht-Xeons... >> >> I would like t\o hear the rational for the Opterons (presumably the >> dual core ones) not being SMP. They have two independent operating >> cores in one physical package. Who cares how it is packaged? I >> would tend to agree with you on the ht-Xeon in terms of general >> descriptions. I do not know as well how the ht-xeon work as I don't >> use any but it seems to me that the "SMP" moniker, at least in >> FreeBSD, relate to how things are scheduled. > > SMP stands for "Symmetric MultiProcessing", which means that multiple > processors have equal access latency to memory - typically > accomplished by sitting the processors on a shared bus with memory. > The MultiProcessor Opterons are _NOT_ SMP, they are _NUMA_ machines, > "NonUniform Memory Access"; in the MP Opterons each processor has (or > can have) its own "local" memory, which makes up only part of the > shared address space. When an Opteron accesses an address that is not > in its "local" memory, it has to talk to a remote processor's memory, > thereby incurring a different access latency. Yes, but until FBSD differentiates and has different code for "SMP" and "NUMA" based systems, then having support for them in the SMP branch seems appropriate. In other words, even if not ideal, if there is no different code, there doesn't need to be a different section for the code. I am no expert, but as far as I can tell, FBSD treats them like an SMP system and the NUMA stuff is done at the HW level. Correct me if I am wrong. Seems like the SMP moniker is a historical one, not a technical one :-) --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-current@FreeBSD.ORG Mon May 22 19:43:12 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9BA816AEB0 for ; Mon, 22 May 2006 19:43:12 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5335243D45 for ; Mon, 22 May 2006 19:43:12 +0000 (GMT) (envelope-from kometen@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so949695wxd for ; Mon, 22 May 2006 12:43:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DrFUZesCgIwZwtdLP+Ga72hgy4H1ZbEwxNomaLWsisSfN+y+t51XJlMfi1I8bxwj+PmjNfJl683FD/z1visIMv2MvtauUlMIHTJKR5G0C3dm811eCh2ifKBO2lj7MEbtEBvYi3hcxZO1W7hv/+Dhs8c9ul8mOld90XmCdPBc/Bc= Received: by 10.70.27.20 with SMTP id a20mr5530837wxa; Mon, 22 May 2006 12:43:11 -0700 (PDT) Received: by 10.70.22.2 with HTTP; Mon, 22 May 2006 12:43:11 -0700 (PDT) Message-ID: Date: Mon, 22 May 2006 21:43:11 +0200 From: "Claus Guttesen" To: "Chad Leigh -- Shire.Net LLC" In-Reply-To: <2B495EE0-9E81-4CDD-84AF-D3789C9FCB95@shire.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> <1e4841eb0605221133s428d9136p3d5f7eff964167f4@mail.gmail.com> <2B495EE0-9E81-4CDD-84AF-D3789C9FCB95@shire.net> Cc: current@freebsd.org, m m Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 19:43:17 -0000 > >> > on topic, the Opterons aren't SMP either, and neither are the ht-Xeo= ns... >>>... > > The MultiProcessor Opterons are _NOT_ SMP, they are _NUMA_ machines, Not really related to the original topic any longer, is it? regards Claus From owner-freebsd-current@FreeBSD.ORG Mon May 22 19:59:50 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AA1616AEDC for ; Mon, 22 May 2006 19:59:50 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F7C343D45 for ; Mon, 22 May 2006 19:59:49 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-vbr5.xs4all.nl (8.13.6/8.13.6) with ESMTP id k4MJxldo096502; Mon, 22 May 2006 21:59:47 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.6/8.13.3) with ESMTP id k4MJxcbH001281; Mon, 22 May 2006 21:59:38 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.6/8.13.6/Submit) id k4MJxcqj001280; Mon, 22 May 2006 21:59:38 +0200 (CEST) (envelope-from wb) Date: Mon, 22 May 2006 21:59:38 +0200 From: Wilko Bulte To: Claus Guttesen Message-ID: <20060522195938.GA1267@freebie.xs4all.nl> References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> <1e4841eb0605221133s428d9136p3d5f7eff964167f4@mail.gmail.com> <2B495EE0-9E81-4CDD-84AF-D3789C9FCB95@shire.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: current@freebsd.org, "Chad Leigh -- Shire.Net LLC" , m m Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 19:59:56 -0000 On Mon, May 22, 2006 at 09:43:11PM +0200, Claus Guttesen wrote.. > >>> > on topic, the Opterons aren't SMP either, and neither are the > >ht-Xeons... > >>>... > >> The MultiProcessor Opterons are _NOT_ SMP, they are _NUMA_ machines, > > Not really related to the original topic any longer, is it? Decent bikesheds never are.. :) -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Mon May 22 20:26:34 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C18FB16B100 for ; Mon, 22 May 2006 20:26:34 +0000 (UTC) (envelope-from darren.pilgrim@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74C5C43D45 for ; Mon, 22 May 2006 20:26:34 +0000 (GMT) (envelope-from darren.pilgrim@bitfreak.org) Received: from [10.242.169.24] (c-67-171-135-169.hsd1.or.comcast.net [67.171.135.169]) by mail.bitfreak.org (Postfix) with ESMTP id B6B5C17593; Mon, 22 May 2006 13:26:32 -0700 (PDT) Message-ID: <44721E78.2050002@bitfreak.org> Date: Mon, 22 May 2006 13:26:32 -0700 From: Darren Pilgrim User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Wilko Bulte References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> <1e4841eb0605221133s428d9136p3d5f7eff964167f4@mail.gmail.com> <2B495EE0-9E81-4CDD-84AF-D3789C9FCB95@shire.net> <20060522195938.GA1267@freebie.xs4all.nl> In-Reply-To: <20060522195938.GA1267@freebie.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 20:26:40 -0000 Wilko Bulte wrote: > On Mon, May 22, 2006 at 09:43:11PM +0200, Claus Guttesen wrote.. >>>>>> on topic, the Opterons aren't SMP either, and neither are the >>> ht-Xeons... >>>>> ... >>>> The MultiProcessor Opterons are _NOT_ SMP, they are _NUMA_ machines, >> Not really related to the original topic any longer, is it? > > Decent bikesheds never are.. At least people are being polite and not messing up the threading by changing the subject header. :) -- Darren Pilgrim From owner-freebsd-current@FreeBSD.ORG Mon May 22 21:12:27 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1639916AF85 for ; Mon, 22 May 2006 21:12:26 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52DE243D45 for ; Mon, 22 May 2006 21:12:25 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 389871A4E26 for ; Mon, 22 May 2006 14:12:25 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 531A8514C3; Mon, 22 May 2006 17:12:24 -0400 (EDT) Date: Mon, 22 May 2006 17:12:24 -0400 From: Kris Kennaway To: current@FreeBSD.org Message-ID: <20060522211223.GA3621@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 21:12:27 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I noticed that with tmpmfs in rc.conf, the md is not being mounted with -o async; this is an enormous performance boost, so is there a reason it is not used, or just that it was overlooked? Kris --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEcik3Wry0BWjoQKURAi0wAKCXQAN0fc2EBvRi0lf626c7wZdcPgCeLJ7b MkBVabadB5Gkln6QWYq0MDc= =jicX -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm-- From owner-freebsd-current@FreeBSD.ORG Mon May 22 22:55:34 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B279616A976 for ; Mon, 22 May 2006 22:55:34 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B65943D69 for ; Mon, 22 May 2006 22:55:34 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4MMrp5P075209; Mon, 22 May 2006 16:53:52 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 22 May 2006 16:53:51 -0600 (MDT) Message-Id: <20060522.165351.41704450.imp@bsdimp.com> To: michal.vanco@satro.sk From: Warner Losh In-Reply-To: <200605211049.33097.michal.vanco@satro.sk> References: <200605211049.33097.michal.vanco@satro.sk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 22:55:35 -0000 > Is there any way how to fix this? kldload if_ath? Warner From owner-freebsd-current@FreeBSD.ORG Mon May 22 23:14:38 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 891B816A927 for ; Mon, 22 May 2006 23:14:38 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 344BA43D45 for ; Mon, 22 May 2006 23:14:38 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k4MNEbeB000885; Mon, 22 May 2006 16:14:37 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k4MNEbb3000884; Mon, 22 May 2006 16:14:37 -0700 Date: Mon, 22 May 2006 16:14:37 -0700 From: Brooks Davis To: Kris Kennaway Message-ID: <20060522231437.GC1446@odin.ac.hmc.edu> References: <20060522211223.GA3621@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060522211223.GA3621@xor.obsecurity.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new Cc: current@freebsd.org Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 23:14:39 -0000 On Mon, May 22, 2006 at 05:12:24PM -0400, Kris Kennaway wrote: > I noticed that with tmpmfs in rc.conf, the md is not being mounted > with -o async; this is an enormous performance boost, so is there a > reason it is not used, or just that it was overlooked? Just overlooked as far as I know. We correctly switched to not mounting with softupdates, but should probably switch to -o async. -- Brooks From owner-freebsd-current@FreeBSD.ORG Tue May 23 01:00:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5742416A432; Tue, 23 May 2006 01:00:22 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtao02.cox.net (eastrmmtao02.cox.net [68.230.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DADE43D46; Tue, 23 May 2006 01:00:21 +0000 (GMT) (envelope-from conrads@cox.net) Received: from serene.no-ip.org ([72.200.25.154]) by eastrmmtao02.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060523010018.LEOS15470.eastrmmtao02.cox.net@serene.no-ip.org>; Mon, 22 May 2006 21:00:18 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.13.6/8.13.6) with ESMTP id k4N109pg084688; Mon, 22 May 2006 20:00:13 -0500 (CDT) (envelope-from conrads@cox.net) Date: Mon, 22 May 2006 20:00:01 -0500 From: "Conrad J. Sabatier" To: Yuriy Tsibizov Message-ID: <20060522200001.7245a07f@serene.no-ip.org> In-Reply-To: <20060520141209.A2285@free.home.local> References: <20060520141209.A2285@free.home.local> Organization: A Rag-Tag Band of Drug-Crazed Hippies X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, Leidinger , freebsd-current@freebsd.org, Alexander Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 01:00:22 -0000 On Sat, 20 May 2006 14:22:08 +0400 (MSD), Yuriy Tsibizov wrote: > This driver can replace emu10k1 driver. Older version of this > driver was available from ports (audio/emu10kx). [snipped for brevity ] Talk about uncanny timing! I've been thinking of replacing my soundcard for a while now. This looks pretty exciting, especially the MIDI support. Which of the Creative cards would you recommend as "best"? I'd love to try this! -- Conrad J. Sabatier -- "In Unix veritas" From owner-freebsd-current@FreeBSD.ORG Tue May 23 02:31:04 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E72416A63F; Tue, 23 May 2006 02:31:04 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA1D243D6A; Tue, 23 May 2006 02:31:03 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.18.171.231]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IZP00KV85NQFYU2@vms048.mailsrvcs.net>; Mon, 22 May 2006 21:31:03 -0500 (CDT) Date: Mon, 22 May 2006 22:29:49 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <4471D04C.3050009@FreeBSD.org> To: Jason Evans Message-id: <1148351389.1065.15.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-type: text/plain; charset=iso-8859-5 Content-transfer-encoding: 8BIT References: <1148262629.1065.9.camel@RabbitsDen> <4471D04C.3050009@FreeBSD.org> Cc: current@freebsd.org Subject: Re: Assertion failed... function arena_run_reg_dalloc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 02:31:04 -0000 On Mon, 2006-05-22 at 07:53 -0700, Jason Evans wrote: > Alexandre "Sunny" Kovalenko wrote: > > I get following message on today's (May 21) -CURRENT with up-to-date > > jpilot from ports: > > > > Assertion failed: ((run->regs_mask[elm] & (1 << bit)) == 0), function > > arena_run_reg_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 1638. > > This assertion most likely failed due to trying to free an object that > was already free (double free). In this specific case, it turned out to be never allocated -- I have hacked UTRACE to do fprintf and substituted libc for jpilot using /etc/libmap.conf -- will be bothering jpilot maintainer with the patch. Thank you very much for your help. -- Alexandre Kovalenko (¾ÛÕÚáÐÝÔà ºÞÒÐÛÕÝÚÞ) From owner-freebsd-current@FreeBSD.ORG Tue May 23 03:11:48 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2E0016A422 for ; Tue, 23 May 2006 03:11:47 +0000 (UTC) (envelope-from emil@cs.rmit.edu.au) Received: from its-mu-mail3.its.rmit.edu.au (its-mu-mail3.its.rmit.edu.au [131.170.1.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FB8D43D46 for ; Tue, 23 May 2006 03:11:46 +0000 (GMT) (envelope-from emil@cs.rmit.edu.au) Received: from wombat.cs.rmit.edu.au (wombat.cs.rmit.edu.au [131.170.24.41]) by its-mu-mail3.its.rmit.edu.au (8.13.6/8.13.6/mail3) with ESMTP id k4N3Be1c027901 for ; Tue, 23 May 2006 13:11:40 +1000 (EST) Received: from goanna.cs.rmit.edu.au (root@goanna.cs.rmit.edu.au [131.170.24.40]) by wombat.cs.rmit.edu.au (8.12.10/8.12.10/cshub) with ESMTP id k4N3BeAf016917 for ; Tue, 23 May 2006 13:11:40 +1000 (EST) Received: from goanna.cs.rmit.edu.au (emil@localhost [127.0.0.1]) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.4/csnode) with ESMTP id k4N3Bdg4008798 for ; Tue, 23 May 2006 13:11:39 +1000 (EST) Received: (from emil@localhost) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.3/Submit) id k4N3BdKV008792 for current@freebsd.org; Tue, 23 May 2006 13:11:39 +1000 (EST) Date: Tue, 23 May 2006 13:11:39 +1000 From: Emil Mikulic To: current@freebsd.org Message-ID: <20060523031139.GA7700@cs.rmit.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: SunOS 5.10 X-PGP-Fingerprint: D2B4 7C14 0C41 9AE5 8D2B 16B0 D3D6 F910 8E4C 5D35 X-Authentication-Warning: localhost: emil pwned teh intarweb User-Agent: Mutt/1.5.10i X-Scanned-By: MIMEDefang 2.44 Cc: Subject: DRI working well with i915! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 03:11:48 -0000 My Dell GX280 workstation has integrated Intel 915G video, and it is now completely working. Hardware cursor works in X, 3D acceleration works, I can even play a FreeBSD-native quake3. =D Big ups to Eric Anholt and everyone else who worked on i915 support! From owner-freebsd-current@FreeBSD.ORG Tue May 23 06:06:56 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5889416A422 for ; Tue, 23 May 2006 06:06:56 +0000 (UTC) (envelope-from michal.vanco@satro.sk) Received: from mail.satronet.sk (mail.satronet.sk [217.144.16.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBC9E43D45 for ; Tue, 23 May 2006 06:06:53 +0000 (GMT) (envelope-from michal.vanco@satro.sk) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.satronet.sk (Postfix) with ESMTP id 85FF7160707FD; Tue, 23 May 2006 08:06:48 +0200 (CEST) Received: from mail.satronet.sk ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15108-01-23; Tue, 23 May 2006 08:06:47 +0200 (CEST) Received: from [192.168.210.63] (ptp-217-144-17-70.vpn.satronet.sk [217.144.17.70]) (using SSLv3 with cipher EXP1024-RC4-SHA (56/128 bits)) (No client certificate requested) by mail.satronet.sk (Postfix) with ESMTP id B01F61606A6E0; Tue, 23 May 2006 08:06:44 +0200 (CEST) From: Michal =?utf-8?q?Van=C4=8Do?= Organization: Satro, s.r.o. To: freebsd-current@freebsd.org Date: Tue, 23 May 2006 08:06:37 +0200 User-Agent: KMail/1.9.1 References: <200605211049.33097.michal.vanco@satro.sk> <20060522.165351.41704450.imp@bsdimp.com> In-Reply-To: <20060522.165351.41704450.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605230806.40543.michal.vanco@satro.sk> X-Virus-Scanned: by amavisd-new-20030616-p10 at satronet.sk Cc: Warner Losh Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 06:06:56 -0000 On Tuesday 23 May 2006 00:53, Warner Losh wrote: > > Is there any way how to fix this? > > kldload if_ath? > of course i have all relevant drivers loaded (if_ath compiled in kernel directly). i'd say this is related to cardbus code. michal From owner-freebsd-current@FreeBSD.ORG Tue May 23 06:36:45 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49BFE16A423; Tue, 23 May 2006 06:36:45 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru (mx.gfk.ru [84.21.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6285543D48; Tue, 23 May 2006 06:36:43 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from demon.hhp.local by mx.gfk.ru (MDaemon.PRO.v8.1.4.R) with ESMTP id md50000234368.msg; Tue, 23 May 2006 10:36:34 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Date: Tue, 23 May 2006 10:36:29 +0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Call for testing: emu10kx driver for Creative sound cards thread-index: AcZ+BFLdXcgTxU4nQkiiU9/j9k4uZAAKkXBQ From: "Yuriy Tsibizov" To: "Conrad J. Sabatier" X-Spam-Processed: mx.gfk.ru, Tue, 23 May 2006 10:36:34 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.8 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-MDAV-Processed: mx.gfk.ru, Tue, 23 May 2006 10:36:35 +0400 Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: RE: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 06:36:45 -0000 > > This driver can replace emu10k1 driver. Older version of this > > driver was available from ports (audio/emu10kx). >=20 > [snipped for brevity ] >=20 > Talk about uncanny timing! I've been thinking of replacing my > soundcard for a while now. This looks pretty exciting, especially the > MIDI support. "evennewermidi" patch needs someone to take care about it - it was not = updated for two years! >=20 > Which of the Creative cards would you recommend as "best"? =20 > I'd love to > try this! I'm not shure what you can find in your local shops... "Audigy 4 Pro" = (SB0380), "Audigy 2 Value" (SB0400) and "Audigy 4" (SB0610) should be possible to find new.=20 You may have to ask salesperson let you look at sound card chipset - it = should start with "CA"=20 and should not end on "-DAT". X-Fi series seems to use another DSP, they will not work. Yuriy. From owner-freebsd-current@FreeBSD.ORG Tue May 23 08:14:50 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EEAC16A45C for ; Tue, 23 May 2006 08:14:50 +0000 (UTC) (envelope-from lars@heidieker.de) Received: from wp045.webpack.hosteurope.de (wp045.webpack.hosteurope.de [80.237.132.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BAE043DAF for ; Tue, 23 May 2006 08:14:16 +0000 (GMT) (envelope-from lars@heidieker.de) Received: by wp045.webpack.hosteurope.de running Exim 4.43 using esmtpa from i5387cb49.versanet.de ([83.135.203.73] helo=[192.168.42.9]) id 1FiS1u-0004eH-BU; Tue, 23 May 2006 10:14:14 +0200 In-Reply-To: <1e4841eb0605221133s428d9136p3d5f7eff964167f4@mail.gmail.com> References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> <1e4841eb0605221133s428d9136p3d5f7eff964167f4@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0B0D940E-213A-456F-964A-2D7A922D0315@heidieker.de> Content-Transfer-Encoding: 7bit From: Lars Heidieker Date: Tue, 23 May 2006 10:14:06 +0200 To: m m X-Pgp-Agent: GPGMail 1.1.1 (Tiger) X-Gpgmail-State: signed X-Mailer: Apple Mail (2.750) Cc: current@freebsd.org, "Chad Leigh -- Shire.Net LLC" Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 08:14:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22 May 2006, at 20:33, m m wrote: > On 5/22/06, Chad Leigh -- Shire.Net LLC wrote: >> >> On May 21, 2006, at 7:54 PM, m m wrote: >> >> > While >> > on topic, the Opterons aren't SMP either, and neither are the >> > ht-Xeons... >> >> I would like t\o hear the rational for the Opterons (presumably the >> dual core ones) not being SMP. They have two independent operating >> cores in one physical package. Who cares how it is packaged? I >> would tend to agree with you on the ht-Xeon in terms of general >> descriptions. I do not know as well how the ht-xeon work as I don't >> use any but it seems to me that the "SMP" moniker, at least in >> FreeBSD, relate to how things are scheduled. > > SMP stands for "Symmetric MultiProcessing", which means that multiple > processors have equal access latency to memory - typically > accomplished by sitting the processors on a shared bus with memory. > The MultiProcessor Opterons are _NOT_ SMP, they are _NUMA_ machines, > "NonUniform Memory Access"; in the MP Opterons each processor has (or > can have) its own "local" memory, which makes up only part of the > shared address space. When an Opteron accesses an address that is not > in its "local" memory, it has to talk to a remote processor's memory, > thereby incurring a different access latency. > _______________________________________________ > 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" > I don't think this is right, SMP stands for "Symmetric MultiProcessing" in opposite to MultiProcessing where the OS image runs only on one CPU UMA and NUMA are a different thing, but yes a NUMA machine with big latency differences would have problems to run efficiently as a SMP machine. Therefor a dual core Opteron has SMP (two cores two caches etc) and totally UMA and a dual single core Opteron is not because it is NUMA. I don't take if this is the result. For me I would seperate NUMA/UMA from SMP and call it SMP if there are more than one processor core. Yes this leaves Intels HT in the dark I don't know if I would call that SMP, but probably I would as it appears (to the os) to be two cpus. Lars -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEcsRTcxuYqjT7GRYRAmBwAJ9CTYwCsQlClJX+jXwl+U/rtUv0MQCgrAqo 2+MZhRW8kDdSGAvQp0mFE+c= =fDqM -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Tue May 23 08:16:57 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4716916A556 for ; Tue, 23 May 2006 08:16:57 +0000 (UTC) (envelope-from lars@heidieker.de) Received: from wp045.webpack.hosteurope.de (wp045.webpack.hosteurope.de [80.237.132.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BEF343D73 for ; Tue, 23 May 2006 08:16:56 +0000 (GMT) (envelope-from lars@heidieker.de) Received: by wp045.webpack.hosteurope.de running Exim 4.43 using esmtpa from i5387cb49.versanet.de ([83.135.203.73] helo=[192.168.42.9]) id 1FiS4V-0004q2-DO; Tue, 23 May 2006 10:16:55 +0200 In-Reply-To: <44721E78.2050002@bitfreak.org> References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> <1e4841eb0605221133s428d9136p3d5f7eff964167f4@mail.gmail.com> <2B495EE0-9E81-4CDD-84AF-D3789C9FCB95@shire.net> <20060522195938.GA1267@freebie.xs4all.nl> <44721E78.2050002@bitfreak.org> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Lars Heidieker Date: Tue, 23 May 2006 10:16:52 +0200 To: Darren Pilgrim X-Pgp-Agent: GPGMail 1.1.1 (Tiger) X-Mailer: Apple Mail (2.750) Cc: Wilko Bulte , current@freebsd.org Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 08:16:58 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22 May 2006, at 22:26, Darren Pilgrim wrote: > Wilko Bulte wrote: >> On Mon, May 22, 2006 at 09:43:11PM +0200, Claus Guttesen wrote.. >>>>>>> on topic, the Opterons aren't SMP either, and neither are the >>>> ht-Xeons... >>>>>> ... >>>>> The MultiProcessor Opterons are _NOT_ SMP, they are _NUMA_ >>>>> machines, >>> Not really related to the original topic any longer, is it? >> Decent bikesheds never are.. > > At least people are being polite and not messing up the threading > by changing the subject header. :) > Yes that would be extremely NUMA because of the latencies occurring with such a thread migration ;-) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEcsT1cxuYqjT7GRYRAhXZAJ9YGIW279AByboC9V4VRnYG78pprwCguRWR E9GIqAo+y9AeNulP2rMcX5o= =xW9J -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Tue May 23 12:27:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3B6816A4F2; Tue, 23 May 2006 12:27:13 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4320843D5A; Tue, 23 May 2006 12:27:02 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id D3A58208C; Tue, 23 May 2006 14:26:58 +0200 (CEST) X-Spam-Tests: none X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id C5CB92089; Tue, 23 May 2006 14:26:58 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id AC79B33CAD; Tue, 23 May 2006 14:26:58 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Yuriy Tsibizov References: <20060520141209.A2285@free.home.local> Date: Tue, 23 May 2006 14:26:58 +0200 In-Reply-To: <20060520141209.A2285@free.home.local> (Yuriy Tsibizov's message of "Sat, 20 May 2006 14:22:08 +0400 (MSD)") Message-ID: <86fyj1kju5.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org, Alexander Leidinger , freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 12:27:22 -0000 Yuriy Tsibizov writes: > 2. Complete mixer support. Some controls that can't fit into OSS > mixer are available as sysctl under debug.emu10kxX. That is not the correct place for it. Please use the device's sysctl context (obtained with device_get_sysctl_ctx()) DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue May 23 12:34:20 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF9AF16A460 for ; Tue, 23 May 2006 12:34:20 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id D666C43D6E for ; Tue, 23 May 2006 12:34:18 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4NCXrbk089171; Tue, 23 May 2006 06:33:53 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 06:33:52 -0600 (MDT) Message-Id: <20060523.063352.41712526.imp@bsdimp.com> To: michal.vanco@satro.sk From: Warner Losh In-Reply-To: <200605230806.40543.michal.vanco@satro.sk> References: <200605211049.33097.michal.vanco@satro.sk> <20060522.165351.41704450.imp@bsdimp.com> <200605230806.40543.michal.vanco@satro.sk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 12:34:31 -0000 > > > Is there any way how to fix this? > > > > kldload if_ath? > > > > of course i have all relevant drivers loaded (if_ath compiled in kernel > directly). i'd say this is related to cardbus code. you'd be surprised the number of people that fixes. Can you set more debugging and try again? hw.cbb.debug=1 hw.cardbus.debug=1 hw.cardbus.cis_debug=1 Warner From owner-freebsd-current@FreeBSD.ORG Tue May 23 13:13:58 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3030116A428 for ; Tue, 23 May 2006 13:13:58 +0000 (UTC) (envelope-from harikurniawan@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id D297443D4C for ; Tue, 23 May 2006 13:13:56 +0000 (GMT) (envelope-from harikurniawan@gmail.com) Received: by nz-out-0102.google.com with SMTP id n1so2162182nzf for ; Tue, 23 May 2006 06:13:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=EEw5TE/xkCU6mR/BjIGGjkxN+U473mByQtrFtqn6shLgzv6qu4SOpRUZM3BziVgzxnTIOEIOrxwSh07MvowD73AvqyA+QmEhugl/ZNoNd++mUvs9Y7H9WoH/ZdpXff5/l2VXivUorFAx9SkNHxVp4oCrljrFx4wTl/Aq6tpvhJo= Received: by 10.65.112.4 with SMTP id p4mr1788903qbm; Tue, 23 May 2006 06:13:55 -0700 (PDT) Received: by 10.64.204.11 with HTTP; Tue, 23 May 2006 06:13:55 -0700 (PDT) Message-ID: <4c40c4e70605230613m1472bac6je6c009b7e93f94e@mail.gmail.com> Date: Tue, 23 May 2006 20:13:55 +0700 From: "Angka H. K." To: "Emil Mikulic" In-Reply-To: <20060523031139.GA7700@cs.rmit.edu.au> MIME-Version: 1.0 References: <20060523031139.GA7700@cs.rmit.edu.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: DRI working well with i915! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 13:13:58 -0000 Thats really great to hear, By the way what is the release you are using ? Is it from CVS ? I mean (DRI= , Mesa, Xorg 7) ? On 5/23/06, Emil Mikulic wrote: > > My Dell GX280 workstation has integrated Intel 915G video, and it is now > completely working. Hardware cursor works in X, 3D acceleration works, > I can even play a FreeBSD-native quake3. =3DD > > Big ups to Eric Anholt and everyone else who worked on i915 support! > _______________________________________________ > 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= " > From owner-freebsd-current@FreeBSD.ORG Tue May 23 13:28:57 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B13516A448 for ; Tue, 23 May 2006 13:28:57 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id C694243D53 for ; Tue, 23 May 2006 13:28:52 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k4NDSQts012563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 23 May 2006 16:28:30 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k4NDUbDX002949; Tue, 23 May 2006 16:30:37 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k4NDUbKD002948; Tue, 23 May 2006 16:30:37 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 23 May 2006 16:30:37 +0300 From: Giorgos Keramidas To: Brooks Davis Message-ID: <20060523133037.GA2908@gothmog.pc> References: <20060522211223.GA3621@xor.obsecurity.org> <20060522231437.GC1446@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060522231437.GC1446@odin.ac.hmc.edu> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.405, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.79, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: current@freebsd.org, Kris Kennaway Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 13:28:57 -0000 On 2006-05-22 16:14, Brooks Davis wrote: >On Mon, May 22, 2006 at 05:12:24PM -0400, Kris Kennaway wrote: >> I noticed that with tmpmfs in rc.conf, the md is not being mounted >> with -o async; this is an enormous performance boost, so is there a >> reason it is not used, or just that it was overlooked? > > Just overlooked as far as I know. We correctly switched to not mounting > with softupdates, but should probably switch to -o async. Right. The only reasons why the current tmpmfs_flags doesn't include the `-o async' option too are: a) It didn't back when it was all hardcoded in the script b) I didn't think about adding it by default when revision 1.230 of src/etc/defaults/rc.conf was committed by me If it does improve things, we should probably make the change :) From owner-freebsd-current@FreeBSD.ORG Tue May 23 13:52:12 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55DB716A421 for ; Tue, 23 May 2006 13:52:12 +0000 (UTC) (envelope-from michal.vanco@satro.sk) Received: from mail.satronet.sk (mail.satronet.sk [217.144.16.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id C772343D46 for ; Tue, 23 May 2006 13:52:11 +0000 (GMT) (envelope-from michal.vanco@satro.sk) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.satronet.sk (Postfix) with ESMTP id 3FE06160708A6; Tue, 23 May 2006 15:52:07 +0200 (CEST) Received: from mail.satronet.sk ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02455-01-15; Tue, 23 May 2006 15:52:04 +0200 (CEST) Received: from [192.168.0.10] (misko.satronet.sk [217.144.17.91]) (using SSLv3 with cipher EXP1024-RC4-SHA (56/128 bits)) (No client certificate requested) by mail.satronet.sk (Postfix) with ESMTP id DF68C1605A16B; Tue, 23 May 2006 15:52:02 +0200 (CEST) From: Michal =?utf-8?q?Van=C4=8Do?= Organization: Satro, s.r.o. To: freebsd-current@freebsd.org Date: Tue, 23 May 2006 15:52:08 +0200 User-Agent: KMail/1.9.1 References: <200605211049.33097.michal.vanco@satro.sk> <200605230806.40543.michal.vanco@satro.sk> <20060523.063352.41712526.imp@bsdimp.com> In-Reply-To: <20060523.063352.41712526.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605231552.08317.michal.vanco@satro.sk> X-Virus-Scanned: by amavisd-new-20030616-p10 at satronet.sk Cc: Warner Losh Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 13:52:12 -0000 On Tuesday 23 May 2006 14:33, Warner Losh wrote: > > > > Is there any way how to fix this? > > > > > > kldload if_ath? > > > > of course i have all relevant drivers loaded (if_ath compiled in kernel > > directly). i'd say this is related to cardbus code. > > you'd be surprised the number of people that fixes. yes. i know this. i've tried all "fixes" i've found. but nothing helped. > Can you set more debugging and try again? > > hw.cbb.debug=1 > hw.cardbus.debug=1 > hw.cardbus.cis_debug=1 > i did my first post with all these debuging options set. there is nothing more in my logs. 16-bit cards works well. only cardbus cards don't work. michal From owner-freebsd-current@FreeBSD.ORG Tue May 23 13:59:07 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F7D616A4F4 for ; Tue, 23 May 2006 13:59:07 +0000 (UTC) (envelope-from mlfbsd@dong.ci0.org) Received: from dong.ci0.org (cognet.ci0.org [80.65.224.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F92143D45 for ; Tue, 23 May 2006 13:59:06 +0000 (GMT) (envelope-from mlfbsd@dong.ci0.org) Received: from dong.ci0.org (localhost.ci0.org [127.0.0.1]) by dong.ci0.org (8.13.6/8.13.4) with ESMTP id k4NEUEbQ011506; Tue, 23 May 2006 16:30:14 +0200 (CEST) (envelope-from mlfbsd@dong.ci0.org) Received: (from mlfbsd@localhost) by dong.ci0.org (8.13.6/8.13.4/Submit) id k4NEUDFq011505; Tue, 23 May 2006 16:30:13 +0200 (CEST) (envelope-from mlfbsd) Date: Tue, 23 May 2006 16:30:13 +0200 From: mlfbsd To: Giorgos Keramidas Message-ID: <20060523143013.GA11472@ci0.org> References: <20060522211223.GA3621@xor.obsecurity.org> <20060522231437.GC1446@odin.ac.hmc.edu> <20060523133037.GA2908@gothmog.pc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060523133037.GA2908@gothmog.pc> User-Agent: Mutt/1.4.1i Cc: current@freebsd.org, Kris Kennaway Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 13:59:07 -0000 On Tue, May 23, 2006 at 04:30:37PM +0300, Giorgos Keramidas wrote: > On 2006-05-22 16:14, Brooks Davis wrote: > >On Mon, May 22, 2006 at 05:12:24PM -0400, Kris Kennaway wrote: > >> I noticed that with tmpmfs in rc.conf, the md is not being mounted > >> with -o async; this is an enormous performance boost, so is there a > >> reason it is not used, or just that it was overlooked? > > > > Just overlooked as far as I know. We correctly switched to not mounting > > with softupdates, but should probably switch to -o async. > > Right. The only reasons why the current tmpmfs_flags doesn't > include the `-o async' option too are: > > a) It didn't back when it was all hardcoded in the script > > b) I didn't think about adding it by default when revision > 1.230 of src/etc/defaults/rc.conf was committed by me > > If it does improve things, we should probably make the change :) > The sys/dev/md/md.c rev 1.115 commit log says async used to be the default, but was switched off because it was causing deadlocks. Did this get fixed since ? Cheers, Olivier From owner-freebsd-current@FreeBSD.ORG Tue May 23 14:16:50 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C24216A4FD for ; Tue, 23 May 2006 14:16:50 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EA4E43D5D for ; Tue, 23 May 2006 14:16:43 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k4NEFm64014336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 23 May 2006 17:16:15 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k4NEHvQS003262; Tue, 23 May 2006 17:17:57 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k4NEHvG0003261; Tue, 23 May 2006 17:17:57 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 23 May 2006 17:17:57 +0300 From: Giorgos Keramidas To: mlfbsd Message-ID: <20060523141757.GA2966@gothmog.pc> References: <20060522211223.GA3621@xor.obsecurity.org> <20060522231437.GC1446@odin.ac.hmc.edu> <20060523133037.GA2908@gothmog.pc> <20060523143013.GA11472@ci0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060523143013.GA11472@ci0.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.405, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.79, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: current@freebsd.org, Kris Kennaway Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 14:16:51 -0000 On 2006-05-23 16:30, mlfbsd wrote: >On Tue, May 23, 2006 at 04:30:37PM +0300, Giorgos Keramidas wrote: >>On 2006-05-22 16:14, Brooks Davis wrote: >>>On Mon, May 22, 2006 at 05:12:24PM -0400, Kris Kennaway wrote: >>>> I noticed that with tmpmfs in rc.conf, the md is not being >>>> mounted with -o async; this is an enormous performance >>>> boost, so is there a reason it is not used, or just that it >>>> was overlooked? >>> >>> Just overlooked as far as I know. We correctly switched to >>> not mounting with softupdates, but should probably switch to >>> -o async. >> >> Right. The only reasons why the current tmpmfs_flags doesn't >> include the `-o async' option too are: >> >> a) It didn't back when it was all hardcoded in the script >> >> b) I didn't think about adding it by default when revision >> 1.230 of src/etc/defaults/rc.conf was committed by me >> >> If it does improve things, we should probably make the change :) > > The sys/dev/md/md.c rev 1.115 commit log says async used to be > the default, but was switched off because it was causing > deadlocks. Did this get fixed since ? I am not sure. If a deadlock *does* exist though, then it's not an improvement and we should definitely keep the default to its current state until the bug is fixed. From owner-freebsd-current@FreeBSD.ORG Tue May 23 14:19:20 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D38F016A585 for ; Tue, 23 May 2006 14:19:20 +0000 (UTC) (envelope-from emil@cs.rmit.edu.au) Received: from its-mu-mail3.its.rmit.edu.au (its-mu-mail3.its.rmit.edu.au [131.170.1.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9333543D72 for ; Tue, 23 May 2006 14:19:02 +0000 (GMT) (envelope-from emil@cs.rmit.edu.au) Received: from wombat.cs.rmit.edu.au (wombat.cs.rmit.edu.au [131.170.24.41]) by its-mu-mail3.its.rmit.edu.au (8.13.6/8.13.6/mail3) with ESMTP id k4NEIxJ4011306; Wed, 24 May 2006 00:18:59 +1000 (EST) Received: from goanna.cs.rmit.edu.au (root@goanna.cs.rmit.edu.au [131.170.24.40]) by wombat.cs.rmit.edu.au (8.12.10/8.12.10/cshub) with ESMTP id k4NEIxAf008823; Wed, 24 May 2006 00:18:59 +1000 (EST) Received: from goanna.cs.rmit.edu.au (emil@localhost [127.0.0.1]) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.4/csnode) with ESMTP id k4NEIx13008432; Wed, 24 May 2006 00:18:59 +1000 (EST) Received: (from emil@localhost) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.3/Submit) id k4NEIx0c008431; Wed, 24 May 2006 00:18:59 +1000 (EST) Date: Wed, 24 May 2006 00:18:59 +1000 From: Emil Mikulic To: "Angka H. K." Message-ID: <20060523141859.GA7942@cs.rmit.edu.au> References: <20060523031139.GA7700@cs.rmit.edu.au> <4c40c4e70605230613m1472bac6je6c009b7e93f94e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4c40c4e70605230613m1472bac6je6c009b7e93f94e@mail.gmail.com> X-Operating-System: SunOS 5.10 X-PGP-Fingerprint: D2B4 7C14 0C41 9AE5 8D2B 16B0 D3D6 F910 8E4C 5D35 X-Authentication-Warning: localhost: emil pwned teh intarweb User-Agent: Mutt/1.5.10i X-Scanned-By: MIMEDefang 2.44 Cc: current@freebsd.org Subject: Re: DRI working well with i915! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 14:19:20 -0000 On Tue, May 23, 2006 at 08:13:55PM +0700, Angka H. K. wrote: > Thats really great to hear, > By the way what is the release you are using ? Is it from CVS ? I mean (DRI, > Mesa, Xorg 7) ? FreeBSD is -CURRENT, as per the mailing list. ;) X is xorg-server-6.8.99.903, which is ports/x11-servers/xorg-server-snap (I just noticed ports/x11-servers/xorg-server without the -snap is apparently 6.9.0...) And dri-6.4.1,2 (ports/graphics/dri) to get accelerated 3D. --Emil From owner-freebsd-current@FreeBSD.ORG Tue May 23 14:46:20 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBD2116A5F3 for ; Tue, 23 May 2006 14:46:20 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D0C843D48 for ; Tue, 23 May 2006 14:46:20 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4NEijLl090641; Tue, 23 May 2006 08:44:45 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 08:44:45 -0600 (MDT) Message-Id: <20060523.084445.74659709.imp@bsdimp.com> To: michal.vanco@satro.sk From: Warner Losh In-Reply-To: <200605231552.08317.michal.vanco@satro.sk> References: <200605230806.40543.michal.vanco@satro.sk> <20060523.063352.41712526.imp@bsdimp.com> <200605231552.08317.michal.vanco@satro.sk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 14:46:21 -0000 > 16-bit cards works well. only cardbus cards don't work. Just the atheros card, or all cardbus cards? Can you send me the output of a verbose boot. I'm looking specifically for messages from the pci system and cardbus system, so a full one would be idea. I think I know what might be the problem. Also, please include make/model of the laptop along with the dmesg. I think I might know what's going on... Warner From owner-freebsd-current@FreeBSD.ORG Tue May 23 15:12:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A05C316A892; Tue, 23 May 2006 15:12:51 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id D134843D77; Tue, 23 May 2006 15:12:44 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DDDE.dip.t-dialin.net [84.165.221.222]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4NF0mKP019716; Tue, 23 May 2006 17:00:49 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4NFCcMl020009; Tue, 23 May 2006 17:12:38 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 23 May 2006 17:12:38 +0200 From: Alexander Leidinger To: des@des.no (Dag-Erling =?UTF-8?B?U23DuHJncmF2?=) Message-ID: <20060523171238.6392afdb@Magellan.Leidinger.net> In-Reply-To: <86fyj1kju5.fsf@xps.des.no> References: <20060520141209.A2285@free.home.local> <86fyj1kju5.fsf@xps.des.no> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 15:12:55 -0000 Quoting des@des.no (Dag-Erling Smørgrav) (Tue, 23 May 2006 14:26:58 +0200): > Yuriy Tsibizov writes: > > 2. Complete mixer support. Some controls that can't fit into OSS > > mixer are available as sysctl under debug.emu10kxX. > > That is not the correct place for it. Please use the device's sysctl > context (obtained with device_get_sysctl_ctx()) This was based upon a suggestion by me. We want to get rid of most sound related syscalls (at least those which belong into the realm of the user, and not into the realm of the administrator). Until we have an application and an interface, we have to life with the sysctls, but to let the users know that this is not an interface but a temporary workaround, it's put into the debug MIB. I hope we will not ship 7.0-RELEASE with any such sysctl (any help appreciated). Bye, Alexander. -- Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Tue May 23 15:22:18 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39C8F16A53B; Tue, 23 May 2006 15:22:18 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EBEE43D45; Tue, 23 May 2006 15:22:17 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id BD5EE2089; Tue, 23 May 2006 17:22:12 +0200 (CEST) X-Spam-Tests: none X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id AD0F22087; Tue, 23 May 2006 17:22:12 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 88C0033CAD; Tue, 23 May 2006 17:22:12 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Alexander Leidinger References: <20060520141209.A2285@free.home.local> <86fyj1kju5.fsf@xps.des.no> <20060523171238.6392afdb@Magellan.Leidinger.net> Date: Tue, 23 May 2006 17:22:12 +0200 In-Reply-To: <20060523171238.6392afdb@Magellan.Leidinger.net> (Alexander Leidinger's message of "Tue, 23 May 2006 17:12:38 +0200") Message-ID: <867j4clqaj.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 15:22:20 -0000 Alexander Leidinger writes: > Quoting des@des.no (Dag-Erling Sm=F8rgrav) (Tue, 23 May 2006 14:26:58 +02= 00): > > Yuriy Tsibizov writes: > > > 2. Complete mixer support. Some controls that can't fit into OSS > > > mixer are available as sysctl under debug.emu10kxX. > > That is not the correct place for it. Please use the device's sysctl > > context (obtained with device_get_sysctl_ctx()) > This was based upon a suggestion by me. We want to get rid of most > sound related syscalls (at least those which belong into the realm of > the user, and not into the realm of the administrator). Until we have > an application and an interface, we have to life with the sysctls, but > to let the users know that this is not an interface but a temporary > workaround, it's put into the debug MIB. I hope we will not ship > 7.0-RELEASE with any such sysctl (any help appreciated). Regardless, device-specific sysctl knobs belong in the individual device's sysctl context, which automatically places them in the correct location in the dev tree and automatically destroys them when the device is destroyed. Please do not create further precedent for breaking this rule, no matter how good your intentions. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue May 23 15:31:27 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B57B16A47A for ; Tue, 23 May 2006 15:31:27 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9476843D48 for ; Tue, 23 May 2006 15:31:26 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DDDE.dip.t-dialin.net [84.165.221.222]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4NFJSP2019788; Tue, 23 May 2006 17:19:29 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4NFVImV022746; Tue, 23 May 2006 17:31:19 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 23 May 2006 17:31:18 +0200 From: Alexander Leidinger To: Giorgos Keramidas Message-ID: <20060523173118.371a283e@Magellan.Leidinger.net> In-Reply-To: <20060523141757.GA2966@gothmog.pc> References: <20060522211223.GA3621@xor.obsecurity.org> <20060522231437.GC1446@odin.ac.hmc.edu> <20060523133037.GA2908@gothmog.pc> <20060523143013.GA11472@ci0.org> <20060523141757.GA2966@gothmog.pc> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: current@freebsd.org, Kris Kennaway Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 15:31:31 -0000 Quoting Giorgos Keramidas (Tue, 23 May 2006 17:17:57 +0300): > > > > The sys/dev/md/md.c rev 1.115 commit log says async used to be > > the default, but was switched off because it was causing > > deadlocks. Did this get fixed since ? > > I am not sure. If a deadlock *does* exist though, then it's not > an improvement and we should definitely keep the default to its > current state until the bug is fixed. AFAIK it isn't. Therefore we have http://www.freebsd.org/projects/ideas/index.html#p-mdfs Bye, Alexander. -- Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Tue May 23 15:40:15 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E89B516A595 for ; Tue, 23 May 2006 15:40:15 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6CFE43D82 for ; Tue, 23 May 2006 15:39:53 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1FiYzA-000PNt-1w; Tue, 23 May 2006 09:39:52 -0600 In-Reply-To: <20060523173118.371a283e@Magellan.Leidinger.net> References: <20060522211223.GA3621@xor.obsecurity.org> <20060522231437.GC1446@odin.ac.hmc.edu> <20060523133037.GA2908@gothmog.pc> <20060523143013.GA11472@ci0.org> <20060523141757.GA2966@gothmog.pc> <20060523173118.371a283e@Magellan.Leidinger.net> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <359223C4-42CF-4652-BC1F-892BCBE668D4@shire.net> Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 23 May 2006 09:39:50 -0600 To: Alexander Leidinger X-Mailer: Apple Mail (2.750) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: Giorgos Keramidas , current@freebsd.org, Kris Kennaway Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 15:40:17 -0000 On May 23, 2006, at 9:31 AM, Alexander Leidinger wrote: > Quoting Giorgos Keramidas (Tue, 23 May > 2006 17:17:57 +0300): > >>> >>> The sys/dev/md/md.c rev 1.115 commit log says async used to be >>> the default, but was switched off because it was causing >>> deadlocks. Did this get fixed since ? >> >> I am not sure. If a deadlock *does* exist though, then it's not >> an improvement and we should definitely keep the default to its >> current state until the bug is fixed. > > AFAIK it isn't. Therefore we have > http://www.freebsd.org/projects/ideas/index.html#p-mdfs > I've been having a problem since 5.3 days (currently on 6.0-RELEASE some p level) that happens very infrequently (every couple of weeks to every couple of months) that looks to be the same thing. I am not creating my md devices using option async. In reading the CVS log for rev 1.115 it seems that async was turned off as the default to avoid this problem, and that if I am suffering from the same problem, I shouldn't be as sync is the default now on md creation. Am I reading this correctly? Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-current@FreeBSD.ORG Tue May 23 15:53:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3892A16A51E; Tue, 23 May 2006 15:53:14 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83CC743D49; Tue, 23 May 2006 15:53:09 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DDDE.dip.t-dialin.net [84.165.221.222]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4NFfFLb019881; Tue, 23 May 2006 17:41:16 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4NFr6WU025828; Tue, 23 May 2006 17:53:06 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 23 May 2006 17:53:06 +0200 From: Alexander Leidinger To: des@des.no (Dag-Erling =?UTF-8?B?U23DuHJncmF2?=) Message-ID: <20060523175306.1838e8a6@Magellan.Leidinger.net> In-Reply-To: <867j4clqaj.fsf@xps.des.no> References: <20060520141209.A2285@free.home.local> <86fyj1kju5.fsf@xps.des.no> <20060523171238.6392afdb@Magellan.Leidinger.net> <867j4clqaj.fsf@xps.des.no> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 15:53:15 -0000 Quoting des@des.no (Dag-Erling Smørgrav) (Tue, 23 May 2006 17:22:12 +0200): > Alexander Leidinger writes: > > Quoting des@des.no (Dag-Erling Smørgrav) (Tue, 23 May 2006 14:26:58 +0200): > > > Yuriy Tsibizov writes: > > > > 2. Complete mixer support. Some controls that can't fit into OSS > > > > mixer are available as sysctl under debug.emu10kxX. > > > That is not the correct place for it. Please use the device's sysctl > > > context (obtained with device_get_sysctl_ctx()) > > This was based upon a suggestion by me. We want to get rid of most > > sound related syscalls (at least those which belong into the realm of > > the user, and not into the realm of the administrator). Until we have > > an application and an interface, we have to life with the sysctls, but > > to let the users know that this is not an interface but a temporary > > workaround, it's put into the debug MIB. I hope we will not ship > > 7.0-RELEASE with any such sysctl (any help appreciated). > > Regardless, device-specific sysctl knobs belong in the individual > device's sysctl context, which automatically places them in the > correct location in the dev tree and automatically destroys them when > the device is destroyed. Please do not create further precedent for > breaking this rule, no matter how good your intentions. We already have stuff in the debug MIB and there are even ideas floating around which suggest to mirror the structure of the non-debug MIB's under the debug MIB. So I don't see it go away. Any suggestions "how to do it right" while being located in the debug MIB? Bye, Alexander. -- Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Tue May 23 16:08:35 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A69216A4A0; Tue, 23 May 2006 16:08:35 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id A905B43D49; Tue, 23 May 2006 16:08:34 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4NG8OWc009096; Tue, 23 May 2006 10:08:29 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4473336F.1030900@samsco.org> Date: Tue, 23 May 2006 10:08:15 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <20060520141209.A2285@free.home.local> <86fyj1kju5.fsf@xps.des.no> <20060523171238.6392afdb@Magellan.Leidinger.net> <867j4clqaj.fsf@xps.des.no> In-Reply-To: <867j4clqaj.fsf@xps.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-multimedia@freebsd.org, Alexander Leidinger , freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 16:08:40 -0000 Dag-Erling Smørgrav wrote: > Alexander Leidinger writes: > >>Quoting des@des.no (Dag-Erling Smørgrav) (Tue, 23 May 2006 14:26:58 +0200): >> >>>Yuriy Tsibizov writes: >>> >>>>2. Complete mixer support. Some controls that can't fit into OSS >>>>mixer are available as sysctl under debug.emu10kxX. >>> >>>That is not the correct place for it. Please use the device's sysctl >>>context (obtained with device_get_sysctl_ctx()) >> >>This was based upon a suggestion by me. We want to get rid of most >>sound related syscalls (at least those which belong into the realm of >>the user, and not into the realm of the administrator). Until we have >>an application and an interface, we have to life with the sysctls, but >>to let the users know that this is not an interface but a temporary >>workaround, it's put into the debug MIB. I hope we will not ship >>7.0-RELEASE with any such sysctl (any help appreciated). > > > Regardless, device-specific sysctl knobs belong in the individual > device's sysctl context, which automatically places them in the > correct location in the dev tree and automatically destroys them when > the device is destroyed. Please do not create further precedent for > breaking this rule, no matter how good your intentions. > > DES The problem is that Alexander wants these sysctls to only be temporary. Recall that big thread from a month or two ago about treating sysctls as an API, and how there was heavy disagreement over how to define "stable" sysctls that apps could depend on? If a temporary set of sysctls get put under the dev tree, then it risks becoming permanent, which is not what Alexander wants. So, either we need to decide what parts of the sysctl to define as stable, like I asked for in the previous thread, or we need to pretend that it's not a problem that we should address, and let you and Alexander continue to argue over the 'correct place'. Scott From owner-freebsd-current@FreeBSD.ORG Tue May 23 16:18:32 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC44F16AA1B; Tue, 23 May 2006 16:18:32 +0000 (UTC) (envelope-from jandrese@mitre.org) Received: from smtp-bedford.mitre.org (smtpproxy1.mitre.org [192.160.51.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F64843D45; Tue, 23 May 2006 16:18:31 +0000 (GMT) (envelope-from jandrese@mitre.org) Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.12.11.20060308/8.11.6) with SMTP id k4NGIUOI022364; Tue, 23 May 2006 12:18:30 -0400 Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (Postfix) with ESMTP id ADDEABF7B; Tue, 23 May 2006 12:18:30 -0400 (EDT) Received: from imcfe2.MITRE.ORG (imcfe2.mitre.org [129.83.29.4]) by smtp-bedford.mitre.org (8.12.11.20060308/8.12.11) with ESMTP id k4NGIUZK022339; Tue, 23 May 2006 12:18:30 -0400 Received: from IMCSRV2.MITRE.ORG ([129.83.20.164]) by imcfe2.MITRE.ORG with Microsoft SMTPSVC(6.0.3790.1830); Tue, 23 May 2006 12:18:30 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 23 May 2006 12:18:22 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Call for testing: emu10kx driver for Creative sound cards thread-index: AcZ+e3rf6LYUeNbLS3+PGsSroyuB4wAB3XWg From: "Andresen, Jason" To: "Alexander Leidinger" , =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= X-OriginalArrivalTime: 23 May 2006 16:18:30.0073 (UTC) FILETIME=[877FF290:01C67E84] Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: RE: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 16:18:36 -0000 I ran some tests with my SB Live! Value last night. Results: Sound volume is very low as per your comment. If I turn the mixer all the way up I can get an acceptable sound level out of it, but "loud" is right out. Honestly, I was expecting it to be low like the old emu10kx driver, but it appears to be even lower than that. Compared to Windows the sound volume is extremely low. The last ~600ms of the sound is still cut off. Short sounds don't play at all. I'm not sure this is a sound driver issue because it's persisted across three different revisions of the driver now (the emu10k1 in the kernel, existing emu10kx in the ports, and your experimental emu10kx port). There have been various workarounds for this problem, but none of them ever seem to make it into the sources permanently. Sound quality is excellent. I'm not hearing any crackling or popping or anything to suggest any misplaced bits. I don't have rear speakers attached to my system however, so that part remains untested. My card doesn't have SPDIF support AFAIK. =20 From owner-freebsd-current@FreeBSD.ORG Tue May 23 17:05:04 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF3F316A463 for ; Tue, 23 May 2006 17:05:04 +0000 (UTC) (envelope-from michal.vanco@satro.sk) Received: from mail.satronet.sk (mail.satronet.sk [217.144.16.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DC4C43D48 for ; Tue, 23 May 2006 17:05:03 +0000 (GMT) (envelope-from michal.vanco@satro.sk) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.satronet.sk (Postfix) with ESMTP id 34D0D160708A7; Tue, 23 May 2006 19:04:59 +0200 (CEST) Received: from mail.satronet.sk ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10871-02-2; Tue, 23 May 2006 19:04:56 +0200 (CEST) Received: from [192.168.0.10] (misko.satronet.sk [217.144.17.91]) (using SSLv3 with cipher EXP1024-RC4-SHA (56/128 bits)) (No client certificate requested) by mail.satronet.sk (Postfix) with ESMTP id 365EB16069302; Tue, 23 May 2006 19:04:54 +0200 (CEST) From: Michal =?utf-8?q?Van=C4=8Do?= Organization: Satro, s.r.o. To: freebsd-current@freebsd.org Date: Tue, 23 May 2006 19:04:51 +0200 User-Agent: KMail/1.9.1 References: <200605230806.40543.michal.vanco@satro.sk> <200605231552.08317.michal.vanco@satro.sk> <20060523.084445.74659709.imp@bsdimp.com> In-Reply-To: <20060523.084445.74659709.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_0C0cEgeiZeYLKlH" Message-Id: <200605231904.52081.michal.vanco@satro.sk> X-Virus-Scanned: by amavisd-new-20030616-p10 at satronet.sk Cc: Warner Losh Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 17:05:08 -0000 --Boundary-00=_0C0cEgeiZeYLKlH Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tuesday 23 May 2006 16:44, Warner Losh wrote: > > 16-bit cards works well. only cardbus cards don't work. > > Just the atheros card, or all cardbus cards? Can you send me the > output of a verbose boot. I'm looking specifically for messages from > the pci system and cardbus system, so a full one would be idea. I > think I know what might be the problem. Also, please include > make/model of the laptop along with the dmesg. I think I might know > what's going on... I've only one cardbus card (atheros). my system is: SIS Green550 laptop with 512MB RAM root@silver:~# uname -a FreeBSD silver.misko.satronet.sk 6.1-RELEASE FreeBSD 6.1-RELEASE #5: Tue May 23 18:48:21 CEST 2006 root@silver.misko.satronet.sk:/usr/obj/usr/src/sys/SILVER i386 i have this in /boot/loader.conf: root@silver:~# cat /boot/loader.conf hw.cbb.debug="1" hw.cardbus.debug="1" hw.cardbus.cis_debug="1" hw.pccard.debug="1" hw.pccard.cis_debug="1" dmesg is attached michal --Boundary-00=_0C0cEgeiZeYLKlH Content-Type: text/plain; charset="iso-8859-1"; name="dmesg" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dmesg" Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE #5: Tue May 23 18:48:21 CEST 2006 root@silver.misko.satronet.sk:/usr/obj/usr/src/sys/SILVER Preloaded elf kernel "/boot/kernel/kernel" at 0xc08ff000. Calibrating clock(s) ... i8254 clock: 1193141 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 1991923480 Hz CPU: Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz (1991.92-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febf9ff real memory = 469696512 (447 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000000c25000 - 0x000000001b7d7fff, 448475136 bytes (109491 pages) avail memory = 450240512 (429 MB) bios32: Found BIOS32 Service Directory header at 0xc00fdb30 bios32: Entry = 0xfdb40 (c00fdb40) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xdb61 pnpbios: Found PnP BIOS data at 0xc00f7a70 pnpbios: Entry = f0000:6afb Rev = 1.0 Other BIOS signatures found: wlan: <802.11 Link Layer> ath_rate: version 1.2 kbd: new array size 4 kbd1 at kbdmux0 mem: Pentium Pro MTRR support enabled null: nfslock: pseudo-device random: io: VESA: information block 56 45 53 41 00 03 00 01 00 01 00 00 00 00 22 00 00 01 ff 03 00 01 14 01 00 01 46 01 00 01 5a 01 00 01 02 01 01 01 00 01 03 01 04 01 05 01 0d 01 0e 01 10 01 11 01 13 01 14 01 16 01 17 01 18 01 VESA: 25 mode(s) found VESA: v3.0, 65472k memory, flags:0x0, mode table:0xc0853062 (1000022) VESA: SiS VESA: Silicon Integrated Systems Corp. 6325 1.10.9g ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [MPSAFE] pci_open(1): mode 1 addr port (0x0cf8) is 0x80010010 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=06511039) pcibios: BIOS version 2.10 Found $PIR table, 7 entries at 0xc00f8090 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 1 A 0x41 11 embedded 0 1 B 0x42 11 embedded 0 1 C 0x43 11 embedded 0 1 D 0x44 11 embedded 0 2 A 0x41 11 embedded 0 2 B 0x42 11 embedded 0 2 C 0x43 11 embedded 0 2 D 0x44 11 embedded 0 3 A 0x60 10 embedded 0 3 B 0x61 10 embedded 0 3 C 0x62 10 embedded 0 3 D 0x63 10 embedded 0 10 A 0x41 11 slot 1 0 5 A 0x42 11 slot 1 0 5 B 0x43 11 slot 5 0 6 A 0x42 11 slot 5 0 6 B 0x43 11 embedded 0 4 A 0x44 11 AcpiOsDerivePciId: bus 0 dev 2 func 0 AcpiOsDerivePciId: bus 0 dev 2 func 0 acpi0: Power Button (fixed) atpic: Programming IRQ9 as level/low AcpiOsDerivePciId: bus 0 dev 0 func 0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_ec0: info: new max delay is 20 us acpi_ec0: info: new max delay is 350 us pci_link0: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link0: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link0: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link1: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link1: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link1: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link2: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link2: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link2: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link3: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link3: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link3: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link4: Links after initial probe: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link4: Links after initial validation: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link4: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 10 pci_link5: Links after initial probe: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link5: Links after initial validation: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link5: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 10 pci_link6: Links after initial probe: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link6: Links after initial validation: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link6: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 10 pci_link7: Links after initial probe: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link7: Links after initial validation: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link7: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 10 ACPI timer: 1/2 1/1 1/1 1/2 1/2 1/1 1/2 1/2 1/2 1/2 -> 10 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ACPI: Found matching pin for 0.2.INTC at func 6: 11 ACPI: Found matching pin for 0.3.INTA at func 0: 10 ACPI: Found matching pin for 0.3.INTB at func 1: 10 ACPI: Found matching pin for 0.3.INTC at func 2: 10 ACPI: Found matching pin for 0.3.INTD at func 3: 10 ACPI: Found matching pin for 0.10.INTA at func 0: 11 ACPI: Found matching pin for 0.4.INTA at func 0: 11 pci0: on pcib0 pci0: physical bus=0 found-> vendor=0x1039, dev=0x0651, revid=0x02 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x2210, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 1, range 32, base e0000000, size 27, enabled found-> vendor=0x1039, dev=0x0001, revid=0x00 bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x0a (2500 ns), maxlat=0x00 (0 ns) found-> vendor=0x1039, dev=0x0008, revid=0x14 bus=0, slot=2, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x0200, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1039, dev=0x5513, revid=0x00 bus=0, slot=2, func=5 class=01-01-80, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0200, cachelnsz=0 (dwords) lattimer=0x80 (3840 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 0000ff00, size 4, enabled found-> vendor=0x1039, dev=0x7013, revid=0xa0 bus=0, slot=2, func=6 class=07-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0105, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x34 (13000 ns), maxlat=0x0b (2750 ns) intpin=c, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 4, range 32, base 0000d400, size 8, enabled map[14]: type 4, range 32, base 0000d000, size 7, enabled pcib0: matched entry for 0.2.INTC (src \\_SB_.LNKC:0) pcib0: slot 2 INTC routed to irq 11 via \\_SB_.LNKC found-> vendor=0x1039, dev=0x7012, revid=0xa0 bus=0, slot=2, func=7 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0105, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x34 (13000 ns), maxlat=0x0b (2750 ns) intpin=c, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 4, range 32, base 0000dc00, size 8, enabled map[14]: type 4, range 32, base 0000d800, size 7, enabled pcib0: matched entry for 0.2.INTC (src \\_SB_.LNKC:0) pcib0: slot 2 INTC routed to irq 11 via \\_SB_.LNKC found-> vendor=0x1039, dev=0x7001, revid=0x0f bus=0, slot=3, func=0 class=0c-03-10, hdrtype=0x00, mfdev=1 cmdreg=0x0117, statreg=0x0280, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns) intpin=a, irq=10 map[10]: type 1, range 32, base dfff8000, size 12, enabled pcib0: matched entry for 0.3.INTA (src \\_SB_.LNKE:0) pcib0: slot 3 INTA routed to irq 10 via \\_SB_.LNKE found-> vendor=0x1039, dev=0x7001, revid=0x0f bus=0, slot=3, func=1 class=0c-03-10, hdrtype=0x00, mfdev=0 cmdreg=0x0117, statreg=0x0280, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns) intpin=b, irq=10 map[10]: type 1, range 32, base dfff9000, size 12, enabled pcib0: matched entry for 0.3.INTB (src \\_SB_.LNKF:0) pcib0: slot 3 INTB routed to irq 10 via \\_SB_.LNKF found-> vendor=0x1039, dev=0x7001, revid=0x0f bus=0, slot=3, func=2 class=0c-03-10, hdrtype=0x00, mfdev=0 cmdreg=0x0117, statreg=0x0280, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns) intpin=c, irq=10 map[10]: type 1, range 32, base dfffb000, size 12, enabled pcib0: matched entry for 0.3.INTC (src \\_SB_.LNKG:0) pcib0: slot 3 INTC routed to irq 10 via \\_SB_.LNKG found-> vendor=0x1039, dev=0x7002, revid=0x00 bus=0, slot=3, func=3 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0106, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns) intpin=d, irq=10 powerspec 2 supports D0 D3 current D0 map[10]: type 1, range 32, base dfffa000, size 12, enabled pcib0: matched entry for 0.3.INTD (src \\_SB_.LNKH:0) pcib0: slot 3 INTD routed to irq 10 via \\_SB_.LNKH found-> vendor=0x1039, dev=0x0900, revid=0x91 bus=0, slot=4, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0107, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x34 (13000 ns), maxlat=0x0b (2750 ns) intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 4, range 32, base 0000cc00, size 8, enabled map[14]: type 1, range 32, base dfff6000, size 12, enabled pcib0: matched entry for 0.4.INTA (src \\_SB_.LNKD:0) pcib0: slot 4 INTA routed to irq 11 via \\_SB_.LNKD found-> vendor=0x1524, dev=0x1410, revid=0x00 bus=0, slot=10, func=0 class=06-07-00, hdrtype=0x02, mfdev=0 cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x40 (16000 ns), maxlat=0x03 (750 ns) intpin=a, irq=11 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 00000000, size 12, enabled pcib0: matched entry for 0.10.INTA (src \\_SB_.LNKA:0) pcib0: slot 10 INTA routed to irq 11 via \\_SB_.LNKA agp0: mem 0xe0000000-0xe7ffffff at device 0.0 on pci0 agp0: Reserved 0x8000000 bytes for rid 0x10 type 3 at 0xe0000000 agp0: allocating GATT for aperture of size 128M pcib1: at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 2 pcib1: I/O decode 0xa000-0xafff pcib1: memory decode 0xdfd00000-0xdfefffff pcib1: prefetched decode 0xcfa00000-0xdfbfffff pci1: on pcib1 pci1: physical bus=1 found-> vendor=0x1039, dev=0x6325, revid=0x00 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 3, range 32, base d0000000, size 27, enabled pcib1: (null) requested memory range 0xd0000000-0xd7ffffff: good map[14]: type 1, range 32, base dfee0000, size 17, enabled pcib1: (null) requested memory range 0xdfee0000-0xdfefffff: good map[18]: type 4, range 32, base 0000ac00, size 7, enabled pcib1: (null) requested I/O range 0xac00-0xac7f: in range pcib0: matched entry for 0.1.INTA (src \\_SB_.LNKA:0) pcib0: slot 1 INTA routed to irq 11 via \\_SB_.LNKA pcib1: slot 0 INTA is routed to irq 11 pci1: at device 0.0 (no driver attached) isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 2.5 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xff00 ata0: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ata0: [MPSAFE] ata1: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1: stat0=0x10 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=10 stat1=00 devices=0x4 ata1: [MPSAFE] pci0: at device 2.6 (no driver attached) pcm0: port 0xdc00-0xdcff,0xd800-0xd87f irq 11 at device 2.7 on pci0 pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xdc00 pcm0: Reserved 0x80 bytes for rid 0x14 type 4 at 0xd800 pcm0: [MPSAFE] pcm0: pcm0: Codec features headphone, 20 bit DAC, 18 bit ADC, 6 bit master volume, Realtek 3D Stereo Enhancement pcm0: Primary codec extended features variable rate PCM, double rate PCM, reserved 1, AMAP, reserved 4 pcm0: ac97 codec dac ready count: 0 pcm0: sndbuf_setmap 1b5cc000, 4000; 0xdb3b3000 -> 1b5cc000 pcm0: sndbuf_setmap 1b5c8000, 4000; 0xdb3b7000 -> 1b5c8000 ohci0: mem 0xdfff8000-0xdfff8fff irq 10 at device 3.0 on pci0 ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfff8000 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0xdfff9000-0xdfff9fff irq 10 at device 3.1 on pci0 ohci1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfff9000 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ohci2: mem 0xdfffb000-0xdfffbfff irq 10 at device 3.2 on pci0 ohci2: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfffb000 ohci2: [GIANT-LOCKED] usb2: OHCI version 1.0, legacy support usb2: SMM does not respond, resetting usb2: on ohci2 usb2: USB revision 1.0 uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xdfffa000-0xdfffafff irq 10 at device 3.3 on pci0 ehci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfffa000 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: SiS EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered sis0: port 0xcc00-0xccff mem 0xdfff6000-0xdfff6fff irq 11 at device 4.0 on pci0 sis0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xcc00 miibus0: on sis0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: bpf attached sis0: Ethernet address: 00:0a:e6:bd:a6:94 sis0: [MPSAFE] cbb0: irq 11 at device 10.0 on pci0 cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0x80000000 cbb0: Found memory at 80000000 cbb0: Secondary bus is 0 cbb0: Secondary bus set to 2 subbus 3 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb0: PCI Configuration space: 0x00: 0x14101524 0x02100007 0x06070000 0x00022000 0x10: 0x80000000 0x020000a0 0x40030200 0xfffff000 0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc 0x30: 0x00000000 0xfffffffc 0x00000000 0x0740010b 0x40: 0xb5501019 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x0c44d021 0x00000000 0x00000000 0x000c1002 0x90: 0x404482c0 0x00000000 0x00000000 0x00000000 0xa0: 0xfe010001 0x00c08100 0x00000009 0x00000009 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00001003 0x00800080 0x10080c00 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 psmcpnp0: irq 12 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 atkbd0: [GIANT-LOCKED] psm0: current command byte:0065 psm0: strange result for test aux port (2). psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000008, packet size:3 psm0: syncmask:c0, syncbits:00 acpi_acad0: on acpi0 battery0: on acpi0 npx0: INT 16 interface ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it pnp_identify: Trying Read_Port at 203 pnp_identify: Trying Read_Port at 243 pnp_identify: Trying Read_Port at 283 pnp_identify: Trying Read_Port at 2c3 pnp_identify: Trying Read_Port at 303 pnp_identify: Trying Read_Port at 343 pnp_identify: Trying Read_Port at 383 pnp_identify: Trying Read_Port at 3c3 PNP Identify complete sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcbfff,0xcc000-0xd5fff on isa0 adv0: not probed (disabled) aha0: not probed (disabled) aic0: not probed (disabled) bt0: not probed (disabled) cs0: not probed (disabled) ed0: not probed (disabled) fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0 fe0: not probed (disabled) ie0: not probed (disabled) lnc0: not probed (disabled) ppc0 failed to probe at irq 7 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd1, terminal emulator: sc (syscons terminal) sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: irq maps: 0x1 0x1 0x1 0x1 sio0: probe failed test(s): 0 1 2 4 6 7 9 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: irq maps: 0x1 0x1 0x1 0x1 sio1: probe failed test(s): 0 1 2 4 6 7 9 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0 sio2: not probed (disabled) sio3: not probed (disabled) sn0: not probed (disabled) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 vt0: not probed (disabled) isa_probe_children: probing PnP devices Device configuration finished. procfs registered Timecounter "TSC" frequency 1991923480 Hz quality 800 Timecounters tick every 1.000 msec lo0: bpf attached acpi_acad0: acline initialization start acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times battery0: battery initialization start acpi_ec0: info: new max delay is 370 us acpi_ec0: info: new max delay is 380 us acpi_ec0: info: new max delay is 420 us Status is 0x30000820 cbb0: card inserted: event=0x00000000, state=30000820 cbb0: cbb_power: 3V cbb0: cbb_power: 0V acpi_ec0: info: new max delay is 430 us battery0: battery initialization done, tried 1 times ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire ad0: setting PIO4 on 5513 chip ad0: DMA limited to UDMA33, controller found non-ATA66 cable ad0: setting UDMA33 on 5513 chip ad0: 38154MB at ata0-master UDMA33 ad0: 78140160 sectors [19152C/16H/255S] 16 sectors/interrupt 1 depth queue GEOM: new disk ad0 ata1-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire acd0: setting PIO4 on 5513 chip acd0: setting UDMA33 on 5513 chip acd0: CDRW drive at ata1 as master acd0: read 689KB/s (4126KB/s) write 4126KB/s (4126KB/s), 2048KB buffer, UDMA33 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet acd0: Writes: CDR, CDRW, test write, burnproof acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc pcm0: measured ac97 link rate at 48000 Hz Trying to mount root from ufs:/dev/ad0s1a start_init: trying /sbin/init --Boundary-00=_0C0cEgeiZeYLKlH-- From owner-freebsd-current@FreeBSD.ORG Tue May 23 17:15:59 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06FF616A742; Tue, 23 May 2006 17:15:59 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 840D643D66; Tue, 23 May 2006 17:15:50 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (afsqwr787o01uhg2@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k4NHFif2048777; Tue, 23 May 2006 10:15:44 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k4NHFfnJ048776; Tue, 23 May 2006 10:15:41 -0700 (PDT) (envelope-from jmg) Date: Tue, 23 May 2006 10:15:40 -0700 From: John-Mark Gurney To: Scott Long Message-ID: <20060523171540.GS770@funkthat.com> Mail-Followup-To: Scott Long , Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , freebsd-multimedia@freebsd.org, Alexander Leidinger , freebsd-current@freebsd.org References: <20060520141209.A2285@free.home.local> <86fyj1kju5.fsf@xps.des.no> <20060523171238.6392afdb@Magellan.Leidinger.net> <867j4clqaj.fsf@xps.des.no> <4473336F.1030900@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4473336F.1030900@samsco.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-multimedia@freebsd.org, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , freebsd-current@freebsd.org, Alexander Leidinger Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 17:16:03 -0000 Scott Long wrote this message on Tue, May 23, 2006 at 10:08 -0600: > Dag-Erling Smørgrav wrote: > >Alexander Leidinger writes: > > > >>Quoting des@des.no (Dag-Erling Smørgrav) (Tue, 23 May 2006 14:26:58 > >>+0200): > >> > >>>Yuriy Tsibizov writes: > >>> > >>>>2. Complete mixer support. Some controls that can't fit into OSS > >>>>mixer are available as sysctl under debug.emu10kxX. > >>> > >>>That is not the correct place for it. Please use the device's sysctl > >>>context (obtained with device_get_sysctl_ctx()) > >> > >>This was based upon a suggestion by me. We want to get rid of most > >>sound related syscalls (at least those which belong into the realm of > >>the user, and not into the realm of the administrator). Until we have > >>an application and an interface, we have to life with the sysctls, but > >>to let the users know that this is not an interface but a temporary > >>workaround, it's put into the debug MIB. I hope we will not ship > >>7.0-RELEASE with any such sysctl (any help appreciated). > > > > > >Regardless, device-specific sysctl knobs belong in the individual > >device's sysctl context, which automatically places them in the > >correct location in the dev tree and automatically destroys them when > >the device is destroyed. Please do not create further precedent for > >breaking this rule, no matter how good your intentions. > > > >DES > > The problem is that Alexander wants these sysctls to only be temporary. > Recall that big thread from a month or two ago about treating sysctls > as an API, and how there was heavy disagreement over how to define > "stable" sysctls that apps could depend on? If a temporary set of > sysctls get put under the dev tree, then it risks becoming permanent, > which is not what Alexander wants. So, either we need to decide what > parts of the sysctl to define as stable, like I asked for in the > previous thread, or we need to pretend that it's not a problem that we > should address, and let you and Alexander continue to argue over the > 'correct place'. Having touched debug a year or two back (witness renaming).. even sysctl's in the debug tree are standard.. so simply putting them in debug doesn't mean people will understand that they may go away in the future... debug does not imply temporary or stable... heck, some would argue the debug.sizeof is a VERY stable part of the api... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-current@FreeBSD.ORG Tue May 23 17:16:28 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95A9016A886 for ; Tue, 23 May 2006 17:16:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39BCD43D45 for ; Tue, 23 May 2006 17:16:28 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4NHFJ5s092442; Tue, 23 May 2006 11:15:19 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 11:15:19 -0600 (MDT) Message-Id: <20060523.111519.59744682.imp@bsdimp.com> To: michal.vanco@satro.sk From: Warner Losh In-Reply-To: <200605231904.52081.michal.vanco@satro.sk> References: <200605231552.08317.michal.vanco@satro.sk> <20060523.084445.74659709.imp@bsdimp.com> <200605231904.52081.michal.vanco@satro.sk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.ORG Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 17:16:31 -0000 Try the following hack: Index: pccbb_pci.c =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/sys/dev/pccbb/pccbb_pci.c,v retrieving revision 1.15 diff -c -r1.15 pccbb_pci.c *** pccbb_pci.c 8 Oct 2005 06:58:51 -0000 1.15 --- pccbb_pci.c 23 May 2006 17:13:31 -0000 *************** *** 300,306 **** static int cbb_pci_attach(device_t brdev) { - static int curr_bus_number = 2; /* XXX EVILE BAD (see below) */ + static int curr_bus_number = 3; /* XXX EVILE BAD (see below) */ struct cbb_softc *sc = (struct cbb_softc *)device_get_softc(brdev); int rid, bus, pribus; device_t parent; and let me know if that helps. Looks like two bridges are claiming to have a bus 2 on them. The other problem may be related to where we map the CIS of the card to read it in. However, IIRC, 6.1 doesn't consider mapping failure to be a problem at all... If the above doesn't help, that's the next line of attack. Warner From owner-freebsd-current@FreeBSD.ORG Tue May 23 17:22:42 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74CB316A79F; Tue, 23 May 2006 17:22:42 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7859A43D62; Tue, 23 May 2006 17:22:36 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4NHM6lv092527; Tue, 23 May 2006 11:22:06 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 11:22:05 -0600 (MDT) Message-Id: <20060523.112205.115998971.imp@bsdimp.com> To: scottl@samsco.org From: Warner Losh In-Reply-To: <4473336F.1030900@samsco.org> References: <20060523171238.6392afdb@Magellan.Leidinger.net> <867j4clqaj.fsf@xps.des.no> <4473336F.1030900@samsco.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org, des@des.no, freebsd-current@freebsd.org, Alexander@Leidinger.net Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 17:22:46 -0000 From: Scott Long Subject: Re: Call for testing: emu10kx driver for Creative sound cards Date: Tue, 23 May 2006 10:08:15 -0600 > Dag-Erling Sm=F8rgrav wrote: > > Alexander Leidinger writes: > > = > >>Quoting des@des.no (Dag-Erling Sm=F8rgrav) (Tue, 23 May 2006 14:26:= 58 +0200): > >> > >>>Yuriy Tsibizov writes: > >>> > >>>>2. Complete mixer support. Some controls that can't fit into OSS > >>>>mixer are available as sysctl under debug.emu10kxX. > >>> > >>>That is not the correct place for it. Please use the device's sys= ctl > >>>context (obtained with device_get_sysctl_ctx()) > >> > >>This was based upon a suggestion by me. We want to get rid of most > >>sound related syscalls (at least those which belong into the realm = of > >>the user, and not into the realm of the administrator). Until we ha= ve > >>an application and an interface, we have to life with the sysctls, = but > >>to let the users know that this is not an interface but a temporary= > >>workaround, it's put into the debug MIB. I hope we will not ship > >>7.0-RELEASE with any such sysctl (any help appreciated). > > = > > = > > Regardless, device-specific sysctl knobs belong in the individual > > device's sysctl context, which automatically places them in the > > correct location in the dev tree and automatically destroys them wh= en > > the device is destroyed. Please do not create further precedent fo= r > > breaking this rule, no matter how good your intentions. > > = > > DES > = > The problem is that Alexander wants these sysctls to only be temporar= y. > Recall that big thread from a month or two ago about treating sysctls= > as an API, and how there was heavy disagreement over how to define > "stable" sysctls that apps could depend on? If a temporary set of = > sysctls get put under the dev tree, then it risks becoming permanent,= > which is not what Alexander wants. So, either we need to decide what= > parts of the sysctl to define as stable, like I asked for in the = > previous thread, or we need to pretend that it's not a problem that w= e > should address, and let you and Alexander continue to argue over the > 'correct place'. Then put them under the right place, but create a subtree that's "tmp" In general, drivers should avoid using the debug.* space. Warner From owner-freebsd-current@FreeBSD.ORG Tue May 23 17:44:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61A4916A5E0 for ; Tue, 23 May 2006 17:44:58 +0000 (UTC) (envelope-from michal.vanco@satro.sk) Received: from mail.satronet.sk (mail.satronet.sk [217.144.16.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2160443D46 for ; Tue, 23 May 2006 17:44:57 +0000 (GMT) (envelope-from michal.vanco@satro.sk) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.satronet.sk (Postfix) with ESMTP id EFCA516067B67; Tue, 23 May 2006 19:44:53 +0200 (CEST) Received: from mail.satronet.sk ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11583-02-7; Tue, 23 May 2006 19:44:50 +0200 (CEST) Received: from [192.168.0.10] (misko.satronet.sk [217.144.17.91]) (using SSLv3 with cipher EXP1024-RC4-SHA (56/128 bits)) (No client certificate requested) by mail.satronet.sk (Postfix) with ESMTP id 199DC1605A168; Tue, 23 May 2006 19:44:48 +0200 (CEST) From: Michal =?utf-8?q?Van=C4=8Do?= Organization: Satro, s.r.o. To: freebsd-current@freebsd.org Date: Tue, 23 May 2006 19:44:45 +0200 User-Agent: KMail/1.9.1 References: <200605231552.08317.michal.vanco@satro.sk> <200605231904.52081.michal.vanco@satro.sk> <20060523.111519.59744682.imp@bsdimp.com> In-Reply-To: <20060523.111519.59744682.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_No0cE7pFomec4k0" Message-Id: <200605231944.45822.michal.vanco@satro.sk> X-Virus-Scanned: by amavisd-new-20030616-p10 at satronet.sk Cc: Warner Losh Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 17:45:00 -0000 --Boundary-00=_No0cE7pFomec4k0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tuesday 23 May 2006 19:15, Warner Losh wrote: > Try the following hack: > > Index: pccbb_pci.c > =================================================================== > RCS file: /home/imp/FreeBSD/CVS/src/sys/dev/pccbb/pccbb_pci.c,v > retrieving revision 1.15 > diff -c -r1.15 pccbb_pci.c > *** pccbb_pci.c 8 Oct 2005 06:58:51 -0000 1.15 > --- pccbb_pci.c 23 May 2006 17:13:31 -0000 > *************** > *** 300,306 **** > static int > cbb_pci_attach(device_t brdev) > { > - static int curr_bus_number = 2; /* XXX EVILE BAD (see below) */ > + static int curr_bus_number = 3; /* XXX EVILE BAD (see below) */ > struct cbb_softc *sc = (struct cbb_softc *)device_get_softc(brdev); > int rid, bus, pribus; > device_t parent; > great. thank you very very much for your help. my atheros card is now up and running. here is my dmesg after your hack once again. thank you very much michal --Boundary-00=_No0cE7pFomec4k0 Content-Type: text/plain; charset="iso-8859-1"; name="dmesg2" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dmesg2" Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE #6: Tue May 23 19:31:58 CEST 2006 root@silver.misko.satronet.sk:/usr/obj/usr/src/sys/SILVER Preloaded elf kernel "/boot/kernel/kernel" at 0xc08ff000. Calibrating clock(s) ... i8254 clock: 1193144 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 1991924004 Hz CPU: Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz (1991.92-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febf9ff real memory = 469696512 (447 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000000c25000 - 0x000000001b7d7fff, 448475136 bytes (109491 pages) avail memory = 450240512 (429 MB) bios32: Found BIOS32 Service Directory header at 0xc00fdb30 bios32: Entry = 0xfdb40 (c00fdb40) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xdb61 pnpbios: Found PnP BIOS data at 0xc00f7a70 pnpbios: Entry = f0000:6afb Rev = 1.0 Other BIOS signatures found: wlan: <802.11 Link Layer> ath_rate: version 1.2 kbd: new array size 4 kbd1 at kbdmux0 mem: Pentium Pro MTRR support enabled null: nfslock: pseudo-device random: io: VESA: information block 56 45 53 41 00 03 00 01 00 01 00 00 00 00 22 00 00 01 ff 03 00 01 14 01 00 01 46 01 00 01 5a 01 00 01 02 01 01 01 00 01 03 01 04 01 05 01 0d 01 0e 01 10 01 11 01 13 01 14 01 16 01 17 01 18 01 VESA: 25 mode(s) found VESA: v3.0, 65472k memory, flags:0x0, mode table:0xc0853062 (1000022) VESA: SiS VESA: Silicon Integrated Systems Corp. 6325 1.10.9g ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [MPSAFE] pci_open(1): mode 1 addr port (0x0cf8) is 0x80010010 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=06511039) pcibios: BIOS version 2.10 Found $PIR table, 7 entries at 0xc00f8090 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 1 A 0x41 11 embedded 0 1 B 0x42 11 embedded 0 1 C 0x43 11 embedded 0 1 D 0x44 11 embedded 0 2 A 0x41 11 embedded 0 2 B 0x42 11 embedded 0 2 C 0x43 11 embedded 0 2 D 0x44 11 embedded 0 3 A 0x60 10 embedded 0 3 B 0x61 10 embedded 0 3 C 0x62 10 embedded 0 3 D 0x63 10 embedded 0 10 A 0x41 11 slot 1 0 5 A 0x42 11 slot 1 0 5 B 0x43 11 slot 5 0 6 A 0x42 11 slot 5 0 6 B 0x43 11 embedded 0 4 A 0x44 11 AcpiOsDerivePciId: bus 0 dev 2 func 0 AcpiOsDerivePciId: bus 0 dev 2 func 0 acpi0: Power Button (fixed) atpic: Programming IRQ9 as level/low AcpiOsDerivePciId: bus 0 dev 0 func 0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_ec0: info: new max delay is 20 us acpi_ec0: info: new max delay is 350 us pci_link0: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link0: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link0: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link1: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link1: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link1: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link2: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link2: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link2: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link3: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link3: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link3: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link4: Links after initial probe: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link4: Links after initial validation: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link4: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 10 pci_link5: Links after initial probe: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link5: Links after initial validation: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link5: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 10 pci_link6: Links after initial probe: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link6: Links after initial validation: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link6: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 10 pci_link7: Links after initial probe: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link7: Links after initial validation: Index IRQ Rtd Ref IRQs 0 10 N 0 10 pci_link7: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 10 ACPI timer: 1/2 1/1 1/2 1/2 1/2 1/1 1/1 1/2 1/1 1/2 -> 10 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ACPI: Found matching pin for 0.2.INTC at func 6: 11 ACPI: Found matching pin for 0.3.INTA at func 0: 10 ACPI: Found matching pin for 0.3.INTB at func 1: 10 ACPI: Found matching pin for 0.3.INTC at func 2: 10 ACPI: Found matching pin for 0.3.INTD at func 3: 10 ACPI: Found matching pin for 0.10.INTA at func 0: 11 ACPI: Found matching pin for 0.4.INTA at func 0: 11 pci0: on pcib0 pci0: physical bus=0 found-> vendor=0x1039, dev=0x0651, revid=0x02 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x2210, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 1, range 32, base e0000000, size 27, enabled found-> vendor=0x1039, dev=0x0001, revid=0x00 bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x0a (2500 ns), maxlat=0x00 (0 ns) found-> vendor=0x1039, dev=0x0008, revid=0x14 bus=0, slot=2, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x0200, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1039, dev=0x5513, revid=0x00 bus=0, slot=2, func=5 class=01-01-80, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0200, cachelnsz=0 (dwords) lattimer=0x80 (3840 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 0000ff00, size 4, enabled found-> vendor=0x1039, dev=0x7013, revid=0xa0 bus=0, slot=2, func=6 class=07-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0105, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x34 (13000 ns), maxlat=0x0b (2750 ns) intpin=c, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 4, range 32, base 0000d400, size 8, enabled map[14]: type 4, range 32, base 0000d000, size 7, enabled pcib0: matched entry for 0.2.INTC (src \\_SB_.LNKC:0) pcib0: slot 2 INTC routed to irq 11 via \\_SB_.LNKC found-> vendor=0x1039, dev=0x7012, revid=0xa0 bus=0, slot=2, func=7 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0105, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x34 (13000 ns), maxlat=0x0b (2750 ns) intpin=c, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 4, range 32, base 0000dc00, size 8, enabled map[14]: type 4, range 32, base 0000d800, size 7, enabled pcib0: matched entry for 0.2.INTC (src \\_SB_.LNKC:0) pcib0: slot 2 INTC routed to irq 11 via \\_SB_.LNKC found-> vendor=0x1039, dev=0x7001, revid=0x0f bus=0, slot=3, func=0 class=0c-03-10, hdrtype=0x00, mfdev=1 cmdreg=0x0117, statreg=0x0280, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns) intpin=a, irq=10 map[10]: type 1, range 32, base dfff8000, size 12, enabled pcib0: matched entry for 0.3.INTA (src \\_SB_.LNKE:0) pcib0: slot 3 INTA routed to irq 10 via \\_SB_.LNKE found-> vendor=0x1039, dev=0x7001, revid=0x0f bus=0, slot=3, func=1 class=0c-03-10, hdrtype=0x00, mfdev=0 cmdreg=0x0117, statreg=0x0280, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns) intpin=b, irq=10 map[10]: type 1, range 32, base dfff9000, size 12, enabled pcib0: matched entry for 0.3.INTB (src \\_SB_.LNKF:0) pcib0: slot 3 INTB routed to irq 10 via \\_SB_.LNKF found-> vendor=0x1039, dev=0x7001, revid=0x0f bus=0, slot=3, func=2 class=0c-03-10, hdrtype=0x00, mfdev=0 cmdreg=0x0117, statreg=0x0280, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns) intpin=c, irq=10 map[10]: type 1, range 32, base dfffb000, size 12, enabled pcib0: matched entry for 0.3.INTC (src \\_SB_.LNKG:0) pcib0: slot 3 INTC routed to irq 10 via \\_SB_.LNKG found-> vendor=0x1039, dev=0x7002, revid=0x00 bus=0, slot=3, func=3 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0106, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns) intpin=d, irq=10 powerspec 2 supports D0 D3 current D0 map[10]: type 1, range 32, base dfffa000, size 12, enabled pcib0: matched entry for 0.3.INTD (src \\_SB_.LNKH:0) pcib0: slot 3 INTD routed to irq 10 via \\_SB_.LNKH found-> vendor=0x1039, dev=0x0900, revid=0x91 bus=0, slot=4, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0107, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x34 (13000 ns), maxlat=0x0b (2750 ns) intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 4, range 32, base 0000cc00, size 8, enabled map[14]: type 1, range 32, base dfff6000, size 12, enabled pcib0: matched entry for 0.4.INTA (src \\_SB_.LNKD:0) pcib0: slot 4 INTA routed to irq 11 via \\_SB_.LNKD found-> vendor=0x1524, dev=0x1410, revid=0x00 bus=0, slot=10, func=0 class=06-07-00, hdrtype=0x02, mfdev=0 cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x40 (16000 ns), maxlat=0x03 (750 ns) intpin=a, irq=11 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 00000000, size 12, enabled pcib0: matched entry for 0.10.INTA (src \\_SB_.LNKA:0) pcib0: slot 10 INTA routed to irq 11 via \\_SB_.LNKA agp0: mem 0xe0000000-0xe7ffffff at device 0.0 on pci0 agp0: Reserved 0x8000000 bytes for rid 0x10 type 3 at 0xe0000000 agp0: allocating GATT for aperture of size 128M pcib1: at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 2 pcib1: I/O decode 0xa000-0xafff pcib1: memory decode 0xdfd00000-0xdfefffff pcib1: prefetched decode 0xcfa00000-0xdfbfffff pci1: on pcib1 pci1: physical bus=1 found-> vendor=0x1039, dev=0x6325, revid=0x00 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 3, range 32, base d0000000, size 27, enabled pcib1: (null) requested memory range 0xd0000000-0xd7ffffff: good map[14]: type 1, range 32, base dfee0000, size 17, enabled pcib1: (null) requested memory range 0xdfee0000-0xdfefffff: good map[18]: type 4, range 32, base 0000ac00, size 7, enabled pcib1: (null) requested I/O range 0xac00-0xac7f: in range pcib0: matched entry for 0.1.INTA (src \\_SB_.LNKA:0) pcib0: slot 1 INTA routed to irq 11 via \\_SB_.LNKA pcib1: slot 0 INTA is routed to irq 11 pci1: at device 0.0 (no driver attached) isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 2.5 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xff00 ata0: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ata0: [MPSAFE] ata1: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1: stat0=0x10 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=10 stat1=00 devices=0x4 ata1: [MPSAFE] pci0: at device 2.6 (no driver attached) pcm0: port 0xdc00-0xdcff,0xd800-0xd87f irq 11 at device 2.7 on pci0 pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xdc00 pcm0: Reserved 0x80 bytes for rid 0x14 type 4 at 0xd800 pcm0: [MPSAFE] pcm0: pcm0: Codec features headphone, 20 bit DAC, 18 bit ADC, 6 bit master volume, Realtek 3D Stereo Enhancement pcm0: Primary codec extended features variable rate PCM, double rate PCM, reserved 1, AMAP, reserved 4 pcm0: ac97 codec dac ready count: 0 pcm0: sndbuf_setmap 1b5cc000, 4000; 0xdb3b3000 -> 1b5cc000 pcm0: sndbuf_setmap 1b5c8000, 4000; 0xdb3b7000 -> 1b5c8000 ohci0: mem 0xdfff8000-0xdfff8fff irq 10 at device 3.0 on pci0 ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfff8000 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0xdfff9000-0xdfff9fff irq 10 at device 3.1 on pci0 ohci1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfff9000 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ohci2: mem 0xdfffb000-0xdfffbfff irq 10 at device 3.2 on pci0 ohci2: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfffb000 ohci2: [GIANT-LOCKED] usb2: OHCI version 1.0, legacy support usb2: SMM does not respond, resetting usb2: on ohci2 usb2: USB revision 1.0 uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xdfffa000-0xdfffafff irq 10 at device 3.3 on pci0 ehci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfffa000 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: SiS EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered sis0: port 0xcc00-0xccff mem 0xdfff6000-0xdfff6fff irq 11 at device 4.0 on pci0 sis0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xcc00 miibus0: on sis0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: bpf attached sis0: Ethernet address: 00:0a:e6:bd:a6:94 sis0: [MPSAFE] cbb0: irq 11 at device 10.0 on pci0 cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0x80000000 cbb0: Found memory at 80000000 cbb0: Secondary bus is 0 cbb0: Secondary bus set to 3 subbus 4 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb0: PCI Configuration space: 0x00: 0x14101524 0x02100007 0x06070000 0x00022000 0x10: 0x80000000 0x020000a0 0x40040300 0xfffff000 0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc 0x30: 0x00000000 0xfffffffc 0x00000000 0x0740010b 0x40: 0xb5501019 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x0c44d021 0x00000000 0x00000000 0x000c1002 0x90: 0x404482c0 0x00000000 0x00000000 0x00000000 0xa0: 0xfe010001 0x00c08100 0x00000009 0x00000009 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00001003 0x00800080 0x10080c00 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 psmcpnp0: irq 12 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 atkbd0: [GIANT-LOCKED] psm0: current command byte:0065 psm0: strange result for test aux port (2). psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000008, packet size:3 psm0: syncmask:c0, syncbits:00 acpi_acad0: on acpi0 battery0: on acpi0 npx0: INT 16 interface ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it pnp_identify: Trying Read_Port at 203 pnp_identify: Trying Read_Port at 243 pnp_identify: Trying Read_Port at 283 pnp_identify: Trying Read_Port at 2c3 pnp_identify: Trying Read_Port at 303 pnp_identify: Trying Read_Port at 343 pnp_identify: Trying Read_Port at 383 pnp_identify: Trying Read_Port at 3c3 PNP Identify complete sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcbfff,0xcc000-0xd5fff on isa0 adv0: not probed (disabled) aha0: not probed (disabled) aic0: not probed (disabled) bt0: not probed (disabled) cs0: not probed (disabled) ed0: not probed (disabled) fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0 fe0: not probed (disabled) ie0: not probed (disabled) lnc0: not probed (disabled) ppc0 failed to probe at irq 7 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd1, terminal emulator: sc (syscons terminal) sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: irq maps: 0x1 0x1 0x1 0x1 sio0: probe failed test(s): 0 1 2 4 6 7 9 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: irq maps: 0x1 0x1 0x1 0x1 sio1: probe failed test(s): 0 1 2 4 6 7 9 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0 sio2: not probed (disabled) sio3: not probed (disabled) sn0: not probed (disabled) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 vt0: not probed (disabled) isa_probe_children: probing PnP devices Device configuration finished. procfs registered Timecounter "TSC" frequency 1991924004 Hz quality 800 Timecounters tick every 1.000 msec lo0: bpf attached acpi_acad0: acline initialization start acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times battery0: battery initialization start acpi_ec0: info: new max delay is 370 us acpi_ec0: info: new max delay is 420 us Status is 0x30000820 cbb0: card inserted: event=0x00000000, state=30000820 cbb0: cbb_power: 3V TUPLE: LINKTARGET [3]: 43 49 53 Manufacturer ID: 71021200 TUPLE: Unknown(0x04) [6]: 03 01 00 00 00 00 TUPLE: Unknown(0x05) [14]: 41 b1 39 b5 1e 2d 4e 56 30 ff ff 02 e9 00 cardbus0: Opening BAR: type=MEM, bar=10, len=10000 CIS reading done cardbus0: Non-prefetchable memory at 88000000-8800ffff found-> vendor=0x168c, dev=0x0013, revid=0x01 bus=3, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns) intpin=a, irq=11 powerspec 2 supports D0 D3 current D0 ath0: mem 0x88000000-0x8800ffff irq 11 at device 0.0 on cardbus0 ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0x88000000 ath0: Reserved 0x1 bytes for rid 0 type 1 at 0xb ath0: [MPSAFE] ath0: bpf attached ath0: Ethernet address: 00:30:4f:32:11:e4 ath0: bpf attached ath0: bpf attached ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ath0: mac 5.9 phy 4.3 radio 4.6 ath0: Use hw queue 1 for WME_AC_BE traffic ath0: Use hw queue 0 for WME_AC_BK traffic ath0: Use hw queue 2 for WME_AC_VI traffic ath0: Use hw queue 3 for WME_AC_VO traffic ath0: Use hw queue 8 for CAB traffic ath0: Use hw queue 9 for beacons acpi_ec0: info: new max delay is 430 us battery0: battery initialization done, tried 1 times ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire ad0: setting PIO4 on 5513 chip ad0: DMA limited to UDMA33, controller found non-ATA66 cable ad0: setting UDMA33 on 5513 chip ad0: 38154MB at ata0-master UDMA33 ad0: 78140160 sectors [19152C/16H/255S] 16 sectors/interrupt 1 depth queue GEOM: new disk ad0 ata1-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire acd0: setting PIO4 on 5513 chip acd0: setting UDMA33 on 5513 chip acd0: CDRW drive at ata1 as master acd0: read 689KB/s (4126KB/s) write 4126KB/s (4126KB/s), 2048KB buffer, UDMA33 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet acd0: Writes: CDR, CDRW, test write, burnproof acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc pcm0: measured ac97 link rate at 48017 Hz, will use 48000 Hz Trying to mount root from ufs:/dev/ad0s1a start_init: trying /sbin/init acpi_ec0: info: new max delay is 460 us --Boundary-00=_No0cE7pFomec4k0-- From owner-freebsd-current@FreeBSD.ORG Tue May 23 18:36:48 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E09F016A578; Tue, 23 May 2006 18:36:47 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF33D43D60; Tue, 23 May 2006 18:36:40 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4NIaRT1010122; Tue, 23 May 2006 12:36:32 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44735620.9080403@samsco.org> Date: Tue, 23 May 2006 12:36:16 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Warner Losh References: <20060523171238.6392afdb@Magellan.Leidinger.net> <867j4clqaj.fsf@xps.des.no> <4473336F.1030900@samsco.org> <20060523.112205.115998971.imp@bsdimp.com> In-Reply-To: <20060523.112205.115998971.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-multimedia@freebsd.org, des@des.no, freebsd-current@freebsd.org, Alexander@Leidinger.net Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 18:36:53 -0000 Warner Losh wrote: > From: Scott Long > Subject: Re: Call for testing: emu10kx driver for Creative sound cards > Date: Tue, 23 May 2006 10:08:15 -0600 > > >>Dag-Erling Smørgrav wrote: >> >>>Alexander Leidinger writes: >>> >>> >>>>Quoting des@des.no (Dag-Erling Smørgrav) (Tue, 23 May 2006 14:26:58 +0200): >>>> >>>> >>>>>Yuriy Tsibizov writes: >>>>> >>>>> >>>>>>2. Complete mixer support. Some controls that can't fit into OSS >>>>>>mixer are available as sysctl under debug.emu10kxX. >>>>> >>>>>That is not the correct place for it. Please use the device's sysctl >>>>>context (obtained with device_get_sysctl_ctx()) >>>> >>>>This was based upon a suggestion by me. We want to get rid of most >>>>sound related syscalls (at least those which belong into the realm of >>>>the user, and not into the realm of the administrator). Until we have >>>>an application and an interface, we have to life with the sysctls, but >>>>to let the users know that this is not an interface but a temporary >>>>workaround, it's put into the debug MIB. I hope we will not ship >>>>7.0-RELEASE with any such sysctl (any help appreciated). >>> >>> >>>Regardless, device-specific sysctl knobs belong in the individual >>>device's sysctl context, which automatically places them in the >>>correct location in the dev tree and automatically destroys them when >>>the device is destroyed. Please do not create further precedent for >>>breaking this rule, no matter how good your intentions. >>> >>>DES >> >>The problem is that Alexander wants these sysctls to only be temporary. >>Recall that big thread from a month or two ago about treating sysctls >>as an API, and how there was heavy disagreement over how to define >>"stable" sysctls that apps could depend on? If a temporary set of >>sysctls get put under the dev tree, then it risks becoming permanent, >>which is not what Alexander wants. So, either we need to decide what >>parts of the sysctl to define as stable, like I asked for in the >>previous thread, or we need to pretend that it's not a problem that we >>should address, and let you and Alexander continue to argue over the >>'correct place'. > > > Then put them under the right place, but create a subtree that's "tmp" > > In general, drivers should avoid using the debug.* space. > > Warner But that's the problem. You just announced a rule that is in conflict with rules that others have announced. All I asked for was for the rules to be decided on and published, and I got pushback from people who said either that all sysctls are part of the API, or that no rules should exist and that everyone should just use careful judgement, so long as their judgement is correct. Both of these stances are absurd. Scott From owner-freebsd-current@FreeBSD.ORG Tue May 23 19:22:34 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 841D116A9B2 for ; Tue, 23 May 2006 19:22:34 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3D3143D72 for ; Tue, 23 May 2006 19:22:27 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4NJKBJW093952; Tue, 23 May 2006 13:20:11 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 13:20:11 -0600 (MDT) Message-Id: <20060523.132011.48440982.imp@bsdimp.com> To: michal.vanco@satro.sk From: Warner Losh In-Reply-To: <200605231944.45822.michal.vanco@satro.sk> References: <200605231904.52081.michal.vanco@satro.sk> <20060523.111519.59744682.imp@bsdimp.com> <200605231944.45822.michal.vanco@satro.sk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp-2 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 19:22:45 -0000 From: Michal Van$,1 -(Bo Subject: Re: Atheros 5212 in 6.1-REL Date: Tue, 23 May 2006 19:44:45 +0200 > On Tuesday 23 May 2006 19:15, Warner Losh wrote: > > Try the following hack: > > > > Index: pccbb_pci.c > > =================================================================== > > RCS file: /home/imp/FreeBSD/CVS/src/sys/dev/pccbb/pccbb_pci.c,v > > retrieving revision 1.15 > > diff -c -r1.15 pccbb_pci.c > > *** pccbb_pci.c 8 Oct 2005 06:58:51 -0000 1.15 > > --- pccbb_pci.c 23 May 2006 17:13:31 -0000 > > *************** > > *** 300,306 **** > > static int > > cbb_pci_attach(device_t brdev) > > { > > - static int curr_bus_number = 2; /* XXX EVILE BAD (see below) */ > > + static int curr_bus_number = 3; /* XXX EVILE BAD (see below) */ > > struct cbb_softc *sc = (struct cbb_softc *)device_get_softc(brdev); > > int rid, bus, pribus; > > device_t parent; > > > > great. thank you very very much for your help. my atheros card is now up and > running. > > here is my dmesg after your hack > > once again. thank you very much Dang. I was hoping it wasn't *THAT* issue :-(. I guess I gotta fix it right now... Warner From owner-freebsd-current@FreeBSD.ORG Tue May 23 19:26:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C90D816AA35; Tue, 23 May 2006 19:26:19 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D17643D62; Tue, 23 May 2006 19:26:13 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4NJNtGB094018; Tue, 23 May 2006 13:23:55 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 13:23:55 -0600 (MDT) Message-Id: <20060523.132355.21838169.imp@bsdimp.com> To: scottl@samsco.org From: Warner Losh In-Reply-To: <44735620.9080403@samsco.org> References: <4473336F.1030900@samsco.org> <20060523.112205.115998971.imp@bsdimp.com> <44735620.9080403@samsco.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org, des@des.no, freebsd-current@freebsd.org, Alexander@Leidinger.net Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 19:26:27 -0000 From: Scott Long Subject: Re: Call for testing: emu10kx driver for Creative sound cards Date: Tue, 23 May 2006 12:36:16 -0600 > Warner Losh wrote: > > From: Scott Long > > Subject: Re: Call for testing: emu10kx driver for Creative sound ca= rds > > Date: Tue, 23 May 2006 10:08:15 -0600 > > = > > = > >>Dag-Erling Sm=F8rgrav wrote: > >> > >>>Alexander Leidinger writes: > >>> > >>> > >>>>Quoting des@des.no (Dag-Erling Sm=F8rgrav) (Tue, 23 May 2006 14:2= 6:58 +0200): > >>>> > >>>> > >>>>>Yuriy Tsibizov writes: > >>>>> > >>>>> > >>>>>>2. Complete mixer support. Some controls that can't fit into OS= S > >>>>>>mixer are available as sysctl under debug.emu10kxX. > >>>>> > >>>>>That is not the correct place for it. Please use the device's s= ysctl > >>>>>context (obtained with device_get_sysctl_ctx()) > >>>> > >>>>This was based upon a suggestion by me. We want to get rid of mos= t > >>>>sound related syscalls (at least those which belong into the real= m of > >>>>the user, and not into the realm of the administrator). Until we = have > >>>>an application and an interface, we have to life with the sysctls= , but > >>>>to let the users know that this is not an interface but a tempora= ry > >>>>workaround, it's put into the debug MIB. I hope we will not ship > >>>>7.0-RELEASE with any such sysctl (any help appreciated). > >>> > >>> > >>>Regardless, device-specific sysctl knobs belong in the individual > >>>device's sysctl context, which automatically places them in the > >>>correct location in the dev tree and automatically destroys them w= hen > >>>the device is destroyed. Please do not create further precedent f= or > >>>breaking this rule, no matter how good your intentions. > >>> > >>>DES > >> > >>The problem is that Alexander wants these sysctls to only be tempor= ary. > >>Recall that big thread from a month or two ago about treating sysct= ls > >>as an API, and how there was heavy disagreement over how to define > >>"stable" sysctls that apps could depend on? If a temporary set of = > >>sysctls get put under the dev tree, then it risks becoming permanen= t, > >>which is not what Alexander wants. So, either we need to decide wh= at > >>parts of the sysctl to define as stable, like I asked for in the = > >>previous thread, or we need to pretend that it's not a problem that= we > >>should address, and let you and Alexander continue to argue over th= e > >>'correct place'. > > = > > = > > Then put them under the right place, but create a subtree that's "t= mp" > > = > > In general, drivers should avoid using the debug.* space. > > = > > Warner > = > But that's the problem. You just announced a rule that is in conflic= t > with rules that others have announced. All I asked for was for the = > rules to be decided on and published, and I got pushback from people > who said either that all sysctls are part of the API, or that no rule= s > should exist and that everyone should just use careful judgement, so > long as their judgement is correct. Both of these stances are absurd= .= Drivers have no business using debug.* anymore. They should migrate to the new interface that has already been in use, like DES said. Putting them in debug* doesn't make them any more or less permanant. The driver should document what is published and isn't published (approved, etc) in its man page. In this case, adding a list of the 'blessed' sysctls to the appropriate man page with a warning that says that all others are for the convenience of the driver writer and may disapper would solve the problem. Putting them under 'temp' or 'tmp' would also be a strong hint, but isn't completely necessary. Warner From owner-freebsd-current@FreeBSD.ORG Tue May 23 19:41:09 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C462116A85B for ; Tue, 23 May 2006 19:41:09 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FD8343D46 for ; Tue, 23 May 2006 19:41:09 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id B543C1A4E69; Tue, 23 May 2006 12:41:08 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 559995155B; Tue, 23 May 2006 15:41:07 -0400 (EDT) Date: Tue, 23 May 2006 15:41:07 -0400 From: Kris Kennaway To: mlfbsd Message-ID: <20060523194106.GA46634@xor.obsecurity.org> References: <20060522211223.GA3621@xor.obsecurity.org> <20060522231437.GC1446@odin.ac.hmc.edu> <20060523133037.GA2908@gothmog.pc> <20060523143013.GA11472@ci0.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <20060523143013.GA11472@ci0.org> User-Agent: Mutt/1.4.2.1i Cc: Giorgos Keramidas , current@freebsd.org, Kris Kennaway Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 19:41:16 -0000 --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 23, 2006 at 04:30:13PM +0200, mlfbsd wrote: > On Tue, May 23, 2006 at 04:30:37PM +0300, Giorgos Keramidas wrote: > > On 2006-05-22 16:14, Brooks Davis wrote: > > >On Mon, May 22, 2006 at 05:12:24PM -0400, Kris Kennaway wrote: > > >> I noticed that with tmpmfs in rc.conf, the md is not being mounted > > >> with -o async; this is an enormous performance boost, so is there a > > >> reason it is not used, or just that it was overlooked? > > > > > > Just overlooked as far as I know. We correctly switched to not mount= ing > > > with softupdates, but should probably switch to -o async. > >=20 > > Right. The only reasons why the current tmpmfs_flags doesn't > > include the `-o async' option too are: > >=20 > > a) It didn't back when it was all hardcoded in the script > >=20 > > b) I didn't think about adding it by default when revision > > 1.230 of src/etc/defaults/rc.conf was committed by me > >=20 > > If it does improve things, we should probably make the change :) > >=20 >=20 > The sys/dev/md/md.c rev 1.115 commit log says async used to be the defaul= t,=20 > but was switched off because it was causing deadlocks. Did this get fixed > since ? You are confusing mdconfig's -o async mode, used only for vnode backing (not the case here anyway): [no]async For vnode backed devices: avoid IO_SYNC for increased performance but at the risk of deadlocking the entire kernel. with mount's -o async mode, used at the filesystem layer on any device. The latter does not have deadlocks. Kris --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEc2VSWry0BWjoQKURAs3VAKDcKKY/ba9VT4LH/fPKyiwE+SeqGACglmKK FNza9B4fGo9qtM1nFomjmiY= =J6rv -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC-- From owner-freebsd-current@FreeBSD.ORG Tue May 23 19:46:34 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6559616A45D; Tue, 23 May 2006 19:46:34 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0180343D49; Tue, 23 May 2006 19:46:33 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4NJjfBT094279; Tue, 23 May 2006 13:45:41 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 13:45:40 -0600 (MDT) Message-Id: <20060523.134540.28877846.imp@bsdimp.com> To: scottl@samsco.org From: Warner Losh In-Reply-To: <20060523.132355.21838169.imp@bsdimp.com> References: <20060523.112205.115998971.imp@bsdimp.com> <44735620.9080403@samsco.org> <20060523.132355.21838169.imp@bsdimp.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@FreeBSD.ORG, des@des.no, freebsd-current@FreeBSD.ORG, Alexander@Leidinger.net Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 19:46:48 -0000 From: Warner Losh Subject: Re: Call for testing: emu10kx driver for Creative sound cards Date: Tue, 23 May 2006 13:23:55 -0600 (MDT) > From: Scott Long > Subject: Re: Call for testing: emu10kx driver for Creative sound card= s > Date: Tue, 23 May 2006 12:36:16 -0600 > = > > Warner Losh wrote: > > > From: Scott Long > > > Subject: Re: Call for testing: emu10kx driver for Creative sound = cards > > > Date: Tue, 23 May 2006 10:08:15 -0600 > > > = > > > = > > >>Dag-Erling Sm=F8rgrav wrote: > > >> > > >>>Alexander Leidinger writes: > > >>> > > >>> > > >>>>Quoting des@des.no (Dag-Erling Sm=F8rgrav) (Tue, 23 May 2006 14= :26:58 +0200): > > >>>> > > >>>> > > >>>>>Yuriy Tsibizov writes: > > >>>>> > > >>>>> > > >>>>>>2. Complete mixer support. Some controls that can't fit into = OSS > > >>>>>>mixer are available as sysctl under debug.emu10kxX. > > >>>>> > > >>>>>That is not the correct place for it. Please use the device's= sysctl > > >>>>>context (obtained with device_get_sysctl_ctx()) > > >>>> > > >>>>This was based upon a suggestion by me. We want to get rid of m= ost > > >>>>sound related syscalls (at least those which belong into the re= alm of > > >>>>the user, and not into the realm of the administrator). Until w= e have > > >>>>an application and an interface, we have to life with the sysct= ls, but > > >>>>to let the users know that this is not an interface but a tempo= rary > > >>>>workaround, it's put into the debug MIB. I hope we will not shi= p > > >>>>7.0-RELEASE with any such sysctl (any help appreciated). > > >>> > > >>> > > >>>Regardless, device-specific sysctl knobs belong in the individua= l > > >>>device's sysctl context, which automatically places them in the > > >>>correct location in the dev tree and automatically destroys them= when > > >>>the device is destroyed. Please do not create further precedent= for > > >>>breaking this rule, no matter how good your intentions. > > >>> > > >>>DES > > >> > > >>The problem is that Alexander wants these sysctls to only be temp= orary. > > >>Recall that big thread from a month or two ago about treating sys= ctls > > >>as an API, and how there was heavy disagreement over how to defin= e > > >>"stable" sysctls that apps could depend on? If a temporary set o= f = > > >>sysctls get put under the dev tree, then it risks becoming perman= ent, > > >>which is not what Alexander wants. So, either we need to decide = what > > >>parts of the sysctl to define as stable, like I asked for in the = > > >>previous thread, or we need to pretend that it's not a problem th= at we > > >>should address, and let you and Alexander continue to argue over = the > > >>'correct place'. > > > = > > > = > > > Then put them under the right place, but create a subtree that's = "tmp" > > > = > > > In general, drivers should avoid using the debug.* space. > > > = > > > Warner > > = > > But that's the problem. You just announced a rule that is in confl= ict > > with rules that others have announced. All I asked for was for the= = > > rules to be decided on and published, and I got pushback from peopl= e > > who said either that all sysctls are part of the API, or that no ru= les > > should exist and that everyone should just use careful judgement, s= o > > long as their judgement is correct. Both of these stances are absu= rd. > = > Drivers have no business using debug.* anymore. They should migrate > to the new interface that has already been in use, like DES said. > Putting them in debug* doesn't make them any more or less permanant. > The driver should document what is published and isn't published > (approved, etc) in its man page. In this case, adding a list of the > 'blessed' sysctls to the appropriate man page with a warning that say= s > that all others are for the convenience of the driver writer and may > disapper would solve the problem. Putting them under 'temp' or 'tmp'= > would also be a strong hint, but isn't completely necessary. I guess the rules that I throught were agreed to when DES did his sysctl additions to the newbus framework were: o All new driver sysctls should be attached to the node provided by that framework. o Existing drivers were expected to migrate to that new framework, providing compatibility goo if necessary for real programs. What should have been added was: o Drivers should document their sysctl interface in the man page and indicate which parts of the interface are temporary in nature and which parts are a committed part of the API. While all sysctls could be considered to be part of the API, not all sysctls are created equally. There are some that are the well documented place to get information. There are some that are the well used, but underdocumented place to get information. There are many that are there where information can be obtained, but few, if any, consumers use it. For the first two classes, we need to be careful to avoid gratuitous api changes. For the last class, we have traditionally had the freedom to make changes for the convenience of the developer. The sysctls which were proposed for debug.emu10k* clearly fall into the last category and as long as we document them as such, it should be OK to change our minds later. Somewhere between the two extremes that you pointed out is where we should meet on consensus. We should start with where the domain experts thought the consensus arrived at last time and make changes from there to reach a new consensus, rather than just invent something totally new an random. Anyway, that just my two cents. Warner From owner-freebsd-current@FreeBSD.ORG Tue May 23 19:48:59 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE69416A423; Tue, 23 May 2006 19:48:59 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A67543D4C; Tue, 23 May 2006 19:48:58 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4NJlYxo010572; Tue, 23 May 2006 13:47:39 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <447366CD.7010301@samsco.org> Date: Tue, 23 May 2006 13:47:25 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Warner Losh References: <4473336F.1030900@samsco.org> <20060523.112205.115998971.imp@bsdimp.com> <44735620.9080403@samsco.org> <20060523.132355.21838169.imp@bsdimp.com> In-Reply-To: <20060523.132355.21838169.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-multimedia@freebsd.org, des@des.no, freebsd-current@freebsd.org, Alexander@Leidinger.net Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 19:49:09 -0000 Warner Losh wrote: > From: Scott Long > Subject: Re: Call for testing: emu10kx driver for Creative sound cards > Date: Tue, 23 May 2006 12:36:16 -0600 > > >>Warner Losh wrote: >> >>>From: Scott Long >>>Subject: Re: Call for testing: emu10kx driver for Creative sound cards >>>Date: Tue, 23 May 2006 10:08:15 -0600 >>> >>> >>> >>>>Dag-Erling Smørgrav wrote: >>>> >>>> >>>>>Alexander Leidinger writes: >>>>> >>>>> >>>>> >>>>>>Quoting des@des.no (Dag-Erling Smørgrav) (Tue, 23 May 2006 14:26:58 +0200): >>>>>> >>>>>> >>>>>> >>>>>>>Yuriy Tsibizov writes: >>>>>>> >>>>>>> >>>>>>> >>>>>>>>2. Complete mixer support. Some controls that can't fit into OSS >>>>>>>>mixer are available as sysctl under debug.emu10kxX. >>>>>>> >>>>>>>That is not the correct place for it. Please use the device's sysctl >>>>>>>context (obtained with device_get_sysctl_ctx()) >>>>>> >>>>>>This was based upon a suggestion by me. We want to get rid of most >>>>>>sound related syscalls (at least those which belong into the realm of >>>>>>the user, and not into the realm of the administrator). Until we have >>>>>>an application and an interface, we have to life with the sysctls, but >>>>>>to let the users know that this is not an interface but a temporary >>>>>>workaround, it's put into the debug MIB. I hope we will not ship >>>>>>7.0-RELEASE with any such sysctl (any help appreciated). >>>>> >>>>> >>>>>Regardless, device-specific sysctl knobs belong in the individual >>>>>device's sysctl context, which automatically places them in the >>>>>correct location in the dev tree and automatically destroys them when >>>>>the device is destroyed. Please do not create further precedent for >>>>>breaking this rule, no matter how good your intentions. >>>>> >>>>>DES >>>> >>>>The problem is that Alexander wants these sysctls to only be temporary. >>>>Recall that big thread from a month or two ago about treating sysctls >>>>as an API, and how there was heavy disagreement over how to define >>>>"stable" sysctls that apps could depend on? If a temporary set of >>>>sysctls get put under the dev tree, then it risks becoming permanent, >>>>which is not what Alexander wants. So, either we need to decide what >>>>parts of the sysctl to define as stable, like I asked for in the >>>>previous thread, or we need to pretend that it's not a problem that we >>>>should address, and let you and Alexander continue to argue over the >>>>'correct place'. >>> >>> >>>Then put them under the right place, but create a subtree that's "tmp" >>> >>>In general, drivers should avoid using the debug.* space. >>> >>>Warner >> >>But that's the problem. You just announced a rule that is in conflict >>with rules that others have announced. All I asked for was for the >>rules to be decided on and published, and I got pushback from people >>who said either that all sysctls are part of the API, or that no rules >>should exist and that everyone should just use careful judgement, so >>long as their judgement is correct. Both of these stances are absurd. > > > Drivers have no business using debug.* anymore. They should migrate > to the new interface that has already been in use, like DES said. > Putting them in debug* doesn't make them any more or less permanant. > The driver should document what is published and isn't published > (approved, etc) in its man page. In this case, adding a list of the > 'blessed' sysctls to the appropriate man page with a warning that says > that all others are for the convenience of the driver writer and may > disapper would solve the problem. Putting them under 'temp' or 'tmp' > would also be a strong hint, but isn't completely necessary. > > Warner That's fine (and I do agree with the content of you are saying), but that doesn't de-conflict the opposite advice that others have been giving. I'd really like to see namespaces and name prefixes defined that have stable/unstable meaning. I dropped this due to the very vocal opposition at the time. Scott From owner-freebsd-current@FreeBSD.ORG Tue May 23 20:56:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7021E16AE96; Tue, 23 May 2006 20:56:47 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E2FC43D8C; Tue, 23 May 2006 20:55:40 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4NKqMxI095157; Tue, 23 May 2006 14:52:22 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 14:52:22 -0600 (MDT) Message-Id: <20060523.145222.88564922.imp@bsdimp.com> To: scottl@samsco.org From: Warner Losh In-Reply-To: <447366CD.7010301@samsco.org> References: <44735620.9080403@samsco.org> <20060523.132355.21838169.imp@bsdimp.com> <447366CD.7010301@samsco.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, des@des.no, freebsd-current@freebsd.org, Alexander@Leidinger.net Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 20:56:50 -0000 > giving. I'd really like to see namespaces and name prefixes defined > that have stable/unstable meaning. I dropped this due to the very > vocal opposition at the time. Sounds like a good thing to me. If we document this (and the bit that I sent in my other email) in sysctl(8), or somewhere more appropriate, then I think we can do this. I propose that we put a single _ in front of those sysctls that the author knows will go away and that no code should be written to use them. this would give the unstable namespace that you want and would be consistant with what _foo() functions are for. Not sure if that means everything else is permanant, however. I'm hoping this doesn't result in a bikeshed of doom. Warner From owner-freebsd-current@FreeBSD.ORG Tue May 23 21:15:37 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 016F616B0D8; Tue, 23 May 2006 21:15:37 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 169E743D6B; Tue, 23 May 2006 21:15:22 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 1EC242088; Tue, 23 May 2006 23:15:19 +0200 (CEST) X-Spam-Tests: none X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 10A282087; Tue, 23 May 2006 23:15:19 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id DC25433CAD; Tue, 23 May 2006 23:15:18 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Scott Long References: <20060520141209.A2285@free.home.local> <86fyj1kju5.fsf@xps.des.no> <20060523171238.6392afdb@Magellan.Leidinger.net> <867j4clqaj.fsf@xps.des.no> <4473336F.1030900@samsco.org> Date: Tue, 23 May 2006 23:15:18 +0200 In-Reply-To: <4473336F.1030900@samsco.org> (Scott Long's message of "Tue, 23 May 2006 10:08:15 -0600") Message-ID: <864pzgo32x.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org, Alexander Leidinger , freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 21:15:47 -0000 Scott Long writes: > The problem is that Alexander wants these sysctls to only be temporary. Temporary measures have a way of becoming permanent, and I can see no good reason for creating precedent for bad coding practices. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue May 23 21:22:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E55116B2B8; Tue, 23 May 2006 21:22:27 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 949D243D48; Tue, 23 May 2006 21:22:21 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4NLMAv0011154; Tue, 23 May 2006 15:22:16 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44737CFA.8070105@samsco.org> Date: Tue, 23 May 2006 15:22:02 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Warner Losh References: <44735620.9080403@samsco.org> <20060523.132355.21838169.imp@bsdimp.com> <447366CD.7010301@samsco.org> <20060523.145222.88564922.imp@bsdimp.com> In-Reply-To: <20060523.145222.88564922.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-multimedia@freebsd.org, des@des.no, freebsd-current@freebsd.org, Alexander@Leidinger.net Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 21:22:29 -0000 Warner Losh wrote: >>giving. I'd really like to see namespaces and name prefixes defined >>that have stable/unstable meaning. I dropped this due to the very >>vocal opposition at the time. > > > Sounds like a good thing to me. If we document this (and the bit that > I sent in my other email) in sysctl(8), or somewhere more appropriate, > then I think we can do this. I propose that we put a single _ in > front of those sysctls that the author knows will go away and that no > code should be written to use them. this would give the unstable > namespace that you want and would be consistant with what _foo() > functions are for. Not sure if that means everything else is > permanant, however. I'm hoping this doesn't result in a bikeshed of > doom. > > Warner Sounds good. I guess what this means is that the entire sysctl namespace should be considered stable except for a set of defined areas. These defined areas will either be specifically designated and documented, or will have a '_' prefixing some element of their node name. Developers still have a responsibility to put proper thought into what they add into the stable namespace, and this space may be subject to change while the tree is marked "-CURRENT". However, once it is marked "-STABLE", it is stable and can only be changed by following appropriate deprecation procedures. For the purposes of documentation, it should be described that there are actually 3 types of nodes. There are stable, statically named nodes that will always exist on a running system. There are unstable, statically named nodes that may or may not exist from one release to another. And there are dynamic nodes that will exist depending on the devices, modules, and drivers present, and that these nodes may be stable or unstable depending on other attributes of the node name. Scott From owner-freebsd-current@FreeBSD.ORG Tue May 23 21:25:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A72AC16B308; Tue, 23 May 2006 21:25:14 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id C831143D7C; Tue, 23 May 2006 21:25:10 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4NLP11P011172; Tue, 23 May 2006 15:25:07 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44737DA5.7010301@samsco.org> Date: Tue, 23 May 2006 15:24:53 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <20060520141209.A2285@free.home.local> <86fyj1kju5.fsf@xps.des.no> <20060523171238.6392afdb@Magellan.Leidinger.net> <867j4clqaj.fsf@xps.des.no> <4473336F.1030900@samsco.org> <864pzgo32x.fsf@xps.des.no> In-Reply-To: <864pzgo32x.fsf@xps.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-multimedia@freebsd.org, Alexander Leidinger , freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 21:25:17 -0000 Dag-Erling Smørgrav wrote: > Scott Long writes: > >>The problem is that Alexander wants these sysctls to only be temporary. > > > Temporary measures have a way of becoming permanent, and I can see no > good reason for creating precedent for bad coding practices. > > DES And the recommendation that you are making to him will result in compulsory assignment to permanence of his work. See the exchange in progress between Warner and I. Scott From owner-freebsd-current@FreeBSD.ORG Tue May 23 21:58:35 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8872016A988; Tue, 23 May 2006 21:58:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 289FF43D45; Tue, 23 May 2006 21:58:35 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4NLu7SO095905; Tue, 23 May 2006 15:56:07 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 15:56:06 -0600 (MDT) Message-Id: <20060523.155606.71179350.imp@bsdimp.com> To: scottl@samsco.org From: Warner Losh In-Reply-To: <20060523.134540.28877846.imp@bsdimp.com> References: <44735620.9080403@samsco.org> <20060523.132355.21838169.imp@bsdimp.com> <20060523.134540.28877846.imp@bsdimp.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org, des@des.no, freebsd-current@FreeBSD.org, Alexander@Leidinger.net Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 21:58:38 -0000 This is what I'm thinking of adding to the sysctl.8 man page. Please let me know if there's a better place for it. This is indented to be the initial proposal for sysctl use by drivers, so if the results of discussions change it, I'll update. Warner Index: sysctl.8 =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/sbin/sysctl/sysctl.8,v retrieving revision 1.60 diff -c -r1.60 sysctl.8 *** sysctl.8 18 Nov 2005 10:32:12 -0000 1.60 --- sysctl.8 23 May 2006 21:53:11 -0000 *************** *** 292,297 **** --- 292,311 ---- The .Fl w option has been deprecated and is silently ignored. + .Pp + Sysctl nodes provided by drivers should not be considered to be + permanant unless they are documented in the driver's man page. + Names which start with _ denote a tree or node which is considered + impermanant and should not be relied up by code elsewhere in the + system. + Driver writers should use the sysctl infrastructure provided by + .Xr device_get_sysctl_ctx 9 + and + .Xr device_get_sysctl_tree 9 + for their sysctls. + Drivers should migrate from past interfaces to this new interface, but + provide, where needed, backwards compatibility shims. + These facilities export the sysctl as dev...attribute. .Sh SEE ALSO .Xr sysctl 3 , .Xr loader.conf 5 , From owner-freebsd-current@FreeBSD.ORG Tue May 23 22:09:48 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 663F916B6A0; Tue, 23 May 2006 22:09:48 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5FD843D58; Tue, 23 May 2006 22:09:47 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id E35012088; Wed, 24 May 2006 00:09:43 +0200 (CEST) X-Spam-Tests: none X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id CA2792087; Wed, 24 May 2006 00:09:43 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id A2FB133CAD; Wed, 24 May 2006 00:09:43 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Warner Losh References: <44735620.9080403@samsco.org> <20060523.132355.21838169.imp@bsdimp.com> <20060523.134540.28877846.imp@bsdimp.com> <20060523.155606.71179350.imp@bsdimp.com> Date: Wed, 24 May 2006 00:09:43 +0200 In-Reply-To: <20060523.155606.71179350.imp@bsdimp.com> (Warner Losh's message of "Tue, 23 May 2006 15:56:06 -0600 (MDT)") Message-ID: <86odxomlzs.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@FreeBSD.org, Alexander@Leidinger.net, freebsd-current@FreeBSD.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 22:09:52 -0000 Warner Losh writes: > This is what I'm thinking of adding to the sysctl.8 man page. Makes sense to me. The last part really belongs in section 9, but I don't think we have a suitable page in section 9 to add it to. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue May 23 22:14:55 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1A9F16B6A8; Tue, 23 May 2006 22:14:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0DD343D9A; Tue, 23 May 2006 22:14:27 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4NMCj3j096128; Tue, 23 May 2006 16:12:45 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 16:12:45 -0600 (MDT) Message-Id: <20060523.161245.74655357.imp@bsdimp.com> To: des@des.no From: Warner Losh In-Reply-To: <86odxomlzs.fsf@xps.des.no> References: <20060523.134540.28877846.imp@bsdimp.com> <20060523.155606.71179350.imp@bsdimp.com> <86odxomlzs.fsf@xps.des.no> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, Alexander@Leidinger.net, freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 22:15:00 -0000 > Warner Losh writes: > > This is what I'm thinking of adding to the sysctl.8 man page. > > Makes sense to me. The last part really belongs in section 9, but I > don't think we have a suitable page in section 9 to add it to. Yea. I think so too, but I'm not sure where... Better here than no where. Warner From owner-freebsd-current@FreeBSD.ORG Tue May 23 22:16:01 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A97B16ADAC; Tue, 23 May 2006 22:16:01 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0FAC43D5A; Tue, 23 May 2006 22:15:59 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 44DB25CEF; Tue, 23 May 2006 18:15:59 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l58NQTtbGqV6; Tue, 23 May 2006 18:15:58 -0400 (EDT) Received: from [192.168.1.251] (pool-68-160-242-211.ny325.east.verizon.net [68.160.242.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 23C425CE2; Tue, 23 May 2006 18:15:58 -0400 (EDT) Message-ID: <44738998.6070400@mac.com> Date: Tue, 23 May 2006 18:15:52 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Warner Losh References: <44735620.9080403@samsco.org> <20060523.132355.21838169.imp@bsdimp.com> <20060523.134540.28877846.imp@bsdimp.com> <20060523.155606.71179350.imp@bsdimp.com> In-Reply-To: <20060523.155606.71179350.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 22:16:06 -0000 Warner Losh wrote: > This is what I'm thinking of adding to the sysctl.8 man page. Please > let me know if there's a better place for it. This is indented to be > the initial proposal for sysctl use by drivers, so if the results of > discussions change it, I'll update. > This seems to be a good starting point, in that the convention seems reasonable and unsurprising. It might be nice to have some discussion of API stability and the process for depreciating stable interfaces somewhere, but that probably belongs in the Handbook or perhaps in intro(9). Please check spelling: > + permanant unless they are documented in the driver's man page. > + Names which start with _ denote a tree or node which is considered > + impermanant and should not be relied up by code elsewhere in the > s/permanant/permanent/:g -- -Chuck From owner-freebsd-current@FreeBSD.ORG Wed May 24 03:34:13 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 716AB16A792 for ; Wed, 24 May 2006 03:34:13 +0000 (UTC) (envelope-from netsick@iinet.net.au) Received: from customer-domains.icp-qv1-irony8.iinet.net.au (customer-domains.icp-qv1-irony8.iinet.net.au [203.59.1.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70C0443D48 for ; Wed, 24 May 2006 03:34:05 +0000 (GMT) (envelope-from netsick@iinet.net.au) Received: from per-qv1-webmail-01.iinet.net.au (HELO mail.iinet.net.au) ([203.59.3.55]) by customer-domains.icp-qv1-irony8.iinet.net.au with SMTP; 24 May 2006 11:34:05 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.05,163,1146412800"; d="scan'208"; a="317678152:sNHT18454868" Received: (qmail 4186 invoked by uid 33); 24 May 2006 03:34:04 -0000 Received: from mail-placeholder.iinet.net.au (mail-placeholder.iinet.net.au [203.59.1.180]) by mail.iinet.net.au (IMP) with HTTP for ; Wed, 24 May 2006 11:34:04 +0800 Message-ID: <1148441644.4473d42c70623@mail.iinet.net.au> Date: Wed, 24 May 2006 11:34:04 +0800 From: netsick@iinet.net.au To: Emil Mikulic References: <20060523031139.GA7700@cs.rmit.edu.au> <4c40c4e70605230613m1472bac6je6c009b7e93f94e@mail.gmail.com> <20060523141859.GA7942@cs.rmit.edu.au> In-Reply-To: <20060523141859.GA7942@cs.rmit.edu.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 203.59.1.180 Cc: "Angka H. K." , current@freebsd.org Subject: Re: DRI working well with i915! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 03:34:13 -0000 I wish I could say the same for i945... 7-current will not even give me /dev/agpgart.... Help! Quoting Emil Mikulic : > On Tue, May 23, 2006 at 08:13:55PM +0700, Angka H. K. wrote: > > Thats really great to hear, > > By the way what is the release you are using ? Is it from CVS ? I mean > (DRI, > > Mesa, Xorg 7) ? > > FreeBSD is -CURRENT, as per the mailing list. ;) > > X is xorg-server-6.8.99.903, which is ports/x11-servers/xorg-server-snap > > (I just noticed ports/x11-servers/xorg-server without the -snap is > apparently 6.9.0...) > > And dri-6.4.1,2 (ports/graphics/dri) to get accelerated 3D. > > --Emil > _______________________________________________ > 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" > From owner-freebsd-current@FreeBSD.ORG Wed May 24 04:59:15 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B35EE16A42A for ; Wed, 24 May 2006 04:59:15 +0000 (UTC) (envelope-from emil@cs.rmit.edu.au) Received: from its-mu-mail1.its.rmit.edu.au (its-mu-mail1.its.rmit.edu.au [131.170.1.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id E375043D53 for ; Wed, 24 May 2006 04:59:14 +0000 (GMT) (envelope-from emil@cs.rmit.edu.au) Received: from wombat.cs.rmit.edu.au (wombat.cs.rmit.edu.au [131.170.24.41]) by its-mu-mail1.its.rmit.edu.au (8.13.6/8.13.6/mail1) with ESMTP id k4O4xBqS010182; Wed, 24 May 2006 14:59:11 +1000 (EST) Received: from goanna.cs.rmit.edu.au (root@goanna.cs.rmit.edu.au [131.170.24.40]) by wombat.cs.rmit.edu.au (8.12.10/8.12.10/cshub) with ESMTP id k4O4xAAf015917; Wed, 24 May 2006 14:59:10 +1000 (EST) Received: from goanna.cs.rmit.edu.au (emil@localhost [127.0.0.1]) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.4/csnode) with ESMTP id k4O4xAn1014559; Wed, 24 May 2006 14:59:10 +1000 (EST) Received: (from emil@localhost) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.3/Submit) id k4O4x9Ij014558; Wed, 24 May 2006 14:59:09 +1000 (EST) Date: Wed, 24 May 2006 14:59:09 +1000 From: Emil Mikulic To: "Angka H. K." Message-ID: <20060524045909.GA14402@cs.rmit.edu.au> References: <20060523031139.GA7700@cs.rmit.edu.au> <4c40c4e70605230613m1472bac6je6c009b7e93f94e@mail.gmail.com> <20060523141859.GA7942@cs.rmit.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060523141859.GA7942@cs.rmit.edu.au> X-Operating-System: SunOS 5.10 X-PGP-Fingerprint: D2B4 7C14 0C41 9AE5 8D2B 16B0 D3D6 F910 8E4C 5D35 X-Authentication-Warning: localhost: emil pwned teh intarweb User-Agent: Mutt/1.5.10i X-Scanned-By: MIMEDefang 2.44 Cc: current@freebsd.org Subject: Re: DRI working well with i915! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 04:59:16 -0000 On Wed, May 24, 2006 at 12:18:59AM +1000, Emil Mikulic wrote: > X is xorg-server-6.8.99.903, which is ports/x11-servers/xorg-server-snap > > (I just noticed ports/x11-servers/xorg-server without the -snap is > apparently 6.9.0...) The non-snap one is working fine, as well. --Emil From owner-freebsd-current@FreeBSD.ORG Wed May 24 05:21:17 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD4AE16A41F for ; Wed, 24 May 2006 05:21:17 +0000 (UTC) (envelope-from emil@cs.rmit.edu.au) Received: from its-mu-mail1.its.rmit.edu.au (its-mu-mail1.its.rmit.edu.au [131.170.1.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3180543D45 for ; Wed, 24 May 2006 05:21:17 +0000 (GMT) (envelope-from emil@cs.rmit.edu.au) Received: from wombat.cs.rmit.edu.au (wombat.cs.rmit.edu.au [131.170.24.41]) by its-mu-mail1.its.rmit.edu.au (8.13.6/8.13.6/mail1) with ESMTP id k4O5LEDS017913; Wed, 24 May 2006 15:21:14 +1000 (EST) Received: from goanna.cs.rmit.edu.au (root@goanna.cs.rmit.edu.au [131.170.24.40]) by wombat.cs.rmit.edu.au (8.12.10/8.12.10/cshub) with ESMTP id k4O5LEAf019126; Wed, 24 May 2006 15:21:14 +1000 (EST) Received: from goanna.cs.rmit.edu.au (emil@localhost [127.0.0.1]) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.4/csnode) with ESMTP id k4O5LE4x019022; Wed, 24 May 2006 15:21:14 +1000 (EST) Received: (from emil@localhost) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.3/Submit) id k4O5LE2l019021; Wed, 24 May 2006 15:21:14 +1000 (EST) Date: Wed, 24 May 2006 15:21:14 +1000 From: Emil Mikulic To: Pascal Hofstee Message-ID: <20060524052114.GA18787@cs.rmit.edu.au> References: <1147219290.1410.6.camel@synergy.odyssey.homeunix.org> <20060510020336.GA25800@cs.rmit.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060510020336.GA25800@cs.rmit.edu.au> X-Operating-System: SunOS 5.10 X-PGP-Fingerprint: D2B4 7C14 0C41 9AE5 8D2B 16B0 D3D6 F910 8E4C 5D35 X-Authentication-Warning: localhost: emil pwned teh intarweb User-Agent: Mutt/1.5.10i X-Scanned-By: MIMEDefang 2.44 Cc: current@freebsd.org Subject: Re: kbdmux oddity ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 05:21:17 -0000 On Wed, May 10, 2006 at 12:03:36PM +1000, Emil Mikulic wrote: > I'm seeing a similar (but different?) problem - I get an interrupt storm > every time I hit Caps Lock or Num Lock, or flip VTs in text mode. If > XMMS is running, the music skips. > > Normally, if I'm hitting letter keys, I never see any irq1: atkbd0 > interrupts. If I bounce on the Caps Lock, I can get it as high as > 72/sec. > > Running top(1), I can get system time up to about 50% by pounding away > at Caps Lock. Normal typing doesn't affect the system time much, it > fluctuates between 0% and 1%. > > This is with 7-CURRENT, GENERIC, on x86, from yesterday. And it's on a > Dell GX280 with a USB keyboard. I've seen similar issues on a Dell > Poweredge SC430, again with a USB keyboard. Data point: If I add hint.atkbd.0.disabled="1" to /boot/loader.conf, I no longer see this problem. --Emil From owner-freebsd-current@FreeBSD.ORG Wed May 24 09:54:34 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E97A16A42D for ; Wed, 24 May 2006 09:54:34 +0000 (UTC) (envelope-from astrodog@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C78743D48 for ; Wed, 24 May 2006 09:54:33 +0000 (GMT) (envelope-from astrodog@gmail.com) Received: by nf-out-0910.google.com with SMTP id y25so25101nfb for ; Wed, 24 May 2006 02:54:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=H4Du6+5ASZGRT/glpELiMlRYYY8O0OTVqRnMFGFbsieujDVFyoYVs9Etv7Dh5XJ1XemdBJHrW2aJp+78VuR2zNiNfcekKHCjmMVDZp3WdzJtd+g31YLUKmmUa9J3CM068WboeK8+LiVvHELk06uBGkCGH63qXDebVRpWZWLD9tI= Received: by 10.48.205.17 with SMTP id c17mr5533688nfg; Wed, 24 May 2006 02:54:31 -0700 (PDT) Received: by 10.49.85.10 with HTTP; Wed, 24 May 2006 02:54:31 -0700 (PDT) Message-ID: <2fd864e0605240254t3c730d27v772e439584a1aac7@mail.gmail.com> Date: Wed, 24 May 2006 09:54:31 +0000 From: Astrodog To: "Lars Heidieker" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1e4841eb0605211854i44c4aa4cm9dfc72506c2232ea@mail.gmail.com> <1e4841eb0605221133s428d9136p3d5f7eff964167f4@mail.gmail.com> <2B495EE0-9E81-4CDD-84AF-D3789C9FCB95@shire.net> <20060522195938.GA1267@freebie.xs4all.nl> <44721E78.2050002@bitfreak.org> Cc: Darren Pilgrim , current@freebsd.org, Wilko Bulte Subject: Re: FreeBSD is now self-hosting on the UltraSPARC T1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 09:54:34 -0000 On 5/23/06, Lars Heidieker wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On 22 May 2006, at 22:26, Darren Pilgrim wrote: > > > Wilko Bulte wrote: > >> On Mon, May 22, 2006 at 09:43:11PM +0200, Claus Guttesen wrote.. > >>>>>>> on topic, the Opterons aren't SMP either, and neither are the > >>>> ht-Xeons... > >>>>>> ... > >>>>> The MultiProcessor Opterons are _NOT_ SMP, they are _NUMA_ > >>>>> machines, > >>> Not really related to the original topic any longer, is it? > >> Decent bikesheds never are.. > > > > At least people are being polite and not messing up the threading > > by changing the subject header. :) > > > Yes that would be extremely NUMA because of the latencies occurring > with such a thread migration ;-) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (Darwin) > > iD8DBQFEcsT1cxuYqjT7GRYRAhXZAJ9YGIW279AByboC9V4VRnYG78pprwCguRWR > E9GIqAo+y9AeNulP2rMcX5o=3D > =3DxW9J > -----END PGP SIGNATURE----- > _______________________________________________ > 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= " > As a side note here, I'm working on the Opteron-isnt-SMP thing at the moment.... I'm just calling it "OPTERON", since.... well.... nothing else fits with it very well, and nothing else FreeBSD runs on supports it anyway, I believe. >From what I can tell, it would be.... unwise to classify Opteron as NUMA, atleast to the kernel, since the overhead for real NUMA clusters, with scheduling, and VM stuff would be somewhat excessive. Opteron is logically NUMA, (When using multiple sockets), but practically, I'm finding there's an excessive performance penalty when you try to treat it strictly as such, as compared to calling it SMP, so the implimentation is actually ending up somewhere in between. Note that the above applies only to MULTIPLE SOCKETS. A dual core Opteron, or Athlon64 X2 in a single socket is, in every sense of the word, SMP. I don't even want to get into naming nightmare of multiple dual core Opterons. ;) As for Intel's HT.... I suggest, "EXTRA_OVERHEAD_JUST_FOR_FUN", or alternately, "LEAVE_THE_EBRAKE_ON". Perhaps in light of Colin's thing.... "READ_MY_KEYS" would work, too. --- Harrison Grundy From owner-freebsd-current@FreeBSD.ORG Wed May 24 10:27:42 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C0BE16A420; Wed, 24 May 2006 10:27:42 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2D9D43D48; Wed, 24 May 2006 10:27:41 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k4OARdHE024929 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 May 2006 14:27:39 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k4OARdOp024928; Wed, 24 May 2006 14:27:39 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 24 May 2006 14:27:38 +0400 From: Gleb Smirnoff To: current@FreeBSD.org Message-ID: <20060524102738.GY84736@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.6i Cc: iedowse@FreeBSD.org Subject: USB problem after upgrade X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 10:27:42 -0000 Hello, after upgrading my Thinkpad T20 notebook from 7.0-CURRENT updated at March 4 to a recent CURRENT I've experienced a problem with USB mouse. After plugging mouse in I got in dmesg: usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED uhub0: device problem (SET_ADDR_FAILED), disabling port 1 After some time I unplugged the mouse, and plugged it again. After ~ 5 second pause it has been detected: ums0: on uhub0 ums0: 3 buttons and Z dir. But it works incredibly bad. Mouse cursor starts to move a couple seconds later than the actual move of the mouse. Cursor doesn't move smoothly, but jumps. My USB bus is now detected with the following dmesg: uhci0: port 0x1860-0x187f irq 11 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] uhci0: LegSup = 0x3000 usb0: on uhci0 usb0: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered Before upgrade, with kernel built in March, the dmesg was same. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-current@FreeBSD.ORG Wed May 24 10:40:06 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4167316A41F; Wed, 24 May 2006 10:40:06 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru (mx.gfk.ru [84.21.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 447AC43D46; Wed, 24 May 2006 10:40:04 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from demon.hhp.local by mx.gfk.ru (MDaemon.PRO.v8.1.4.R) with ESMTP id md50000238300.msg; Wed, 24 May 2006 14:40:00 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Date: Wed, 24 May 2006 14:39:57 +0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Call for testing: emu10kx driver for Creative sound cards thread-index: AcZ+tNMA8DFsGNJ2QA+A4YNom2HG2wAZwpsw From: "Yuriy Tsibizov" To: "Warner Losh" , X-Spam-Processed: mx.gfk.ru, Wed, 24 May 2006 14:40:00 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.8 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-MDAV-Processed: mx.gfk.ru, Wed, 24 May 2006 14:40:01 +0400 Cc: freebsd-multimedia@FreeBSD.org, des@des.no, freebsd-current@FreeBSD.org, Alexander@Leidinger.net Subject: RE: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 10:40:06 -0000 > + .Pp > + Sysctl nodes provided by drivers should not be considered to be > + permanant unless they are documented in the driver's man page. > + Names which start with _ denote a tree or node which is considered > + impermanant and should not be relied up by code elsewhere in the > + system. > + Driver writers should use the sysctl infrastructure provided by > + .Xr device_get_sysctl_ctx 9=20 > + and > + .Xr device_get_sysctl_tree 9 > + for their sysctls. > + Drivers should migrate from past interfaces to this new=20 > interface, but > + provide, where needed, backwards compatibility shims. > + These facilities export the sysctl as=20 > dev...attribute. Should sound drivers (pcm* device) be documented as an exception from = this?=20 They use snd_sysctl_tree_top() to get tree OID under hw.snd.pcmX and=20 snd_sysctl_tree() to get their context. Yuriy. From owner-freebsd-current@FreeBSD.ORG Wed May 24 12:27:39 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CAFF16A436 for ; Wed, 24 May 2006 12:27:39 +0000 (UTC) (envelope-from lists@dentarg.net) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 822A643D5A for ; Wed, 24 May 2006 12:27:33 +0000 (GMT) (envelope-from lists@dentarg.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 5D60F200A235; Wed, 24 May 2006 14:27:31 +0200 (CEST) Received: from mail.lysator.liu.se ([127.0.0.1]) by localhost (lenin.lysator.liu.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22194-01-67; Wed, 24 May 2006 14:27:30 +0200 (CEST) Received: from [192.168.1.2] (85.8.3.92.se.wasadata.net [85.8.3.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTP id F0BFD200A20B; Wed, 24 May 2006 14:27:29 +0200 (CEST) Message-ID: <44745140.3000104@dentarg.net> Date: Wed, 24 May 2006 14:27:44 +0200 From: patrik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Scott Long References: <4465CB9C.70709@dentarg.net> <44661710.2090507@samsco.org> In-Reply-To: <44661710.2090507@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lysator.liu.se Cc: freebsd-current@freebsd.org Subject: Re: RAIDframe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 12:27:39 -0000 Scott Long skrev: > patrik wrote: > >> Today I read through >> http://marc.theaimsgroup.com/?l=freebsd-current&m=107377398125007&w=2 >> I am I right i think this was the result? >> http://lists.freebsd.org/pipermail/cvs-src/2004-March/020551.html >> >> Anyway, when looking on >> http://www.freebsd.org/cgi/man.cgi?query=raid&sektion=0&manpath=FreeBSD+7.0-current&apropos=1&format=html >> >> it seems that RAIDframe is back, in -current. Is it? Or has it always >> been there? Is it working? Haven't found any information about the >> subject on the lists since it was removed. What's going on with RAIDframe? What does this menas? http://www.freebsd.org/cgi/man.cgi?query=raid&manpath=FreeBSD+7.0-current >> >> What are my options if I want to do software RAID5 in FreeBSD? gvinum? >> ccd? Something else? I got 3 disks (each 300GB), and the porpuse is my >> personal fileserver. >> > > gvinum or one of the hardware assisted/accelerated RAID adapters. There > are many to choose from. I asked about software RAID because I can't afford to buy any RAID hardware, and that let's me choose from about 0 hardware assisted/accelerated RAID adapters. > > Scott > From owner-freebsd-current@FreeBSD.ORG Wed May 24 13:47:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BCF216A431 for ; Wed, 24 May 2006 13:47:54 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A73543D49 for ; Wed, 24 May 2006 13:47:53 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1FitiL-0008rt-2W; Wed, 24 May 2006 07:47:53 -0600 In-Reply-To: <44745140.3000104@dentarg.net> References: <4465CB9C.70709@dentarg.net> <44661710.2090507@samsco.org> <44745140.3000104@dentarg.net> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7EFCDB50-8DE1-48CF-AAE9-4FD4648D655E@shire.net> Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Wed, 24 May 2006 07:47:51 -0600 To: patrik X-Mailer: Apple Mail (2.750) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: FreeBSD Current Subject: Re: RAIDframe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 13:47:54 -0000 On May 24, 2006, at 6:27 AM, patrik wrote: >> gvinum or one of the hardware assisted/accelerated RAID adapters. >> There >> are many to choose from. > > I asked about software RAID because I can't afford to buy any RAID > hardware, and that let's me choose from about 0 hardware assisted/ > accelerated RAID adapters That's why Scott also mentioned gvinum, which is software that is part of FreeBSD Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-current@FreeBSD.ORG Wed May 24 14:38:45 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A19016A747; Wed, 24 May 2006 14:38:45 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03B6243D46; Wed, 24 May 2006 14:38:44 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 71BB42087; Wed, 24 May 2006 16:38:38 +0200 (CEST) X-Spam-Tests: none X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 618C02082; Wed, 24 May 2006 16:38:38 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 4074F33CAD; Wed, 24 May 2006 16:38:38 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: "Yuriy Tsibizov" References: Date: Wed, 24 May 2006 16:38:37 +0200 In-Reply-To: (Yuriy Tsibizov's message of "Wed, 24 May 2006 14:39:57 +0400") Message-ID: <861wujij2q.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@FreeBSD.org, Alexander@Leidinger.net, freebsd-current@FreeBSD.org, Warner Losh Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 14:38:51 -0000 "Yuriy Tsibizov" writes: > Should sound drivers (pcm* device) be documented as an exception > from this? They use snd_sysctl_tree_top() to get tree OID under > hw.snd.pcmX and snd_sysctl_tree() to get their context. They should probably switch to device_get_sysctl_*(), with some compat glue to ease the transition. If you remember to always pass the device's sysctl context to SYSCTL_ADD_*() when you create the nodes, they will be GCed when the device detaches (even if they are outside the device's sysctl subtree) We should probably have per-class contexts as well, so stuff like hw.snd.unit can be placed directly under dev.pcm. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Wed May 24 15:29:02 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B99DA16A7B5; Wed, 24 May 2006 15:29:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DAE143D88; Wed, 24 May 2006 15:28:49 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4OFR0SU011266; Wed, 24 May 2006 09:27:00 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 24 May 2006 09:26:59 -0600 (MDT) Message-Id: <20060524.092659.74738447.imp@bsdimp.com> To: Yuriy.Tsibizov@gfk.ru From: Warner Losh In-Reply-To: References: X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org, des@des.no, freebsd-current@FreeBSD.org, Alexander@Leidinger.net Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 15:29:04 -0000 From: "Yuriy Tsibizov" Subject: RE: Call for testing: emu10kx driver for Creative sound cards Date: Wed, 24 May 2006 14:39:57 +0400 > > + .Pp > > + Sysctl nodes provided by drivers should not be considered to be > > + permanant unless they are documented in the driver's man page. > > + Names which start with _ denote a tree or node which is considered > > + impermanant and should not be relied up by code elsewhere in the > > + system. > > + Driver writers should use the sysctl infrastructure provided by > > + .Xr device_get_sysctl_ctx 9 > > + and > > + .Xr device_get_sysctl_tree 9 > > + for their sysctls. > > + Drivers should migrate from past interfaces to this new > > interface, but > > + provide, where needed, backwards compatibility shims. > > + These facilities export the sysctl as > > dev...attribute. > > Should sound drivers (pcm* device) be documented as an exception from this? > They use snd_sysctl_tree_top() to get tree OID under hw.snd.pcmX and > snd_sysctl_tree() to get their context. No. They should not. They should provide the old compatibility stuff in the old place, but also provide it in the correct place. Warner From owner-freebsd-current@FreeBSD.ORG Wed May 24 17:02:39 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8AD016A4CC; Wed, 24 May 2006 17:02:39 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CB4543D4C; Wed, 24 May 2006 17:02:39 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from [192.168.26.156] (64-84-9-2-sf-gw.ncircle.com [64.84.9.2]) (authenticated bits=0) by b.mail.sonic.net (8.13.6/8.13.3) with ESMTP id k4OH2ZqW024924 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 May 2006 10:02:36 -0700 Message-ID: <447491AA.5060009@freebsd.org> Date: Wed, 24 May 2006 10:02:34 -0700 From: "Bruce A. Mah" User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: patrik References: <4465CB9C.70709@dentarg.net> <44661710.2090507@samsco.org> <44745140.3000104@dentarg.net> In-Reply-To: <44745140.3000104@dentarg.net> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=5ba052c3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD38A426182A4D6F0DD743910" Cc: freebsd-www@freebsd.org, freebsd-current@freebsd.org Subject: Re: RAIDframe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 17:02:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD38A426182A4D6F0DD743910 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable [Adding www@ to CC because this thread reveals a Web site bug.] If memory serves me right, patrik wrote: > Scott Long skrev: >> patrik wrote: >> >>> Today I read through >>> http://marc.theaimsgroup.com/?l=3Dfreebsd-current&m=3D107377398125007= &w=3D2 >>> I am I right i think this was the result? >>> http://lists.freebsd.org/pipermail/cvs-src/2004-March/020551.html >>> >>> Anyway, when looking on >>> http://www.freebsd.org/cgi/man.cgi?query=3Draid&sektion=3D0&manpath=3D= FreeBSD+7.0-current&apropos=3D1&format=3Dhtml=20 >>> >>> it seems that RAIDframe is back, in -current. Is it? Or has it always= >>> been there? Is it working? Haven't found any information about the >>> subject on the lists since it was removed. >=20 > What's going on with RAIDframe? > What does this menas?=20 > http://www.freebsd.org/cgi/man.cgi?query=3Draid&manpath=3DFreeBSD+7.0-c= urrent It means that for some reason, the version of the CURRENT manpages on the Web site didn't track the removal of the raid(4) manpage. See here: http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man4/Attic/raid.4 This is a Web site glitch, nothing more. :-p Bruce. --------------enigD38A426182A4D6F0DD743910 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.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEdJGq2MoxcVugUsMRApYuAJwMxBRhzTMIpADsRuf/FY0LBHn42QCgoQLf EeUzyIUrZFtjF3n2DJ7O520= =1s8D -----END PGP SIGNATURE----- --------------enigD38A426182A4D6F0DD743910-- From owner-freebsd-current@FreeBSD.ORG Wed May 24 17:05:31 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7600816A72C; Wed, 24 May 2006 17:05:31 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9FA643D64; Wed, 24 May 2006 17:05:23 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FC25.dip.t-dialin.net [84.165.252.37]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4OGrE7t029987; Wed, 24 May 2006 18:53:14 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4OH5Hgi041582; Wed, 24 May 2006 19:05:17 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (Andro-Beta.Leidinger.net [192.168.1.42]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 24 May 2006 19:05:17 +0200 Message-ID: <20060524190517.shb6l4afz0gkk48c@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 24 May 2006 19:05:17 +0200 From: Alexander Leidinger To: Scott Long References: <20060520141209.A2285@free.home.local> <86fyj1kju5.fsf@xps.des.no> <20060523171238.6392afdb@Magellan.Leidinger.net> <867j4clqaj.fsf@xps.des.no> <4473336F.1030900@samsco.org> In-Reply-To: <4473336F.1030900@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org, Dag-Erling =?utf-8?b?U23DuHJncmF2?= , freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 17:05:33 -0000 Quoting Scott Long (from Tue, 23 May 2006 10:08:15 -0600= ): > The problem is that Alexander wants these sysctls to only be temporary. > Recall that big thread from a month or two ago about treating sysctls > as an API, and how there was heavy disagreement over how to define > "stable" sysctls that apps could depend on? If a temporary set of > sysctls get put under the dev tree, then it risks becoming permanent, > which is not what Alexander wants. So, either we need to decide what > parts of the sysctl to define as stable, like I asked for in the > previous thread, or we need to pretend that it's not a problem that we > should address, and let you and Alexander continue to argue over the > 'correct place'. When we have a document/place which specifies a stable sysctl API, I =20 can life with putting the temporary ones into the place which =20 Dag-Erling suggested. Bye, Alexander. --=20 Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-current@FreeBSD.ORG Wed May 24 17:29:20 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB45316A9E9; Wed, 24 May 2006 17:29:20 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E6D543D72; Wed, 24 May 2006 17:29:15 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FC25.dip.t-dialin.net [84.165.252.37]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4OHH6CA030101; Wed, 24 May 2006 19:17:07 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4OHTAxx045097; Wed, 24 May 2006 19:29:10 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (Andro-Beta.Leidinger.net [192.168.1.42]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 24 May 2006 19:29:10 +0200 Message-ID: <20060524192910.wdazqydy80soc0cg@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 24 May 2006 19:29:10 +0200 From: Alexander Leidinger To: Warner Losh References: <20060523.112205.115998971.imp@bsdimp.com> <44735620.9080403@samsco.org> <20060523.132355.21838169.imp@bsdimp.com> <20060523.134540.28877846.imp@bsdimp.com> In-Reply-To: <20060523.134540.28877846.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@FreeBSD.ORG, des@des.no, freebsd-current@FreeBSD.ORG Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 17:29:21 -0000 Quoting Warner Losh (from Tue, 23 May 2006 13:45:40 -0600 (MDT)): > Somewhere between the two extremes that you pointed out is where we > should meet on consensus. We should start with where the domain > experts thought the consensus arrived at last time and make changes > from there to reach a new consensus, rather than just invent something > totally new an random. Just browsing/answering some mails between arriving at home and nearly immediatly leaving again... I didn't thought about adding a tmp/temp/deprecated/whatever component into the sysctl (you know... too much trees to see the forest). It's fine for me. Bye, Alexander. -- Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Wed May 24 18:08:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DDB216A5D3 for ; Wed, 24 May 2006 18:08:14 +0000 (UTC) (envelope-from gbergling@0xfce3.net) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5813843D48 for ; Wed, 24 May 2006 18:08:12 +0000 (GMT) (envelope-from gbergling@0xfce3.net) X-Envelope-From: gbergling@0xfce3.net X-Envelope-To: Received: from central.0xfce3.net (dslb-088-072-036-161.pools.arcor-ip.net [88.72.36.161]) (authenticated bits=128) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id k4OI89qP024003 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 24 May 2006 20:08:09 +0200 Received: from central.0xfce3.net (localhost [127.0.0.1]) by central.0xfce3.net (8.13.6/8.13.4) with ESMTP id k4OI85Ax059338 for ; Wed, 24 May 2006 20:08:05 +0200 (CEST) (envelope-from gbergling@0xfce3.net) Received: (from gordon@localhost) by central.0xfce3.net (8.13.6/8.13.4/Submit) id k4OI82tX059337 for freebsd-current@freebsd.org; Wed, 24 May 2006 20:08:02 +0200 (CEST) (envelope-from gbergling@0xfce3.net) X-Authentication-Warning: central.0xfce3.net: gordon set sender to gbergling@0xfce3.net using -f Date: Wed, 24 May 2006 20:08:02 +0200 From: Gordon Bergling To: freebsd-current@freebsd.org Message-ID: <20060524180802.GA59176@central.0xfce3.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Url: X-Operating-System: FreeBSD 6.1-STABLE i386 X-Host-Uptime: 7:51PM up 5:03, 0 users, load averages: 0.05, 0.13, 0.29 User-Agent: Mutt/1.5.11 X-Spam-Score: * (1.17) AWL,BAYES_50,FORGED_RCVD_HELO X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Subject: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 18:08:14 -0000 Hi, a few month ago I ported DragonFlyBSD's IP checksum code to FreeBSD. My first try wasn't complete and I had forgotten it by the time. Now I hope I have addressed the former mistakes and it maybe included in the tree. ;) The patch can be found at http://generic.0xfce3.net/20060524-ipchecksum.patch This patch modifies the i386, amd64 and pc98 architectures. Matt Dillons new implementation is machine indepement, but there are some asm files/code with seems for me i386 centric. I don't know assembler, so I can't tell much about it. I applied the patch to RELENG_6 and have done a simple netperf benchmark. The machine was a PIII 900. The ministat output: ---------------------------------------------------------------------------- x netperf-localhost-plain.txt + netperf-localhost-ncksum.txt +--------------------------------------------------------------------------+ | x x x x + ++ + | |xx x x xx xxx x x x x+x *+x x + +++ ++ + + + +++++ +| | |__________M_A____________| |__________A___________| | +--------------------------------------------------------------------------+ N Min Max Median Avg Stddev x 22 707.31 730.41 717.37 718.53909 6.7389076 + 22 725.57 746.46 736.535 736.51727 6.3001188 Difference at 95.0% confidence 17.9782 +/- 3.96904 2.50205% +/- 0.552377% (Student's t, pooled s = 6.5232) ---------------------------------------------------------------------------- Any comments, correctures are very appreciated. best regards, Gordon -- Gordon Bergling http://www.0xFCE3.net/ PGP Fingerprint: 7732 9BB1 5013 AE8B E42C 28E0 93B9 D32B C76F 02A0 RIPE-HDL: MDTP-RIPE "Minimal Electronic Music" From owner-freebsd-current@FreeBSD.ORG Wed May 24 19:51:06 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37E3916A4FC for ; Wed, 24 May 2006 19:51:06 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AA7143D45 for ; Wed, 24 May 2006 19:51:02 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4OJoiYH020892; Wed, 24 May 2006 13:50:50 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4474B908.80903@samsco.org> Date: Wed, 24 May 2006 13:50:32 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gordon Bergling References: <20060524180802.GA59176@central.0xfce3.net> In-Reply-To: <20060524180802.GA59176@central.0xfce3.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 19:51:07 -0000 Gordon Bergling wrote: > Hi, > > a few month ago I ported DragonFlyBSD's IP checksum code to FreeBSD. > My first try wasn't complete and I had forgotten it by the time. Now I > hope I have addressed the former mistakes and it maybe included in the > tree. ;) > > The patch can be found at > http://generic.0xfce3.net/20060524-ipchecksum.patch > > This patch modifies the i386, amd64 and pc98 architectures. Matt Dillons > new implementation is machine indepement, but there are some asm > files/code with seems for me i386 centric. I don't know assembler, so I > can't tell much about it. > > I applied the patch to RELENG_6 and have done a simple netperf > benchmark. The machine was a PIII 900. > > The ministat output: > ---------------------------------------------------------------------------- > x netperf-localhost-plain.txt > + netperf-localhost-ncksum.txt > +--------------------------------------------------------------------------+ > | x x x x + ++ + | > |xx x x xx xxx x x x x+x *+x x + +++ ++ + + + +++++ +| > | |__________M_A____________| |__________A___________| | > +--------------------------------------------------------------------------+ > N Min Max Median Avg Stddev > x 22 707.31 730.41 717.37 718.53909 6.7389076 > + 22 725.57 746.46 736.535 736.51727 6.3001188 > Difference at 95.0% confidence > 17.9782 +/- 3.96904 > 2.50205% +/- 0.552377% > (Student's t, pooled s = 6.5232) > ---------------------------------------------------------------------------- > > Any comments, correctures are very appreciated. > > best regards, > > Gordon > First, it would be nice to know what netstat options you were using. Second, it would be nice to know if hardware checksum offloading was enabled at all on either end of the test. Scott From owner-freebsd-current@FreeBSD.ORG Wed May 24 19:57:06 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73F5E16A4D8; Wed, 24 May 2006 19:57:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A06A43D60; Wed, 24 May 2006 19:57:05 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.0.1.114] (nat-outside.atlanta.corp.yahoo.com [63.172.193.57]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4OJuw3Y095261; Wed, 24 May 2006 15:57:04 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: current@freebsd.org Date: Wed, 24 May 2006 15:56:43 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605241556.44483.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1480/Wed May 24 12:45:51 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Subject: [PATCH] if_dc cleanups.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 19:57:09 -0000 I've changed if_dc to use the full 32-bit device ID instead of just the lower 16-bit device ID in dc_attach() so that it doesn't have to deal with hacks like the FAKE device and to make it easier to add new device IDs that have collisions in the future. I've compiled it but have no dc(4) hardware to test with, so please test. Patch is available at: http://www.FreeBSD.org/~jhb/patches/if_dc.patch -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Wed May 24 19:57:04 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 701FB16A969 for ; Wed, 24 May 2006 19:57:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id A822343D60 for ; Wed, 24 May 2006 19:57:02 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.0.1.114] (nat-outside.atlanta.corp.yahoo.com [63.172.193.57]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4OJuw3W095261; Wed, 24 May 2006 15:56:58 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 24 May 2006 14:06:26 -0400 User-Agent: KMail/1.9.1 References: <446F1806.4050301@gmail.com> In-Reply-To: <446F1806.4050301@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605241406.28235.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1480/Wed May 24 12:45:51 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Subject: Re: callout_reset page fault panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 19:57:12 -0000 On Saturday 20 May 2006 09:22, Pawel Worach wrote: > One day old CURRENT, i368 UP. Died while installing some ports and > running mplayer. vmcore and kernel available (minidumps kick ass!). > > Unread portion of the kernel message buffer: > kernel trap 12 with interrupts disabled I think the previous 'struct callout' on the callout wheel is unmapped, maybe a kernel module was unloaded and it forgot to do a callout_stop() or callout_drain() or somehow did a callout_reset() after doing the stop() or drain()? -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Wed May 24 20:22:31 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9642416A743 for ; Wed, 24 May 2006 20:22:31 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEDF943D4C for ; Wed, 24 May 2006 20:22:30 +0000 (GMT) (envelope-from pawel.worach@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so2295998uge for ; Wed, 24 May 2006 13:22:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=RjitiIXZtWFRlT+E0+ZJUur1/8FBF7/sThkeRBXa3NN2ZeEjoCWx8D9h6TsCR1I4fej7iJtL/NOcZVBtweM0O/lc1LRLzhkrLeilnn98CxNe/YRXvIqF7YJ4eObntUN8lXtMURMGmc9abdMU1gSN0/R//oOOahJwKjK1pzB70gk= Received: by 10.66.249.11 with SMTP id w11mr5977750ugh; Wed, 24 May 2006 13:22:28 -0700 (PDT) Received: from ?192.168.1.200? ( [80.217.194.157]) by mx.gmail.com with ESMTP id y7sm8365507ugc.2006.05.24.13.22.28; Wed, 24 May 2006 13:22:28 -0700 (PDT) Message-ID: <4474C07E.5060905@gmail.com> Date: Wed, 24 May 2006 22:22:22 +0200 From: Pawel Worach User-Agent: Thunderbird 1.5.0.2 (X11/20060520) MIME-Version: 1.0 To: John Baldwin References: <446F1806.4050301@gmail.com> <200605241406.28235.jhb@freebsd.org> In-Reply-To: <200605241406.28235.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: callout_reset page fault panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 20:22:33 -0000 John Baldwin wrote: > On Saturday 20 May 2006 09:22, Pawel Worach wrote: >> One day old CURRENT, i368 UP. Died while installing some ports and >> running mplayer. vmcore and kernel available (minidumps kick ass!). >> >> Unread portion of the kernel message buffer: >> kernel trap 12 with interrupts disabled > > I think the previous 'struct callout' on the callout wheel > is unmapped, maybe a kernel module was unloaded and it forgot > to do a callout_stop() or callout_drain() or somehow did a > callout_reset() after doing the stop() or drain()? > If nothing was unloaded automagically it's unlikely. -- Pawel From owner-freebsd-current@FreeBSD.ORG Wed May 24 20:24:46 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA87116A868 for ; Wed, 24 May 2006 20:24:46 +0000 (UTC) (envelope-from gbergling@0xfce3.net) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id F214343D46 for ; Wed, 24 May 2006 20:24:45 +0000 (GMT) (envelope-from gbergling@0xfce3.net) X-Envelope-From: gbergling@0xfce3.net Received: from central.0xfce3.net (dslb-088-072-036-161.pools.arcor-ip.net [88.72.36.161]) (authenticated bits=128) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id k4OKOgb3006264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 May 2006 22:24:43 +0200 Received: from central.0xfce3.net (localhost [127.0.0.1]) by central.0xfce3.net (8.13.6/8.13.4) with ESMTP id k4OKOgh3059932; Wed, 24 May 2006 22:24:42 +0200 (CEST) (envelope-from gbergling@0xfce3.net) Received: (from gordon@localhost) by central.0xfce3.net (8.13.6/8.13.4/Submit) id k4OKOdPk059931; Wed, 24 May 2006 22:24:39 +0200 (CEST) (envelope-from gbergling@0xfce3.net) X-Authentication-Warning: central.0xfce3.net: gordon set sender to gbergling@0xfce3.net using -f Date: Wed, 24 May 2006 22:24:39 +0200 From: Gordon Bergling To: Scott Long Message-ID: <20060524202439.GA59801@central.0xfce3.net> References: <20060524180802.GA59176@central.0xfce3.net> <4474B908.80903@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4474B908.80903@samsco.org> X-Url: X-Operating-System: FreeBSD 6.1-STABLE i386 X-Host-Uptime: 10:13PM up 7:25, 0 users, load averages: 0.24, 0.11, 0.05 User-Agent: Mutt/1.5.11 X-Spam-Score: * (1.186) AWL,BAYES_50,FORGED_RCVD_HELO X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Cc: freebsd-current@freebsd.org Subject: Re: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 20:24:48 -0000 Hi Scott, * Thus spake Scott Long (scottl@samsco.org): > Gordon Bergling wrote: > >a few month ago I ported DragonFlyBSD's IP checksum code to FreeBSD. > >My first try wasn't complete and I had forgotten it by the time. Now I > >hope I have addressed the former mistakes and it maybe included in the > >tree. ;) > > > >The patch can be found at > >http://generic.0xfce3.net/20060524-ipchecksum.patch > > > >This patch modifies the i386, amd64 and pc98 architectures. Matt Dillons > >new implementation is machine indepement, but there are some asm > >files/code with seems for me i386 centric. I don't know assembler, so I > >can't tell much about it. > > > >I applied the patch to RELENG_6 and have done a simple netperf > >benchmark. The machine was a PIII 900. > > > >The ministat output: > >---------------------------------------------------------------------------- > >x netperf-localhost-plain.txt > >+ netperf-localhost-ncksum.txt > >+--------------------------------------------------------------------------+ > >| x x x x + ++ + > >| > >|xx x x xx xxx x x x x+x *+x x + +++ ++ + + + +++++ > >+| > >| |__________M_A____________| |__________A___________| > >| > >+--------------------------------------------------------------------------+ > > N Min Max Median Avg Stddev > >x 22 707.31 730.41 717.37 718.53909 6.7389076 > >+ 22 725.57 746.46 736.535 736.51727 6.3001188 > >Difference at 95.0% confidence > > 17.9782 +/- 3.96904 > > 2.50205% +/- 0.552377% > > (Student's t, pooled s = 6.5232) > >---------------------------------------------------------------------------- > > > >Any comments, correctures are very appreciated. > > > >best regards, > > > > Gordon > > > > First, it would be nice to know what netstat options you were using. > Second, it would be nice to know if hardware checksum offloading was > enabled at all on either end of the test. I don't know what do you mean with netstat options. If you mean the benchmark, that was the following procedure. 1. /usr/local/netperf/netserver 2. for i in 0 1 2 3 4 5 6 7 8 9 do /usr/local/netperf/netperf -P 0 >> ~/netperf-xyz.txt done Step 2 was done twice. I cutted the 'Throughput' fields out of the netperf-xyz.txt, for use with ministat. The nic I had used is a simple | fxp0: port ... I havn't enabled any hardware checksum offloading as far as I know. Please let me know, if there are other questions left... best regards, Gordon -- Gordon Bergling http://www.0xFCE3.net/ PGP Fingerprint: 7732 9BB1 5013 AE8B E42C 28E0 93B9 D32B C76F 02A0 RIPE-HDL: MDTP-RIPE "Minimal Electronic Music" From owner-freebsd-current@FreeBSD.ORG Wed May 24 20:35:08 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D1B316A507 for ; Wed, 24 May 2006 20:35:08 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 927DD43D46 for ; Wed, 24 May 2006 20:35:06 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k4OKYYco008600 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 May 2006 23:34:35 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k4OKakAk013638; Wed, 24 May 2006 23:36:46 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k4OKajtP013637; Wed, 24 May 2006 23:36:45 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 24 May 2006 23:36:45 +0300 From: Giorgos Keramidas To: Kris Kennaway Message-ID: <20060524203645.GB13500@gothmog.pc> References: <20060522211223.GA3621@xor.obsecurity.org> <20060522231437.GC1446@odin.ac.hmc.edu> <20060523133037.GA2908@gothmog.pc> <20060523143013.GA11472@ci0.org> <20060523194106.GA46634@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060523194106.GA46634@xor.obsecurity.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.405, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.79, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: current@freebsd.org Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 20:35:12 -0000 On 2006-05-23 15:41, Kris Kennaway wrote: > You are confusing mdconfig's -o async mode, used only for vnode > backing (not the case here anyway): > > [no]async > For vnode backed devices: avoid IO_SYNC for increased > performance but at the risk of deadlocking the entire > kernel. > > with mount's -o async mode, used at the filesystem layer on any > device. The latter does not have deadlocks. Hi Kris, so we can safely add async to `tmpmfs_flags' in /etc/defaults/rc.conf? If that is so, do you want me to make the change, or do you want to do this? From owner-freebsd-current@FreeBSD.ORG Wed May 24 20:37:51 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2FDD16A81F for ; Wed, 24 May 2006 20:37:51 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAE1F43D5F for ; Wed, 24 May 2006 20:37:48 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 99BEE1A4EAD; Wed, 24 May 2006 13:37:48 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0C1E251F4D; Wed, 24 May 2006 16:37:48 -0400 (EDT) Date: Wed, 24 May 2006 16:37:47 -0400 From: Kris Kennaway To: Giorgos Keramidas Message-ID: <20060524203747.GA88742@xor.obsecurity.org> References: <20060522211223.GA3621@xor.obsecurity.org> <20060522231437.GC1446@odin.ac.hmc.edu> <20060523133037.GA2908@gothmog.pc> <20060523143013.GA11472@ci0.org> <20060523194106.GA46634@xor.obsecurity.org> <20060524203645.GB13500@gothmog.pc> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <20060524203645.GB13500@gothmog.pc> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org, Kris Kennaway Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 20:37:54 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 24, 2006 at 11:36:45PM +0300, Giorgos Keramidas wrote: > On 2006-05-23 15:41, Kris Kennaway wrote: > > You are confusing mdconfig's -o async mode, used only for vnode > > backing (not the case here anyway): > > > > [no]async > > For vnode backed devices: avoid IO_SYNC for increa= sed > > performance but at the risk of deadlocking the ent= ire > > kernel. > > > > with mount's -o async mode, used at the filesystem layer on any > > device. The latter does not have deadlocks. >=20 > Hi Kris, >=20 > so we can safely add async to `tmpmfs_flags' in /etc/defaults/rc.conf? I think so. Also whatever else uses mds (diskless booting, ...?) > If that is so, do you want me to make the change, or do you want to do > this? I don't have a good idea of what needs to be changed to do all of the above, so if you're familiar with the code you might as well do it. Kris --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEdMQaWry0BWjoQKURAiPsAKD47S6YY/ixMuthj6wrCkPgnHE+pACeOyNP mJG6+IaCxgiGPb4IknhZi/E= =Le8C -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/-- From owner-freebsd-current@FreeBSD.ORG Wed May 24 20:41:49 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B40A316A948 for ; Wed, 24 May 2006 20:41:49 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0B7143D53 for ; Wed, 24 May 2006 20:41:48 +0000 (GMT) (envelope-from minimarmot@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so2303647uge for ; Wed, 24 May 2006 13:41:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pgVEM5ijbeg+2S4W4IXYeBPsNmabyAVzA09rfinQ78pu13UAGz8VLDYhL2rrs4CDxTacsmxbbm4s698PeVvXEpRTEcB8MD5vtg1olnOI8gs/5Yb9k5XoGPgTy9bg+SQBBDlHtXB/93njLg9B3prBS7xK0PkbbNAusj/DgjjaqE0= Received: by 10.67.25.9 with SMTP id c9mr2547908ugj; Wed, 24 May 2006 13:41:47 -0700 (PDT) Received: by 10.67.87.3 with HTTP; Wed, 24 May 2006 13:41:47 -0700 (PDT) Message-ID: <47d0403c0605241341k54586435xa76fa1e90a9e408e@mail.gmail.com> Date: Wed, 24 May 2006 15:41:47 -0500 From: "Ben Kaduk" To: "John Baldwin" In-Reply-To: <200605241556.44483.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200605241556.44483.jhb@freebsd.org> Cc: current@freebsd.org Subject: Re: [PATCH] if_dc cleanups.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 20:41:50 -0000 On 5/24/06, John Baldwin wrote: > I've changed if_dc to use the full 32-bit device ID instead of just the l= ower > 16-bit device ID in dc_attach() so that it doesn't have to deal with hack= s > like the FAKE device and to make it easier to add new device IDs that hav= e > collisions in the future. I've compiled it but have no dc(4) hardware to > test with, so please test. Patch is available at: > > http://www.FreeBSD.org/~jhb/patches/if_dc.patch > > -- > John Baldwin > _______________________________________________ > 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= " > John, I have an old machine running 6.0 with a dc card in it. Will I need to stop making excuses and bring this machine up to HEAD to test this patch properly? -Ben Kaduk From owner-freebsd-current@FreeBSD.ORG Wed May 24 20:44:35 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EA0916A93C for ; Wed, 24 May 2006 20:44:35 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6155543D46 for ; Wed, 24 May 2006 20:44:34 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k4OKi5Ll008888 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 May 2006 23:44:10 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k4OKkHtG013756; Wed, 24 May 2006 23:46:17 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k4OKkH5L013755; Wed, 24 May 2006 23:46:17 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 24 May 2006 23:46:17 +0300 From: Giorgos Keramidas To: Kris Kennaway Message-ID: <20060524204617.GA13701@gothmog.pc> References: <20060522211223.GA3621@xor.obsecurity.org> <20060522231437.GC1446@odin.ac.hmc.edu> <20060523133037.GA2908@gothmog.pc> <20060523143013.GA11472@ci0.org> <20060523194106.GA46634@xor.obsecurity.org> <20060524203645.GB13500@gothmog.pc> <20060524203747.GA88742@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060524203747.GA88742@xor.obsecurity.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.405, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.79, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: current@freebsd.org Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 20:44:39 -0000 On 2006-05-24 16:37, Kris Kennaway wrote: > On Wed, May 24, 2006 at 11:36:45PM +0300, Giorgos Keramidas wrote: > > On 2006-05-23 15:41, Kris Kennaway wrote: > > > You are confusing mdconfig's -o async mode, used only for vnode > > > backing (not the case here anyway): > > > > > > [no]async > > > For vnode backed devices: avoid IO_SYNC for increased > > > performance but at the risk of deadlocking the entire > > > kernel. > > > > > > with mount's -o async mode, used at the filesystem layer on any > > > device. The latter does not have deadlocks. > > > > Hi Kris, > > > > so we can safely add async to `tmpmfs_flags' in /etc/defaults/rc.conf? > > I think so. Also whatever else uses mds (diskless booting, ...?) AFAIK, only /etc/rc.d/tmp and /etc/rc.d/var use the mount_md() function from `rc.subr'. I think `/etc/rc.initdiskless' includes a local version of mount_md() and uses that one. > > If that is so, do you want me to make the change, or do you want to do > > this? > > I don't have a good idea of what needs to be changed to do all of the > above, so if you're familiar with the code you might as well do it. I can certainly prepare a patch for /etc/rc.d/* files and their manpages. I'll post it for review then :) From owner-freebsd-current@FreeBSD.ORG Wed May 24 21:49:15 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8AD416A579 for ; Wed, 24 May 2006 21:49:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5967243D46 for ; Wed, 24 May 2006 21:49:15 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.0.1.114] (nat-outside.atlanta.corp.yahoo.com [63.172.193.57]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4OLnEb0095945 for ; Wed, 24 May 2006 17:49:14 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: current@freebsd.org Date: Wed, 24 May 2006 17:49:02 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605241749.02885.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1480/Wed May 24 12:45:51 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.1 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Subject: [PATCH] Fixup locking for kernel-linker, needs ndis testing(!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 21:49:17 -0000 I've reworked the locking for the kernel linker to convert the existing kld_mtx to an sx lock and extend it's scope to cover all of the various linker-related data structures. I also changed the kernel linker API a bit to make it more amenable to locking in that I added a 'linker_file_foreach' that iterates over the list of linker files calling a supplied predicate function and made the functions to lookup a linker file by name or index private. This meant that the ndis and hwpmc code had to stop fondling the kernel linker internals. I also made the VFS Giant locking in ndis and the kernel linker conditional such that it only locks Giant for non-MPSAFE filesystems. I have runtested this patch a while back, but the ndis and hwpmc parts have only been compile tested. Please test. http://www.FreeBSD.org/~jhb/patches/kld.patch -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Wed May 24 22:07:41 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A462116A455 for ; Wed, 24 May 2006 22:07:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E277643D45 for ; Wed, 24 May 2006 22:07:40 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.0.1.114] (nat-outside.atlanta.corp.yahoo.com [63.172.193.57]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4OM7eqT096179 for ; Wed, 24 May 2006 18:07:40 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: current@freebsd.org Date: Wed, 24 May 2006 18:07:29 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605241807.29163.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1480/Wed May 24 12:45:51 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Subject: [PATCH] Change kqueue_register() to use fget() X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 22:07:42 -0000 This small patch fixes up a part of kevent to use fget() instead of mangling the filedesc struct directly. I haven't had time yet to sit down and test kevent apps with it so would appreciate it if anyone has some idle cycles to do that. --- //depot/vendor/freebsd/src/sys/kern/kern_event.c 2006/04/14 14:33:55 +++ //depot/projects/smpng/sys/kern/kern_event.c 2006/04/25 19:47:56 @@ -754,15 +754,12 @@ int kqueue_register(struct kqueue *kq, struct kevent *kev, struct thread *td, int waitok) { - struct filedesc *fdp; struct filterops *fops; struct file *fp; struct knote *kn, *tkn; int error, filt, event; int haskqglobal; - int fd; - fdp = NULL; fp = NULL; kn = NULL; error = 0; @@ -778,22 +775,13 @@ findkn: if (fops->f_isfd) { KASSERT(td != NULL, ("td is NULL")); - fdp = td->td_proc->p_fd; - FILEDESC_LOCK(fdp); - /* validate descriptor */ - fd = kev->ident; - if (fd < 0 || fd >= fdp->fd_nfiles || - (fp = fdp->fd_ofiles[fd]) == NULL) { - FILEDESC_UNLOCK(fdp); - error = EBADF; + error = fget(td, kev->ident, &fp); + if (error) goto done; - } - fhold(fp); if ((kev->flags & EV_ADD) == EV_ADD && kqueue_expand(kq, fops, kev->ident, 0) != 0) { - /* unlock and try again */ - FILEDESC_UNLOCK(fdp); + /* try again */ fdrop(fp, td); fp = NULL; error = kqueue_expand(kq, fops, kev->ident, waitok); @@ -811,7 +799,6 @@ * they are the same thing. */ if (fp->f_data == kq) { - FILEDESC_UNLOCK(fdp); error = EINVAL; goto done_noglobal; } @@ -819,7 +806,6 @@ KQ_GLOBAL_LOCK(&kq_global, haskqglobal); } - FILEDESC_UNLOCK(fdp); KQ_LOCK(kq); if (kev->ident < kq->kq_knlistsize) { SLIST_FOREACH(kn, &kq->kq_knlist[kev->ident], kn_link) -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Thu May 25 03:17:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E45F16A41F for ; Thu, 25 May 2006 03:17:15 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E85143D46 for ; Thu, 25 May 2006 03:17:14 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.178.215] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1Fj6LZ0IH2-0008MJ; Thu, 25 May 2006 05:17:13 +0200 From: Max Laier Organization: FreeBSD To: freebsd-current@freebsd.org Date: Thu, 25 May 2006 05:17:04 +0200 User-Agent: KMail/1.9.1 References: <20060524180802.GA59176@central.0xfce3.net> In-Reply-To: <20060524180802.GA59176@central.0xfce3.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart30259858.g57y1m2i5V"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605250517.12054.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Gordon Bergling Subject: Re: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 03:17:15 -0000 --nextPart30259858.g57y1m2i5V Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 24 May 2006 20:08, Gordon Bergling wrote: > a few month ago I ported DragonFlyBSD's IP checksum code to FreeBSD. > My first try wasn't complete and I had forgotten it by the time. Now I > hope I have addressed the former mistakes and it maybe included in the > tree. ;) > > The patch can be found at > http://generic.0xfce3.net/20060524-ipchecksum.patch > > This patch modifies the i386, amd64 and pc98 architectures. Matt Dillons > new implementation is machine indepement, but there are some asm > files/code with seems for me i386 centric. I don't know assembler, so I > can't tell much about it. I'm a little scared about this. We have had several problems in the=20 checksumming code that were due to -O2 or -O0 that screwed up just a little= =20 of the assembly and *boom* everything went downhill. I do appreciate you=20 stepping up porting something useful, but I'd be more comfortable if you=20 actually knew what you are doing. That said, can somebody with real assembly knowledge and maybe even for=20 sparc64 or the like step up and take a look at this? I think we should not= =20 import something unless we fully understand it! I am confident that Matt knew what he was doing, but I am not sure that the= =20 efforts on Dragonfly are compatible with !i386/amd64 ... FreeBSD, however=20 still cares about big endian architectures and others, don't we? > I applied the patch to RELENG_6 and have done a simple netperf > benchmark. The machine was a PIII 900. > > The ministat output: > -------------------------------------------------------------------------= =2D- >- x netperf-localhost-plain.txt > + netperf-localhost-ncksum.txt > +------------------------------------------------------------------------= =2D- >+ > > | x x x x + ++ + = =20 > | | xx x x xx xxx x x x x+x *+x x + +++ ++ + + + ++++= +=20 > | +| > | > | |__________M_A____________| |__________A___________| = =20 > | | | > > +------------------------------------------------------------------------= =2D- >+ N Min Max Median Avg Stddev = x=20 > 22 707.31 730.41 717.37 718.53909 6.7389076 = +=20 > 22 725.57 746.46 736.535 736.51727 6.3001188 > Difference at 95.0% confidence > 17.9782 +/- 3.96904 > 2.50205% +/- 0.552377% > (Student's t, pooled s =3D 6.5232) > -------------------------------------------------------------------------= =2D- >- > > Any comments, correctures are very appreciated. > > best regards, > > Gordon =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart30259858.g57y1m2i5V Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEdSG4XyyEoT62BG0RAlC7AJ4j+Cj7LqYkNSwXHhEkEZ2gvLorbACfXT6Q Ww8Vxyf3NhDaIGy583iaN+k= =+KYL -----END PGP SIGNATURE----- --nextPart30259858.g57y1m2i5V-- From owner-freebsd-current@FreeBSD.ORG Thu May 25 06:55:12 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9A5816A41F for ; Thu, 25 May 2006 06:55:12 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2739D43D46 for ; Thu, 25 May 2006 06:55:12 +0000 (GMT) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id DFBEE78C1D; Thu, 25 May 2006 06:55:10 +0000 (GMT) Date: Thu, 25 May 2006 06:55:10 +0000 From: John Birrell To: current@freebsd.org Message-ID: <20060525065510.GA20475@what-creek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 06:55:12 -0000 It's nearly 8 weeks since I started porting DTrace to FreeBSD and I thought I would post a status update including today's significant emotional event. 8-) For those who don't know what DTrace is or which company designed it, here are a few links: The BigAdmin: A Blurb: The Guide: My FreeBSD Project Page: Much of the basic DTrace infrastructure is in place now. Of the 1039 DTrace tests that Sun runs on Solaris, 793 now pass on FreeBSD. We've got the following providers: - dtrace - profile - syscall - sdt - fbt As of today, loading those providers on a GENERIC kernel gives 32,519 probes. Today's significant emotional event added over 30,000 of those, thanks to the Function Boundary Tracing (fbt) provider. It provides the instrumentation of the entry and return of every (non-leaf) function in the kernel and (non-DTrace provider) modules. Here is an example of what fbt can do.... The following script creates a probe on the entry to the kernel malloc() function. It dereferences the second argument to the malloc_type structure and then quantizes the size of the mallocs being made according to the malloc type name. The script: fbt:kernel:malloc:entry { mt = (struct malloc_type *) arg1; @[stringof(mt->ks_shortdesc)] = quantize(arg0) } The output: vmem value ------------- Distribution ------------- count 2 | 0 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 56 8 | 0 ufs_dirhash value ------------- Distribution ------------- count 4 | 0 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 6 16 | 0 32 | 0 64 | 0 128 | 0 256 |@@@@@@@@@@@@@ 3 512 | 0 UMAHash value ------------- Distribution ------------- count 512 | 0 1024 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1 2048 | 0 vnodemarker value ------------- Distribution ------------- count 128 | 0 256 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 6 512 | 0 Unitno value ------------- Distribution ------------- count 8 | 0 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 130 32 | 0 sysctl value ------------- Distribution ------------- count 4 | 0 8 |@@@@@@@@@@@@@@@@@@ 77 16 |@@@@@@@@@@@@@@@@@@@@@@ 95 32 | 0 DEVFS3 value ------------- Distribution ------------- count 32 | 0 64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 56 128 | 0 plimit value ------------- Distribution ------------- count 64 | 0 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 28 256 | 0 proc-args value ------------- Distribution ------------- count 16 | 0 32 |@@@@@@@@@@@@@@@@@@@@@@ 48 64 |@@@@@@@@@@@@@@@@@@ 38 128 | 0 zombie value ------------- Distribution ------------- count 32 | 0 64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 86 128 | 0 kmem value ------------- Distribution ------------- count 16 | 0 32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 24 64 | 0 128 | 0 256 | 0 512 |@@@@@@@@@@@@ 10 1024 | 0 sysctltmp value ------------- Distribution ------------- count 2 | 0 4 |@@@@@ 28 8 |@@@@@@@@@@ 56 16 |@@@@@@@@@@ 56 32 |@@@@@@@@@@ 56 64 | 0 128 |@@@@@ 28 256 | 0 filedesc value ------------- Distribution ------------- count 64 | 0 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 86 256 | 0 nfsclient_req value ------------- Distribution ------------- count 32 | 0 64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 213 128 | 0 DEVFS1 value ------------- Distribution ------------- count 64 | 0 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 112 256 | 0 ioctlops value ------------- Distribution ------------- count 2 | 0 4 |@@@@@@@@@@@@@@@@@@@@ 573 8 |@ 30 16 |@@ 60 32 |@@@@@@@@@ 264 64 |@@ 60 128 | 0 256 |@@@@@@ 175 512 | 0 soname value ------------- Distribution ------------- count 8 | 0 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 8991 32 | 0 subproc value ------------- Distribution ------------- count 1024 | 0 2048 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 86 4096 | 0 cred value ------------- Distribution ------------- count 32 | 0 64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 10403 128 | 0 nfsserver_srvdesc value ------------- Distribution ------------- count 4 | 0 8 |@@@@@@@@@@@@@@@@@@@@ 8991 16 | 0 32 | 0 64 | 0 128 |@@@@@@@@@@@@@@@@@@@@ 8991 256 | 0 temp value ------------- Distribution ------------- count 4 | 0 8 |@@@@@@@@@@@@@ 935 16 |@@ 151 32 |@@@ 184 64 |@ 66 128 |@ 97 256 | 30 512 | 22 1024 | 13 2048 | 4 4096 | 28 8192 |@@@@@@@@@@@@@@@@@@@ 1359 16384 | 0 dtrace value ------------- Distribution ------------- count 0 | 0 1 |@ 23 2 | 19 4 |@@@ 118 8 |@@@@@ 182 16 |@@@@@ 211 32 |@@@@@@@@@@@@@@@@@ 689 64 |@ 31 128 |@ 29 256 |@@ 99 512 |@ 24 1024 |@@@ 135 2048 | 5 4096 | 0 8192 | 0 16384 | 0 32768 | 0 65536 | 0 131072 | 0 262144 | 0 524288 | 0 1048576 | 10 2097152 | 0 4194304 |@ 20 8388608 | 0 There is still a lot of work to do and while that goes on, the code has to remain in the FreeBSD perforce server. It isn't ready to get merged into CVS-current yet. I have asked the perforce-admins to mirror the project out to CVS (via cvsup10.freebsd.org), but I'm not sure what the hold-up there is. I had hoped that one or two of the Google SoC students would contribute to this, but I only received one proposal and that wasn't for anything that would help get DTrace/FreeBSD completed. There are things people can do to help. Some of them are build related; some are build tool related; some are user-land DTrace specific; and the rest are kernel related. Speak up if you are interested in working on this! -- John Birrell From owner-freebsd-current@FreeBSD.ORG Thu May 25 07:34:49 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19FD116A426; Thu, 25 May 2006 07:34:49 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9D4A43D45; Thu, 25 May 2006 07:34:47 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k4P7YksE034796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 May 2006 11:34:46 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k4P7Yjwn034795; Thu, 25 May 2006 11:34:45 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 25 May 2006 11:34:45 +0400 From: Gleb Smirnoff To: current@FreeBSD.org Message-ID: <20060525073445.GH27819@FreeBSD.org> References: <20060524102738.GY84736@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060524102738.GY84736@cell.sick.ru> User-Agent: Mutt/1.5.6i Cc: iedowse@FreeBSD.org Subject: APM broken badly Was: USB problem after upgrade X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 07:34:49 -0000 An update on my mail about USB being broken. Looks like problem is not in USB at all, but in APM resume procedure. Okay. After resume I see the following issues: 1) Time did not changed at all while notebook was suspended. date(1) before and after sleep returns same time, no matter how long the notebook sleep. 2) Ethernet (fxp) doesn't work until I do down/up cycle. 3) Sound (csa) doesn't work. A program doing sound output blocks. 4) USB doesn't work. Quoting my own mail: T> usb_new_device: set address 2 failed - trying a port reset T> usb_new_device: set address 2 failed T> uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED T> uhub0: device problem (SET_ADDR_FAILED), disabling port 1 T> T> After some time I unplugged the mouse, and plugged it again. After T> ~ 5 second pause it has been detected: T> T> ums0: on uhub0 T> ums0: 3 buttons and Z dir. T> T> But it works incredibly bad. Mouse cursor starts to move a couple seconds later T> than the actual move of the mouse. Cursor doesn't move smoothly, but jumps. USB and sound recover only after power down cycle. The timeframe between good and bad 7.0-CURRNET is quite broad: 4 March -> 23 May -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-current@FreeBSD.ORG Thu May 25 08:23:50 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC90216A41F; Thu, 25 May 2006 08:23:50 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87ED043D48; Thu, 25 May 2006 08:23:50 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp6-g19.free.fr (Postfix) with ESMTP id 9328C22591; Thu, 25 May 2006 10:23:49 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id k4P8NgHg000964; Thu, 25 May 2006 10:23:44 +0200 (CEST) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Thu, 25 May 2006 10:23:32 +0200 User-Agent: KMail/1.9.1 References: <200605241556.44483.jhb@freebsd.org> In-Reply-To: <200605241556.44483.jhb@freebsd.org> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200605251023.34963.thierry@herbelot.com> Cc: Subject: Re: [PATCH] if_dc cleanups.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 08:23:51 -0000 Le Wednesday 24 May 2006 21:56, John Baldwin a écrit : > I've changed if_dc to use the full 32-bit device ID instead of just the > lower 16-bit device ID in dc_attach() so that it doesn't have to deal with > hacks like the FAKE device and to make it easier to add new device IDs that > have collisions in the future. I've compiled it but have no dc(4) hardware > to test with, so please test. Patch is available at: > > http://www.FreeBSD.org/~jhb/patches/if_dc.patch my dc is still probed and detected with your patch : dc0: <82c169 PNIC 10/100BaseTX> port 0x9400-0x94ff mem 0xd8000000-0xd80000ff irq 19 at device 9.0 on pci0 dc0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x9400 miibus0: on dc0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: bpf attached dc0: Ethernet address: 00:02:e3:08:63:af dc0: [MPSAFE] the same dc is currently used to update the -current sources over NFS, without any visible side effects. Thanks TfH From owner-freebsd-current@FreeBSD.ORG Thu May 25 08:26:50 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7E9016A423 for ; Thu, 25 May 2006 08:26:50 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1363743D5C for ; Thu, 25 May 2006 08:26:48 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail16.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4P8QZxo005668 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 25 May 2006 18:26:37 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4P8QYwC001045; Thu, 25 May 2006 18:26:34 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4P8QX5B001044; Thu, 25 May 2006 18:26:33 +1000 (EST) (envelope-from peter) Date: Thu, 25 May 2006 18:26:33 +1000 From: Peter Jeremy To: John Birrell Message-ID: <20060525082633.GA724@turion.vk2pj.dyndns.org> References: <20060525065510.GA20475@what-creek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060525065510.GA20475@what-creek.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 08:26:50 -0000 On Thu, 2006-May-25 06:55:10 +0000, John Birrell wrote: >My FreeBSD Project Page: Your "What processes fork during a buildworld and how many times?" output doesn't look right: make should do lots of forking. >There are things people can do to help. Some of them are build related; >some are build tool related; some are user-land DTrace specific; and the >rest are kernel related. Speak up if you are interested in working on >this! I'd like to help but not sure if I have the time. Do you have more detail on what is needed? BTW, how much of DTrace is MD and what CPU architectures are supported? -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Thu May 25 09:27:18 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0476F16A420; Thu, 25 May 2006 09:27:18 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB12343D45; Thu, 25 May 2006 09:27:16 +0000 (GMT) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 30909EB0BF7; Thu, 25 May 2006 17:27:15 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id usoc2ejvXBFy; Thu, 25 May 2006 17:27:12 +0800 (CST) Received: from [10.217.12.139] (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 65834EB0BF2; Thu, 25 May 2006 17:27:12 +0800 (CST) From: Xin LI To: Hajimu UMEMOTO In-Reply-To: References: <20060522012521.GA33030@nagual.pp.ru> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-QSFeJvp03KVv9m9pSdfJ" Organization: The FreeBSD Project Date: Thu, 25 May 2006 17:27:09 +0800 Message-Id: <1148549229.3838.2.camel@spirit> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Cc: current@freebsd.org Subject: misc/compat6x (Re: Libc bumping) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 09:27:18 -0000 --=-QSFeJvp03KVv9m9pSdfJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Perhaps it's time for misc/compat6x? :-) Cheers, --=20 Xin LI http://www.delphij.net/ --=-QSFeJvp03KVv9m9pSdfJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8=E5=88=86?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEdXhthcUczkLqiksRAgxpAJ9Bxrnt1dDy4BQh4fj3p+f2cry5MgCdEQ2Z Vc7VwGP/7a4SsaKq5Ewf7Xo= =qAwV -----END PGP SIGNATURE----- --=-QSFeJvp03KVv9m9pSdfJ-- From owner-freebsd-current@FreeBSD.ORG Thu May 25 10:40:12 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA59716A420 for ; Thu, 25 May 2006 10:40:12 +0000 (UTC) (envelope-from gbergling@0xfce3.net) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id B673543D48 for ; Thu, 25 May 2006 10:40:10 +0000 (GMT) (envelope-from gbergling@0xfce3.net) X-Envelope-From: gbergling@0xfce3.net Received: from central.0xfce3.net (dslb-088-072-036-181.pools.arcor-ip.net [88.72.36.181]) (authenticated bits=128) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id k4PAe3ZU012465 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 25 May 2006 12:40:04 +0200 Received: from central.0xfce3.net (localhost [127.0.0.1]) by central.0xfce3.net (8.13.6/8.13.4) with ESMTP id k4PAe3pc005105; Thu, 25 May 2006 12:40:03 +0200 (CEST) (envelope-from gbergling@0xfce3.net) Received: (from gordon@localhost) by central.0xfce3.net (8.13.6/8.13.4/Submit) id k4PAe0oc005101; Thu, 25 May 2006 12:40:00 +0200 (CEST) (envelope-from gbergling@0xfce3.net) X-Authentication-Warning: central.0xfce3.net: gordon set sender to gbergling@0xfce3.net using -f Date: Thu, 25 May 2006 12:40:00 +0200 From: Gordon Bergling To: Max Laier Message-ID: <20060525104000.GA4962@central.0xfce3.net> References: <20060524180802.GA59176@central.0xfce3.net> <200605250517.12054.max@love2party.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605250517.12054.max@love2party.net> X-Url: X-Operating-System: FreeBSD 6.1-STABLE i386 X-Host-Uptime: 12:28PM up 1:19, 0 users, load averages: 0.08, 0.14, 0.15 User-Agent: Mutt/1.5.11 X-Spam-Score: * (1.189) AWL,BAYES_50,FORGED_RCVD_HELO X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Cc: freebsd-current@freebsd.org Subject: Re: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 10:40:13 -0000 * Thus spake Max Laier (max@love2party.net): > On Wednesday 24 May 2006 20:08, Gordon Bergling wrote: > > a few month ago I ported DragonFlyBSD's IP checksum code to FreeBSD. > > My first try wasn't complete and I had forgotten it by the time. Now I > > hope I have addressed the former mistakes and it maybe included in the > > tree. ;) > > > > The patch can be found at > > http://generic.0xfce3.net/20060524-ipchecksum.patch > > > > This patch modifies the i386, amd64 and pc98 architectures. Matt Dillons > > new implementation is machine indepement, but there are some asm > > files/code with seems for me i386 centric. I don't know assembler, so I > > can't tell much about it. > > I'm a little scared about this. We have had several problems in the > checksumming code that were due to -O2 or -O0 that screwed up just a little > of the assembly and *boom* everything went downhill. I do appreciate you > stepping up porting something useful, but I'd be more comfortable if you > actually knew what you are doing. > > That said, can somebody with real assembly knowledge and maybe even for > sparc64 or the like step up and take a look at this? I think we should not > import something unless we fully understand it! > > I am confident that Matt knew what he was doing, but I am not sure that the > efforts on Dragonfly are compatible with !i386/amd64 ... FreeBSD, however > still cares about big endian architectures and others, don't we? Even if DragonFly implementation isn't compatible with archs ! i386 and derivates isn't it still an improvement on what we have now? My intention of porting it was the following comment in sys/i386/i386/in_cksum.c | * This routine is very heavily used in the network | * code and should be modified for each CPU to be as fast as | * possible. So having a better situated implementation is still an improved. The patch doesn't touch any arch !i386 and derivates, so I don't see any reason why it shouldn't be included. best regards, Gordon -- Gordon Bergling http://www.0xFCE3.net/ PGP Fingerprint: 7732 9BB1 5013 AE8B E42C 28E0 93B9 D32B C76F 02A0 RIPE-HDL: MDTP-RIPE "Minimal Electronic Music" From owner-freebsd-current@FreeBSD.ORG Thu May 25 11:24:28 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8444516A43B; Thu, 25 May 2006 11:24:28 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id F138C43D78; Thu, 25 May 2006 11:24:19 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepa.post.tele.dk (Postfix) with ESMTP id C7DC8FAC04B; Thu, 25 May 2006 13:24:15 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4PBODVI002539; Thu, 25 May 2006 13:24:13 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: small@freebsd.org, current@freebsd.org From: Poul-Henning Kamp Date: Thu, 25 May 2006 13:24:13 +0200 Message-ID: <2538.1148556253@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Subject: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 11:24:36 -0000 FreeBSD is a great operating system for embedded use and people all over the world use this to their advantage. At the developer summit in Ottawa this month (right before the wonderful BSDcan conference) we spent a lot of time talking about what we as developers can do to further this market segment. In FreeBSD we operate very much on the IETFs (now disused ?) principle of "Rough concensus and running code", so rather than a party approved five year plan with explanatory footnotes with obligatory powerpoint, you get this email from me to tell you what to expect in the future. In other words, this email carries little weight in the big scheme of things, but with a little luck, it might could just be how things turn out. Overall Focus ------------- I think we found three main areas where we need to do some work: platforms, packaging and evangelism. Platforms --------- I386 goes without saying. AMD64 may have an embedded future in the high end segment, keeping it "unbloated" is a concern. ARM is going great according to Jean-Mark and Warner, and we are looking for a cheap (< $200) reference platform to point people at. MIPS is a desirable target, and it was generally agreed that it should "Just Be Done" but it's anybodys guess if that turns into somebody "Just Did It". PPC is also interesting and some users talked about having something to contribute in this area, but again, it hasn't happened and we do not know if it will. Packing up FreeBSD ------------------ We think that it is important to make it easy for people to get FreeBSD onto their embedded hardware so that they can start their work by experimenting and customizing rather than figuring out how to get FreeBSD to boot at all. Currently FreeBSD comes in three different packagings: * The official release "Normal disk installations" * The FreeSBIE kit "Run from CDROM etc" * NanoBSD "Run from flash etc" The official release is not really relevant in this context. FreeSBIE is interesting in the upper size of embedded systems, and it is gaining flexibility and features fast. If you have rotating media available, FreeSBIE is probably what you should look at. NanoBSD caters only to the "run read-only from flash" area, call it if you will the "soekris" area. I need to investigate if it makes sense to use the FreeSBIE framework to build nanobsd images. It was generally agreed that we lacked a framework for doing really small systems. NanoBSD uses a subtractive approach ("WITOUT_THIS, WITHOUT_THAT etc") and this breaks down below 32-64 MB storage. For smaller systems, an additive approach would make more sense ("I want /bin/sh, /bin/ls ...") where the framework would do the nasty work of figuring out dependencies (necessary libraries and other files) and most of all, issue a comprehensive report that tells why a particular file was necessary ("/usr/share/termpcap is necessary because of /usr/bin/top"). For now it seems that everybody who works in this "really small" area do their own thing, and nobody directly volunteered to try to do a framework for this kind of thing. An important footnote in this area is that we need to exploit the new generalized WITH_FOO/WITHOUT_FOO build framework to make life easier for embedded systems when new major feature sets come in. I intend to maintain the build-option survey to help with this. Advocacy -------- Right now we do nearly nothing. For our "reference platforms" we need two part webpages. The first half: "to get FreeBSD running on this kit, download this and do that", with pictures, arrows and config file lines etc. The second half: "Here is how to build this image on your own" We also need white-papers, HOW-TO's, magazine articles and so on. Nobody really owned up to any of this. We did however agree that we have the small@ mailing list and that we should use it more (Therefore this email). Conclusion ---------- So, what's the difference ? Good question. At this point mainly an increased awareness on our part that there are (many) people out there using FreeBSD for embedded work and that we should try to generalize our individual hacks to give people something start from. What can you do ? If you work with embedded FreeBSD, I think the best you can do is to chime in to small@freebsd.org, tell us what you are doing (as far as company policy will allow you), and if you have any ideas, wishes, problems, let us hear about them. It would be great if we could park a couple of developers full time on embedded FreeBSD in the future, but that would take some serious financial support from the user community, if you think your company could be persuaded to help with this, get in touch with the FreeBSD foundation. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu May 25 11:55:05 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FF3716A42A for ; Thu, 25 May 2006 11:55:05 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail27.syd.optusnet.com.au (mail27.syd.optusnet.com.au [211.29.133.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A55043D68 for ; Thu, 25 May 2006 11:54:59 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail27.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4PBsnTP010256 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 25 May 2006 21:54:51 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4PBsn8F001564; Thu, 25 May 2006 21:54:49 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4PBsmC5001563; Thu, 25 May 2006 21:54:48 +1000 (EST) (envelope-from peter) Date: Thu, 25 May 2006 21:54:48 +1000 From: Peter Jeremy To: Gordon Bergling Message-ID: <20060525115447.GB724@turion.vk2pj.dyndns.org> References: <20060524180802.GA59176@central.0xfce3.net> <200605250517.12054.max@love2party.net> <20060525104000.GA4962@central.0xfce3.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060525104000.GA4962@central.0xfce3.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: Max Laier , freebsd-current@freebsd.org Subject: Re: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 11:55:06 -0000 On Thu, 2006-May-25 12:40:00 +0200, Gordon Bergling wrote: >* Thus spake Max Laier (max@love2party.net): >> I'm a little scared about this. We have had several problems in the >> checksumming code that were due to -O2 or -O0 that screwed up just a little > | * This routine is very heavily used in the network > | * code and should be modified for each CPU to be as fast as > | * possible. But _correct_ code is far more important. And I'm not sure that comment is still as relevant as it used to be - most (if not all) gigabit NICs have checksum offloading and processors are fast enough that generic checksum code should be "good enough" for most lesser purposes. >So having a better situated implementation is still an improved. The >patch doesn't touch any arch !i386 and derivates, so I don't see any reason >why it shouldn't be included. You stated that you don't understand the code. IP checksumming is a crucial part of the kernel so the Project needs to be very careful about making changes. As Max pointed out, there have been past situations where the checksum code revealed gcc optimiser bugs so any change has to be checked using a variety of compiler flags. The justification needs to be along the lines of "Matt's code is better than the existing code because it does ... instead of ... and this means it makes better use of ...". I respect Matt's technical skills so I am confident that this code works more efficiently in DFBSD but that doesn't mean that it's a drop-in replacement for the equivalent code in FreeBSD. -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Thu May 25 14:04:59 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A13C16A426 for ; Thu, 25 May 2006 14:04:59 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8241D43D6D for ; Thu, 25 May 2006 14:04:48 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E230.dip.t-dialin.net [84.165.226.48]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4PDqO1J040050; Thu, 25 May 2006 15:52:24 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4PE4bUu021091; Thu, 25 May 2006 16:04:38 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Thu, 25 May 2006 16:04:37 +0200 From: Alexander Leidinger To: Peter Jeremy Message-ID: <20060525160437.515b4f3e@Magellan.Leidinger.net> In-Reply-To: <20060525115447.GB724@turion.vk2pj.dyndns.org> References: <20060524180802.GA59176@central.0xfce3.net> <200605250517.12054.max@love2party.net> <20060525104000.GA4962@central.0xfce3.net> <20060525115447.GB724@turion.vk2pj.dyndns.org> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Gordon Bergling , freebsd-current@freebsd.org, Max Laier Subject: Re: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 14:05:00 -0000 Quoting Peter Jeremy (Thu, 25 May 2006 21:54:48 +1000): > On Thu, 2006-May-25 12:40:00 +0200, Gordon Bergling wrote: > >* Thus spake Max Laier (max@love2party.net): > >> I'm a little scared about this. We have had several problems in the > >> checksumming code that were due to -O2 or -O0 that screwed up just a little > > > | * This routine is very heavily used in the network > > | * code and should be modified for each CPU to be as fast as > > | * possible. > > But _correct_ code is far more important. And I'm not sure that comment > is still as relevant as it used to be - most (if not all) gigabit NICs > have checksum offloading and processors are fast enough that generic > checksum code should be "good enough" for most lesser purposes. I don't comment on the GB-NIC part (except for: not everything is GB today...), but regarding the "correct" part above: sorry, but that's exactly the reason why I put up the entry for porting this on our ideas page (it never showed up there, since Gordon took it before the page went life). More below. > >So having a better situated implementation is still an improved. The > >patch doesn't touch any arch !i386 and derivates, so I don't see any reason > >why it shouldn't be included. > > You stated that you don't understand the code. IP checksumming is a > crucial part of the kernel so the Project needs to be very careful about > making changes. As Max pointed out, there have been past situations > where the checksum code revealed gcc optimiser bugs so any change has > to be checked using a variety of compiler flags. These are not bugs in the optimizer, but mostly bugs in our assembly code. I had the same problems with the Intel C compiler. The guys at Intel had a look at the code and told me that it's it no the fault of the compiler, but the code is not done right. Therefore I switched to the plain-C version when icc is used to compile the kernel. Here's a short discussion on our mailinglists where Matt tells a little bit more about it: http://lists.freebsd.org/pipermail/freebsd-arch/2004-June/002271.html Basically most of our "huge assembly one" is reduced to a faster "nearly everything is plain-C and only a small part is done in assembly" version. Bye, Alexander. -- Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Thu May 25 14:12:21 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14FA116A43A; Thu, 25 May 2006 14:12:21 +0000 (UTC) (envelope-from saturnero@freesbie.org) Received: from out2.alice.it (smtp-out03.alice.it [85.37.17.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30E4643D53; Thu, 25 May 2006 14:12:18 +0000 (GMT) (envelope-from saturnero@freesbie.org) Received: from FBCMMO03.fbc.local ([192.168.68.197]) by out2.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 May 2006 16:12:16 +0200 Received: from client.alice.it ([192.168.68.141]) by FBCMMO03.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 May 2006 16:12:16 +0200 Received: from [192.168.99.16] ([87.5.150.129]) by client.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 May 2006 16:12:15 +0200 Message-ID: <4475BB2D.2090609@freesbie.org> Date: Thu, 25 May 2006 16:11:57 +0200 From: Dario Freni User-Agent: Mozilla Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: Poul-Henning Kamp References: <2538.1148556253@critter.freebsd.dk> In-Reply-To: <2538.1148556253@critter.freebsd.dk> X-Enigmail-Version: 0.94.0.0 OpenPGP: url=http://www.saturnero.net/saturnero.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig256F0C934D36CFDAD4DE1242" X-OriginalArrivalTime: 25 May 2006 14:12:16.0218 (UTC) FILETIME=[39F4E3A0:01C68005] Cc: small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 14:12:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig256F0C934D36CFDAD4DE1242 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Poul-Henning Kamp wrote: > FreeSBIE is interesting in the upper size of embedded systems, > and it is gaining flexibility and features fast. If you have > rotating media available, FreeSBIE is probably what you should > look at. >=20 > NanoBSD caters only to the "run read-only from flash" area, call > it if you will the "soekris" area. I need to investigate if it > makes sense to use the FreeSBIE framework to build nanobsd images. For what I've seen, imho NanoBSD could be built with FreeSBIE toolkit simply tweaking the img.sh/flash.sh scripts to reflect its partitioning scheme. The toolkit is also ready to welcome user-overridden scripts. > It was generally agreed that we lacked a framework for doing really > small systems. NanoBSD uses a subtractive approach ("WITOUT_THIS, > WITHOUT_THAT etc") and this breaks down below 32-64 MB storage. >=20 > For smaller systems, an additive approach would make more sense > ("I want /bin/sh, /bin/ls ...") where the framework would do the > nasty work of figuring out dependencies (necessary libraries and > other files) and most of all, issue a comprehensive report that > tells why a particular file was necessary ("/usr/share/termpcap > is necessary because of /usr/bin/top"). FreeSBIE toolkit let you choose (optionally) which file the system must contain in two ways: an additive approach and a substractive one. The first approach consists in a text file containing every file which must be copied to the system, the second one is the opposite: you can specify in a txt which files/directories will be removed from the system. For example pfsense build system use the second approach: http://pfsense.com/cgi-bin/cvsweb.cgi/tools/builder_scripts/remove.list The only problem is that selected files must be compatible with compilation option (i.e.: you can't exclude libraries which you've choose to link binaries with, but atm the toolkit let you do that anyway). The improvements on the build-option survey have been a great step forward. > Right now we do nearly nothing. >=20 > For our "reference platforms" we need two part webpages. >=20 > The first half: "to get FreeBSD running on this kit, download > this and do that", with pictures, arrows and config file lines etc. >=20 > The second half: "Here is how to build this image on your own" >=20 > We also need white-papers, HOW-TO's, magazine articles and so on. >=20 > Nobody really owned up to any of this. >=20 > We did however agree that we have the small@ mailing list and that > we should use it more (Therefore this email). Agree. I can write some HOWTOs about FreeSBIE or NanoBSD if it is needed. We only have a very primordial wiki documentation at wiki.freesbie.org. --=20 Dario Freni (saturnero@freesbie.org) FreeSBIE developer (http://www.freesbie.org) GPG Public key at http://www.saturnero.net/saturnero.asc --------------enig256F0C934D36CFDAD4DE1242 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.1 (Darwin) iD8DBQFEdbswymi72IiShysRAq9BAKChkPrD3HZID3sxORYUYXPbca2I5ACgnhON iDTwSL4tdygnzOtgdWMKZC8= =TdJS -----END PGP SIGNATURE----- --------------enig256F0C934D36CFDAD4DE1242-- From owner-freebsd-current@FreeBSD.ORG Thu May 25 14:47:23 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00F8A16A453; Thu, 25 May 2006 14:47:23 +0000 (UTC) (envelope-from danger@rulez.sk) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E92B43D5F; Thu, 25 May 2006 14:47:20 +0000 (GMT) (envelope-from danger@rulez.sk) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id 9305310E5B8; Thu, 25 May 2006 16:48:10 +0200 (CEST) Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58911-08; Thu, 25 May 2006 16:48:09 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id D2FF310E575; Thu, 25 May 2006 16:48:09 +0200 (CEST) Date: Thu, 25 May 2006 16:47:03 +0200 From: Daniel Gerzo X-Mailer: The Bat! (v3.62.14) Professional X-Priority: 3 (Normal) Message-ID: <858280256.20060525164703@rulez.sk> To: Dario Freni In-Reply-To: <4475BB2D.2090609@freesbie.org> References: <2538.1148556253@critter.freebsd.dk> <4475BB2D.2090609@freesbie.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Cc: Poul-Henning Kamp , small@freebsd.org, current@freebsd.org Subject: Re[2]: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 14:47:23 -0000 Hi Dario, Thursday, May 25, 2006, 4:11:57 PM, you wrote the following: > Agree. I can write some HOWTOs about FreeSBIE or NanoBSD if it is > needed. We only have a very primordial wiki documentation at > wiki.freesbie.org. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/ If you have any more information that should be included, just write me an mail and we can work it out :-) -- Sincerely, Daniel Gerzo From owner-freebsd-current@FreeBSD.ORG Thu May 25 14:37:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0B9516A6C0; Thu, 25 May 2006 14:37:27 +0000 (UTC) (envelope-from daichi@freebsd.org) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.232.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E08243D8A; Thu, 25 May 2006 14:37:16 +0000 (GMT) (envelope-from daichi@freebsd.org) Received: from [192.168.1.101] (dullmdaler.ongs.co.jp [202.216.232.62]) by natial.ongs.co.jp (Postfix) with ESMTP id 2355F244C3A; Thu, 25 May 2006 23:37:15 +0900 (JST) Message-ID: <4475C119.1020305@freebsd.org> Date: Thu, 25 May 2006 23:37:13 +0900 From: Daichi GOTO User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-fs@freebsd.org References: <43E5D052.3020207@freebsd.org> <43E656C7.8040302@freesbie.org> <43E6D5C8.4050405@freebsd.org> <43E71485.5040901@freesbie.org> <43E73330.8070101@freebsd.org> <43EB4C00.2030101@freebsd.org> <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> <444E13BA.8050902@freebsd.org> In-Reply-To: <444E13BA.8050902@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 25 May 2006 15:08:47 +0000 Cc: ozawa@ongs.co.jp, dkirhlarov@oilspace.com, Daichi GOTO , meianoite@gmail.com, kris@obsecurity.org, Alexander@Leidinger.net, Dario Freni Subject: [ANN] unionfs patchset-12 release X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 14:37:36 -0000 Hi Guys! It is my pleasure and honor to announce the availability of the unionfs patchset-12. Patchset-12: For 7-current http://people.freebsd.org/~daichi/unionfs/unionfs-p12.diff For 6.x http://people.freebsd.org/~daichi/unionfs/unionfs6-p12.diff Changes in unionfs-p12.diff - Fixed a bug that responses without lock when share lock is requested with VOP_LOOKUP. - Fixed a bug that leads lock-around panic on FreeBSD 6.x. - others, misc bug fixes The documents of those unionfs patches: http://people.freebsd.org/~daichi/unionfs/ (English) http://people.freebsd.org/~daichi/unionfs/index-ja.html (Japanese) Guys taking some panic troubles with p11, please try the p12 :) We think that p12 is better stable than p11. Thanks -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-current@FreeBSD.ORG Thu May 25 15:37:47 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B605516A704 for ; Thu, 25 May 2006 15:37:47 +0000 (UTC) (envelope-from b-tuck@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id EFF9643D48 for ; Thu, 25 May 2006 15:37:46 +0000 (GMT) (envelope-from b-tuck@gmx.net) Received: (qmail 1495 invoked by uid 0); 25 May 2006 15:37:43 -0000 Received: 62.180.31.25 by service.gmx.net with HTTP; Thu, 25 May 2006 17:37:43 +0200 (CEST) X-Flags: 0001 Message-ID: <20060525153743.268850@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Thu, 25 May 2006 17:37:43 +0200 from: b-tuck@gmx.net to: current@freebsd.org X-Authenticated: #3864747 X-Mailer: WWW-Mail 6100 (Global Message Exchange) x-priority: 3 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Broadcom ServerWorks HT-1000 support in OpenBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 15:37:49 -0000 >Mike Jakubik wrote: >> Søren Schmidt wrote: >>> Mike Jakubik wrote: >>>> It seems like OpenBSD 3.9 has support for the HT-1000 IDE/SATA >>>> chipset, and we are still missing it. Is there any way to port their >>>> code over? There are a few nice motherboards out there that use this >>>> chipset (most amd server boards use the crappy nvidia chipset and >>>> the accompanying crappy network card). >>> >>> I've been promised a board with the serverworks chipset on it so I >>> can get support running, as you can probably figure out it hasn't >>> materialized yet, and no timeline as to when/if. >>> The Openbsd code is of as much use as the Linux counterpart. I need >>> HW to test and maintain support, simple as that... >> >The hardware to support this stuff should go out this week to Søren. hi, i just wanted to know if the driver is already ported to freebsd. if not how long does it approximately take? ~ jb -- Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer! Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer From owner-freebsd-current@FreeBSD.ORG Thu May 25 15:38:17 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5687816A884; Thu, 25 May 2006 15:38:17 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id D98CC43D4C; Thu, 25 May 2006 15:38:16 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepc.post.tele.dk (Postfix) with ESMTP id 9F80E8A0059; Thu, 25 May 2006 17:38:15 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4PFcCeO003501; Thu, 25 May 2006 17:38:13 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Jim Thompson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 25 May 2006 05:27:30 -1000." <472414CE-94E8-4C8A-9586-DCA9E02A53C3@netgate.com> Date: Thu, 25 May 2006 17:38:12 +0200 Message-ID: <3500.1148571492@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 15:38:21 -0000 In message <472414CE-94E8-4C8A-9586-DCA9E02A53C3@netgate.com>, Jim Thompson wri tes: >> NanoBSD caters only to the "run read-only from flash" area, call >> it if you will the "soekris" area. I need to investigate if it >> makes sense to use the FreeSBIE framework to build nanobsd images. > >All soekris boards have CF, which looks, for all the world like an >IDE drive. > >"real" flash is quite different. NanoBSD works fine with "raw" flash as well because it is practically read-only. Writing a flash-friendly-filesystem would be a good project. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu May 25 15:27:35 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9CA516A423; Thu, 25 May 2006 15:27:35 +0000 (UTC) (envelope-from jim@netgate.com) Received: from netgate.com (mail.netgate.com [64.62.194.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 844E543D46; Thu, 25 May 2006 15:27:35 +0000 (GMT) (envelope-from jim@netgate.com) Received: from [192.168.2.184] (rrcs-67-52-77-54.west.biz.rr.com [67.52.77.54]) by netgate.com (Postfix) with ESMTP id E706D28000D; Thu, 25 May 2006 08:27:31 -0700 (PDT) In-Reply-To: <2538.1148556253@critter.freebsd.dk> References: <2538.1148556253@critter.freebsd.dk> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <472414CE-94E8-4C8A-9586-DCA9E02A53C3@netgate.com> Content-Transfer-Encoding: 7bit From: Jim Thompson Date: Thu, 25 May 2006 05:27:30 -1000 To: Poul-Henning Kamp X-Mailer: Apple Mail (2.750) X-Mailman-Approved-At: Thu, 25 May 2006 16:07:32 +0000 Cc: small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 15:27:38 -0000 On May 25, 2006, at 1:24 AM, Poul-Henning Kamp wrote: > Platforms > --------- > > I386 goes without saying. > > AMD64 may have an embedded future in the high end segment, keeping > it "unbloated" is a concern. > > ARM is going great according to Jean-Mark and Warner, and we are > looking for a cheap (< $200) reference platform to point people at. These are available. Someone else was asking (privately) for sub- $100, which is (much) more difficult. > NanoBSD caters only to the "run read-only from flash" area, call > it if you will the "soekris" area. I need to investigate if it > makes sense to use the FreeSBIE framework to build nanobsd images. All soekris boards have CF, which looks, for all the world like an IDE drive. "real" flash is quite different. Soekris (and the PC Engines boards) are a proper subset of i386, and should be treated as such. > For now it seems that everybody who works in this "really small" > area do their own thing, and nobody directly volunteered to try > to do a framework for this kind of thing. > > An important footnote in this area is that we need to exploit the > new generalized WITH_FOO/WITHOUT_FOO build framework to make life > easier for embedded systems when new major feature sets come in. > I intend to maintain the build-option survey to help with this. David Cornejo did some excellent work with picoBSD that resembles this. > What can you do ? > > If you work with embedded FreeBSD, I think the best you can do is to > chime in to small@freebsd.org, tell us what you are doing (as far as > company policy will allow you), and if you have any ideas, wishes, > problems, let us hear about them. I'm looking for the time to get FreeBSD running on the Gateworks Xscale (arm) boards. These are interesting to me for a couple reasons, but the most important is that most of the boards come with a CF socket, which means not having to deal with smaller flash sizes, and/or dealing with a FFS at the FreeBSD level (for now). Jim From owner-freebsd-current@FreeBSD.ORG Thu May 25 15:29:11 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F7D816A716 for ; Thu, 25 May 2006 15:29:11 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from pip.tenebras.com (pip.tenebras.com [216.27.179.43]) by mx1.FreeBSD.org (Postfix) with SMTP id 6E4D643D55 for ; Thu, 25 May 2006 15:29:10 +0000 (GMT) (envelope-from kudzu@tenebras.com) Received: (qmail 61808 invoked from network); 25 May 2006 15:29:06 -0000 Received: from daggoo.tenebras.com (HELO ?127.0.0.1?) (192.168.188.60) by pip.tenebras.com with SMTP; 25 May 2006 15:29:06 -0000 Message-ID: <4475CD42.2010509@tenebras.com> Date: Thu, 25 May 2006 08:29:06 -0700 From: Michael Sierchio User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Poul-Henning Kamp References: <2538.1148556253@critter.freebsd.dk> In-Reply-To: <2538.1148556253@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 25 May 2006 16:08:08 +0000 Cc: small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 15:29:12 -0000 Poul-Henning Kamp wrote: > For smaller systems, an additive approach would make more sense Amen. For larger systems, too, IMHO. I've been saying this for years, but even those things which we think of as necessary for most installs (MTA, DNS, toolchain) should be packages. The task of paring down what's in /bin /sbin /usr/bin /usr/sbin, followed by removing anything in /usr/lib that isn't reported as a dependency by ldd, has been a constant tedium. From owner-freebsd-current@FreeBSD.ORG Thu May 25 15:52:29 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4F6D16A69E; Thu, 25 May 2006 15:52:29 +0000 (UTC) (envelope-from jim@netgate.com) Received: from netgate.com (mail.netgate.com [64.62.194.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91EFD43D48; Thu, 25 May 2006 15:52:29 +0000 (GMT) (envelope-from jim@netgate.com) Received: from [192.168.2.184] (rrcs-67-52-77-54.west.biz.rr.com [67.52.77.54]) by netgate.com (Postfix) with ESMTP id 6AD2328000D; Thu, 25 May 2006 08:52:28 -0700 (PDT) In-Reply-To: <3500.1148571492@critter.freebsd.dk> References: <3500.1148571492@critter.freebsd.dk> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <907CC8FB-4CCC-47E4-A5D9-33340F1351DE@netgate.com> Content-Transfer-Encoding: 7bit From: Jim Thompson Date: Thu, 25 May 2006 05:52:27 -1000 To: "Poul-Henning Kamp" X-Mailer: Apple Mail (2.750) X-Mailman-Approved-At: Thu, 25 May 2006 16:09:05 +0000 Cc: small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 15:52:35 -0000 On May 25, 2006, at 5:38 AM, Poul-Henning Kamp wrote: > In message <472414CE-94E8-4C8A-9586-DCA9E02A53C3@netgate.com>, Jim > Thompson wri > tes: > >>> NanoBSD caters only to the "run read-only from flash" area, call >>> it if you will the "soekris" area. I need to investigate if it >>> makes sense to use the FreeSBIE framework to build nanobsd images. >> >> All soekris boards have CF, which looks, for all the world like an >> IDE drive. >> >> "real" flash is quite different. > > NanoBSD works fine with "raw" flash as well because it is practically > read-only. OK, there are other read-only distros too (the pfsense 'embedded' one is all but RO). Technically, if one could squeeze NanoBSD into 4-8MB, we could use the pfsense/ m0n0 XML-based config system, and just keep the config file in a single (or small number) of flash sectors at the end of the device. A similar configuration system that didn't require PHP would be even better. Then we just need to (perhaps) re-implement/replace the linux "mtd" system, and a F(F)FS can wait a bit. > Writing a flash-friendly-filesystem would be a good project. Indeed. Is there any reason to not approach Intel about a bit of 'funding' for FreeBSD on Xscale? They poured some cash on Wasabi for a similar effort on NetBSD. From owner-freebsd-current@FreeBSD.ORG Thu May 25 16:14:17 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 555C716A84A; Thu, 25 May 2006 16:14:17 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id A742D43D55; Thu, 25 May 2006 16:14:16 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E230.dip.t-dialin.net [84.165.226.48]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4PG1wan040615; Thu, 25 May 2006 18:01:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4PGEDan039509; Thu, 25 May 2006 18:14:13 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Thu, 25 May 2006 18:14:12 +0200 From: Alexander Leidinger To: "Poul-Henning Kamp" Message-ID: <20060525181412.4776f10b@Magellan.Leidinger.net> In-Reply-To: <3500.1148571492@critter.freebsd.dk> References: <472414CE-94E8-4C8A-9586-DCA9E02A53C3@netgate.com> <3500.1148571492@critter.freebsd.dk> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Jim Thompson , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 16:14:25 -0000 Quoting "Poul-Henning Kamp" (Thu, 25 May 2006 17:38:12 +0200): > Writing a flash-friendly-filesystem would be a good project. Feel free to send a nice description for the ideas page for this. Bye, Alexander. -- Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Thu May 25 16:22:59 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73A7416A619 for ; Thu, 25 May 2006 16:22:59 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EEA143D7F for ; Thu, 25 May 2006 16:21:12 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.6/8.13.6) with ESMTP id k4PGKVEk017526 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 25 May 2006 12:20:31 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id k4PGKHJR056008; Thu, 25 May 2006 12:20:17 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17525.55617.272397.806798@grasshopper.cs.duke.edu> Date: Thu, 25 May 2006 12:20:17 -0400 (EDT) To: Peter Jeremy In-Reply-To: <20060525115447.GB724@turion.vk2pj.dyndns.org> References: <20060524180802.GA59176@central.0xfce3.net> <200605250517.12054.max@love2party.net> <20060525104000.GA4962@central.0xfce3.net> <20060525115447.GB724@turion.vk2pj.dyndns.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Cc: Gordon Bergling , freebsd-current@freebsd.org, Max Laier Subject: Re: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 16:23:05 -0000 Peter Jeremy writes: > On Thu, 2006-May-25 12:40:00 +0200, Gordon Bergling wrote: > >* Thus spake Max Laier (max@love2party.net): > >> I'm a little scared about this. We have had several problems in the > >> checksumming code that were due to -O2 or -O0 that screwed up just a little > > > | * This routine is very heavily used in the network > > | * code and should be modified for each CPU to be as fast as > > | * possible. > > But _correct_ code is far more important. And I'm not sure that comment > is still as relevant as it used to be - most (if not all) gigabit NICs > have checksum offloading and processors are fast enough that generic > checksum code should be "good enough" for most lesser purposes. The benchmark quoted in the original post is interesting in that it is the best example of where improving the checksumming code would help, yet we really should not be checksumming packets sent across lo0 anyway. If we're going to do anything, I'd prefer to see us skip the checksum on everything sent across lo0 and stick with the slower, yet known to work, existing checksum code for slow interfaces. Drew From owner-freebsd-current@FreeBSD.ORG Thu May 25 16:37:30 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A03116AC34; Thu, 25 May 2006 16:37:30 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA20643D58; Thu, 25 May 2006 16:37:29 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepc.post.tele.dk (Postfix) with ESMTP id E55368A0051; Thu, 25 May 2006 18:37:28 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4PGbQY2003724; Thu, 25 May 2006 18:37:26 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Alexander Leidinger From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 25 May 2006 18:14:12 +0200." <20060525181412.4776f10b@Magellan.Leidinger.net> Date: Thu, 25 May 2006 18:37:26 +0200 Message-ID: <3723.1148575046@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Jim Thompson , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 16:37:35 -0000 In message <20060525181412.4776f10b@Magellan.Leidinger.net>, Alexander Leidinge r writes: >Quoting "Poul-Henning Kamp" (Thu, 25 May 2006 17:38:12 +0200): > >> Writing a flash-friendly-filesystem would be a good project. > >Feel free to send a nice description for the ideas page for this. I can't. I have an NDA preventing me from pretty much any work in that area. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu May 25 16:46:36 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72EF216ACBA; Thu, 25 May 2006 16:46:36 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3460943D48; Thu, 25 May 2006 16:46:36 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.11) with ESMTP id k4PGkZEu050430; Thu, 25 May 2006 09:46:35 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id k4PGkZ7u050429; Thu, 25 May 2006 09:46:35 -0700 (PDT) (envelope-from rizzo) Date: Thu, 25 May 2006 09:46:35 -0700 From: Luigi Rizzo To: Poul-Henning Kamp Message-ID: <20060525094635.B50250@xorpc.icir.org> References: <20060525181412.4776f10b@Magellan.Leidinger.net> <3723.1148575046@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3723.1148575046@critter.freebsd.dk>; from phk@phk.freebsd.dk on Thu, May 25, 2006 at 06:37:26PM +0200 Cc: Alexander Leidinger , Jim Thompson , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 16:46:40 -0000 On Thu, May 25, 2006 at 06:37:26PM +0200, Poul-Henning Kamp wrote: > In message <20060525181412.4776f10b@Magellan.Leidinger.net>, Alexander Leidinge > r writes: > >Quoting "Poul-Henning Kamp" (Thu, 25 May 2006 17:38:12 +0200): > > > >> Writing a flash-friendly-filesystem would be a good project. > > > >Feel free to send a nice description for the ideas page for this. > > I can't. I have an NDA preventing me from pretty much any work > in that area. I am sure it is not your case, but it really sounds like a line for the Wally character in a Dilbert strip :) cheers luigi From owner-freebsd-current@FreeBSD.ORG Thu May 25 16:52:03 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 207C616AD51; Thu, 25 May 2006 16:52:03 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3C9043D4C; Thu, 25 May 2006 16:52:02 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepb.post.tele.dk (Postfix) with ESMTP id D3A7CA5001D; Thu, 25 May 2006 18:51:52 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4PGpUKg003813; Thu, 25 May 2006 18:51:33 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Luigi Rizzo From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 25 May 2006 09:46:35 PDT." <20060525094635.B50250@xorpc.icir.org> Date: Thu, 25 May 2006 18:51:30 +0200 Message-ID: <3812.1148575890@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Alexander Leidinger , Jim Thompson , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 16:52:08 -0000 In message <20060525094635.B50250@xorpc.icir.org>, Luigi Rizzo writes: >On Thu, May 25, 2006 at 06:37:26PM +0200, Poul-Henning Kamp wrote: >> In message <20060525181412.4776f10b@Magellan.Leidinger.net>, Alexander Leidinge >> r writes: >> >Quoting "Poul-Henning Kamp" (Thu, 25 May 2006 17:38:12 +0200): >> > >> >> Writing a flash-friendly-filesystem would be a good project. >> > >> >Feel free to send a nice description for the ideas page for this. >> >> I can't. I have an NDA preventing me from pretty much any work >> in that area. > >I am sure it is not your case, but it really sounds like a line >for the Wally character in a Dilbert strip :) I can neither confirm nor deny the vicious rumours that I derive 20% of my in come from being artistic inspiration for the Dilbert strip :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu May 25 17:00:50 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDC8416AA88 for ; Thu, 25 May 2006 17:00:50 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA80943D7E for ; Thu, 25 May 2006 17:00:41 +0000 (GMT) (envelope-from gexlie@gmail.com) Received: by nz-out-0102.google.com with SMTP id m22so1796150nzf for ; Thu, 25 May 2006 10:00:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ar6mPzxmZqJm1XoAoleONE/PakLTA2AtkQRajSjJkCoDSJY3SXQZERt7G7QbGG+46k60PvcxR0b6D2D+hGzeUlo1ZgZCs6Q5NoRL1TB7XEUsQx1Fb5oiwceZs2z/Xta/YVuobCz9YiuOEncdoR5TLqoEFz96fSqGEzws25bpU6s= Received: by 10.65.20.9 with SMTP id x9mr4369048qbi; Thu, 25 May 2006 10:00:34 -0700 (PDT) Received: by 10.64.150.10 with HTTP; Thu, 25 May 2006 10:00:34 -0700 (PDT) Message-ID: <53cc795f0605251000w7aa13370mcfbf6f8e4f259f6d@mail.gmail.com> Date: Thu, 25 May 2006 21:00:34 +0400 From: sekes To: "Christian S.J. Peron" In-Reply-To: <44674BDA.7040300@FreeBSD.org> MIME-Version: 1.0 References: <53cc795f0605131026n2d9a5776jd75630e3f9505e55@mail.gmail.com> <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> <20060514062825.W54242@maildrop.int.zabbadoz.net> <53cc795f0605140348u769b6b0bkc62d28652b6b3ec3@mail.gmail.com> <44674BDA.7040300@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Bjoern A. Zeeb" , freebsd-current@freebsd.org Subject: Re: deadlock every 15-20 min X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 17:00:53 -0000 today after several weeks i upgraded the box and that's my results: in /boot/loader.conf: debug.mpsafenet=3D0 geom_eli_load=3D"YES" dummynet_load=3D"YES" ipdivert_load=3D"YES" uname -a FreeBSD xnet.nnov.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Thu May 25 09:30:5= 5 MSD 2006 root@xnet.nnov.ru:/usr/obj/usr/src/sys/GENERIC i386 during the boot everything is fine. but when i type `ppp -ddial myprovider` i'm getting this: WARNING: attempt to net_add_domain(netgraph) after domainfinalize() panic: mutex Giant not owned at /usr/src/sys/net/if.c:2209 cpuid =3D 0 KDB: enter: panic [ thread pid 12 tid 10004 ] Stopped at kdb_enter+0x2b: nop after this crash i have unload all of the firewall modules as ipfw.ko, ipdivert.ko, dummynet.ko but nothing changed. On 5/14/06, Christian S.J. Peron wrote: > > > > This is very similar to the UID/GID filtering problem. What appears to > be happening is on the inbound path, we pickup the pfil lock and attempt > to pickup the inp info lock, while on the outbound path, we hold the inp > info lock across ip_output which will try to pickup the pfil lock. > > This problem is the result of a layering violation, in reality the > firewall should not be picking up layer 4 related locks. Myself and a > few others have been discussing this problem for quite some time now, > and hopefully it won't be long before we can come up with a solution > that will make everyone happy. > > For now, you should be able to set debug.mpsafenet to 0 which will > re-enable Giant in the network stack, in theory preventing the deadlock. > > debug.mpsafenet=3D0 > > in your loader.conf > > Let me know if this helps > > > sekes wrote: > > On 5/14/06, Bjoern A. Zeeb wrote: > >> > >> On Sun, 14 May 2006, sekes wrote: > >> > >> > lock order reversal: > >> > 1st 0xc2b8b090 inp (divinp) @ > >> > /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:336 > >> > 2nd 0xc0a44db8 PFil hook read/write mutex (PFil hook read/write > >> mutex) @ > >> > /usr/src/sys/net/pfil.c:73 > >> > >> looks almost the same as LOR #181: > >> http://sources.zabbadoz.net/freebsd/lor.html#181 > >> but without the div_output(). > >> > >> -- > >> Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT > >> > > > > yes, it is similar to my situation. may i know when it could be fixed? > > _______________________________________________ > > 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" > > > > > -- > Christian S.J. Peron > csjp@FreeBSD.ORG > FreeBSD Committer > FreeBSD Security Team > > From owner-freebsd-current@FreeBSD.ORG Thu May 25 17:11:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31A3616A4A5 for ; Thu, 25 May 2006 17:11:09 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from mail.ciam.ru (ns.ciam.ru [213.247.195.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDE6343D46 for ; Thu, 25 May 2006 17:11:08 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from [87.240.16.199] (helo=[192.168.0.4]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1FjJMY-0007uM-V0 for freebsd-current@freebsd.org; Thu, 25 May 2006 21:11:07 +0400 Message-ID: <4475E51A.4090004@FreeBSD.org> Date: Thu, 25 May 2006 21:10:50 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.2 (X11/20060429) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: geli stops work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 17:11:10 -0000 After I've refreshed my current box, geli(8) does not work anymore. geli attach makes /dev/md0c.eli without a problem but I've got an error on mount: # mount /dev/md0c.eli /mnt1 mount: /dev/md0c.eli: Operation not permitted What's up? My geli disk unavailable now. -- Dixi. Sem. From owner-freebsd-current@FreeBSD.ORG Thu May 25 17:31:17 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 332D116AFE3 for ; Thu, 25 May 2006 17:31:17 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46CB943D69 for ; Thu, 25 May 2006 17:31:15 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.6/8.13.6) with ESMTP id k4PHVE0e002089 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 25 May 2006 13:31:14 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id k4PHV2SL056076; Thu, 25 May 2006 13:31:02 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17525.59862.203437.851297@grasshopper.cs.duke.edu> Date: Thu, 25 May 2006 13:31:02 -0400 (EDT) To: John Birrell In-Reply-To: <20060525065510.GA20475@what-creek.com> References: <20060525065510.GA20475@what-creek.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Cc: current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 17:31:18 -0000 John Birrell writes: > We've got the following providers: > > - dtrace > - profile > - syscall > - sdt > - fbt > > As of today, loading those providers on a GENERIC kernel gives 32,519 probes. Awesome! As somebody who does a lot of driver development on Solaris, I feel naked without dtrace. I'm very glad it is coming to FreeBSD. Do you plan to also port lockstat? That could be very useful in the ongoing SMPng'ification of the kernel. Drew From owner-freebsd-current@FreeBSD.ORG Thu May 25 17:36:16 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA79B16A582; Thu, 25 May 2006 17:36:16 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F80E43D48; Thu, 25 May 2006 17:36:16 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepc.post.tele.dk (Postfix) with ESMTP id EC0FA8A002E; Thu, 25 May 2006 19:36:12 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4PHa95Z003982; Thu, 25 May 2006 19:36:10 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "Andrew Atrens" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 25 May 2006 13:30:04 EDT." <4475E99C.5000502@nortel.com> Date: Thu, 25 May 2006 19:36:09 +0200 Message-ID: <3981.1148578569@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Alexander Leidinger , Jim Thompson , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 17:36:18 -0000 In message <4475E99C.5000502@nortel.com>, "Andrew Atrens" writes: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Seems to me you'd want a kernel that could boot off raw >flash and run in RAM off a small RAM disk. > >Said kernel would have a low level driver that makes plain >old flash chips look (and behave) like a disk. It would support >wear-levelling, [...] > >Then you could throw FFS on top of that. This is exactly what you do not want to do. You want to write a flash friendly filesystem which knows what a flash is, and which does the wear levelling internally. The reason Flash Adaptation Layers came about in the first place is that W95 didn't support anything but FAT. Don't propagate that mistake. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu May 25 17:00:49 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1394F16AA5B for ; Thu, 25 May 2006 17:00:49 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from pip.tenebras.com (pip.tenebras.com [216.27.179.43]) by mx1.FreeBSD.org (Postfix) with SMTP id 4E89943D79 for ; Thu, 25 May 2006 17:00:38 +0000 (GMT) (envelope-from kudzu@tenebras.com) Received: (qmail 62910 invoked from network); 25 May 2006 17:00:36 -0000 Received: from daggoo.tenebras.com (HELO ?127.0.0.1?) (192.168.188.60) by pip.tenebras.com with SMTP; 25 May 2006 17:00:36 -0000 Message-ID: <4475E2B3.3070007@tenebras.com> Date: Thu, 25 May 2006 10:00:35 -0700 From: Michael Sierchio User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Poul-Henning Kamp References: <3812.1148575890@critter.freebsd.dk> In-Reply-To: <3812.1148575890@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 25 May 2006 17:54:27 +0000 Cc: current@freebsd.org, Luigi Rizzo , small@freebsd.org, Alexander Leidinger Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 17:00:53 -0000 Poul-Henning Kamp wrote: > I can neither confirm nor deny the vicious rumours that I derive > 20% of my in come from being artistic inspiration for the Dilbert > strip :-) > PHK == PHB???? '-) From owner-freebsd-current@FreeBSD.ORG Thu May 25 17:30:40 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB3BB16A527; Thu, 25 May 2006 17:30:40 +0000 (UTC) (envelope-from ATRENS@nortel.com) Received: from zcars04f.nortel.com (zcars04f.nortel.com [47.129.242.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5E4743D5E; Thu, 25 May 2006 17:30:37 +0000 (GMT) (envelope-from ATRENS@nortel.com) Received: from zcarhxm2.corp.nortel.com (zcarhxm2.corp.nortel.com [47.129.230.99]) by zcars04f.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id k4PHUGS12498; Thu, 25 May 2006 13:30:16 -0400 (EDT) Received: from [10.0.10.2] ([47.128.166.148] RDNS failed) by zcarhxm2.corp.nortel.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 May 2006 13:30:12 -0400 Message-ID: <4475E99C.5000502@nortel.com> Date: Thu, 25 May 2006 13:30:04 -0400 From: "Andrew Atrens" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051129) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <3723.1148575046@critter.freebsd.dk> In-Reply-To: <3723.1148575046@critter.freebsd.dk> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 May 2006 17:30:12.0757 (UTC) FILETIME=[E0ECEC50:01C68020] X-Mailman-Approved-At: Thu, 25 May 2006 17:54:48 +0000 Cc: Alexander Leidinger , Jim Thompson , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 17:30:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Seems to me you'd want a kernel that could boot off raw flash and run in RAM off a small RAM disk. Said kernel would have a low level driver that makes plain old flash chips look (and behave) like a disk. It would support wear-levelling, and (with data sheet in hand) could be statically configured to match the flash it's targetted to run on. Things like base address, device size, sector size, and all the timing stuff you need to worry about with flash. Then you could throw FFS on top of that. I understand Jim's preference for CF in that it handles all that stuff (including the wear-leveling) automatically, and then there's the convenience factor of having the media 'removable'. But you can reduce footprint and cost a lot if you could run off plain old flash or something like an M-systems doc device. I'm thinking there's a good chunk of the embedded market that has that requirement. Andrew. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEdemc8It2CaCdeMwRAhscAKCfBBt5/zWDAmmsuCCq//r3UzqwkgCfSEEd BS4ixNE+qGEPrrWGNM8YFVM= =xxAt -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Thu May 25 17:57:06 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1E9316B18B; Thu, 25 May 2006 17:57:06 +0000 (UTC) (envelope-from ATRENS@nortel.com) Received: from zcars04f.nortel.com (zcars04f.nortel.com [47.129.242.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72F5043D8A; Thu, 25 May 2006 17:56:46 +0000 (GMT) (envelope-from ATRENS@nortel.com) Received: from zcarhxm2.corp.nortel.com (zcarhxm2.corp.nortel.com [47.129.230.99]) by zcars04f.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id k4PHuQS19545; Thu, 25 May 2006 13:56:26 -0400 (EDT) Received: from [10.0.10.2] ([47.128.166.148] RDNS failed) by zcarhxm2.corp.nortel.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 May 2006 13:56:25 -0400 Message-ID: <4475EFC1.1020504@nortel.com> Date: Thu, 25 May 2006 13:56:17 -0400 From: "Andrew Atrens" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051129) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <3981.1148578569@critter.freebsd.dk> In-Reply-To: <3981.1148578569@critter.freebsd.dk> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 May 2006 17:56:25.0253 (UTC) FILETIME=[8A34C550:01C68024] X-Mailman-Approved-At: Thu, 25 May 2006 17:58:47 +0000 Cc: Alexander Leidinger , Jim Thompson , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 17:57:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Poul-Henning Kamp wrote: > In message <4475E99C.5000502@nortel.com>, "Andrew Atrens" writes: > >>-----BEGIN PGP SIGNED MESSAGE----- >>Hash: SHA1 >> >>Seems to me you'd want a kernel that could boot off raw >>flash and run in RAM off a small RAM disk. >> >>Said kernel would have a low level driver that makes plain >>old flash chips look (and behave) like a disk. It would support >>wear-levelling, [...] >> >>Then you could throw FFS on top of that. > > > This is exactly what you do not want to do. > > You want to write a flash friendly filesystem which knows what > a flash is, and which does the wear levelling internally. > > The reason Flash Adaptation Layers came about in the first place > is that W95 didn't support anything but FAT. Hmm. I was thinking about partitioning the problem actually. Make flash look like a disk and then you can put any filesystem on it that you want. Seems a heck of a lot simpler .. and I'm not sure if I see any drawbacks to doing it that way ... Having said that, it would be great if we had a solid log-structured filesystem for *BSD. Andrew. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEde/B8It2CaCdeMwRAjQUAJ90eJNuU2aJW8UogdMPSC3RTfBwqwCfWdvB lKUuNnxUbyP6LM5vKrdLs2o= =E72s -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Thu May 25 18:10:00 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D4D516A606; Thu, 25 May 2006 18:10:00 +0000 (UTC) (envelope-from olivier@gautherot.net) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77AD743D4C; Thu, 25 May 2006 18:09:59 +0000 (GMT) (envelope-from olivier@gautherot.net) Received: from imp2-g19.free.fr (imp2-g19.free.fr [212.27.42.2]) by smtp2-g19.free.fr (Postfix) with ESMTP id B9C567118D; Thu, 25 May 2006 20:09:58 +0200 (CEST) Received: by imp2-g19.free.fr (Postfix, from userid 33) id 8BF8061A3; Thu, 25 May 2006 20:09:58 +0200 (CEST) Received: from 200.54.71.227 ([200.54.71.227]) by imp2-g19.free.fr (IMP) with HTTP for ; Thu, 25 May 2006 20:09:58 +0200 Message-ID: <1148580598.4475f2f677197@imp2-g19.free.fr> Date: Thu, 25 May 2006 20:09:58 +0200 From: Olivier Gautherot To: Andrew Atrens References: <3981.1148578569@critter.freebsd.dk> <4475EFC1.1020504@nortel.com> In-Reply-To: <4475EFC1.1020504@nortel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 200.54.71.227 X-Mailman-Approved-At: Thu, 25 May 2006 18:20:01 +0000 Cc: Alexander Leidinger , Poul-Henning Kamp , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:10:05 -0000 Hi Andrew! > [...] > > The reason Flash Adaptation Layers came about in the first place > > is that W95 didn't support anything but FAT. > > > Hmm. I was thinking about partitioning the problem actually. Make flash > look like a disk and then you can put any filesystem on it that you > want. Seems a heck of a lot simpler .. and I'm not sure if I see any > drawbacks to doing it that way ... The drawback is the following: what would happen if you had an application opening-writing-closing a file in /var/log on a regular basis? The block would decay with time, with chances that your log even gets corrupted. That's why Flash drivers have to spread write accesses across the device (what FFS doesn't naturally do). Also, there is a constraint regarding the changes allowed: on NAND flash, you can write a 0 on a bit but have to erase the full block to write a 1 back. Don't forget that Flash doesn't suffer from mechanical delays so there is no harm in fragmenting the filesystem: this would be another feature. My cent worth ;-) -- Olivier Gautherot olivier@gautherot.net Tel: +56 8 730 9361 From owner-freebsd-current@FreeBSD.ORG Thu May 25 18:27:48 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D865D16B2C1 for ; Thu, 25 May 2006 18:27:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44A6143D69 for ; Thu, 25 May 2006 18:27:33 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.0.1.114] (nat-outside.atlanta.corp.yahoo.com [63.172.193.57]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4PIRVYR004404; Thu, 25 May 2006 14:27:32 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: "Ben Kaduk" Date: Thu, 25 May 2006 13:49:20 -0400 User-Agent: KMail/1.9.1 References: <200605241556.44483.jhb@freebsd.org> <47d0403c0605241341k54586435xa76fa1e90a9e408e@mail.gmail.com> In-Reply-To: <47d0403c0605241341k54586435xa76fa1e90a9e408e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605251349.20316.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1484/Thu May 25 11:19:23 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: current@freebsd.org Subject: Re: [PATCH] if_dc cleanups.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:27:55 -0000 On Wednesday 24 May 2006 16:41, Ben Kaduk wrote: > On 5/24/06, John Baldwin wrote: > > I've changed if_dc to use the full 32-bit device ID instead of just the lower > > 16-bit device ID in dc_attach() so that it doesn't have to deal with hacks > > like the FAKE device and to make it easier to add new device IDs that have > > collisions in the future. I've compiled it but have no dc(4) hardware to > > test with, so please test. Patch is available at: > > > > http://www.FreeBSD.org/~jhb/patches/if_dc.patch > > > > -- > > John Baldwin > > _______________________________________________ > > 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" > > > > John, > > I have an old machine running 6.0 with a dc card in it. Will I need > to stop making excuses and bring this machine up to HEAD to test this > patch properly? > > -Ben Kaduk I think it should apply to 6.x fine. It might need 6.1 instead of 6.0 though. Just try to apply the patch. If it fails, update to 6.1 and then try it again. :) -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Thu May 25 18:27:48 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4437016B2BD for ; Thu, 25 May 2006 18:27:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D238F43D5A for ; Thu, 25 May 2006 18:27:34 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.0.1.114] (nat-outside.atlanta.corp.yahoo.com [63.172.193.57]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4PIRVYS004404; Thu, 25 May 2006 14:27:33 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Pawel Worach Date: Thu, 25 May 2006 13:49:55 -0400 User-Agent: KMail/1.9.1 References: <446F1806.4050301@gmail.com> <200605241406.28235.jhb@freebsd.org> <4474C07E.5060905@gmail.com> In-Reply-To: <4474C07E.5060905@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605251349.55945.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1484/Thu May 25 11:19:23 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.1 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-current@freebsd.org Subject: Re: callout_reset page fault panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:27:56 -0000 On Wednesday 24 May 2006 16:22, Pawel Worach wrote: > John Baldwin wrote: > > On Saturday 20 May 2006 09:22, Pawel Worach wrote: > >> One day old CURRENT, i368 UP. Died while installing some ports and > >> running mplayer. vmcore and kernel available (minidumps kick ass!). > >> > >> Unread portion of the kernel message buffer: > >> kernel trap 12 with interrupts disabled > > > > I think the previous 'struct callout' on the callout wheel > > is unmapped, maybe a kernel module was unloaded and it forgot > > to do a callout_stop() or callout_drain() or somehow did a > > callout_reset() after doing the stop() or drain()? > > > > If nothing was unloaded automagically it's unlikely. It could have been free'd perhaps and the page later subsequently unmapped from KVA? (Not sure if that can happen.) -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Thu May 25 18:29:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BE5D16A94A for ; Thu, 25 May 2006 18:29:19 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from andxor.it (relay.andxor.it [195.223.2.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 4DEFC43D5A for ; Thu, 25 May 2006 18:29:16 +0000 (GMT) (envelope-from ale@FreeBSD.org) Received: (qmail 97602 invoked from network); 25 May 2006 18:29:13 -0000 Received: from unknown (HELO ?192.168.178.2?) (a.premoli@andxor.it@81.174.31.42) by andxor.it with SMTP; 25 May 2006 18:29:13 -0000 Message-ID: <4475F779.1010704@FreeBSD.org> Date: Thu, 25 May 2006 20:29:13 +0200 From: Alex Dupre User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: Sergey Matveychuk References: <4475E51A.4090004@FreeBSD.org> In-Reply-To: <4475E51A.4090004@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: geli stops work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:29:26 -0000 Sergey Matveychuk wrote: > # mount /dev/md0c.eli /mnt1 > mount: /dev/md0c.eli: Operation not permitted > > What's up? > My geli disk unavailable now. Just to be sure, did you try to run fsck on it? Maybe it's only a badly corrupted fs. -- Alex Dupre From owner-freebsd-current@FreeBSD.ORG Thu May 25 18:30:59 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABE9916B1EF for ; Thu, 25 May 2006 18:30:59 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD95443D55 for ; Thu, 25 May 2006 18:30:58 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp5-g19.free.fr (Postfix) with ESMTP id 55328269BA for ; Thu, 25 May 2006 20:30:57 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id k4PIUfvb016805 for ; Thu, 25 May 2006 20:30:43 +0200 (CEST) From: Thierry Herbelot To: current@freebsd.org Date: Thu, 25 May 2006 20:30:33 +0200 User-Agent: KMail/1.9.1 X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200605252030.34752.thierry@herbelot.com> Cc: Subject: panic on NFS access X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:31:04 -0000 DDB trace : panic: mutex vm object not owned at /files1/src/sys/vm/vm_object.c:695 cpuid = 0 KDB: enter: panic [thread pid 761 tid 100087 ] Stopped at kdb_enter+0x2b: nop db> where Tracing pid 761 tid 100087 td 0xc18d5360 kdb_enter(c090fb9f) at kdb_enter+0x2b panic(c090ee7d,c092acac,c092c05c,2b7,0) at panic+0x127 _mtx_assert(c1947708,1,c092c05c,2b7) at _mtx_assert+0x66 vm_object_page_clean(c1947708,0,0,0,0,1) at vm_object_page_clean+0x23 nfs_vinvalbuf(c1950820,1,c18d5360,1) at nfs_vinvalbuf+0x99 nfs_bioread(c1950820,c740cc64,20000,c1612200,c740cb70) at nfs_bioread+0x3a7 nfs_read(c740cb9c) at nfs_read+0x2b VOP_READ_APV(c09c7260,c740cb9c) at VOP_READ_APV+0x7e vn_read(c1755120,c740cc64,c1612200,0,c18d5360) at vn_read+0x1f7 dofileread(c18d5360,3,c1755120,c740cc64,ffffffff) at dofileread+0x89 kern_readv(c18d5360,3,c740cc64,8280000,1000) at kern_readv+0x36 read(c18d5360,c740cd04,c18d869c,c,c18d5360) at read+0x45 syscall(3b,3b,3b,ffffffff,28385580) at syscall+0x27e Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (3, FreeBSD ELF32, read), eip = 0x2835e3bf, esp = 0xbfbfe99c, ebp = 0xbfbfe9b8 --- KGDB trace : multi-cur# kgdb kernel.debug /files1/tmp/vmcore.1 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: panic: mutex vm object not owned at /files1/src/sys/vm/vm_object.c:695 cpuid = 0 KDB: enter: panic Physical memory: 87 MB Dumping 27 MB: 12 #0 doadump () at pcpu.h:166 166 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:166 #1 0xc047501b in db_fncall (dummy1=-952055868, dummy2=0, dummy3=1016, dummy4=0xc740c798 "°Ç@Çø\003") at /files1/src/sys/ddb/db_command.c:479 #2 0xc0474e2c in db_command (last_cmdp=0xc09e1804, cmd_table=0x0) at /files1/src/sys/ddb/db_command.c:395 #3 0xc0474eea in db_command_loop () at /files1/src/sys/ddb/db_command.c:446 #4 0xc0476b01 in db_trap (type=3, code=0) at /files1/src/sys/ddb/db_main.c:221 #5 0xc06ae4a0 in kdb_trap (type=3, code=0, tf=0xc740c928) at /files1/src/sys/kern/subr_kdb.c:481 #6 0xc088a960 in trap (frame= {tf_fs = -952107000, tf_es = -1066794968, tf_ds = -1064239064, tf_edi = -1064243587, tf_esi = 1, tf_ebp = -952055448, tf_isp = -952055468, tf_ebx = -952055404, tf_edx = 0, tf_ecx = -1056755712, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1066737209, tf_cs = 32, tf_eflags = 642, tf_esp = -952055416, tf_ss = -1066845133}) at /files1/src/sys/i386/i386/trap.c:622 #7 0xc0875c0a in calltrap () at /files1/src/sys/i386/i386/exception.s:138 #8 0xc06ae1c7 in kdb_enter (msg=0x12

) at cpufunc.h:60 #9 0xc0693c33 in panic (fmt=0xc090ee7d "mutex %s not owned at %s:%d") at /files1/src/sys/kern/kern_shutdown.c:549 #10 0xc068b826 in _mtx_assert (m=0xc1947708, what=-1056755712, file=0xc092c05c "/files1/src/sys/vm/vm_object.c", line=695) at /files1/src/sys/kern/kern_mutex.c:754 #11 0xc07eca97 in vm_object_page_clean (object=0xc1947708, start=0, end=Unhandled dwarf expression opcode 0x93 ) at /files1/src/sys/vm/vm_object.c:695 #12 0xc07734b5 in nfs_vinvalbuf (vp=0xc1950820, flags=1, td=0xc18d5360, intrflg=1) at /files1/src/sys/nfsclient/nfs_bio.c:1316 #13 0xc07719c7 in nfs_bioread (vp=0xc1950820, uio=0xc740cc64, ioflag=0, cred=0xc1612200) at /files1/src/sys/nfsclient/nfs_bio.c:423 #14 0xc077cce3 in nfs_read (ap=0x12) at /files1/src/sys/nfsclient/nfs_vnops.c:981 #15 0xc089c0c6 in VOP_READ_APV (vop=0x12, a=0xc740cb9c) at vnode_if.c:631 #16 0xc06f95a7 in vn_read (fp=0xc1755120, uio=0xc740cc64, active_cred=0xc1612200, flags=0, td=0xc18d5360) at vnode_if.h:343 #17 0xc06bad21 in dofileread (td=0xc18d5360, fd=3, fp=0xc1755120, auio=0xc740cc64, offset=Unhandled dwarf expression opcode 0x93 ) at file.h:241 #18 0xc06babb6 in kern_readv (td=0xc18d5360, fd=3, auio=0xc740cc64) at /files1/src/sys/kern/sys_generic.c:192 #19 0xc06baae1 in read (td=0xc18d5360, uap=0xc1033000) at /files1/src/sys/kern/sys_generic.c:116 #20 0xc088b1c6 in syscall (frame= {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = -1, tf_esi = 674780544, tf_ebp = -1077941832, tf_isp = -952054428, tf_ebx = 674691968, tf_edx = 674786132, tf_ecx = 136839168, tf_eax = 3, tf_trapno = 12, tf_err = 2, tf_eip = 674620351, tf_cs = 51, tf_eflags = 530, tf_esp = -1077941860, tf_ss = 59}) at /files1/src/sys/i386/i386/trap.c:1016 #21 0xc0875c5f in Xint0x80_syscall () at /files1/src/sys/i386/i386/exception.s:191 #22 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) (kgdb) frame 11 #11 0xc07eca97 in vm_object_page_clean (object=0xc1947708, start=0, end=Unhandled dwarf expression opcode 0x93 ) at /files1/src/sys/vm/vm_object.c:695 695 VM_OBJECT_LOCK_ASSERT(object, MA_OWNED); (kgdb) list 690 vm_pindex_t pi; 691 int clearobjflags; 692 int pagerflags; 693 int curgeneration; 694 695 VM_OBJECT_LOCK_ASSERT(object, MA_OWNED); 696 if (object->type != OBJT_VNODE || 697 (object->flags & OBJ_MIGHTBEDIRTY) == 0) 698 return; 699 (kgdb) print *object $2 = {mtx = {mtx_object = {lo_name = 0xc092acac "vm object", lo_type = 0xc092c04c "standard object", lo_flags = 21168128, lo_witness_data = {lod_list = {stqe_next = 0xc0a0b398}, lod_witness = 0xc0a0b398}}, mtx_lock = 4, mtx_recurse = 0}, object_list = { tqe_next = 0x0, tqe_prev = 0xc1947798}, shadow_head = {lh_first = 0x0}, shadow_list = {le_next = 0x0, le_prev = 0x0}, memq = {tqh_first = 0x0, tqh_last = 0xc1947734}, root = 0x0, size = 1, generation = 1, ref_count = 0, shadow_count = 0, type = 2 '\002', flags = 0, pg_color = 0, paging_in_progress = 0, resident_page_count = 0, backing_object = 0x0, backing_object_offset = 0, pager_object_list = {tqe_next = 0x0, tqe_prev = 0x0}, handle = 0xc1950820, un_pager = {vnp = {vnp_size = 987}, devp = {devp_pglist = { tqh_first = 0x3db, tqh_last = 0x0}}, swp = {swp_bcount = 987}}} this is with a quite recent current : FreeBSD 7.0-CURRENT compiled on Thu May 25 09:35:31 CEST 2006 with : /files1/src/sys/vm/vm_object.c: $FreeBSD: src/sys/vm/vm_object.c,v 1.359 2006/03/02 22:13:27 tegge Exp $ /files1/src/sys/nfsclient/nfs_bio.c: $FreeBSD: src/sys/nfsclient/nfs_bio.c,v 1.157 2006/05/25 01:00:35 ups Exp $ /files1/src/sys/kern/sys_generic.c: $FreeBSD: src/sys/kern/sys_generic.c,v 1.148 2006/01/06 16:34:22 jhb Exp $ /files1/src/sys/nfsclient/nfs_vnops.c: $FreeBSD: src/sys/nfsclient/nfs_vnops.c,v 1.266 2006/05/19 00:04:24 mohans Exp $ TfH From owner-freebsd-current@FreeBSD.ORG Thu May 25 18:33:42 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A85716B30E for ; Thu, 25 May 2006 18:33:42 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id E24E643D62 for ; Thu, 25 May 2006 18:33:39 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [192.168.2.4]) ([10.251.60.46]) by a50.ironport.com with ESMTP; 25 May 2006 11:33:38 -0700 Message-ID: <4475F87B.5010808@elischer.org> Date: Thu, 25 May 2006 11:33:31 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Jeremy References: <20060525065510.GA20475@what-creek.com> <20060525082633.GA724@turion.vk2pj.dyndns.org> In-Reply-To: <20060525082633.GA724@turion.vk2pj.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: John Birrell , current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:33:52 -0000 Peter Jeremy wrote: >On Thu, 2006-May-25 06:55:10 +0000, John Birrell wrote: > > >>My FreeBSD Project Page: >> >> > >Your "What processes fork during a buildworld and how many times?" output >doesn't look right: make should do lots of forking. > > make probably does 'vfork()' > > >>There are things people can do to help. Some of them are build related; >>some are build tool related; some are user-land DTrace specific; and the >>rest are kernel related. Speak up if you are interested in working on >>this! >> >> > >I'd like to help but not sure if I have the time. Do you have more >detail on what is needed? > >BTW, how much of DTrace is MD and what CPU architectures are supported? > > > From owner-freebsd-current@FreeBSD.ORG Thu May 25 18:38:20 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38EEE16A4CA; Thu, 25 May 2006 18:38:19 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [211.29.132.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC08443D58; Thu, 25 May 2006 18:38:15 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail01.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4PIcDOP029013 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 26 May 2006 04:38:13 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4PIcCng003020; Fri, 26 May 2006 04:38:12 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4PIcCI5003019; Fri, 26 May 2006 04:38:12 +1000 (EST) (envelope-from peter) Date: Fri, 26 May 2006 04:38:12 +1000 From: Peter Jeremy To: Andrew Atrens Message-ID: <20060525183811.GD724@turion.vk2pj.dyndns.org> References: <3981.1148578569@critter.freebsd.dk> <4475EFC1.1020504@nortel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4475EFC1.1020504@nortel.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:38:31 -0000 On Thu, 2006-May-25 13:56:17 -0400, Andrew Atrens wrote: >Having said that, it would be great if we had a solid log-structured >filesystem for *BSD. Feel free to resurrect sys/ufs/lfs. -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Thu May 25 18:38:13 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3568B16A989; Thu, 25 May 2006 18:38:13 +0000 (UTC) (envelope-from ATRENS@nortel.com) Received: from zrtps0kn.nortel.com (zrtps0kn.nortel.com [47.140.192.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A16143D48; Thu, 25 May 2006 18:38:12 +0000 (GMT) (envelope-from ATRENS@nortel.com) Received: from zcarhxm2.corp.nortel.com (zcarhxm2.corp.nortel.com [47.129.230.99]) by zrtps0kn.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id k4PIbjm22235; Thu, 25 May 2006 14:37:45 -0400 (EDT) Received: from [10.0.10.2] ([47.128.166.148] RDNS failed) by zcarhxm2.corp.nortel.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 May 2006 14:37:35 -0400 Message-ID: <4475F967.5040806@nortel.com> Date: Thu, 25 May 2006 14:37:27 -0400 From: "Andrew Atrens" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051129) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Olivier Gautherot References: <3981.1148578569@critter.freebsd.dk> <4475EFC1.1020504@nortel.com> <1148580598.4475f2f677197@imp2-g19.free.fr> In-Reply-To: <1148580598.4475f2f677197@imp2-g19.free.fr> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 May 2006 18:37:35.0956 (UTC) FILETIME=[4ADC2140:01C6802A] X-Mailman-Approved-At: Thu, 25 May 2006 18:43:17 +0000 Cc: Alexander Leidinger , Poul-Henning Kamp , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:38:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Olivier, Olivier Gautherot wrote: > Hi Andrew! > > >>[...] >> >>>The reason Flash Adaptation Layers came about in the first place >>>is that W95 didn't support anything but FAT. >> >> >>Hmm. I was thinking about partitioning the problem actually. Make flash >>look like a disk and then you can put any filesystem on it that you >>want. Seems a heck of a lot simpler .. and I'm not sure if I see any >>drawbacks to doing it that way ... > > > The drawback is the following: what would happen if you had an application > opening-writing-closing a file in /var/log on a regular basis? The block > would decay with time, with chances that your log even gets corrupted. > That's why Flash drivers have to spread write accesses across the device > (what FFS doesn't naturally do). Also, there is a constraint regarding > the changes allowed: on NAND flash, you can write a 0 on a bit but have > to erase the full block to write a 1 back. > > Don't forget that Flash doesn't suffer from mechanical delays so there > is no harm in fragmenting the filesystem: this would be another feature. > > My cent worth ;-) Yes, exactly... that's precisely what 'wear-leveling' is meant to do .. I think I mentioned wear-leveling further back in the email chain .. Yes, you definitely want wear-leveling. The debate is whether the filesystem knows about it, versus it being managed by a lower level 'driver'. Andrew. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEdfln8It2CaCdeMwRAo/kAJ0R6Wx5XGXscCaiJPKXcAMH2hfkYwCfeOtL s6pOk3K0jcjboPbO/pPnlSM= =95q/ -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Thu May 25 18:46:19 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EE9516B5CB for ; Thu, 25 May 2006 18:46:19 +0000 (UTC) (envelope-from jd@ugcs.caltech.edu) Received: from groat.ugcs.caltech.edu (groat.ugcs.caltech.edu [131.215.176.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45E9443D53 for ; Thu, 25 May 2006 18:46:19 +0000 (GMT) (envelope-from jd@ugcs.caltech.edu) Received: by groat.ugcs.caltech.edu (Postfix, from userid 3640) id 49D725880B; Thu, 25 May 2006 11:46:18 -0700 (PDT) Date: Thu, 25 May 2006 11:46:18 -0700 From: Paul Allen To: Olivier Gautherot Message-ID: <20060525184618.GC28128@groat.ugcs.caltech.edu> References: <3981.1148578569@critter.freebsd.dk> <4475EFC1.1020504@nortel.com> <1148580598.4475f2f677197@imp2-g19.free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1148580598.4475f2f677197@imp2-g19.free.fr> Sender: jd@ugcs.caltech.edu Cc: current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:46:25 -0000 >From Olivier Gautherot , Thu, May 25, 2006 at 08:09:58PM +0200: > Don't forget that Flash doesn't suffer from mechanical delays so there > is no harm in fragmenting the filesystem: this would be another feature. This statement is false + you give the reason why only a few steps earlier: > (what FFS doesn't naturally do). Also, there is a constraint regarding > the changes allowed: on NAND flash, you can write a 0 on a bit but have > to erase the full block to write a 1 back. Erase cycles are often 1ms in duration. Paul From owner-freebsd-current@FreeBSD.ORG Thu May 25 18:46:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3C9716B6E1; Thu, 25 May 2006 18:46:26 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F74E43D5A; Thu, 25 May 2006 18:46:26 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4PIkHCf030146; Thu, 25 May 2006 12:46:23 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4475FB70.5060808@samsco.org> Date: Thu, 25 May 2006 12:46:08 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: <446F1806.4050301@gmail.com> <200605241406.28235.jhb@freebsd.org> <4474C07E.5060905@gmail.com> <200605251349.55945.jhb@freebsd.org> In-Reply-To: <200605251349.55945.jhb@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: callout_reset page fault panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:46:34 -0000 John Baldwin wrote: > On Wednesday 24 May 2006 16:22, Pawel Worach wrote: > >>John Baldwin wrote: >> >>>On Saturday 20 May 2006 09:22, Pawel Worach wrote: >>> >>>>One day old CURRENT, i368 UP. Died while installing some ports and >>>>running mplayer. vmcore and kernel available (minidumps kick ass!). >>>> >>>>Unread portion of the kernel message buffer: >>>>kernel trap 12 with interrupts disabled >>> >>>I think the previous 'struct callout' on the callout wheel >>>is unmapped, maybe a kernel module was unloaded and it forgot >>>to do a callout_stop() or callout_drain() or somehow did a >>>callout_reset() after doing the stop() or drain()? >>> >> >>If nothing was unloaded automagically it's unlikely. > > > It could have been free'd perhaps and the page later subsequently unmapped > from KVA? (Not sure if that can happen.) > That's how these kind of panics usually happen, actually. Scott From owner-freebsd-current@FreeBSD.ORG Thu May 25 19:00:06 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F148A16B4F3 for ; Thu, 25 May 2006 19:00:03 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 496FA43D6D for ; Thu, 25 May 2006 18:59:46 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.4/8.13.3) with ESMTP id k4PIxjT8071255; Thu, 25 May 2006 22:59:46 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Thu, 25 May 2006 22:59:45 +0400 (MSD) From: Maxim Konovalov To: Thierry Herbelot In-Reply-To: <200605252030.34752.thierry@herbelot.com> Message-ID: <20060525225745.H71192@mp2.macomnet.net> References: <200605252030.34752.thierry@herbelot.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: current@freebsd.org Subject: Re: panic on NFS access X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 19:00:31 -0000 ups@ fixed the issue: http://lists.freebsd.org/pipermail/cvs-src/2006-May/064168.html -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Thu May 25 19:01:48 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B5B616B575 for ; Thu, 25 May 2006 19:01:48 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id A26BB43D5D for ; Thu, 25 May 2006 19:01:33 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by nz-out-0102.google.com with SMTP id n1so402621nzf for ; Thu, 25 May 2006 12:01:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HVSAWBCLrcYqNWWLsnwDV7l/Lm9h7Om7P+aSxI3fKViYEu9C1c/ekMB3B7Mg1G5BRS5TWbY0v3Dm33luiKPwC8DL+YGISK5tZZhfLj9AHGUunYOhoXgYgPHu2v7YrPIaRzmgdEU/KVZsIr9W5N4ECnqMnYG8HIUzPSWXazB36bE= Received: by 10.65.84.5 with SMTP id m5mr4580569qbl; Thu, 25 May 2006 12:01:33 -0700 (PDT) Received: by 10.64.183.17 with HTTP; Thu, 25 May 2006 12:01:33 -0700 (PDT) Message-ID: Date: Thu, 25 May 2006 12:01:33 -0700 From: "Kip Macy" To: "Julian Elischer" In-Reply-To: <4475F87B.5010808@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060525065510.GA20475@what-creek.com> <20060525082633.GA724@turion.vk2pj.dyndns.org> <4475F87B.5010808@elischer.org> Cc: Peter Jeremy , John Birrell , current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 19:01:59 -0000 On 5/25/06, Julian Elischer wrote: > Peter Jeremy wrote: > > >On Thu, 2006-May-25 06:55:10 +0000, John Birrell wrote: > > > > > >>My FreeBSD Project Page: > >> > >> > > > >Your "What processes fork during a buildworld and how many times?" outpu= t > >doesn't look right: make should do lots of forking. > > > > > > make probably does 'vfork()' Correct. Make uses vfork(). -Kip From owner-freebsd-current@FreeBSD.ORG Thu May 25 19:02:30 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C20F616B1E0; Thu, 25 May 2006 19:02:30 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88E4C43D73; Thu, 25 May 2006 19:02:25 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepa.post.tele.dk (Postfix) with ESMTP id 7B4BBFAC06B; Thu, 25 May 2006 21:02:23 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4PJ2DXj004351; Thu, 25 May 2006 21:02:16 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "Andrew Atrens" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 25 May 2006 13:56:17 EDT." <4475EFC1.1020504@nortel.com> Date: Thu, 25 May 2006 21:02:13 +0200 Message-ID: <4350.1148583733@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Alexander Leidinger , Jim Thompson , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 19:02:39 -0000 In message <4475EFC1.1020504@nortel.com>, "Andrew Atrens" writes: >>>Said kernel would have a low level driver that makes plain >>>old flash chips look (and behave) like a disk. It would support >>>wear-levelling, [...] >>> >>>Then you could throw FFS on top of that. >> >> This is exactly what you do not want to do. >> >> You want to write a flash friendly filesystem which knows what >> a flash is, and which does the wear levelling internally. >> >> The reason Flash Adaptation Layers came about in the first place >> is that W95 didn't support anything but FAT. > >Hmm. I was thinking about partitioning the problem actually. Make flash >look like a disk and then you can put any filesystem on it that you >want. Seems a heck of a lot simpler .. and I'm not sure if I see any >drawbacks to doing it that way ... The main one is that the flash adaptation layer does not have the full information to work with for deciding wear-leveling decisions and the filesystem has no idea what the optimal block allocation strategy is for the flash device. Flash devices have no seek time penalty, and therefore the block allocation should focus on wear-leveling rather than seek time optimization. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu May 25 19:09:07 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38C6916A807; Thu, 25 May 2006 19:09:07 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D0E543D78; Thu, 25 May 2006 19:08:59 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepc.post.tele.dk (Postfix) with ESMTP id C04388A0025; Thu, 25 May 2006 21:08:55 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4PJ8p14004456; Thu, 25 May 2006 21:08:52 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Peter Jeremy From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 26 May 2006 04:38:12 +1000." <20060525183811.GD724@turion.vk2pj.dyndns.org> Date: Thu, 25 May 2006 21:08:51 +0200 Message-ID: <4455.1148584131@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Andrew Atrens , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 19:09:11 -0000 In message <20060525183811.GD724@turion.vk2pj.dyndns.org>, Peter Jeremy writes: >On Thu, 2006-May-25 13:56:17 -0400, Andrew Atrens wrote: >>Having said that, it would be great if we had a solid log-structured >>filesystem for *BSD. > >Feel free to resurrect sys/ufs/lfs. Uhm, I'd say "don't". The time would be better spent learning from the last 20 years of filesystem work, than to try to resurrect a quick, incomplete and most of all dirty hack. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu May 25 19:10:13 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 218BD16A893 for ; Thu, 25 May 2006 19:10:13 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id C00A743D72 for ; Thu, 25 May 2006 19:10:07 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepc.post.tele.dk (Postfix) with ESMTP id D613D8A0028 for ; Thu, 25 May 2006 21:10:04 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4PJA299004487; Thu, 25 May 2006 21:10:02 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Paul Allen From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 25 May 2006 11:46:18 PDT." <20060525184618.GC28128@groat.ugcs.caltech.edu> Date: Thu, 25 May 2006 21:10:02 +0200 Message-ID: <4486.1148584202@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: current@freebsd.org, Olivier Gautherot Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 19:10:26 -0000 In message <20060525184618.GC28128@groat.ugcs.caltech.edu>, Paul Allen writes: >Erase cycles are often 1ms in duration. ... Which is pretty trivial compared to the seek and latency of a rotating disc. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu May 25 19:20:18 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAA5D16B927; Thu, 25 May 2006 19:20:18 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 674A943D90; Thu, 25 May 2006 19:20:16 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k4PJKCiU094288; Thu, 25 May 2006 14:20:12 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4476036F.4090302@centtech.com> Date: Thu, 25 May 2006 14:20:15 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: Poul-Henning Kamp References: <4350.1148583733@critter.freebsd.dk> In-Reply-To: <4350.1148583733@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1484/Thu May 25 10:19:23 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: Alexander Leidinger , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 19:20:25 -0000 Poul-Henning Kamp wrote: > In message <4475EFC1.1020504@nortel.com>, "Andrew Atrens" writes: > >>>> Said kernel would have a low level driver that makes plain >>>> old flash chips look (and behave) like a disk. It would support >>>> wear-levelling, [...] >>>> >>>> Then you could throw FFS on top of that. >>> This is exactly what you do not want to do. >>> >>> You want to write a flash friendly filesystem which knows what >>> a flash is, and which does the wear levelling internally. >>> >>> The reason Flash Adaptation Layers came about in the first place >>> is that W95 didn't support anything but FAT. >> Hmm. I was thinking about partitioning the problem actually. Make flash >> look like a disk and then you can put any filesystem on it that you >> want. Seems a heck of a lot simpler .. and I'm not sure if I see any >> drawbacks to doing it that way ... > > The main one is that the flash adaptation layer does not have the > full information to work with for deciding wear-leveling decisions > and the filesystem has no idea what the optimal block allocation > strategy is for the flash device. > > Flash devices have no seek time penalty, and therefore the block > allocation should focus on wear-leveling rather than seek time > optimization. > This sounds like an awefuly fun project to me. Is anyone (PHK?) willing to help me with some of the FreeBSD kernel related issues? If so, I'd like to work on this. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-current@FreeBSD.ORG Thu May 25 19:24:50 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 967FD16B95A; Thu, 25 May 2006 19:24:50 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CB6643D70; Thu, 25 May 2006 19:24:50 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepc.post.tele.dk (Postfix) with ESMTP id 15DDF8A005A; Thu, 25 May 2006 21:24:48 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4PJOjWh004638; Thu, 25 May 2006 21:24:46 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Eric Anderson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 25 May 2006 14:20:15 CDT." <4476036F.4090302@centtech.com> Date: Thu, 25 May 2006 21:24:45 +0200 Message-ID: <4637.1148585085@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Alexander Leidinger , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 19:25:08 -0000 In message <4476036F.4090302@centtech.com>, Eric Anderson writes: >This sounds like an awefuly fun project to me. Is anyone (PHK?) willing >to help me with some of the FreeBSD kernel related issues? If so, I'd >like to work on this. As I said earlier, I'm still constrained by a NDA in this area. It's not rocket science however, so if you sit down and read a couple of flash-chip data-sheets carefully and think about the restrictions and limitations, it shouldn't be too hard to come up with a good design. You can do most of the work in userland in a simulation, and once you have the read/write/erase ratio where you want it, migrate the result to the kernel. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu May 25 19:29:44 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF6F316BAF7 for ; Thu, 25 May 2006 19:29:44 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 497AF43D72 for ; Thu, 25 May 2006 19:29:44 +0000 (GMT) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id AF18B78C1D; Thu, 25 May 2006 19:29:42 +0000 (GMT) Date: Thu, 25 May 2006 19:29:42 +0000 From: John Birrell To: Andrew Gallatin Message-ID: <20060525192942.GA25095@what-creek.com> References: <20060525065510.GA20475@what-creek.com> <17525.59862.203437.851297@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17525.59862.203437.851297@grasshopper.cs.duke.edu> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 19:29:56 -0000 On Thu, May 25, 2006 at 01:31:02PM -0400, Andrew Gallatin wrote: > Do you plan to also port lockstat? That could be very useful in > the ongoing SMPng'ification of the kernel. Yes. I'm doing things in the order advised by Sun. lockstat is one of the next things on their list. -- John Birrell From owner-freebsd-current@FreeBSD.ORG Thu May 25 19:53:49 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56F0816BDF1 for ; Thu, 25 May 2006 19:53:49 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id E97DF43D6D for ; Thu, 25 May 2006 19:53:48 +0000 (GMT) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 77FCD78C1D; Thu, 25 May 2006 19:53:47 +0000 (GMT) Date: Thu, 25 May 2006 19:53:46 +0000 From: John Birrell To: Peter Jeremy Message-ID: <20060525195346.GA25270@what-creek.com> References: <20060525065510.GA20475@what-creek.com> <20060525082633.GA724@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060525082633.GA724@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 19:54:02 -0000 On Thu, May 25, 2006 at 06:26:33PM +1000, Peter Jeremy wrote: > I'd like to help but not sure if I have the time. Do you have more > detail on what is needed? Most of the stuff is listed in my to-do list. On the build side, the CTF tools are threaded and I am building them as bootstrap tools because they are required to add the CTF data to objects and programs during a buildworld. Sun's code requires a couple of extra non-standard functions in libpthread. I've added those, but doing so creates an upgrade issue which could be solved either by building libpthread in the bootstrap phase of buildworld (yuk) or by creating stubs with weak symbols in the CTF library to resolve the missing functions during the upgrade. The CTF tools themselves complain about some things in buildworld which result in things not being added to the CTF data. This is pretty simple to debug, but it is time consuming. > BTW, how much of DTrace is MD and what CPU architectures are supported? Most of DTrace is machine independent. Sun's code supports Sparc, i386 and amd68, so it's 64-bit clean and supports both endians. Internally DTrace uses what is known as DTrace Intermediate Format (DIF) which is an interpreted instruction set based on RISC-like instructions. All that code is machine independent and thus easy to get working on other architectures. The place were DTrace is really, really machine dependent is in the trap handling code. DTrace has what it calls 'safe' loads where it goes to read from a memory address which a flag set to stop a panic if a trap occurs during the message access. Also, the Function Boundary Tracing (fbt) provider hooks itself into the code at runtime by replacing certain instructions with an invalid opcode so that it deliberately causes a trap which it then catches to do it's magic. At least that's how it works on i386/amd64. On Sparc it's done differently -- I haven't looked into that yet because I don't have access to a Sparc machine (and to port code that affects trap handling, I really need the machine next to me so that I can crash it frequently 8->). -- John Birrell From owner-freebsd-current@FreeBSD.ORG Thu May 25 19:55:57 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E71C816BE50; Thu, 25 May 2006 19:55:57 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D19343D64; Thu, 25 May 2006 19:55:56 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepa.post.tele.dk (Postfix) with ESMTP id 30B58FAC045; Thu, 25 May 2006 21:55:55 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4PJtqjR004785; Thu, 25 May 2006 21:55:52 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Olivier Gautherot From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 25 May 2006 21:29:24 +0200." <1148585364.447605943e3e1@imp2-g19.free.fr> Date: Thu, 25 May 2006 21:55:52 +0200 Message-ID: <4784.1148586952@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Alexander Leidinger , Andrew Atrens , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 19:56:14 -0000 In message <1148585364.447605943e3e1@imp2-g19.free.fr>, Olivier Gautherot write s: >For the filesystem, we could think of a standard one - why reinvent the wheel >when FreeBSD already has a good one that could be used, possibly with a few >tweaks? "The adequate has always been the worst enemy of excellence" Remember, it's: "FreeBSD, the best damn UNIX around", not "FreeBSD: Yet Another Mediocre UNIX". -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu May 25 20:07:23 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A4DF16C007; Thu, 25 May 2006 20:07:23 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0D7E43D55; Thu, 25 May 2006 20:07:22 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4PK6omG036748; Thu, 25 May 2006 14:06:56 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 25 May 2006 14:06:51 -0600 (MDT) Message-Id: <20060525.140651.-1844001833.imp@bsdimp.com> To: kudzu@tenebras.com From: "M. Warner Losh" In-Reply-To: <4475CD42.2010509@tenebras.com> References: <2538.1148556253@critter.freebsd.dk> <4475CD42.2010509@tenebras.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: phk@phk.freebsd.dk, small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 20:07:36 -0000 In message: <4475CD42.2010509@tenebras.com> Michael Sierchio writes: : Poul-Henning Kamp wrote: : : > For smaller systems, an additive approach would make more sense : : Amen. For larger systems, too, IMHO. I've been saying this for : years, but even those things which we think of as necessary for : most installs (MTA, DNS, toolchain) should be packages. We use the additiv approach at work. That which you do not include is omitted. Doable, but keeping the dependency lists accurate since we originally did this work for 3.2 has been the biggest issue... Warner From owner-freebsd-current@FreeBSD.ORG Thu May 25 20:07:36 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95A3F16C030; Thu, 25 May 2006 20:07:32 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BC3143D46; Thu, 25 May 2006 20:07:31 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4PK5iQb036745; Thu, 25 May 2006 14:05:45 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 25 May 2006 14:05:44 -0600 (MDT) Message-Id: <20060525.140544.1474621433.imp@bsdimp.com> To: jim@netgate.com From: "M. Warner Losh" In-Reply-To: <472414CE-94E8-4C8A-9586-DCA9E02A53C3@netgate.com> References: <2538.1148556253@critter.freebsd.dk> <472414CE-94E8-4C8A-9586-DCA9E02A53C3@netgate.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: phk@phk.freebsd.dk, small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 20:07:44 -0000 In message: <472414CE-94E8-4C8A-9586-DCA9E02A53C3@netgate.com> Jim Thompson writes: : : On May 25, 2006, at 1:24 AM, Poul-Henning Kamp wrote: : : > Platforms : > --------- : > : > I386 goes without saying. : > : > AMD64 may have an embedded future in the high end segment, keeping : > it "unbloated" is a concern. : > : > ARM is going great according to Jean-Mark and Warner, and we are : > looking for a cheap (< $200) reference platform to point people at. : : These are available. Someone else was asking (privately) for sub- : $100, which is (much) more difficult. There's many sub $100 MIPS boards available that have enough resourses, barely, for a minimal system to boot/run on. : > NanoBSD caters only to the "run read-only from flash" area, call : > it if you will the "soekris" area. I need to investigate if it : > makes sense to use the FreeSBIE framework to build nanobsd images. : : All soekris boards have CF, which looks, for all the world like an : IDE drive. : : "real" flash is quite different. Soekris (and the PC Engines : boards) are a proper subset of i386, and : should be treated as such. Yes. Running off a real flash is much more difficult... : > What can you do ? : > : > If you work with embedded FreeBSD, I think the best you can do is to : > chime in to small@freebsd.org, tell us what you are doing (as far as : > company policy will allow you), and if you have any ideas, wishes, : > problems, let us hear about them. : : I'm looking for the time to get FreeBSD running on the Gateworks : Xscale (arm) boards. These are interesting to me for a couple : reasons, but the : most important is that most of the boards come with a CF socket, : which means not having to deal with smaller flash sizes, and/or : dealing with a FFS : at the FreeBSD level (for now). Those would be a good level to start from. Subsetting is a pain during development, but once developed, it shouldn't be too hard to shrink things down. Doing it generally might be an issue... Warner From owner-freebsd-current@FreeBSD.ORG Thu May 25 20:08:49 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC38516BF97; Thu, 25 May 2006 20:08:49 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFE1C43D53; Thu, 25 May 2006 20:08:48 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-vbr3.xs4all.nl (8.13.6/8.13.6) with ESMTP id k4PK8lfm018646; Thu, 25 May 2006 22:08:47 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.6/8.13.3) with ESMTP id k4PK8k6V002810; Thu, 25 May 2006 22:08:46 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.6/8.13.6/Submit) id k4PK8kcK002809; Thu, 25 May 2006 22:08:46 +0200 (CEST) (envelope-from wb) Date: Thu, 25 May 2006 22:08:46 +0200 From: Wilko Bulte To: Poul-Henning Kamp Message-ID: <20060525200846.GA2796@freebie.xs4all.nl> References: <1148585364.447605943e3e1@imp2-g19.free.fr> <4784.1148586952@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4784.1148586952@critter.freebsd.dk> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: current@freebsd.org, Alexander Leidinger , Andrew Atrens , small@freebsd.org, Olivier Gautherot Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 20:09:01 -0000 On Thu, May 25, 2006 at 09:55:52PM +0200, Poul-Henning Kamp wrote.. > In message <1148585364.447605943e3e1@imp2-g19.free.fr>, Olivier Gautherot write > s: > > >For the filesystem, we could think of a standard one - why reinvent the wheel > >when FreeBSD already has a good one that could be used, possibly with a few > >tweaks? > > "The adequate has always been the worst enemy of excellence" Or worse still "it works/it is cheap" which appears to be todays slogan. > Remember, it's: "FreeBSD, the best damn UNIX around", not "FreeBSD: > Yet Another Mediocre UNIX". Make that UNIX-like or TOG will be on your back. Another one of these modern times 'achievements'. -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Thu May 25 20:10:41 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3736316C030; Thu, 25 May 2006 20:10:41 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37B7D43D7F; Thu, 25 May 2006 20:10:38 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4PKABMf036775; Thu, 25 May 2006 14:10:12 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 25 May 2006 14:10:12 -0600 (MDT) Message-Id: <20060525.141012.1683993116.imp@bsdimp.com> To: olivier@gautherot.net From: "M. Warner Losh" In-Reply-To: <1148580598.4475f2f677197@imp2-g19.free.fr> References: <3981.1148578569@critter.freebsd.dk> <4475EFC1.1020504@nortel.com> <1148580598.4475f2f677197@imp2-g19.free.fr> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Alexander@Leidinger.net, phk@phk.freebsd.dk, atrens@nortel.com, small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 20:10:50 -0000 In message: <1148580598.4475f2f677197@imp2-g19.free.fr> Olivier Gautherot writes: : Hi Andrew! : : > [...] : > > The reason Flash Adaptation Layers came about in the first place : > > is that W95 didn't support anything but FAT. : > : > : > Hmm. I was thinking about partitioning the problem actually. Make flash : > look like a disk and then you can put any filesystem on it that you : > want. Seems a heck of a lot simpler .. and I'm not sure if I see any : > drawbacks to doing it that way ... : : The drawback is the following: what would happen if you had an application : opening-writing-closing a file in /var/log on a regular basis? The block : would decay with time, with chances that your log even gets corrupted. : That's why Flash drivers have to spread write accesses across the device : (what FFS doesn't naturally do). Also, there is a constraint regarding : the changes allowed: on NAND flash, you can write a 0 on a bit but have : to erase the full block to write a 1 back. : : Don't forget that Flash doesn't suffer from mechanical delays so there : is no harm in fragmenting the filesystem: this would be another feature. There's at least one implementation of a geom_nand layer that tries to wear average blocks from a pool it keeps. However, it would be far better if it could get hints from the file system layer when blocks were freed. Once you get to that level of abstraction, you might as well just do all the work yourself. It gets kinda hairy to do it generically for any filesystem. Warner From owner-freebsd-current@FreeBSD.ORG Thu May 25 20:12:59 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A16D16B642; Thu, 25 May 2006 20:12:59 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 794F443D4C; Thu, 25 May 2006 20:12:53 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k4PKCoeM020869; Thu, 25 May 2006 15:12:51 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44760FC6.9080906@centtech.com> Date: Thu, 25 May 2006 15:12:54 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: Poul-Henning Kamp References: <4637.1148585085@critter.freebsd.dk> In-Reply-To: <4637.1148585085@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1484/Thu May 25 10:19:23 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: Alexander Leidinger , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 20:13:09 -0000 Poul-Henning Kamp wrote: > In message <4476036F.4090302@centtech.com>, Eric Anderson writes: > >> This sounds like an awefuly fun project to me. Is anyone (PHK?) willing >> to help me with some of the FreeBSD kernel related issues? If so, I'd >> like to work on this. > > As I said earlier, I'm still constrained by a NDA in this area. Being filesystems, or flash, or both? > It's not rocket science however, so if you sit down and read a couple > of flash-chip data-sheets carefully and think about the restrictions > and limitations, it shouldn't be too hard to come up with a good design. A pointer to a decent commonly used flash chip would help, although I'm sure I can find something with enough time plus google. > You can do most of the work in userland in a simulation, and once you > have the read/write/erase ratio where you want it, migrate the result > to the kernel. Good point.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-current@FreeBSD.ORG Thu May 25 20:13:27 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEA3916B985; Thu, 25 May 2006 20:13:27 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE89D43D78; Thu, 25 May 2006 20:13:23 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4PKBY3G036813; Thu, 25 May 2006 14:11:34 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 25 May 2006 14:11:34 -0600 (MDT) Message-Id: <20060525.141134.221855237.imp@bsdimp.com> To: anderson@centtech.com From: "M. Warner Losh" In-Reply-To: <4476036F.4090302@centtech.com> References: <4350.1148583733@critter.freebsd.dk> <4476036F.4090302@centtech.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Alexander@Leidinger.net, phk@phk.freebsd.dk, small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 20:13:37 -0000 In message: <4476036F.4090302@centtech.com> Eric Anderson writes: : Poul-Henning Kamp wrote: : > In message <4475EFC1.1020504@nortel.com>, "Andrew Atrens" writes: : > : >>>> Said kernel would have a low level driver that makes plain : >>>> old flash chips look (and behave) like a disk. It would support : >>>> wear-levelling, [...] : >>>> : >>>> Then you could throw FFS on top of that. : >>> This is exactly what you do not want to do. : >>> : >>> You want to write a flash friendly filesystem which knows what : >>> a flash is, and which does the wear levelling internally. : >>> : >>> The reason Flash Adaptation Layers came about in the first place : >>> is that W95 didn't support anything but FAT. : >> Hmm. I was thinking about partitioning the problem actually. Make flash : >> look like a disk and then you can put any filesystem on it that you : >> want. Seems a heck of a lot simpler .. and I'm not sure if I see any : >> drawbacks to doing it that way ... : > : > The main one is that the flash adaptation layer does not have the : > full information to work with for deciding wear-leveling decisions : > and the filesystem has no idea what the optimal block allocation : > strategy is for the flash device. : > : > Flash devices have no seek time penalty, and therefore the block : > allocation should focus on wear-leveling rather than seek time : > optimization. : > : : This sounds like an awefuly fun project to me. Is anyone (PHK?) willing : to help me with some of the FreeBSD kernel related issues? If so, I'd : like to work on this. I can help. I don't suffer from the NDA issues that phk has. Warner From owner-freebsd-current@FreeBSD.ORG Thu May 25 19:29:25 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7A4B16AAC2; Thu, 25 May 2006 19:29:25 +0000 (UTC) (envelope-from olivier@gautherot.net) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CA3543D66; Thu, 25 May 2006 19:29:25 +0000 (GMT) (envelope-from olivier@gautherot.net) Received: from imp2-g19.free.fr (imp2-g19.free.fr [212.27.42.2]) by smtp4-g19.free.fr (Postfix) with ESMTP id 67C5C549EB; Thu, 25 May 2006 21:29:24 +0200 (CEST) Received: by imp2-g19.free.fr (Postfix, from userid 33) id 5317D603F; Thu, 25 May 2006 21:29:24 +0200 (CEST) Received: from 200.54.71.227 ([200.54.71.227]) by imp2-g19.free.fr (IMP) with HTTP for ; Thu, 25 May 2006 21:29:24 +0200 Message-ID: <1148585364.447605943e3e1@imp2-g19.free.fr> Date: Thu, 25 May 2006 21:29:24 +0200 From: Olivier Gautherot To: Andrew Atrens References: <3981.1148578569@critter.freebsd.dk> <4475EFC1.1020504@nortel.com> <1148580598.4475f2f677197@imp2-g19.free.fr> <4475F967.5040806@nortel.com> In-Reply-To: <4475F967.5040806@nortel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 200.54.71.227 X-Mailman-Approved-At: Thu, 25 May 2006 20:19:57 +0000 Cc: Alexander Leidinger , Poul-Henning Kamp , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 19:29:36 -0000 Hi Andrew! > Yes, exactly... that's precisely what 'wear-leveling' is meant to do .. > > I think I mentioned wear-leveling further back in the email chain .. You did indeed mention it. > Yes, you definitely want wear-leveling. The debate is whether the > filesystem knows about it, versus it being managed by a lower level > 'driver'. If I were told to start the design now, I would advocate to keep all Flash-specific features in a low-level driver and let the filesystem take care of upper concepts. After all, the cylinder concept of a spinning disk does not always match the physical structure so we could follow the same logic. By Flash-specific features, I mean: - Erased bits set to 1 (that's another constraint, common to NAND and NOR, you can't write a 1 on a 0) - Seek time of 0 - Wear-leveling - Garbage collection For the filesystem, we could think of a standard one - why reinvent the wheel when FreeBSD already has a good one that could be used, possibly with a few tweaks? Unless we want to plug compression in, what could be helpful and is sometimes desired. Just a tought -- Olivier Gautherot olivier@gautherot.net Tel: +56 8 730 9361 From owner-freebsd-current@FreeBSD.ORG Thu May 25 20:29:00 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A90B416BFD6 for ; Thu, 25 May 2006 20:29:00 +0000 (UTC) (envelope-from bkelly@vadev.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0897343D58 for ; Thu, 25 May 2006 20:28:59 +0000 (GMT) (envelope-from bkelly@vadev.org) Received: (qmail 452 invoked from network); 25 May 2006 20:28:59 -0000 Received: from vadev.org (HELO [192.168.1.97]) (Desdicardo@[66.92.166.151]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with RC4-MD5 encrypted SMTP for ; 25 May 2006 20:28:59 -0000 From: Ben Kelly To: freebsd-current@freebsd.org Date: Thu, 25 May 2006 16:28:58 -0400 User-Agent: KMail/1.8.3 References: <3500.1148571492@critter.freebsd.dk> In-Reply-To: <3500.1148571492@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605251628.58158.bkelly@vadev.org> Cc: Poul-Henning Kamp , small@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 20:29:06 -0000 On Thursday 25 May 2006 11:38 am, Poul-Henning Kamp wrote: > Writing a flash-friendly-filesystem would be a good project. Would it be reasonable to try porting JFFS2 or are their reasons to write something from scratch? - Ben From owner-freebsd-current@FreeBSD.ORG Thu May 25 21:01:40 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D3E416C58C for ; Thu, 25 May 2006 21:01:40 +0000 (UTC) (envelope-from jd@ugcs.caltech.edu) Received: from groat.ugcs.caltech.edu (groat.ugcs.caltech.edu [131.215.176.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20A2143D67 for ; Thu, 25 May 2006 21:01:33 +0000 (GMT) (envelope-from jd@ugcs.caltech.edu) Received: by groat.ugcs.caltech.edu (Postfix, from userid 3640) id BD5275880B; Thu, 25 May 2006 14:01:32 -0700 (PDT) Date: Thu, 25 May 2006 14:01:32 -0700 From: Paul Allen To: Poul-Henning Kamp Message-ID: <20060525210132.GD28128@groat.ugcs.caltech.edu> References: <20060525184618.GC28128@groat.ugcs.caltech.edu> <4486.1148584202@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4486.1148584202@critter.freebsd.dk> Sender: jd@ugcs.caltech.edu Cc: current@freebsd.org, Olivier Gautherot Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 21:01:45 -0000 >From Poul-Henning Kamp , Thu, May 25, 2006 at 09:10:02PM +0200: > In message <20060525184618.GC28128@groat.ugcs.caltech.edu>, Paul Allen writes: > > >Erase cycles are often 1ms in duration. > > ... Which is pretty trivial compared to the seek and latency of a > rotating disc. Sure to do 'one of them', but the part of the message you clipped involved the assertion that fragmentation is free. It isn't, you have to do the erase cycle block-by-block, each one sequentially taking 1ms to complete. Sure you can use flash with large block-sizes but then you have to rewrite-out the entire block out after the erase, and writing takes time too--not to mention negatively impacting filesystem stability. And each erase is counts against the cycle-life of the flash. The trade-offs are not trivial and starting with the assertion "fragmentation is free" is begging the question. From owner-freebsd-current@FreeBSD.ORG Thu May 25 21:18:17 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC98916AC0D; Thu, 25 May 2006 21:18:17 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A0F043D62; Thu, 25 May 2006 21:18:16 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 41A8F1A4EE8; Thu, 25 May 2006 14:18:16 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B5D7F51406; Thu, 25 May 2006 17:18:15 -0400 (EDT) Date: Thu, 25 May 2006 17:18:15 -0400 From: Kris Kennaway To: Xin LI Message-ID: <20060525211815.GA30773@xor.obsecurity.org> References: <20060522012521.GA33030@nagual.pp.ru> <1148549229.3838.2.camel@spirit> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <1148549229.3838.2.camel@spirit> User-Agent: Mutt/1.4.2.1i Cc: Hajimu UMEMOTO , current@freebsd.org Subject: Re: misc/compat6x (Re: Libc bumping) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 21:18:26 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 25, 2006 at 05:27:09PM +0800, Xin LI wrote: > Perhaps it's time for misc/compat6x? :-) Can't hurt, we'll need it sooner or later anyway. Kris --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEdh8XWry0BWjoQKURApWcAKC3i+51RJYSGV/DVLEvHln0M0TrpgCgqq0Q uS0f19QcEN42D2VY/c0pxfE= =Kof1 -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24-- From owner-freebsd-current@FreeBSD.ORG Thu May 25 21:40:40 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 550BD16CB78 for ; Thu, 25 May 2006 21:38:46 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id E712743D76 for ; Thu, 25 May 2006 21:38:41 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepb.post.tele.dk (Postfix) with ESMTP id 63C8BA5003A for ; Thu, 25 May 2006 23:38:38 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4PLcbIV005584; Thu, 25 May 2006 23:38:37 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Paul Allen From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 25 May 2006 14:01:32 PDT." <20060525210132.GD28128@groat.ugcs.caltech.edu> Date: Thu, 25 May 2006 23:38:37 +0200 Message-ID: <5583.1148593117@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: current@freebsd.org, Olivier Gautherot Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 21:40:43 -0000 Paul, you clearly understand the constraints of Flash, but it also seems to me that you have never given any thought to how a filesystem could benefit from knowing these and in doing so, help how to mitigate the issues. I wish I could be more specific to guide you and others onto the right track here, but for now I will have to reiterate: Tailor the filesystem to flash devices, there are so many benefits to be had that way. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu May 25 22:06:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B952A16CE80; Thu, 25 May 2006 21:55:49 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCBBE43D53; Thu, 25 May 2006 21:55:48 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.4/8.13.3) with ESMTP id k4PLtkvG075263; Fri, 26 May 2006 01:55:47 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Fri, 26 May 2006 01:55:46 +0400 (MSD) From: Maxim Konovalov To: sekes In-Reply-To: <53cc795f0605251000w7aa13370mcfbf6f8e4f259f6d@mail.gmail.com> Message-ID: <20060526015344.W74899@mp2.macomnet.net> References: <53cc795f0605131026n2d9a5776jd75630e3f9505e55@mail.gmail.com> <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> <20060514062825.W54242@maildrop.int.zabbadoz.net> <53cc795f0605140348u769b6b0bkc62d28652b6b3ec3@mail.gmail.com> <44674BDA.7040300@FreeBSD.org> <53cc795f0605251000w7aa13370mcfbf6f8e4f259f6d@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: "Bjoern A. Zeeb" , freebsd-current@freebsd.org, "Christian S.J. Peron" Subject: Re: deadlock every 15-20 min X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 22:06:28 -0000 On Thu, 25 May 2006, 21:00+0400, sekes wrote: > today after several weeks i upgraded the box and that's my results: > > in /boot/loader.conf: > > debug.mpsafenet=0 > geom_eli_load="YES" > dummynet_load="YES" > ipdivert_load="YES" > > uname -a > FreeBSD xnet.nnov.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Thu May 25 09:30:55 > MSD 2006 root@xnet.nnov.ru:/usr/obj/usr/src/sys/GENERIC i386 > > > during the boot everything is fine. > but when i type `ppp -ddial myprovider` i'm getting this: > > WARNING: attempt to net_add_domain(netgraph) after domainfinalize() > panic: mutex Giant not owned at /usr/src/sys/net/if.c:2209 > cpuid = 0 > KDB: enter: panic > [ thread pid 12 tid 10004 ] > Stopped at kdb_enter+0x2b: nop Read http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html obtain kernel crashdump and stack backtrace ("bt full" for a start). -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Thu May 25 21:52:59 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83EED16CF43 for ; Thu, 25 May 2006 21:49:17 +0000 (UTC) (envelope-from olivier@gautherot.net) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F38F43D53 for ; Thu, 25 May 2006 21:49:16 +0000 (GMT) (envelope-from olivier@gautherot.net) Received: from imp2-g19.free.fr (imp2-g19.free.fr [212.27.42.2]) by smtp6-g19.free.fr (Postfix) with ESMTP id 531E322568; Thu, 25 May 2006 23:49:16 +0200 (CEST) Received: by imp2-g19.free.fr (Postfix, from userid 33) id 1908E6226; Thu, 25 May 2006 23:49:16 +0200 (CEST) Received: from 200.54.71.227 ([200.54.71.227]) by imp2-g19.free.fr (IMP) with HTTP for ; Thu, 25 May 2006 23:49:16 +0200 Message-ID: <1148593756.4476265c059f1@imp2-g19.free.fr> Date: Thu, 25 May 2006 23:49:16 +0200 From: Olivier Gautherot To: Poul-Henning Kamp References: <5583.1148593117@critter.freebsd.dk> In-Reply-To: <5583.1148593117@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 200.54.71.227 X-Mailman-Approved-At: Thu, 25 May 2006 22:22:01 +0000 Cc: Paul Allen , current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 21:53:09 -0000 Poul-Henning, I got your point. I'll put together a summary of today's discussions and a couple of ideas I have to define a list of requirements and give a direction to the design. I've worked on a (simplistic) Flash file system in the past and will include this experience too. I'll copy you on tyhe doc to raise a red flag in case I head in a bad direction ;-) Cheers Olivier > > Paul, you clearly understand the constraints of Flash, but it also > seems to me that you have never given any thought to how a filesystem > could benefit from knowing these and in doing so, help how to > mitigate the issues. > > I wish I could be more specific to guide you and others onto the > right track here, but for now I will have to reiterate: Tailor > the filesystem to flash devices, there are so many benefits to > be had that way. > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > -- Olivier Gautherot olivier@gautherot.net Tel: +56 8 730 9361 From owner-freebsd-current@FreeBSD.ORG Thu May 25 22:41:13 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4809916AE83; Thu, 25 May 2006 22:38:07 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8003043D5D; Thu, 25 May 2006 22:37:59 +0000 (GMT) (envelope-from keramida@FreeBSD.org) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k4PMbC6A013911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 26 May 2006 01:37:16 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k4PMdNGJ022200; Fri, 26 May 2006 01:39:23 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k4PMdKqO022199; Fri, 26 May 2006 01:39:20 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Fri, 26 May 2006 01:39:20 +0300 From: Giorgos Keramidas To: Daniel Gerzo Message-ID: <20060525223920.GA22124@gothmog.pc> References: <2538.1148556253@critter.freebsd.dk> <4475BB2D.2090609@freesbie.org> <858280256.20060525164703@rulez.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <858280256.20060525164703@rulez.sk> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.044, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.35, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: Poul-Henning Kamp , Dario Freni , small@FreeBSD.org, current@FreeBSD.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 22:41:15 -0000 On 2006-05-25 16:47, Daniel Gerzo wrote: >Thursday, May 25, 2006, 4:11:57 PM, you wrote the following: >> Agree. I can write some HOWTOs about FreeSBIE or NanoBSD if it is >> needed. We only have a very primordial wiki documentation at >> wiki.freesbie.org. > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/ > > If you have any more information that should be included, just write > me an mail and we can work it out :-) Good point. Count me in for doc-stuff help if changes start coming my way :) From owner-freebsd-current@FreeBSD.ORG Thu May 25 23:02:37 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EF2316B4E3; Thu, 25 May 2006 22:59:18 +0000 (UTC) (envelope-from james@wgold.demon.co.uk) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CE5843D46; Thu, 25 May 2006 22:59:15 +0000 (GMT) (envelope-from james@wgold.demon.co.uk) Received: from wgold.demon.co.uk ([158.152.96.124] helo=thor) by anchor-post-35.mail.demon.net with esmtp (Exim 4.42) id 1FjOnS-0006ug-H6; Thu, 25 May 2006 22:59:14 +0000 Received: from 127.0.0.1 by thor ([127.0.0.1] running VPOP3) with SMTP; Thu, 25 May 2006 23:55:22 +0100 From: "James Mansion" To: "Poul-Henning Kamp" , , Date: Thu, 25 May 2006 23:55:20 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <2538.1148556253@critter.freebsd.dk> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Server: VPOP3 V1.5.0k - Registered X-Mailman-Approved-At: Thu, 25 May 2006 23:15:00 +0000 Cc: Subject: RE: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 23:02:38 -0000 >FreeBSD is a great operating system for embedded use and people >all over the world use this to their advantage. This is really nice to see. I'd also urge you to widen it to a more general 'customised constrained boot environment' though, even if teh focus is quite different. The sort of thing I'd be interested in would be PXE-booting a 'bootstrap system' with minimalist facilities, then mounting drives from iSCSI (or NFS, CIFS etc) and extending to have a more complete but still highly customised environment, whether to support compute blades or diskless workstations (using the wonderful nVidia and ATI hardware support that Linux will by then lack, ha ha ;-)). Its this first stage where you can get up and running that I think might share some of the same issues. James From owner-freebsd-current@FreeBSD.ORG Thu May 25 23:15:55 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CFFB16A704 for ; Thu, 25 May 2006 23:15:55 +0000 (UTC) (envelope-from mf.danger@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37CFF43D64 for ; Thu, 25 May 2006 23:15:50 +0000 (GMT) (envelope-from mf.danger@gmail.com) Received: by nf-out-0910.google.com with SMTP id y25so58083nfb for ; Thu, 25 May 2006 16:15:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=M16a2ySB0jL01bdqW+odAJTgGviv4fdINCvpcx3yEmSU+xYEUg3qMkYnnUFOmNS5rtSKkelhGbXzjQ8Bt8QtRa81txR7b7Y8lxhnqGOvAt9ONwhWWXhbQljbKk0s+pz5xT6J19gsKi68eVpU3gLanr5Y+iPxixsLnstLSquzLMw= Received: by 10.48.219.1 with SMTP id r1mr7110998nfg; Thu, 25 May 2006 16:08:57 -0700 (PDT) Received: by 10.49.49.17 with HTTP; Thu, 25 May 2006 16:08:57 -0700 (PDT) Message-ID: <9f7850090605251608p27c71475wa6d245f8a5f1185f@mail.gmail.com> Date: Thu, 25 May 2006 16:08:57 -0700 From: "marty fouts" To: "Poul-Henning Kamp" In-Reply-To: <5583.1148593117@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060525210132.GD28128@groat.ugcs.caltech.edu> <5583.1148593117@critter.freebsd.dk> Cc: Paul Allen , current@freebsd.org, Olivier Gautherot Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 23:15:55 -0000 On 5/25/06, Poul-Henning Kamp wrote: > I wish I could be more specific to guide you and others onto the > right track here, but for now I will have to reiterate: Tailor > the filesystem to flash devices, there are so many benefits to > be had that way. I'd go a step further. I advocate treating NOR and NAND devices seperately. There are enough difference in their behavior to justify optimizing implementations for each. Compare JFFS2 to YAFFS2 on NAND and you'll get an example of how this can happen. I would advocate a split-but-aware approach. A flash translation layer, which manages bad blocks, wear leveling, and even garbage collection, is a good logical separate entity, provided it exposes hooks to the file system to allow the FS to teach it about dead blocks. Couple this with a well designed journaling FS, and you get an FS that overcomes the uglier properties of flash, especially of large block size NAND, but that can live above layers that are optimized for NOR, NAND, or the coming hybrid flash models. (You can easily argue about where the garbage collection belongs. I've done it both ways.) From owner-freebsd-current@FreeBSD.ORG Thu May 25 23:29:16 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEBAF16A63D; Thu, 25 May 2006 23:29:16 +0000 (UTC) (envelope-from james@wgold.demon.co.uk) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7833143D46; Thu, 25 May 2006 23:29:16 +0000 (GMT) (envelope-from james@wgold.demon.co.uk) Received: from wgold.demon.co.uk ([158.152.96.124] helo=thor) by anchor-post-35.mail.demon.net with esmtp (Exim 4.42) id 1FjPGU-000AKi-If; Thu, 25 May 2006 23:29:15 +0000 Received: from 127.0.0.1 by thor ([127.0.0.1] running VPOP3) with SMTP; Fri, 26 May 2006 00:03:54 +0100 From: "James Mansion" To: "Andrew Atrens" , "Poul-Henning Kamp" Date: Fri, 26 May 2006 00:03:53 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <4475E99C.5000502@nortel.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Server: VPOP3 V1.5.0k - Registered X-Mailman-Approved-At: Thu, 25 May 2006 23:32:46 +0000 Cc: Alexander Leidinger , small@freebsd.org, current@freebsd.org Subject: RE: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 23:29:17 -0000 > It would support wear-levelling I think this might in practice be a red-herring. If you could convince the system to set aside an amount of RAM for dirty disk buffers and to write them all when its filled or on application demand (and in a way that preseves integrity like soft updates) so that for any given flush each sector is written at most once, then you can run for years for most CF cards and most practical usage patterns that don't really demand a hard disk. Assume you have cron drive a flush once an hour and consider how long until a sector dies, even if the drive itself does no wear levelling at all (and I believe some do it internally). From owner-freebsd-current@FreeBSD.ORG Thu May 25 23:55:36 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DD2616A7F3 for ; Thu, 25 May 2006 23:55:36 +0000 (UTC) (envelope-from mf.danger@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id B390D43D46 for ; Thu, 25 May 2006 23:55:35 +0000 (GMT) (envelope-from mf.danger@gmail.com) Received: by nf-out-0910.google.com with SMTP id x29so124175nfb for ; Thu, 25 May 2006 16:55:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NLhUeityK4qSv2DO/tGek6ZdCwvD93JUEj5BtjgvzJkb6eb/e+S12HCXGU75X2DX9+dS1QEmkcJDDxUxviBXvCYz/IkFEuniYsN/FaHqL74N1T+EJHfCax5P8jEvoEewH52hg7JGZwUwk2ujtLju+PMKae2Te3V33Q4VHbiTxgI= Received: by 10.48.234.14 with SMTP id g14mr1680455nfh; Thu, 25 May 2006 15:59:14 -0700 (PDT) Received: by 10.49.49.17 with HTTP; Thu, 25 May 2006 15:59:14 -0700 (PDT) Message-ID: <9f7850090605251559g5e3802e1u23180bd823d28a3b@mail.gmail.com> Date: Thu, 25 May 2006 15:59:14 -0700 From: "marty fouts" To: "Ben Kelly" In-Reply-To: <200605251628.58158.bkelly@vadev.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <3500.1148571492@critter.freebsd.dk> <200605251628.58158.bkelly@vadev.org> Cc: Poul-Henning Kamp , freebsd-current@freebsd.org, small@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 23:55:38 -0000 On 5/25/06, Ben Kelly wrote: > On Thursday 25 May 2006 11:38 am, Poul-Henning Kamp wrote: > > Writing a flash-friendly-filesystem would be a good project. > > Would it be reasonable to try porting JFFS2 or are their reasons to write > something from scratch? > JFFS2 is ok for NOR flash, but has terrible performance problems on NAND flash, that seem to grow exponentially with the size of the flash. I'd recommend not basing a design on it. From owner-freebsd-current@FreeBSD.ORG Fri May 26 00:08:03 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08B5F16AE41 for ; Fri, 26 May 2006 00:08:03 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A4F343D5A for ; Fri, 26 May 2006 00:08:00 +0000 (GMT) (envelope-from lofi@freebsd.org) Received: from mail-in-11-z2.arcor-so.net (mail-in-11-z2.arcor-online.net [151.189.8.28]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 6010516F9CA for ; Fri, 26 May 2006 02:07:59 +0200 (CEST) Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mail-in-11-z2.arcor-so.net (Postfix) with ESMTP id 50BDA1C71C6 for ; Fri, 26 May 2006 02:07:59 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-137-043.pools.arcor-ip.net [84.61.137.43]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 107251EC37A for ; Fri, 26 May 2006 02:07:59 +0200 (CEST) Received: from [192.168.8.4] (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.13.4/8.13.3) with ESMTP id k4Q07uwx005887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 26 May 2006 02:07:56 +0200 (CEST) (envelope-from lofi@freebsd.org) Message-ID: <447646CD.1010005@freebsd.org> Date: Fri, 26 May 2006 02:07:41 +0200 From: Michael Nottebrock User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAD8FA718C91E96B7E70E281F" X-Virus-Scanned: by amavisd-new Subject: [Fwd: Re: [kde-freebsd] koffice build failure] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 00:08:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAD8FA718C91E96B7E70E281F Content-Type: multipart/mixed; boundary="------------000105000402090407090800" This is a multi-part message in MIME format. --------------000105000402090407090800 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable I *meant* to CC the attached mail to -current, but then it slipped from my mind. Anyway: --------------000105000402090407090800 Content-Type: message/rfc822; name="Re: [kde-freebsd] koffice build failure" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: [kde-freebsd] koffice build failure" Message-ID: <44763F33.50008@freebsd.org> Date: Fri, 26 May 2006 01:35:15 +0200 From: Michael Nottebrock User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Beech Rintoul CC: kde@freebsd.org Subject: Re: [kde-freebsd] koffice build failure References: <200605250123.05126.beech@alaskaparadise.com> In-Reply-To: <200605250123.05126.beech@alaskaparadise.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD64EBDDC6C6727C28DC40873" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD64EBDDC6C6727C28DC40873 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable > /usr/X11R6/lib/libqt-mt.so: undefined reference to `_(long > double,...)(short)' That's the error that causes the configure script to fail - my guess is that binary compatibilty got broken in -CURRENT at some point. CC'ing -current in case anyone might recognize the symptom. I also suggest to try and reinstall x11-toolkits/qt33 and see if that helps. --=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --------------enigD64EBDDC6C6727C28DC40873 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.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEdj82Xhc68WspdLARAuyEAJ4s8Dd9ctlYKsYf3mE3yW6ErplqRgCfQ9N5 zJJWchBMmIkZvv7kO8zoUTA= =Uptz -----END PGP SIGNATURE----- --------------enigD64EBDDC6C6727C28DC40873-- --------------000105000402090407090800-- --------------enigAD8FA718C91E96B7E70E281F 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.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEdkbPXhc68WspdLARAvPqAKCUeNQVSBAEiy4x04Wi8TrfHhRSIgCfU9nZ 7YB06ZgOJ+/BqP0TnIItxgs= =kGeT -----END PGP SIGNATURE----- --------------enigAD8FA718C91E96B7E70E281F-- From owner-freebsd-current@FreeBSD.ORG Fri May 26 00:30:51 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C81016C9E4 for ; Fri, 26 May 2006 00:25:22 +0000 (UTC) (envelope-from mf.danger@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6807D43D46 for ; Fri, 26 May 2006 00:25:15 +0000 (GMT) (envelope-from mf.danger@gmail.com) Received: by nf-out-0910.google.com with SMTP id p46so50451nfa for ; Thu, 25 May 2006 17:25:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZsWn0F2n7TkL85xPOJNnkFLOdy6CZsGvsb8tSqWwJzODviR8tSf7HYbw4zqEh41BcGsOaP2tXzfE/zzb7TJj01+OFo4WTGVUt52Bx5QwbJbnEpgzJThr9AH54jIJcreukhRcyEM975us05RbNse34GuDKXUf2sSJPjSAbQI2dSE= Received: by 10.49.38.17 with SMTP id q17mr5702nfj; Thu, 25 May 2006 17:25:14 -0700 (PDT) Received: by 10.49.49.17 with HTTP; Thu, 25 May 2006 17:25:14 -0700 (PDT) Message-ID: <9f7850090605251725n5a37ff5fkd930a151e0a764c0@mail.gmail.com> Date: Thu, 25 May 2006 17:25:14 -0700 From: "marty fouts" To: "James Mansion" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4475E99C.5000502@nortel.com> Cc: Alexander Leidinger , Poul-Henning Kamp , Andrew Atrens , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 00:30:53 -0000 On 5/25/06, James Mansion wrote: > > Assume you have cron drive a flush once an hour and > consider how long until a sector dies, even if the drive > itself does no wear levelling at all (and I believe some > do it internally). I would be loathe to rely on a cron flush on a battery powered device. From owner-freebsd-current@FreeBSD.ORG Fri May 26 00:48:06 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D50A516C7CC for ; Fri, 26 May 2006 00:37:22 +0000 (UTC) (envelope-from mf.danger@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CE1D43D46 for ; Fri, 26 May 2006 00:37:22 +0000 (GMT) (envelope-from mf.danger@gmail.com) Received: by nf-out-0910.google.com with SMTP id p46so51919nfa for ; Thu, 25 May 2006 17:37:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O0PtvXtCH4iDec/z+gDJKOIbJviwADSUzwhc2A5lrCEB7JQTs2qpf5NSHZyCU6H9jqKw7Q4FvKG/FWaT/W/v0AMRC+MhQA25lD1QKXtD6iKuY6aWu5Q4Q1ti6Dp611VvUlid0nL+fATzw65gmpVzcjqP1g8WF0aGsD5lqgW6i+o= Received: by 10.49.78.6 with SMTP id f6mr7091151nfl; Thu, 25 May 2006 15:49:37 -0700 (PDT) Received: by 10.49.49.17 with HTTP; Thu, 25 May 2006 15:49:36 -0700 (PDT) Message-ID: <9f7850090605251549h13808911k47b04f61d283bee0@mail.gmail.com> Date: Thu, 25 May 2006 15:49:36 -0700 From: "marty fouts" To: "Poul-Henning Kamp" In-Reply-To: <2538.1148556253@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2538.1148556253@critter.freebsd.dk> Cc: small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 00:48:11 -0000 On 5/25/06, Poul-Henning Kamp wrote: > ARM is going great according to Jean-Mark and Warner, and we are > looking for a cheap (< $200) reference platform to point people at. > I'd recommend the Technologic Systems TS7200 or TS7250. See: http://www.embeddedarm.com/epc/ts7200-spec-h.html From owner-freebsd-current@FreeBSD.ORG Fri May 26 02:32:51 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F40016A8EC; Fri, 26 May 2006 02:32:51 +0000 (UTC) (envelope-from jim@netgate.com) Received: from netgate.com (mail.netgate.com [64.62.194.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 649EF43D4C; Fri, 26 May 2006 02:32:51 +0000 (GMT) (envelope-from jim@netgate.com) Received: from [192.168.2.184] (rrcs-67-52-77-54.west.biz.rr.com [67.52.77.54]) by netgate.com (Postfix) with ESMTP id 1CDF7280073; Thu, 25 May 2006 19:32:47 -0700 (PDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v750) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2EFA38F2-77CE-429D-A9DE-9E764EEAA8CB@netgate.com> Content-Transfer-Encoding: 7bit From: Jim Thompson Date: Thu, 25 May 2006 16:32:46 -1000 To: "James Mansion" X-Mailer: Apple Mail (2.750) X-Mailman-Approved-At: Fri, 26 May 2006 02:36:16 +0000 Cc: Alexander Leidinger , Poul-Henning Kamp , Andrew Atrens , small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 02:32:52 -0000 On May 25, 2006, at 1:03 PM, James Mansion wrote: >> It would support wear-levelling > > I think this might in practice be a red-herring. If you're assuming CF, possibly. If you're assuming a lower level flash interface, no. > If you could convince the system to set aside an amount > of RAM for dirty disk buffers and to write them all when > its filled or on application demand (and in a way that > preseves integrity like soft updates) so that for any > given flush each sector is written at most once, then > you can run for years for most CF cards and most practical > usage patterns that don't really demand a hard disk. embedded systems are constrained in memory size, too. > Assume you have cron drive a flush once an hour and > consider how long until a sector dies, even if the drive > itself does no wear levelling at all (and I believe some > do it internally). internal wear-leveling CF: yes otherwise: not typically. Might want to re-think your argument in terms of a system with 32MB of ram and 4MB of NAND or NOR flash. From owner-freebsd-current@FreeBSD.ORG Fri May 26 03:23:33 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16A4D16A4D2 for ; Fri, 26 May 2006 03:23:33 +0000 (UTC) (envelope-from emaste@phaedrus.sandvine.ca) Received: from gw.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F8A043D58 for ; Fri, 26 May 2006 03:23:32 +0000 (GMT) (envelope-from emaste@phaedrus.sandvine.ca) Received: from mailserver.sandvine.com ([192.168.1.10]) by gw.sandvine.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 May 2006 23:23:31 -0400 Received: from labgw2.phaedrus.sandvine.com ([192.168.3.11]) by mailserver.sandvine.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 May 2006 23:23:30 -0400 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 12627) id C36D511701; Thu, 25 May 2006 23:23:30 -0400 (EDT) Date: Thu, 25 May 2006 23:23:30 -0400 From: Ed Maste To: freebsd-current@freebsd.org Message-ID: <20060526032330.GA3890@sandvine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 26 May 2006 03:23:31.0029 (UTC) FILETIME=[C3262850:01C68073] Subject: panic: mutex vm object not owned at src/sys/vm/vm_object.c:695 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 03:23:36 -0000 On a freshly built INVARIANTS kernel. #0 doadump () at pcpu.h:166 #1 0xc0693984 in boot (howto=260) at /d2/emaste/HEAD/src/sys/kern/kern_shutdown.c:409 #2 0xc0693c99 in panic (fmt=0xc090f355 "mutex %s not owned at %s:%d") at /d2/emaste/HEAD/src/sys/kern/kern_shutdown.c:565 #3 0xc068b83e in _mtx_assert (m=0xc3b22528, what=0, file=0xc092caf4 "/d2/emaste/HEAD/src/sys/vm/vm_object.c", line=695) at /d2/emaste/HEAD/src/sys/kern/kern_mutex.c:754 #4 0xc07ecaaf in vm_object_page_clean (object=0xc3b22528, start=0, end=Unhandled dwarf expression opcode 0x93) at /d2/emaste/HEAD/src/sys/vm/vm_object.c:695 #5 0xc07734cd in nfs_vinvalbuf (vp=0xc37e0c30, flags=1, td=0xc3b3b1b0, intrflg=0) at /d2/emaste/HEAD/src/sys/nfsclient/nfs_bio.c:1316 #6 0xc07719df in nfs_bioread (vp=0xc37e0c30, uio=0xe5dbac64, ioflag=0, cred=0xc3be1500) at /d2/emaste/HEAD/src/sys/nfsclient/nfs_bio.c:423 #7 0xc077ccfb in nfs_read (ap=0x0) at /d2/emaste/HEAD/src/sys/nfsclient/nfs_vnops.c:981 #8 0xc089c136 in VOP_READ_APV (vop=0x0, a=0xe5dbab9c) at vnode_if.c:631 #9 0xc06f95bf in vn_read (fp=0xc3adf2d0, uio=0xe5dbac64, active_cred=0xc3be1500, flags=0, td=0xc3b3b1b0) at vnode_if.h:343 #10 0xc06bad39 in dofileread (td=0xc3b3b1b0, fd=3, fp=0xc3adf2d0, auio=0xe5dbac64, offset=Unhandled dwarf expression opcode 0x93) at file.h:241 #11 0xc06babce in kern_readv (td=0xc3b3b1b0, fd=3, auio=0xe5dbac64) at /d2/emaste/HEAD/src/sys/kern/sys_generic.c:192 #12 0xc06baaf9 in read (td=0xc3b3b1b0, uap=0x0) at /d2/emaste/HEAD/src/sys/kern/sys_generic.c:116 #13 0xc088b236 in syscall (frame= {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 136333456, tf_esi = 0, tf_ebp = -1077945832, tf_isp = -438588060, tf_ebx = 134835488, tf_edx = 0, tf_ecx = 0, tf_eax = 3, tf_trapno = 0, tf_err = 2, tf_eip = 134737971, tf_cs = 51, tf_eflags = 642, tf_esp = -1077945892, tf_ss = 59}) at /d2/emaste/HEAD/src/sys/i386/i386/trap.c:1016 #14 0xc0875ccf in Xint0x80_syscall () at /d2/emaste/HEAD/src/sys/i386/i386/exception.s:191 #15 0x00000033 in ?? () From owner-freebsd-current@FreeBSD.ORG Fri May 26 03:26:49 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1720E16A9D5; Fri, 26 May 2006 03:26:49 +0000 (UTC) (envelope-from ogautherot@vtr.net) Received: from lp01.vtr.net (relay.vtr.net [200.83.1.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CB9543D46; Fri, 26 May 2006 03:26:47 +0000 (GMT) (envelope-from ogautherot@vtr.net) Received: from [192.168.10.3] (200.83.72.22) by lp01.vtr.net (7.1.026) (authenticated as ogautherot) id 447403690001A790; Thu, 25 May 2006 23:26:46 -0400 From: Olivier Gautherot To: small@freebsd.org, current@freebsd.org Date: Thu, 25 May 2006 23:24:50 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605252324.52346.ogautherot@vtr.net> Cc: ralbab@gmail.com Subject: Embedded file system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: olivier@gautherot.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 03:26:52 -0000 Hi folks! First of all, sorry for cross-posting but I think it may be of interest to both groups: small@ as the ultimate target and current@ for their experience. After todays discussion, I've tried to summarize the comments to come up with some requirements - I've put up some more titles for additional items but, in the short term, I would like to ensure that the direction is correct and, hopefully, define it better yet. The idea is to define what the technology can or can't do before we organize the FS. I mean to help design a FS for a known target and not design for fun and, only then, look desperately for an application ;-) V 0.0 of the draft is at: http://mlagy.free.fr/POFS.pdf . This doc is really meant as a base for discussion, nothing else yet. Poul-Henning, you're welcome to raise a big binary red flag (i.e. ***NO*** :-) ) if you see something wrong ;-) When we come to a consensus, I can load it up on the "idea" page. Happy reading -- Olivier Gautherot olivier@gautherot.net From owner-freebsd-current@FreeBSD.ORG Fri May 26 03:44:40 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BA4616A696 for ; Fri, 26 May 2006 03:44:40 +0000 (UTC) (envelope-from emaste@phaedrus.sandvine.ca) Received: from gw.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC4B443D46 for ; Fri, 26 May 2006 03:44:39 +0000 (GMT) (envelope-from emaste@phaedrus.sandvine.ca) Received: from mailserver.sandvine.com ([192.168.1.10]) by gw.sandvine.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 May 2006 23:44:38 -0400 Received: from labgw2.phaedrus.sandvine.com ([192.168.3.11]) by mailserver.sandvine.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 May 2006 23:44:38 -0400 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 12627) id 9EE9F11701; Thu, 25 May 2006 23:44:38 -0400 (EDT) Date: Thu, 25 May 2006 23:44:38 -0400 From: Ed Maste To: freebsd-current@freebsd.org Message-ID: <20060526034438.GA5811@sandvine.com> References: <20060526032330.GA3890@sandvine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060526032330.GA3890@sandvine.com> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 26 May 2006 03:44:38.0840 (UTC) FILETIME=[B6D2C380:01C68076] Subject: Re: panic: mutex vm object not owned at src/sys/vm/vm_object.c:695 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 03:44:41 -0000 On Thu, May 25, 2006 at 11:23:30PM -0400, Ed Maste wrote: > On a freshly built INVARIANTS kernel. > > #0 doadump () at pcpu.h:166 > #1 0xc0693984 in boot (howto=260) > at /d2/emaste/HEAD/src/sys/kern/kern_shutdown.c:409 > #2 0xc0693c99 in panic (fmt=0xc090f355 "mutex %s not owned at %s:%d") > at /d2/emaste/HEAD/src/sys/kern/kern_shutdown.c:565 > #3 0xc068b83e in _mtx_assert (m=0xc3b22528, what=0, > file=0xc092caf4 "/d2/emaste/HEAD/src/sys/vm/vm_object.c", line=695) > at /d2/emaste/HEAD/src/sys/kern/kern_mutex.c:754 > #4 0xc07ecaaf in vm_object_page_clean (object=0xc3b22528, start=0, end=Unhandled dwarf expression opcode 0x93) > at /d2/emaste/HEAD/src/sys/vm/vm_object.c:695 Nevermind, it seems I updated just before ups's commit for this. From owner-freebsd-current@FreeBSD.ORG Fri May 26 04:04:49 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2B1216A70F for ; Fri, 26 May 2006 04:04:49 +0000 (UTC) (envelope-from bkelly@vadev.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3166843D58 for ; Fri, 26 May 2006 04:04:49 +0000 (GMT) (envelope-from bkelly@vadev.org) Received: (qmail 6980 invoked from network); 26 May 2006 04:04:49 -0000 Received: from vadev.org (HELO [192.168.1.200]) (Desdicardo@[66.92.166.151]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 26 May 2006 04:04:48 -0000 Message-ID: <44767E5E.3080306@vadev.org> Date: Fri, 26 May 2006 00:04:46 -0400 From: Ben Kelly User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: Jim Thompson References: <3500.1148571492@critter.freebsd.dk> <200605251628.58158.bkelly@vadev.org> <9453AA8E-B50B-4BF4-91F2-1AC5538FC6E6@netgate.com> In-Reply-To: <9453AA8E-B50B-4BF4-91F2-1AC5538FC6E6@netgate.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, small@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 04:04:52 -0000 Jim Thompson wrote: > The real issue with porting JFFS2 is that its covered by the GPL, and > putting GPL code in the FreeBSD kernel is typically considered a 'no-no'. Couldn't this be handled in the same way as the ext2 and reiserfs file systems? > Jim Thanks. - Ben From owner-freebsd-current@FreeBSD.ORG Fri May 26 02:37:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC06316A75B; Fri, 26 May 2006 02:37:53 +0000 (UTC) (envelope-from jim@netgate.com) Received: from netgate.com (mail.netgate.com [64.62.194.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9937143D70; Fri, 26 May 2006 02:37:48 +0000 (GMT) (envelope-from jim@netgate.com) Received: from [192.168.2.184] (rrcs-67-52-77-54.west.biz.rr.com [67.52.77.54]) by netgate.com (Postfix) with ESMTP id 818E3280073; Thu, 25 May 2006 19:37:47 -0700 (PDT) In-Reply-To: <200605251628.58158.bkelly@vadev.org> References: <3500.1148571492@critter.freebsd.dk> <200605251628.58158.bkelly@vadev.org> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9453AA8E-B50B-4BF4-91F2-1AC5538FC6E6@netgate.com> Content-Transfer-Encoding: 7bit From: Jim Thompson Date: Thu, 25 May 2006 16:37:46 -1000 To: Ben Kelly X-Mailer: Apple Mail (2.750) X-Mailman-Approved-At: Fri, 26 May 2006 05:20:00 +0000 Cc: Poul-Henning Kamp , freebsd-current@freebsd.org, small@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 02:37:54 -0000 On May 25, 2006, at 10:28 AM, Ben Kelly wrote: > On Thursday 25 May 2006 11:38 am, Poul-Henning Kamp wrote: >> Writing a flash-friendly-filesystem would be a good project. > > Would it be reasonable to try porting JFFS2 or are their reasons to > write > something from scratch? some people have concerns about the performance of JFFS2 on large flash devices (> 16MB). Frankly, if supporting large flash devices (or arrays) is an issue, then perhaps the wear-leveling intermediate layer with a standard filesystem on top is a better approach. The real issue with porting JFFS2 is that its covered by the GPL, and putting GPL code in the FreeBSD kernel is typically considered a 'no- no'. Still, the embedded linux folks get a >TON< of milage out of MTD+JFFS2. Nobody has brought up supporting non-Freesbie bootloaders, either. Many boards use redboot, u-boot or one of the MIPS loaders to get going. Getting these to boot FreeBSD will also be part of any solution. I don't think its practical to port Freesbie to any new board, not in the short-to-medium timeframe, either. Jim From owner-freebsd-current@FreeBSD.ORG Fri May 26 02:40:59 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30D5116AA83; Fri, 26 May 2006 02:40:59 +0000 (UTC) (envelope-from jim@netgate.com) Received: from netgate.com (mail.netgate.com [64.62.194.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E30F443D55; Fri, 26 May 2006 02:40:56 +0000 (GMT) (envelope-from jim@netgate.com) Received: from [192.168.2.184] (rrcs-67-52-77-54.west.biz.rr.com [67.52.77.54]) by netgate.com (Postfix) with ESMTP id B7733280073; Thu, 25 May 2006 19:40:54 -0700 (PDT) In-Reply-To: <20060525200846.GA2796@freebie.xs4all.nl> References: <1148585364.447605943e3e1@imp2-g19.free.fr> <4784.1148586952@critter.freebsd.dk> <20060525200846.GA2796@freebie.xs4all.nl> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jim Thompson Date: Thu, 25 May 2006 16:40:53 -1000 To: Wilko Bulte X-Mailer: Apple Mail (2.750) X-Mailman-Approved-At: Fri, 26 May 2006 05:20:15 +0000 Cc: Alexander Leidinger , Poul-Henning Kamp , Andrew Atrens , current@freebsd.org, small@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 02:41:02 -0000 On May 25, 2006, at 10:08 AM, Wilko Bulte wrote: > On Thu, May 25, 2006 at 09:55:52PM +0200, Poul-Henning Kamp wrote.. >> In message <1148585364.447605943e3e1@imp2-g19.free.fr>, Olivier >> Gautherot write >> s: >> >>> For the filesystem, we could think of a standard one - why >>> reinvent the wheel >>> when FreeBSD already has a good one that could be used, possibly >>> with a few >>> tweaks? >> >> "The adequate has always been the worst enemy of excellence" > > Or worse still "it works/it is cheap" which appears to be todays > slogan. Its "Worse is better", and its been around for over a decade. http://www.jwz.org/doc/worse-is-better.html http://www.dreamsongs.com/WorseIsBetter.html >> Remember, it's: "FreeBSD, the best damn UNIX around", not "FreeBSD: >> Yet Another Mediocre UNIX". > > Make that UNIX-like or TOG will be on your back. Another one of these > modern times 'achievements'. eh? FreeBSD >is< (a) Unix. (Linux is not.) From owner-freebsd-current@FreeBSD.ORG Fri May 26 02:50:55 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6073816A4D2; Fri, 26 May 2006 02:50:55 +0000 (UTC) (envelope-from jim@netgate.com) Received: from netgate.com (mail.netgate.com [64.62.194.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EF4F43D46; Fri, 26 May 2006 02:50:55 +0000 (GMT) (envelope-from jim@netgate.com) Received: from [192.168.2.184] (rrcs-67-52-77-54.west.biz.rr.com [67.52.77.54]) by netgate.com (Postfix) with ESMTP id 20DBB280073; Thu, 25 May 2006 19:50:51 -0700 (PDT) In-Reply-To: <20060525.141012.1683993116.imp@bsdimp.com> References: <3981.1148578569@critter.freebsd.dk> <4475EFC1.1020504@nortel.com> <1148580598.4475f2f677197@imp2-g19.free.fr> <20060525.141012.1683993116.imp@bsdimp.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3BEB3B54-4CAD-477D-B88C-AB32584B7A47@netgate.com> Content-Transfer-Encoding: 7bit From: Jim Thompson Date: Thu, 25 May 2006 16:50:49 -1000 To: "M. Warner Losh" X-Mailer: Apple Mail (2.750) X-Mailman-Approved-At: Fri, 26 May 2006 05:20:29 +0000 Cc: atrens@nortel.com, current@freebsd.org, olivier@gautherot.net, phk@phk.freebsd.dk, Alexander@Leidinger.net, small@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 02:50:57 -0000 On May 25, 2006, at 10:10 AM, M. Warner Losh wrote: > In message: <1148580598.4475f2f677197@imp2-g19.free.fr> > Olivier Gautherot writes: > : Hi Andrew! > : > : > [...] > : > > The reason Flash Adaptation Layers came about in the first place > : > > is that W95 didn't support anything but FAT. > : > > : > > : > Hmm. I was thinking about partitioning the problem actually. > Make flash > : > look like a disk and then you can put any filesystem on it that > you > : > want. Seems a heck of a lot simpler .. and I'm not sure if I > see any > : > drawbacks to doing it that way ... > : > : The drawback is the following: what would happen if you had an > application > : opening-writing-closing a file in /var/log on a regular basis? > The block > : would decay with time, with chances that your log even gets > corrupted. its much worse than you present. superblocks, directory inodes for /var/log, inodes (never mind the blocks for the file) for /var/log/foo (mod/access time updates), etc. > : That's why Flash drivers have to spread write accesses across the > device > : (what FFS doesn't naturally do). Also, there is a constraint > regarding > : the changes allowed: on NAND flash, you can write a 0 on a bit > but have > : to erase the full block to write a 1 back. > : > : Don't forget that Flash doesn't suffer from mechanical delays so > there > : is no harm in fragmenting the filesystem: this would be another > feature. though erasing a sector (for NAND flash) is a relatively slow operation. > There's at least one implementation of a geom_nand layer that tries to > wear average blocks from a pool it keeps. However, it would be far > better if it could get hints from the file system layer when blocks > were freed. Once you get to that level of abstraction, you might as > well just do all the work yourself. It gets kinda hairy to do it > generically for any filesystem. One problem with allowing excess fragmentation is that you might not be able to find a larger contiguous set of sectors, if your file/filesystem geometry requires same. This is why JFFS2 does GC. From owner-freebsd-current@FreeBSD.ORG Fri May 26 05:46:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 790E616A5F6; Fri, 26 May 2006 05:46:51 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from relay-er5.mbrd.ru (relay-er5.mbrd.ru [194.117.71.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B55443D6B; Fri, 26 May 2006 05:46:46 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from msd.mbrd.ru ([172.16.33.193]) by relay-er5.mbrd.ru with esmtpa (Exim 4.x) id 1FjV9p-0006TJ-8m; Fri, 26 May 2006 09:46:45 +0400 Message-ID: <44769644.6020505@FreeBSD.org> Date: Fri, 26 May 2006 09:46:44 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Alex Dupre References: <4475E51A.4090004@FreeBSD.org> <4475F779.1010704@FreeBSD.org> In-Reply-To: <4475F779.1010704@FreeBSD.org> X-Enigmail-Version: 0.93.2.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: geli stops work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 05:46:54 -0000 Alex Dupre wrote: > Sergey Matveychuk wrote: >> # mount /dev/md0c.eli /mnt1 >> mount: /dev/md0c.eli: Operation not permitted >> >> What's up? >> My geli disk unavailable now. > > Just to be sure, did you try to run fsck on it? Maybe it's only a badly > corrupted fs. It was not corrupted before I've updated. I mount/umount it by hands every time. -- Dixi. Sem. From owner-freebsd-current@FreeBSD.ORG Fri May 26 07:22:00 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1C0A16A640; Fri, 26 May 2006 07:22:00 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail24.syd.optusnet.com.au (mail24.syd.optusnet.com.au [211.29.133.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id F03C143D48; Fri, 26 May 2006 07:21:59 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail24.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4Q7LuZe021777 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 26 May 2006 17:21:57 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4Q7LuG6000835; Fri, 26 May 2006 17:21:56 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4Q7LtrJ000834; Fri, 26 May 2006 17:21:55 +1000 (EST) (envelope-from peter) Date: Fri, 26 May 2006 17:21:55 +1000 From: Peter Jeremy To: Jim Thompson Message-ID: <20060526072155.GA744@turion.vk2pj.dyndns.org> References: <1148585364.447605943e3e1@imp2-g19.free.fr> <4784.1148586952@critter.freebsd.dk> <20060525200846.GA2796@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: current@freebsd.org, small@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 07:22:02 -0000 On Thu, 2006-May-25 16:40:53 -1000, Jim Thompson wrote: >>Make that UNIX-like or TOG will be on your back. Another one of these >>modern times 'achievements'. > >eh? FreeBSD >is< (a) Unix. (Linux is not.) FreeBSD has not gone through the TOG hoops necessary to legally brand itself as Unix. Even in heritage terms, by the terms of the AT&T vs UC lawsuit, Lite-2 (and hence FreeBSD) contains no AT&T code and is therefore not Unix. -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Fri May 26 07:25:02 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBDDC16A5EF for ; Fri, 26 May 2006 07:25:02 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0DB743D4C for ; Fri, 26 May 2006 07:25:01 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k4Q7OxYo048273 for ; Fri, 26 May 2006 11:24:59 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k4Q7Ow5h048272 for freebsd-current@freebsd.org; Fri, 26 May 2006 11:24:58 +0400 (MSD) (envelope-from yar) Date: Fri, 26 May 2006 11:24:58 +0400 From: Yar Tikhiy To: freebsd-current@freebsd.org Message-ID: <20060526072458.GA47499@comp.chem.msu.su> References: <20060518151232.GA37743@comp.chem.msu.su> <200605181819.k4IIJHL7001150@hardy.tmseck.homedns.org> <20060519085408.GB51604@comp.chem.msu.su> <20060521102204.GB78879@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060521102204.GB78879@comp.chem.msu.su> User-Agent: Mutt/1.5.9i Subject: Re: Root FS corruption X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 07:25:04 -0000 On Sun, May 21, 2006 at 02:22:05PM +0400, Yar Tikhiy wrote: > On Fri, May 19, 2006 at 12:54:08PM +0400, Yar Tikhiy wrote: > > On Thu, May 18, 2006 at 08:19:17PM +0200, Thomas-Martin Seck wrote: > > > * Yar Tikhiy : > > > > > > > I saw the following / corruption in a fresh CURRENT when using > > > > nextboot. Of course, it wasn't the fault of nextboot itself, > > > > nextboot simply was the only utility to modify / in my case. > > > > > > > > I found the contents of nextboot.conf once in my custom /root/supfile, > > > > the other time in the stock /etc/protocols. /etc/protocols was > > > > large enough to see how the corruption had happened: the first > > > > fragment, 2048 bytes, of the file was replaced by the contents of > > > > nextboot.conf, zero padded. > > > > > > > > The / was a usual 2048/16384 UFS2 without soft-updates. The kernel > > > > was GENERIC. Forced fsck reported no problems at all. The / had > > > > never been dirty because I used nextboot to boot single-user with > > > > all FSen read-only and investigate a panic unrelated to FS. > > > > > > > > Did any one see a similar problem of fragment mis-allocation? > > > > > > I experienced the exact same corruption some months ago with a RELENG_6 > > > test system I update regularly. Unfortunately, this corruption happened > > > only once, I was never able to reproduce it since. > > > > > > The kernel is a stripped down GENERIC, /root is a 2048/16384 UFS2 fs. > > > > Thank you for your reply! Apropos, today /boot/kernel/ng_fec.ko > > fell a victim to the corruption in exactly the same way: its first > > fragment was replaced by the nextboot.conf contents. The system > > was updated last time on the day before yesterday. > > > > Of course, more / corruption is likely. The case of nextboot.conf > > is just detectable easily. Thank Daemon, it's a test machine and > > not a production server. I'm still trying to find a pattern in the > > corruption. > > I've just tried to and reproduced the corruption immediately. The > victim is ng_fec.ko again. Perhaps the file lies at a vulnerable > spot. Attached is the typescript of my post-facto debug session > involving ls -i and fsdb. A point to note is the proximity of > ng_fec.ko and nextboot.conf: They are at adjacent blocks. Looks > like an off-by-one bug, doesn't it? However, I can't imagine how > the nextboot stuff gets written to _both_ /boot/nextboot.conf and > the first fragment of ng_fec.ko. The fragment appears to have been > written twice, to adjacent, yet different, locations. > > -- > Yar > > # hd /boot/kernel/ng_fec.ko|head > 00000000 6e 65 78 74 62 6f 6f 74 5f 65 6e 61 62 6c 65 3d |nextboot_enable=| > 00000010 22 4e 4f 22 20 0a 6b 65 72 6e 65 6c 3d 22 54 45 |"NO" .kernel="TE| > 00000020 53 54 22 0a 6b 65 72 6e 65 6c 5f 6f 70 74 69 6f |ST".kernel_optio| > 00000030 6e 73 3d 22 2d 73 22 0a 00 00 00 00 00 00 00 00 |ns="-s".........| > 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| > * > 00000800 54 47 52 41 50 48 5f 4d 53 47 00 6d 6f 64 75 6c |TGRAPH_MSG.modul| > 00000810 65 5f 72 65 67 69 73 74 65 72 5f 69 6e 69 74 00 |e_register_init.| > 00000820 62 7a 65 72 6f 00 6e 67 5f 66 72 65 65 5f 69 74 |bzero.ng_free_it| > 00000830 65 6d 00 69 66 5f 66 72 65 65 00 69 66 75 6e 69 |em.if_free.ifuni| > # fsck -n / > ** /dev/ad0s3a (NO WRITE) > ** Last Mounted on / > ** Root file system > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Cyl groups > 1522 files, 53031 used, 73808 free (1016 frags, 9099 blocks, 0.8% fragmentation) > # ls -li1 /boot/nextboot.conf /boot/kernel/ng_fec.ko > 25693 /boot/kernel/ng_fec.ko > 25610 /boot/nextboot.conf > # fsdb -r /dev/ad0s3a > ** /dev/ad0s3a (NO WRITE) > Examining file system `/dev/ad0s3a' > Last Mounted on / > current inode: directory > I=2 MODE=40755 SIZE=512 > MTIME=May 19 17:44:35 2006 [0 nsec] > CTIME=May 19 17:44:35 2006 [0 nsec] > ATIME=May 21 13:36:54 2006 [0 nsec] > OWNER=root GRP=wheel LINKCNT=20 FLAGS=0 BLKCNT=4 GEN=6c8c4dd5 > fsdb (inum: 2)> inode 25610 > current inode: regular file > I=25610 MODE=100644 SIZE=56 > MTIME=May 21 13:38:02 2006 [0 nsec] > CTIME=May 21 13:38:02 2006 [0 nsec] > ATIME=May 21 13:38:02 2006 [0 nsec] > OWNER=root GRP=wheel LINKCNT=1 FLAGS=0 BLKCNT=4 GEN=7f9710d0 > fsdb (inum: 25610)> blocks > Blocks for inode 25610: > Direct blocks: > 129599 (1 frag) > fsdb (inum: 25610)> inode 25693 > current inode: regular file > I=25693 MODE=100555 SIZE=12922 > MTIME=May 19 13:36:50 2006 [0 nsec] > CTIME=May 19 13:36:50 2006 [0 nsec] > ATIME=May 21 13:36:56 2006 [0 nsec] > OWNER=root GRP=wheel LINKCNT=1 FLAGS=0 BLKCNT=1c GEN=8b771c4 > fsdb (inum: 25693)> blocks > Blocks for inode 25693: > Direct blocks: > 129600 (7 frags) > fsdb (inum: 25693)> q I still can damage a file on the root FS by running nextboot. This seems very reproducible. A subsequent reboot is needed for the damage to happen actually. The pattern is the same: A fragment is allocated to nextboot.conf in the block immediately preceding another file's block. The nextboot.conf contents are written out later (when syncing disks before the reboot?) to the neighbour file's first fragment. Nextboot.conf itself has correct contents, which means that the contents are written out twice for some reason. Nextboot is a simple shell script just writing out nextboot.conf, which means that any file write following the same scenario (creat and write a small file, then reboot) should result in damage to anothe file on the same FS. Of course, the FS fill pattern may affect this. In my case, the FS is only half full, which apparently allows for allocating a new block to the small file, not a fragment in a partially occupied block. I'm afraid I'm not going to read the UFS/FFS code from scratch now, but I won't mind adding some debug printfs and examining the output if guided by an expert. I won't file a PR on this because I suspect that I can reproduce the problem easily due to my current setup, but I may no more if it changes. Frequent backups are good for your files ;-) -- Yar From owner-freebsd-current@FreeBSD.ORG Fri May 26 07:29:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 521C416A539; Fri, 26 May 2006 07:29:28 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail22.syd.optusnet.com.au (mail22.syd.optusnet.com.au [211.29.133.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id A768643D58; Fri, 26 May 2006 07:29:25 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail22.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4Q7TNAE015838 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 26 May 2006 17:29:24 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4Q7TNUW000862; Fri, 26 May 2006 17:29:23 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4Q7TMht000861; Fri, 26 May 2006 17:29:22 +1000 (EST) (envelope-from peter) Date: Fri, 26 May 2006 17:29:22 +1000 From: Peter Jeremy To: Ben Kelly Message-ID: <20060526072922.GB744@turion.vk2pj.dyndns.org> References: <3500.1148571492@critter.freebsd.dk> <200605251628.58158.bkelly@vadev.org> <9453AA8E-B50B-4BF4-91F2-1AC5538FC6E6@netgate.com> <44767E5E.3080306@vadev.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44767E5E.3080306@vadev.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org, small@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 07:29:28 -0000 On Fri, 2006-May-26 00:04:46 -0400, Ben Kelly wrote: >Jim Thompson wrote: >>The real issue with porting JFFS2 is that its covered by the GPL, and >>putting GPL code in the FreeBSD kernel is typically considered a 'no-no'. > >Couldn't this be handled in the same way as the ext2 and reiserfs file >systems? The viral aspects of the GPL is a far bigger issue for embedded devices than a desktop workstation. Your embedded widget won't need/have the userland GPL tools, ext2 or ReiserFS but can't survive without a FS of some sort. -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Fri May 26 07:45:43 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F134216A428; Fri, 26 May 2006 07:45:43 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B27A43D55; Fri, 26 May 2006 07:45:42 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k4Q7jfbA048605; Fri, 26 May 2006 11:45:41 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k4Q7jeEr048604; Fri, 26 May 2006 11:45:41 +0400 (MSD) (envelope-from yar) Date: Fri, 26 May 2006 11:45:40 +0400 From: Yar Tikhiy To: Peter Jeremy Message-ID: <20060526074540.GB47499@comp.chem.msu.su> References: <1148585364.447605943e3e1@imp2-g19.free.fr> <4784.1148586952@critter.freebsd.dk> <20060525200846.GA2796@freebie.xs4all.nl> <20060526072155.GA744@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060526072155.GA744@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.5.9i Cc: Jim Thompson , current@freebsd.org, small@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 07:45:45 -0000 On Fri, May 26, 2006 at 05:21:55PM +1000, Peter Jeremy wrote: > On Thu, 2006-May-25 16:40:53 -1000, Jim Thompson wrote: > >>Make that UNIX-like or TOG will be on your back. Another one of these > >>modern times 'achievements'. > > > >eh? FreeBSD >is< (a) Unix. (Linux is not.) > > FreeBSD has not gone through the TOG hoops necessary to legally brand > itself as Unix. Even in heritage terms, by the terms of the AT&T vs > UC lawsuit, Lite-2 (and hence FreeBSD) contains no AT&T code and is > therefore not Unix. Let's say that *BSD have outgrown Unix while Linux has never grown into it. So we'll at once a) hint the audience at our noble roots, b) pretend we aren't limited by design decisions from the Iron Age of computing, and c) taunt Linux ;-) -- Yar From owner-freebsd-current@FreeBSD.ORG Fri May 26 07:49:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4409F16A49A; Fri, 26 May 2006 07:49:09 +0000 (UTC) (envelope-from saturnero@freesbie.org) Received: from out.alice.it (smtp-out01.alice.it [85.33.2.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58EE843D55; Fri, 26 May 2006 07:49:06 +0000 (GMT) (envelope-from saturnero@freesbie.org) Received: from FBCMMO01.fbc.local ([192.168.68.195]) by out.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 May 2006 09:49:05 +0200 Received: from client.alice.it ([192.168.68.137]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 May 2006 09:49:04 +0200 Received: from [192.168.99.16] ([87.5.150.129]) by client.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 May 2006 09:49:04 +0200 Message-ID: <4476B2DC.6080105@freesbie.org> Date: Fri, 26 May 2006 09:48:44 +0200 From: Dario Freni User-Agent: Mozilla Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: Jim Thompson References: <3500.1148571492@critter.freebsd.dk> <200605251628.58158.bkelly@vadev.org> <9453AA8E-B50B-4BF4-91F2-1AC5538FC6E6@netgate.com> In-Reply-To: <9453AA8E-B50B-4BF4-91F2-1AC5538FC6E6@netgate.com> X-Enigmail-Version: 0.94.0.0 OpenPGP: url=http://www.saturnero.net/saturnero.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig910DC26DB4CB9D183DEEDB71" X-OriginalArrivalTime: 26 May 2006 07:49:04.0255 (UTC) FILETIME=[DC1780F0:01C68098] Cc: Poul-Henning Kamp , freebsd-current@freebsd.org, small@freebsd.org, Ben Kelly Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 07:49:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig910DC26DB4CB9D183DEEDB71 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable [missed the reply-all, sorry Jim] Jim Thompson wrote: > I don't think its practical to port Freesbie to any new board, not in > the short-to-medium timeframe, either. What "Freesbie" are you talking about? Phk was referring to the second version of the toolkit I presented recently in Ottawa, that is perfectly usable for embedded system and it's ready to welcome new platforms. It is already ported for powerpc architecture and I want it to be ported to the arm and other archs (I don't have the hardware). Porting is really trivial. I suggest you to take a look: http://www.freesbie.org/~saturnero/FreeSBIE-BSDCan06-devsummit.pdf anonymous@cvs.freesbie.org module freesbie2 or: http://bugs.freesbie.org/dir?d=3Dfreesbie2 pfSense embedded images, which you mentioned in this thread, are a great example of use of FreeSBIE for packing a FreeBSD embedded 'distro'. --=20 Dario Freni (saturnero@freesbie.org) FreeSBIE developer (http://www.freesbie.org) GPG Public key at http://www.saturnero.net/saturnero.asc --------------enig910DC26DB4CB9D183DEEDB71 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.1 (Darwin) iD8DBQFEdrLcymi72IiShysRAlcbAJ44uXULdFf0gbvhZNOIS0xi4i2irACgkBn0 xpL+aS3xyy8En4aksDyONbs= =T8DB -----END PGP SIGNATURE----- --------------enig910DC26DB4CB9D183DEEDB71-- From owner-freebsd-current@FreeBSD.ORG Fri May 26 09:01:35 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 773F316A422 for ; Fri, 26 May 2006 09:01:35 +0000 (UTC) (envelope-from sos@FreeBSD.org) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id C12F043D48 for ; Fri, 26 May 2006 09:01:34 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from [194.192.25.142] (spider.deepcore.dk [194.192.25.142]) by spider.deepcore.dk (8.13.6/8.13.4) with ESMTP id k4Q91VCU093663; Fri, 26 May 2006 11:01:31 +0200 (CEST) (envelope-from sos@FreeBSD.org) Message-ID: <4476C3EB.30105@FreeBSD.org> Date: Fri, 26 May 2006 11:01:31 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: b-tuck@gmx.net References: <20060525153743.268850@gmx.net> In-Reply-To: <20060525153743.268850@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.16 Cc: current@FreeBSD.org Subject: Re: Broadcom ServerWorks HT-1000 support in OpenBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 09:01:36 -0000 b-tuck@gmx.net wrote: >> Mike Jakubik wrote: >> >>> Søren Schmidt wrote: >>> >>>> Mike Jakubik wrote: >>>> >>>>> It seems like OpenBSD 3.9 has support for the HT-1000 IDE/SATA >>>>> chipset, and we are still missing it. Is there any way to port their >>>>> code over? There are a few nice motherboards out there that use this >>>>> chipset (most amd server boards use the crappy nvidia chipset and >>>>> the accompanying crappy network card). >>>>> >>>> I've been promised a board with the serverworks chipset on it so I >>>> can get support running, as you can probably figure out it hasn't >>>> materialized yet, and no timeline as to when/if. >>>> The Openbsd code is of as much use as the Linux counterpart. I need >>>> HW to test and maintain support, simple as that... >>>> >> The hardware to support this stuff should go out this week to Søren >> >> hi >> >> i just wanted to know if the driver is already ported to freebsd. >> if not how long does it approximately take? >> Hardware has arrived here and I'm working on support as time permits, watch -current for the commit when I'm done... -Søren From owner-freebsd-current@FreeBSD.ORG Fri May 26 10:27:14 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 062B716A426; Fri, 26 May 2006 10:27:14 +0000 (UTC) (envelope-from martin@gneto.com) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2AEC43D66; Fri, 26 May 2006 10:27:09 +0000 (GMT) (envelope-from martin@gneto.com) Received: from ua-83-227-181-30.cust.bredbandsbolaget.se ([83.227.181.30] [83.227.181.30]) by mxfep01.bredband.com with ESMTP id <20060526102708.OILJ19930.mxfep01.bredband.com@ua-83-227-181-30.cust.bredbandsbolaget.se>; Fri, 26 May 2006 12:27:08 +0200 Received: from [192.168.10.11] (euklides.gneto.com [192.168.10.11]) by ua-83-227-181-30.cust.bredbandsbolaget.se (Postfix) with ESMTP id 772DB67922; Fri, 26 May 2006 12:27:08 +0200 (CEST) Message-ID: <4476D7FD.2070006@gneto.com> Date: Fri, 26 May 2006 12:27:09 +0200 From: Martin Nilsson User-Agent: Thunderbird 1.5.0.2 (X11/20060423) MIME-Version: 1.0 To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= References: <20060525153743.268850@gmx.net> <4476C3EB.30105@FreeBSD.org> In-Reply-To: <4476C3EB.30105@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: current@FreeBSD.org, b-tuck@gmx.net Subject: Re: Broadcom ServerWorks HT-1000 support in OpenBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 10:27:14 -0000 Søren Schmidt wrote: >>>>>> It seems like OpenBSD 3.9 has support for the HT-1000 IDE/SATA >>>>>> chipset, and we are still missing it. Is there any way to port >>>>>> their code over? There are a few nice motherboards out there that >>>>>> use this chipset (most amd server boards use the crappy nvidia >>>>>> chipset and the accompanying crappy network card). I'm running FreeBSD 6.1 on boards with HT1000 chipset, both ATA and SATA works as well under FreeBSD as it does under OpenBSD. Neither of them supports anything else than IDE mode for SATA. > Hardware has arrived here and I'm working on support as time permits, > watch -current for the commit when I'm done... Are you working on supporting the MMIO mode for SATA? (the one used by Linux - which does not support IDE mode!) There is also a really nice RAID mode (for a non HW-raid solution!) that depends on a binary blob from Broadcom available only for Linux/Windows. /Martin From owner-freebsd-current@FreeBSD.ORG Fri May 26 10:40:06 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8EFC16A432; Fri, 26 May 2006 10:40:05 +0000 (UTC) (envelope-from sos@deepcore.dk) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A46243D48; Fri, 26 May 2006 10:40:05 +0000 (GMT) (envelope-from sos@deepcore.dk) Received: from [194.192.25.142] (spider.deepcore.dk [194.192.25.142]) by spider.deepcore.dk (8.13.6/8.13.4) with ESMTP id k4QAe3aA094631; Fri, 26 May 2006 12:40:04 +0200 (CEST) (envelope-from sos@deepcore.dk) Message-ID: <4476DB03.40802@deepcore.dk> Date: Fri, 26 May 2006 12:40:03 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: Martin Nilsson References: <20060525153743.268850@gmx.net> <4476C3EB.30105@FreeBSD.org> <4476D7FD.2070006@gneto.com> In-Reply-To: <4476D7FD.2070006@gneto.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.16 Cc: b-tuck@gmx.net, current@FreeBSD.ORG, =?ISO-8859-1?Q?S=F8ren_Schmidt?= Subject: Re: Broadcom ServerWorks HT-1000 support in OpenBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 10:40:08 -0000 Martin Nilsson wrote: > Søren Schmidt wrote: >>>>>>> It seems like OpenBSD 3.9 has support for the HT-1000 IDE/SATA >>>>>>> chipset, and we are still missing it. Is there any way to port >>>>>>> their code over? There are a few nice motherboards out there that >>>>>>> use this chipset (most amd server boards use the crappy nvidia >>>>>>> chipset and the accompanying crappy network card). > > I'm running FreeBSD 6.1 on boards with HT1000 chipset, both ATA and SATA > works as well under FreeBSD as it does under OpenBSD. Neither of them > supports anything else than IDE mode for SATA. Yep, they are supported as GENERIC ATA devices. > >> Hardware has arrived here and I'm working on support as time permits, >> watch -current for the commit when I'm done... > > Are you working on supporting the MMIO mode for SATA? (the one used by > Linux - which does not support IDE mode!) There is also a really nice > RAID mode (for a non HW-raid solution!) that depends on a binary blob > from Broadcom available only for Linux/Windows. I have proper PATA support done, and SATA MMIO mode is also working in a proof of concept mode here, the problem beeing lack lack of decent docs. I'll look at the RAID stuff when I have the HW support licked, it should be an easy job adding support for it to ataraid. -Søren From owner-freebsd-current@FreeBSD.ORG Fri May 26 10:54:51 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2696616A433; Fri, 26 May 2006 10:54:51 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62CD343D46; Fri, 26 May 2006 10:54:48 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k4QAsklN048303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 May 2006 14:54:46 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k4QAsj7l048302; Fri, 26 May 2006 14:54:45 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 26 May 2006 14:54:45 +0400 From: Gleb Smirnoff To: Poul-Henning Kamp Message-ID: <20060526105445.GF27819@FreeBSD.org> References: <2538.1148556253@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <2538.1148556253@critter.freebsd.dk> User-Agent: Mutt/1.5.6i Cc: small@FreeBSD.org, current@FreeBSD.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 10:54:55 -0000 On Thu, May 25, 2006 at 01:24:13PM +0200, Poul-Henning Kamp wrote: P> We think that it is important to make it easy for people to get P> FreeBSD onto their embedded hardware so that they can start P> their work by experimenting and customizing rather than figuring P> out how to get FreeBSD to boot at all. P> P> Currently FreeBSD comes in three different packagings: P> P> * The official release "Normal disk installations" P> * The FreeSBIE kit "Run from CDROM etc" P> * NanoBSD "Run from flash etc" As usual, people forget about Frenzy distribution: http://frenzy.org.ua/en/ -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-current@FreeBSD.ORG Fri May 26 06:50:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6556416A8A7; Fri, 26 May 2006 06:50:13 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from pinnacle.akherb.com (60-105-237-24.gci.net [24.237.105.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA7CE43D48; Fri, 26 May 2006 06:50:12 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id EA7745DD2; Thu, 25 May 2006 22:50:11 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 Received: from 114-103-74-65.gci.net (114-103-74-65.gci.net [65.74.103.114]) by pinnacle.akherb.com (Postfix) with ESMTP id 02A645CAE; Thu, 25 May 2006 22:50:09 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: Michael Nottebrock Date: Thu, 25 May 2006 22:49:48 -0800 User-Agent: KMail/1.9.1 References: <200605250123.05126.beech@alaskaparadise.com> <44763F33.50008@freebsd.org> In-Reply-To: <44763F33.50008@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4156317.vS9SIIF8yL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605252250.05251.beech@alaskaparadise.com> X-Mailman-Approved-At: Fri, 26 May 2006 11:16:56 +0000 Cc: freebsd-current@freebsd.org, kde@freebsd.org Subject: Re: [kde-freebsd] koffice build failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 06:50:13 -0000 --nextPart4156317.vS9SIIF8yL Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 25 May 2006 15:35, Michael Nottebrock wrote: > > /usr/X11R6/lib/libqt-mt.so: undefined reference to `_(long > > double,...)(short)' > > That's the error that causes the configure script to fail - my guess is > that binary compatibilty got broken in -CURRENT at some point. > > CC'ing -current in case anyone might recognize the symptom. I also > suggest to try and reinstall x11-toolkits/qt33 and see if that helps. Re-building qt seems to have fixed the config problem. All my ports were up= to=20 date but it's fixed now. Thanks, Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart4156317.vS9SIIF8yL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEdqUcp5D0B1NlT4URAkdCAJwJYlg+HN2XMPZHMDTg3kysAFWPTACeJWaH QZAtQjYo6jl/0ykIY0gjOZ4= =jUIm -----END PGP SIGNATURE----- --nextPart4156317.vS9SIIF8yL-- From owner-freebsd-current@FreeBSD.ORG Fri May 26 11:17:46 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DB1C16A42C for ; Fri, 26 May 2006 11:17:46 +0000 (UTC) (envelope-from toxahost@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF94D43D4C for ; Fri, 26 May 2006 11:17:45 +0000 (GMT) (envelope-from toxahost@gmail.com) Received: by nz-out-0102.google.com with SMTP id q3so61409nzb for ; Fri, 26 May 2006 04:17:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=IfEiYSsjhIS5wobOKaIfTvIiH+gyGuYHY2IfL5/nqblnFGqj2AlWJAFY0kIEmoXOv4smYZe7qNJfR06vpVivEdwcpEJlnggWK4R9SqnRJmZ+dqboAyv0NjYdGx5e9ILKvvar2XAvctDxZOGXnveEJj8IxBznQXcIUTxB3WhX9yI= Received: by 10.36.41.2 with SMTP id o2mr649736nzo; Fri, 26 May 2006 04:17:45 -0700 (PDT) Received: by 10.36.224.64 with HTTP; Fri, 26 May 2006 04:17:45 -0700 (PDT) Message-ID: Date: Fri, 26 May 2006 15:17:45 +0400 From: "Anton Karpov" To: "Warner Losh" In-Reply-To: <20060523.132011.48440982.imp@bsdimp.com> MIME-Version: 1.0 References: <200605231904.52081.michal.vanco@satro.sk> <20060523.111519.59744682.imp@bsdimp.com> <200605231944.45822.michal.vanco@satro.sk> <20060523.132011.48440982.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, michal.vanco@satro.sk Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 11:17:46 -0000 I've had the same problem with my Atheros-based Proxim 8470-WD pcmcia card. After recent current buildkernel, card does not recognised at all. I.e. nothing happens when I plug it in the slot. Ofcourse, all modules are loaded. From owner-freebsd-current@FreeBSD.ORG Fri May 26 11:30:46 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31A3A16A466 for ; Fri, 26 May 2006 11:30:46 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC41943D62 for ; Fri, 26 May 2006 11:30:42 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FC6A.dip.t-dialin.net [84.165.252.106]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4QBHqFn049843; Fri, 26 May 2006 13:17:54 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4QBUGD2004878; Fri, 26 May 2006 13:30:16 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Fri, 26 May 2006 13:30:17 +0200 From: Alexander Leidinger To: Andrew Gallatin Message-ID: <20060526133017.224cff08@Magellan.Leidinger.net> In-Reply-To: <17525.55617.272397.806798@grasshopper.cs.duke.edu> References: <20060524180802.GA59176@central.0xfce3.net> <200605250517.12054.max@love2party.net> <20060525104000.GA4962@central.0xfce3.net> <20060525115447.GB724@turion.vk2pj.dyndns.org> <17525.55617.272397.806798@grasshopper.cs.duke.edu> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Peter Jeremy , freebsd-current@freebsd.org, Max Laier , Gordon Bergling Subject: Re: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 11:30:51 -0000 Quoting Andrew Gallatin (Thu, 25 May 2006 12:20:17 -0400 (EDT)): > If we're going to do anything, I'd prefer to see us skip > the checksum on everything sent across lo0 and stick with > the slower, yet known to work, existing checksum code for > slow interfaces. The current code is known to work with the current gcc we use. It is known to *not* work with the Intel C compiler. It may or may not work with an upcomming gcc version. The current code is a maze of assembly and macros, the new one is straight forward C and a little bit of assembly. And the new one is also known to work in DragonFlyBSD. Do you expect *this* code to act differently between FreeBSD and DragonFlyBSD? What's the technical backing of your preference to stick with the current code? How does the technical backing of your preference compare to the technical arguments I presented in this thread regarding the priority of the arguments? Bye, Alexander. -- Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Fri May 26 11:40:00 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A77F16A425; Fri, 26 May 2006 11:40:00 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-0-0-cust107.cdif.cable.ntl.com [81.104.168.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id B09EC43D48; Fri, 26 May 2006 11:39:59 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from fenrir.insrv.cf.ac.uk ([131.251.50.213]) by shrike.submonkey.net with esmtpsa (TLSv1:DES-CBC3-SHA:168) (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FjafT-000LIW-5V; Fri, 26 May 2006 12:39:54 +0100 User-Agent: Microsoft-Entourage/11.2.3.060209 Date: Fri, 26 May 2006 12:39:38 +0100 From: Ceri Davies To: "Bruce A. Mah" , patrik Message-ID: Thread-Topic: RAIDframe Thread-Index: AcaAuRGlUDYbAuysEdqAJQAUUSJIlg== In-Reply-To: <447491AA.5060009@freebsd.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: freebsd-www@freebsd.org, freebsd-current@freebsd.org Subject: Re: RAIDframe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 11:40:01 -0000 On 24/5/06 18:02, "Bruce A. Mah" wrote: > [Adding www@ to CC because this thread reveals a Web site bug.] > > If memory serves me right, patrik wrote: >> Scott Long skrev: >>> patrik wrote: >>> >>>> Today I read through >>>> http://marc.theaimsgroup.com/?l=freebsd-current&m=107377398125007&w=2 >>>> I am I right i think this was the result? >>>> http://lists.freebsd.org/pipermail/cvs-src/2004-March/020551.html >>>> >>>> Anyway, when looking on >>>> http://www.freebsd.org/cgi/man.cgi?query=raid&sektion=0&manpath=FreeBSD+7.0 >>>> -current&apropos=1&format=html >>>> >>>> it seems that RAIDframe is back, in -current. Is it? Or has it always >>>> been there? Is it working? Haven't found any information about the >>>> subject on the lists since it was removed. >> >> What's going on with RAIDframe? >> What does this menas? >> http://www.freebsd.org/cgi/man.cgi?query=raid&manpath=FreeBSD+7.0-current > > It means that for some reason, the version of the CURRENT manpages on > the Web site didn't track the removal of the raid(4) manpage. See here: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man4/Attic/raid.4 > > This is a Web site glitch, nothing more. :-p Actually, it probably just means that sledge still has an old raid(4) manual on it, since that is where I got the CURRENT manpages from the last time I did the update. ceri -- That must be wonderful! I don't understand it at all. -- Moliere From owner-freebsd-current@FreeBSD.ORG Fri May 26 11:56:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F194C16A423 for ; Fri, 26 May 2006 11:56:14 +0000 (UTC) (envelope-from ogautherot@vtr.net) Received: from lp02.vtr.net (relay.vtr.net [200.83.1.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9040A43D46 for ; Fri, 26 May 2006 11:56:13 +0000 (GMT) (envelope-from ogautherot@vtr.net) Received: from [192.168.10.3] (200.83.72.22) by lp02.vtr.net (7.1.026) (authenticated as ogautherot) id 447403A50001A373 for freebsd-current@freebsd.org; Fri, 26 May 2006 07:56:12 -0400 From: Olivier Gautherot To: freebsd-current@freebsd.org Date: Fri, 26 May 2006 07:54:16 -0400 User-Agent: KMail/1.9.1 References: <200605250123.05126.beech@alaskaparadise.com> <44763F33.50008@freebsd.org> <200605252250.05251.beech@alaskaparadise.com> In-Reply-To: <200605252250.05251.beech@alaskaparadise.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605260754.17365.ogautherot@vtr.net> Subject: Re: [kde-freebsd] koffice build failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: olivier@gautherot.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 11:56:15 -0000 Hi Beech! > On Thursday 25 May 2006 15:35, Michael Nottebrock wrote: > > > /usr/X11R6/lib/libqt-mt.so: undefined reference to `_(long > > > double,...)(short)' > > > > That's the error that causes the configure script to fail - my guess is > > that binary compatibilty got broken in -CURRENT at some point. > > > > CC'ing -current in case anyone might recognize the symptom. I also > > suggest to try and reinstall x11-toolkits/qt33 and see if that helps. > > Re-building qt seems to have fixed the config problem. All my ports were up > to date but it's fixed now. > > Thanks, > > Beech It's not only QT: the ports system is a bit sensitive and if you recompile a library, you should actually recompile all the apps that depend on it. -- Olivier Gautherot olivier@gautherot.net From owner-freebsd-current@FreeBSD.ORG Fri May 26 12:17:39 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 924F216A48B for ; Fri, 26 May 2006 12:17:39 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id E280B43D46 for ; Fri, 26 May 2006 12:17:38 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so126768uge for ; Fri, 26 May 2006 05:17:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LWNasrIjwSDODhsKcnosfBp8oFoSta5kiWZOhkeogYI8VdxRvJhP4//xVtVOvbj1tGQE59M5xIaIhm0T4Nxw+LY05KA9Da3Q21zxMevA/IfHrzwKvSJkBdaBwpOo5N8Q+ifT/JvXj0a0PkhTZUlbiccAQWnMUzb6DLej8r848II= Received: by 10.78.31.18 with SMTP id e18mr76041hue; Fri, 26 May 2006 05:17:05 -0700 (PDT) Received: by 10.78.71.19 with HTTP; Fri, 26 May 2006 05:17:05 -0700 (PDT) Message-ID: <84dead720605260517k3cd67611q8c7af77898dab7a8@mail.gmail.com> Date: Fri, 26 May 2006 17:47:05 +0530 From: "Joseph Koshy" To: "M. Warner Losh" In-Reply-To: <20060525.140544.1474621433.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2538.1148556253@critter.freebsd.dk> <472414CE-94E8-4C8A-9586-DCA9E02A53C3@netgate.com> <20060525.140544.1474621433.imp@bsdimp.com> Cc: small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 12:17:52 -0000 imp> There's many sub $100 MIPS boards available that have enough imp> resourses, barely, for a minimal system to boot/run on. Any recommendations? -- FreeBSD Developer, http://people.freebsd.org/~jkoshy From owner-freebsd-current@FreeBSD.ORG Fri May 26 12:45:58 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E651716A427; Fri, 26 May 2006 12:45:58 +0000 (UTC) (envelope-from lists@yazzy.org) Received: from mx1.yazzy.org (mx1.yazzy.org [84.247.145.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45E7B43D46; Fri, 26 May 2006 12:45:57 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.witelcom.com ([84.247.144.144] helo=marcin) by mx1.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1Fjbgx-0000ta-7N; Fri, 26 May 2006 14:45:23 +0200 Date: Fri, 26 May 2006 14:46:04 +0200 From: Marcin Jessa To: "Joseph Koshy" Message-ID: <20060526144604.09d82003@marcin> In-Reply-To: <84dead720605260517k3cd67611q8c7af77898dab7a8@mail.gmail.com> References: <2538.1148556253@critter.freebsd.dk> <472414CE-94E8-4C8A-9586-DCA9E02A53C3@netgate.com> <20060525.140544.1474621433.imp@bsdimp.com> <84dead720605260517k3cd67611q8c7af77898dab7a8@mail.gmail.com> Organization: YazzY.org X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: small@freebsd.org, "M. Warner Losh" , current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 12:45:59 -0000 On Fri, 26 May 2006 17:47:05 +0530 "Joseph Koshy" wrote: > imp> There's many sub $100 MIPS boards available that have enough > imp> resourses, barely, for a minimal system to boot/run on. > > Any recommendations? http://www.routerboard.com/rb500.html From owner-freebsd-current@FreeBSD.ORG Fri May 26 13:05:02 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5628416A420 for ; Fri, 26 May 2006 13:05:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEFD543D46 for ; Fri, 26 May 2006 13:05:01 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4QD45iw053003; Fri, 26 May 2006 07:04:05 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 26 May 2006 07:04:06 -0600 (MDT) Message-Id: <20060526.070406.-399285106.imp@bsdimp.com> To: toxahost@gmail.com From: "M. Warner Losh" In-Reply-To: References: <200605231944.45822.michal.vanco@satro.sk> <20060523.132011.48440982.imp@bsdimp.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, michal.vanco@satro.sk Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 13:05:03 -0000 In message: "Anton Karpov" writes: : I've had the same problem with my Atheros-based Proxim 8470-WD pcmcia card. : After recent current buildkernel, card does not recognised at all. I.e. : nothing happens when I plug it in the slot. Ofcourse, all modules are : loaded. Does the patch I posted in this thread help any? Warner From owner-freebsd-current@FreeBSD.ORG Fri May 26 13:10:42 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E23616A424; Fri, 26 May 2006 13:10:42 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4B6243D4C; Fri, 26 May 2006 13:10:41 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4QD9jeD053109; Fri, 26 May 2006 07:09:45 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 26 May 2006 07:09:46 -0600 (MDT) Message-Id: <20060526.070946.-1350496260.imp@bsdimp.com> To: joseph.koshy@gmail.com From: "M. Warner Losh" In-Reply-To: <84dead720605260517k3cd67611q8c7af77898dab7a8@mail.gmail.com> References: <472414CE-94E8-4C8A-9586-DCA9E02A53C3@netgate.com> <20060525.140544.1474621433.imp@bsdimp.com> <84dead720605260517k3cd67611q8c7af77898dab7a8@mail.gmail.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 13:10:43 -0000 In message: <84dead720605260517k3cd67611q8c7af77898dab7a8@mail.gmail.com> "Joseph Koshy" writes: : imp> There's many sub $100 MIPS boards available that have enough : imp> resourses, barely, for a minimal system to boot/run on. : : Any recommendations? The Edimax BR-6104K is the one that I've seen recently for about $30-$35. http://www.linux-mips.org/wiki/Adm5120 has the full list of the boards based on the Adm 5120. Tiger direct was also selling a wireless variant called the ZyXEL HS-100W for like $25. Don't know how well it will work, or if they still have them. Warner From owner-freebsd-current@FreeBSD.ORG Fri May 26 13:20:45 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C9F916A420; Fri, 26 May 2006 13:20:45 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mrout1-b.corp.dcn.yahoo.com (mrout1-b.corp.dcn.yahoo.com [216.109.112.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EFDD43D5A; Fri, 26 May 2006 13:20:45 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from traveling-laptop-140.corp.yahoo.com.neville-neil.com (proxy8.corp.yahoo.com [216.145.48.13]) by mrout1-b.corp.dcn.yahoo.com (8.13.6/8.13.4/y.out) with ESMTP id k4QDKTTf055021; Fri, 26 May 2006 06:20:30 -0700 (PDT) Date: Fri, 26 May 2006 17:59:22 +0900 Message-ID: From: gnn@freebsd.org To: Poul-Henning Kamp In-Reply-To: <2538.1148556253@critter.freebsd.dk> References: <2538.1148556253@critter.freebsd.dk> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-apple-darwin8.5.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 13:20:45 -0000 At Thu, 25 May 2006 13:24:13 +0200, Poul-Henning Kamp wrote: > > Advocacy > -------- > > Right now we do nearly nothing. > > For our "reference platforms" we need two part webpages. > > The first half: "to get FreeBSD running on this kit, download > this and do that", with pictures, arrows and config file lines etc. > > The second half: "Here is how to build this image on your own" > > We also need white-papers, HOW-TO's, magazine articles and so on. > > Nobody really owned up to any of this. > I actually was dumb enough to own up to this. I have been collecting information off of small@ as well as private emails to put into a set of web pages. I have also registered embeddedfreebsd.org/net/com and freebsdembedded.org/net/com. I'm working with the FreeBSD admins on whether or not I'll host pages directly on freebsd.org or go with the current Trusted BSD model of hosting them myself. Long run it would be best to be on freebsd.org I should have rudimentary pages within the week. Later, George From owner-freebsd-current@FreeBSD.ORG Fri May 26 13:22:19 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A194B16A430 for ; Fri, 26 May 2006 13:22:19 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mrout3.yahoo.com (mrout3.yahoo.com [216.145.54.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2409A43D60 for ; Fri, 26 May 2006 13:22:18 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from traveling-laptop-140.corp.yahoo.com.neville-neil.com (proxy8.corp.yahoo.com [216.145.48.13]) by mrout3.yahoo.com (8.13.6/8.13.4/y.out) with ESMTP id k4QDKSUg069600; Fri, 26 May 2006 06:20:28 -0700 (PDT) Date: Fri, 26 May 2006 17:54:43 +0900 Message-ID: From: gnn@FreeBSD.org To: John Birrell In-Reply-To: <20060525065510.GA20475@what-creek.com> References: <20060525065510.GA20475@what-creek.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-apple-darwin8.5.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: current@FreeBSD.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 13:22:19 -0000 Excellent! But, I have a naive question. Should this be integrated in some way with the hwpmc work of Joseph Koshy since I think it could be useful for DTRace to get information from the CPU as well. Is there a quick "HOw to use DTRace" anywhere? I'd like to use it in my networking stuff when I get to the point of caring more about performance than correctness. Thanks, George From owner-freebsd-current@FreeBSD.ORG Fri May 26 12:46:30 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B583816A437 for ; Fri, 26 May 2006 12:46:30 +0000 (UTC) (envelope-from nm@web.am) Received: from mx1.web.am (mx1.web.am [217.113.0.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD22443D69 for ; Fri, 26 May 2006 12:46:25 +0000 (GMT) (envelope-from nm@web.am) Received: from antispam (localhost.web.am [127.0.0.1]) by localhost (Postfix) with ESMTP id 5ED3D61C0C for ; Fri, 26 May 2006 17:46:15 +0500 (AMST) Received: from localhost (localhost.web.am [127.0.0.1]) by localhost (Postfix) with SMTP id DA3E161C36 for ; Fri, 26 May 2006 17:46:14 +0500 (AMST) Received: from [192.168.2.123] (host-195-250-88-228.customer.arminco.com [195.250.88.228]) by mx1.web.am (Postfix) with ESMTP id A713161C32 for ; Fri, 26 May 2006 17:46:14 +0500 (AMST) Message-ID: <4476F897.10202@web.am> Date: Fri, 26 May 2006 17:46:15 +0500 From: Gaspar Chilingarov User-Agent: Thunderbird 1.5 (X11/20060410) MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mx1.web.am X-Spam-Status: No, hits=0.0 required=7.5 tests=none autolearn=no version=2.60 X-Spam-Level: X-Mailman-Approved-At: Fri, 26 May 2006 14:01:15 +0000 Subject: ataidle and -current ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 12:46:33 -0000 Hi all! Are there any serious changes in ata between 6.x and -CURRENT branches ? Ataidle fails on current on amd64 -- does not even display device list -- so I'm trying understand what to fix -- compatiliity with amd64 or adopt changes for 7.x Thanks in advance. /Gaspar From owner-freebsd-current@FreeBSD.ORG Fri May 26 15:18:56 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7960716A485 for ; Fri, 26 May 2006 15:18:56 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5744B43D48 for ; Fri, 26 May 2006 15:18:55 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so189492uge for ; Fri, 26 May 2006 08:18:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Oqk6BtgI41sxnDpkou45Xbz4n9R5qcTc/toc8xtOI5vD24e+w9MzMhG+dKg+M5ifUHicssudS86KgGS5yVnadtMu1rvEvPefuRACZz10epgUY0BKF1E2qNaZL8wGUljAN4ilYQvqRSlYGgqSEAZtRC28rnFR53qxCXnpZTCeH8g= Received: by 10.78.47.9 with SMTP id u9mr118845huu; Fri, 26 May 2006 08:18:21 -0700 (PDT) Received: by 10.78.71.19 with HTTP; Fri, 26 May 2006 08:18:21 -0700 (PDT) Message-ID: <84dead720605260818t7460cd6dp5de7311a1b5edc28@mail.gmail.com> Date: Fri, 26 May 2006 20:48:21 +0530 From: "Joseph Koshy" To: "gnn@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060525065510.GA20475@what-creek.com> Cc: John Birrell , current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 15:18:56 -0000 > But, I have a naive question. Should this be integrated in > some way with the hwpmc work of Joseph Koshy since I think it > could be useful for DTRace to get information from the CPU as > well. Disclaimer: I've only just started reading about DTrace. There appear to be two ways to integrate hwpmc and DTrace: - Augment the D virtual machine with a primitive that can read PMC values (e.g.- using RDPMC or RDMSR instructions on x86 CPUs). Make this primitive available to scripts for allocating and reading from PMCs (say a "pmcread()" builtin function). This approach would work well with counting mode PMCs (both process and system-mode counting PMCs) and would allow PMCs to be read at arbitrary points of time. We'll need a way of allocating system-wide & process-mode PMCs; this could be done in userland (in dtrace(8)). - hwpmc(4) can be augmented to be a 'DTrace provider' allowing D scripts to be run, say when a PC sample is recorded. -- FreeBSD Developer, http://people.freebsd.org/~jkoshy From owner-freebsd-current@FreeBSD.ORG Fri May 26 15:21:18 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 436F616A447; Fri, 26 May 2006 15:21:18 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4E2D43D46; Fri, 26 May 2006 15:21:17 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepb.post.tele.dk (Postfix) with ESMTP id 7B3D4A50016; Fri, 26 May 2006 17:21:15 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4QFLDln009823; Fri, 26 May 2006 17:21:13 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "James Mansion" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 26 May 2006 15:56:54 BST." Date: Fri, 26 May 2006 17:21:12 +0200 Message-ID: <9822.1148656872@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: current@freebsd.org, Alexander Leidinger , Andrew Atrens , small@freebsd.org, Olivier Gautherot Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 15:21:18 -0000 In message , "James Mansi on" writes: >> "The adequate has always been the worst enemy of excellence" >> >>Remember, it's: "FreeBSD, the best damn UNIX around", not "FreeBSD: >>Yet Another Mediocre UNIX". > >Well, I would counter: > >'Good enough means exactly what it says, and doing more is foolish' I think you seriously lack historical perspective if that is your considered opinion. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Fri May 26 15:23:46 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6991E16A431; Fri, 26 May 2006 15:23:46 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F9AF43D46; Fri, 26 May 2006 15:23:45 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 7058852DE6; Fri, 26 May 2006 17:23:44 +0200 (CEST) Received: from localhost (public-gprs22891.centertel.pl [87.96.89.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id ED26950EA7; Fri, 26 May 2006 17:23:30 +0200 (CEST) Date: Fri, 26 May 2006 17:21:20 +0200 From: Pawel Jakub Dawidek To: Sergey Matveychuk Message-ID: <20060526152120.GD1165@garage.freebsd.pl> References: <4475E51A.4090004@FreeBSD.org> <4475F779.1010704@FreeBSD.org> <44769644.6020505@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sfyO1m2EN8ZOtJL6" Content-Disposition: inline In-Reply-To: <44769644.6020505@FreeBSD.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org, Alex Dupre Subject: Re: geli stops work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 15:23:46 -0000 --sfyO1m2EN8ZOtJL6 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 26, 2006 at 09:46:44AM +0400, Sergey Matveychuk wrote: +> Alex Dupre wrote: +> > Sergey Matveychuk wrote: +> >> # mount /dev/md0c.eli /mnt1 +> >> mount: /dev/md0c.eli: Operation not permitted +> >> +> >> What's up? +> >> My geli disk unavailable now. +> >=20 +> > Just to be sure, did you try to run fsck on it? Maybe it's only a badly +> > corrupted fs. +>=20 +> It was not corrupted before I've updated. +> I mount/umount it by hands every time. Device itself isn't corrupted - you would get: mount: /dev/md0c.eli: Invalid argument in such case. Try to fsck it without modifing the device: # fsck_ffs -n /dev/md0c.eli and see what's wrong exactly. For me it just looks like the device wasn't unmounted cleanly. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --sfyO1m2EN8ZOtJL6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEdxzwForvXbEpPzQRAjoqAKDuzjn5NWEGai6oVKb9UquChfAGIgCbBTwK 5ILZDKQQe8a5ECZNof4qjAM= =QaSs -----END PGP SIGNATURE----- --sfyO1m2EN8ZOtJL6-- From owner-freebsd-current@FreeBSD.ORG Fri May 26 15:23:52 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 455B016A539 for ; Fri, 26 May 2006 15:23:52 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95C0343D48 for ; Fri, 26 May 2006 15:23:51 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k4QFN7wJ002273 for ; Fri, 26 May 2006 17:23:08 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <44771D5B.9060102@fer.hr> Date: Fri, 26 May 2006 17:23:07 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "current@freebsd.org" References: <20060525065510.GA20475@what-creek.com> In-Reply-To: <20060525065510.GA20475@what-creek.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 15:23:52 -0000 John Birrell wrote: > It's nearly 8 weeks since I started porting DTrace to FreeBSD and I > thought I would post a status update including today's significant > emotional event. 8-) Extremely nice, thank you! > My FreeBSD Project Page: It would be a nice early demo to do "Quantize the size of reads during a buildworld and beyond" on MySQL & supersmack :) From owner-freebsd-current@FreeBSD.ORG Fri May 26 15:24:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7319C16A61C; Fri, 26 May 2006 15:24:15 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from mx.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAB7243D48; Fri, 26 May 2006 15:24:14 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (unknown [192.168.3.18]) by mx.nitro.dk (Postfix) with ESMTP id 4272C2D4865; Fri, 26 May 2006 15:24:42 +0000 (UTC) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id E6F071142C; Fri, 26 May 2006 17:24:13 +0200 (CEST) Date: Fri, 26 May 2006 17:24:13 +0200 From: "Simon L. Nielsen" To: Ceri Davies Message-ID: <20060526152413.GF1059@zaphod.nitro.dk> References: <447491AA.5060009@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NtwzykIc2mflq5ck" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Cc: "Bruce A. Mah" , freebsd-current@freebsd.org, patrik , freebsd-www@freebsd.org Subject: Re: RAIDframe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 15:24:16 -0000 --NtwzykIc2mflq5ck Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Removing -current since this is only about www stuff now] On 2006.05.26 12:39:38 +0100, Ceri Davies wrote: > On 24/5/06 18:02, "Bruce A. Mah" wrote: >=20 > > [Adding www@ to CC because this thread reveals a Web site bug.] > >=20 > > If memory serves me right, patrik wrote: > >> Scott Long skrev: > >>> patrik wrote: > >>>=20 > >> What's going on with RAIDframe? > >> What does this menas? > >> http://www.freebsd.org/cgi/man.cgi?query=3Draid&manpath=3DFreeBSD+7.0-= current > >=20 > > It means that for some reason, the version of the CURRENT manpages on > > the Web site didn't track the removal of the raid(4) manpage. See here: > >=20 > > http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man4/Attic/raid.4 > >=20 > > This is a Web site glitch, nothing more. :-p >=20 > Actually, it probably just means that sledge still has an old raid(4) man= ual > on it, since that is where I got the CURRENT manpages from the last time I > did the update. Old stuff doesn't get cleared automatically in the update runs on the reference systems, but I plan to run "make delete-old" today on sledge (just need to play portupgrade -af, mergemaster etc. first). Another way to get a a more or less "clean" version would perhaps be to use the monthly snapshots generated by re@? --=20 Simon L. Nielsen Hat of the day: admins --NtwzykIc2mflq5ck Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEdx2dh9pcDSc1mlERAgmJAKDHAtzSbco8VOpv/XTSKtzI9c3eZwCdEoqD p5TwX6AVHXmDlUZSdGCUzj8= =N8Rr -----END PGP SIGNATURE----- --NtwzykIc2mflq5ck-- From owner-freebsd-current@FreeBSD.ORG Fri May 26 15:27:05 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B214B16A43A; Fri, 26 May 2006 15:27:05 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-0-0-cust107.cdif.cable.ntl.com [81.104.168.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B3C443D6E; Fri, 26 May 2006 15:27:00 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FjeDK-0000S5-32; Fri, 26 May 2006 16:26:58 +0100 Date: Fri, 26 May 2006 16:26:58 +0100 From: Ceri Davies To: "Simon L. Nielsen" Message-ID: <20060526152657.GM21998@submonkey.net> Mail-Followup-To: Ceri Davies , "Simon L. Nielsen" , "Bruce A. Mah" , patrik , freebsd-www@freebsd.org, freebsd-current@freebsd.org References: <447491AA.5060009@freebsd.org> <20060526152413.GF1059@zaphod.nitro.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kfjH4zxOES6UT95V" Content-Disposition: inline In-Reply-To: <20060526152413.GF1059@zaphod.nitro.dk> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.11 Sender: Ceri Davies Cc: "Bruce A. Mah" , freebsd-current@freebsd.org, patrik , freebsd-www@freebsd.org Subject: Re: RAIDframe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 15:27:05 -0000 --kfjH4zxOES6UT95V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 26, 2006 at 05:24:13PM +0200, Simon L. Nielsen wrote: > [Removing -current since this is only about www stuff now] > On 2006.05.26 12:39:38 +0100, Ceri Davies wrote: > > On 24/5/06 18:02, "Bruce A. Mah" wrote: > >=20 > > > [Adding www@ to CC because this thread reveals a Web site bug.] > > >=20 > > > If memory serves me right, patrik wrote: > > >> Scott Long skrev: > > >>> patrik wrote: > > >>>=20 > > >> What's going on with RAIDframe? > > >> What does this menas? > > >> http://www.freebsd.org/cgi/man.cgi?query=3Draid&manpath=3DFreeBSD+7.= 0-current > > >=20 > > > It means that for some reason, the version of the CURRENT manpages on > > > the Web site didn't track the removal of the raid(4) manpage. See he= re: > > >=20 > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man4/Attic/raid.4 > > >=20 > > > This is a Web site glitch, nothing more. :-p > >=20 > > Actually, it probably just means that sledge still has an old raid(4) m= anual > > on it, since that is where I got the CURRENT manpages from the last tim= e I > > did the update. >=20 > Old stuff doesn't get cleared automatically in the update runs on the > reference systems, but I plan to run "make delete-old" today on sledge > (just need to play portupgrade -af, mergemaster etc. first). >=20 > Another way to get a a more or less "clean" version would perhaps be > to use the monthly snapshots generated by re@? Agreed. I remember not being able to find them before, but the new naming convention will help. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --kfjH4zxOES6UT95V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEdx5BocfcwTS3JF8RAhd1AKCiv5TgqkFrKQEZ6yTRc9XQB4mi3gCdHUFg URNBUiDEJeguYBrJJbQ1q40= =gUOG -----END PGP SIGNATURE----- --kfjH4zxOES6UT95V-- From owner-freebsd-current@FreeBSD.ORG Fri May 26 15:30:07 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7872E16A41F for ; Fri, 26 May 2006 15:30:07 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1718E43D48 for ; Fri, 26 May 2006 15:30:07 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepc.post.tele.dk (Postfix) with ESMTP id 51B678A0038 for ; Fri, 26 May 2006 17:30:06 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4QFU4xk009890 for ; Fri, 26 May 2006 17:30:04 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org From: Poul-Henning Kamp Date: Fri, 26 May 2006 17:30:04 +0200 Message-ID: <9889.1148657404@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Subject: Why doesn't "make universe" work on amd64 machines ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 15:30:07 -0000 It's quite a bother to have to reboot my fastest machine into i386 mode to run make universe. Why doesn't it work ? Is it fixable ? If so, are anybody looking at fixing it ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Fri May 26 15:31:15 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BFFA16A424 for ; Fri, 26 May 2006 15:31:15 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DE5A43D4C for ; Fri, 26 May 2006 15:31:14 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so194235uge for ; Fri, 26 May 2006 08:31:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sRetBya6LtejL8nnHhXo5aDjV3z516HGrgBcR9/BID8EJqoyoZ0wwNxEIDi3joYVd5A0AKKc0gSjfvLCF7RL+EtSra1Y2AFdG1BNR66AIjzmjJCH9A5tRanasQSu3DbbC6gR6vaNIxHvBJBKv4ZSiWZbFY3X1efF1UdZlhcH5g0= Received: by 10.78.31.18 with SMTP id e18mr120461hue; Fri, 26 May 2006 08:31:12 -0700 (PDT) Received: by 10.78.71.19 with HTTP; Fri, 26 May 2006 08:31:12 -0700 (PDT) Message-ID: <84dead720605260831n65cecbc2r7c6a2a7b45416379@mail.gmail.com> Date: Fri, 26 May 2006 21:01:12 +0530 From: "Joseph Koshy" To: "John Birrell" In-Reply-To: <20060525195346.GA25270@what-creek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060525065510.GA20475@what-creek.com> <20060525082633.GA724@turion.vk2pj.dyndns.org> <20060525195346.GA25270@what-creek.com> Cc: Peter Jeremy , current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 15:31:16 -0000 > The place were DTrace is really, really machine dependent is > in the trap handling code. DTrace has what it calls 'safe' > loads where it goes to read from a memory address which a > flag set to stop a panic if a trap occurs during the > message access. Is there any way we can do some code refactoring when DTrace is brought in? For example, Dtrace has a 'stack()' primitive that walks the kernel stack and a 'ustack()' primitive that walks userland stacks. Both of these are useful for hwpmc, and are useful in other contexts (e.g., recording stack traces for userland processes that dump core). Similarly, alq(9), ktrace(2) and hwpmc(4) all implement kernel->userland logging in some form or the other. DTrace's logging requirements are probably a superset of all of these so having a common logging layer could help reduce code bloat in the kernel. -- FreeBSD Developer, http://people.freebsd.org/~jkoshy From owner-freebsd-current@FreeBSD.ORG Fri May 26 15:35:06 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38BB316A43C; Fri, 26 May 2006 15:35:06 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 005A643D64; Fri, 26 May 2006 15:34:59 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id F170027608; Fri, 26 May 2006 17:34:58 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id C0E099CCE8; Fri, 26 May 2006 15:35:14 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id A3C5C40A5; Fri, 26 May 2006 17:34:22 +0200 (CEST) Date: Fri, 26 May 2006 17:34:22 +0200 From: Jeremie Le Hen To: freebsd-current@FreeBSD.org, freebsd-security@FreeBSD.org Message-ID: <20060526153422.GB25953@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Cc: Subject: Integrating ProPolice/SSP into FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 15:35:07 -0000 Hi, first sorry for cross-posting but I thought this patch might interest -CURRENT users as well as people concerned by security. I wrote a patch that integrates ProPolice/SSP into FreeBSD, one step further than it has been realized so far. It is available here : http://tataz.chchile.org/~tataz/FreeBSD/SSP/ Everything is explained on the web page, but I will repeat some informations here. The patchset is splitted in two parts to ease the review of the patch. The -propolice patch is only the original ProPolice patch for GCC 3.4.4 applied on FreeBSD source tree. The -freebsd patch contains the glue I have written to make things neat. The patch exists in both for CURRENT and RELENG_6. Both introduce a new make.conf(5) (and src.conf(5)) knob to enable stack protection on a per Makefile basis. It if of course possible to compile your world with it. Please refer to the web page for more informations. The patch has been tested and works pretty well. My laptop and my workstation at work are compiled with SSP : world, kernel and ports, including X.org. I hope you will enjoy it. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-current@FreeBSD.ORG Fri May 26 15:38:17 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC3D816A4A6; Fri, 26 May 2006 15:38:17 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw4.york.ac.uk (mail-gw4.york.ac.uk [144.32.128.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0815343D53; Fri, 26 May 2006 15:38:16 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw4.york.ac.uk (8.13.6/8.13.6) with ESMTP id k4QFc5F8022811; Fri, 26 May 2006 16:38:05 +0100 (BST) Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.6/8.13.6) with ESMTP id k4QFc5dq043837; Fri, 26 May 2006 16:38:05 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.6/8.13.6/Submit) id k4QFc5Uk043836; Fri, 26 May 2006 16:38:05 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: gnn@freebsd.org In-Reply-To: References: <20060525065510.GA20475@what-creek.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 26 May 2006 16:38:04 +0100 Message-Id: <1148657884.42647.25.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: John Birrell , current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 15:38:21 -0000 On Fri, 2006-05-26 at 17:54 +0900, gnn@freebsd.org wrote: > Excellent! > > But, I have a naive question. Should this be integrated in some way > with the hwpmc work of Joseph Koshy since I think it could be useful > for DTRace to get information from the CPU as well. > > Is there a quick "HOw to use DTRace" anywhere? I'd like to use it in > my networking stuff when I get to the point of caring more about > performance than correctness. This is the best resource I have found for using DTrace under Solaris: http://users.tpg.com.au/adsln4yb/dtrace.html It is great to see DTrace coming to FreeBSD, I've found myself recently developing code on Solaris that I have no intention of actually using under Solaris, just because DTrace is available. Gavin From owner-freebsd-current@FreeBSD.ORG Fri May 26 16:09:43 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9459216A9AB; Fri, 26 May 2006 16:09:43 +0000 (UTC) (envelope-from rodrigc@crodrigues.org) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [204.127.192.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D73143D6E; Fri, 26 May 2006 16:09:42 +0000 (GMT) (envelope-from rodrigc@crodrigues.org) Received: from c-24-147-19-128.hsd1.ma.comcast.net (c-71-233-168-2.hsd1.ma.comcast.net[71.233.168.2](misconfigured sender)) by comcast.net (rwcrmhc12) with ESMTP id <20060526160941m1200j2pg9e>; Fri, 26 May 2006 16:09:41 +0000 Received: from c-24-147-19-128.hsd1.ma.comcast.net (localhost [127.0.0.1]) by c-24-147-19-128.hsd1.ma.comcast.net (8.13.6/8.13.1) with ESMTP id k4QG9eWJ002116; Fri, 26 May 2006 12:09:40 -0400 (EDT) (envelope-from rodrigc@c-24-147-19-128.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-24-147-19-128.hsd1.ma.comcast.net (8.13.6/8.13.1/Submit) id k4QG9el4002115; Fri, 26 May 2006 12:09:40 -0400 (EDT) (envelope-from rodrigc) Date: Fri, 26 May 2006 12:09:40 -0400 From: Craig Rodrigues To: freebsd-current@freebsd.org Message-ID: <20060526160940.GA2100@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: freebsd-fs@freebsd.org, freebsd-xfs@org Subject: [HEADSUP] Improved NFS export support for different filesystems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 16:09:47 -0000 Hi, I have committed a bunch of changes to FreeBSD-CURRENT to improve support of NFS exporting different filesystems in FreeBSD. Before, the FreeBSD mountd program would only NFS export UFS, cd9660, msdosfs, and NTFS. I have removed that limitation. Now, if a filesystem properly supports the "update" and "export" mount options, then it should be able to export with mountd. For example, I have been able to export XFS (read-only). If people could test out my changes by NFS exporting different filesystems with mountd, and let me know if there are any problems, I would appreciate it. My changes are in FreeBSD-CURRENT only right now. -- Craig Rodrigues rodrigc@crodrigues.org From owner-freebsd-current@FreeBSD.ORG Fri May 26 16:14:25 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8610016A5B0; Fri, 26 May 2006 16:14:25 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34EBB43D6D; Fri, 26 May 2006 16:14:25 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from [192.168.40.183] (64-84-9-2-sf-gw.ncircle.com [64.84.9.2]) (authenticated bits=0) by a.mail.sonic.net (8.13.6/8.13.3) with ESMTP id k4QGENCn022416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 May 2006 09:14:23 -0700 Message-ID: <4477295E.4040106@freebsd.org> Date: Fri, 26 May 2006 09:14:22 -0700 From: "Bruce A. Mah" User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: Ceri Davies , "Simon L. Nielsen" , "Bruce A. Mah" , patrik , freebsd-www@freebsd.org, freebsd-current@freebsd.org References: <447491AA.5060009@freebsd.org> <20060526152413.GF1059@zaphod.nitro.dk> <20060526152657.GM21998@submonkey.net> In-Reply-To: <20060526152657.GM21998@submonkey.net> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=5ba052c3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE644A39CCFCA25A22A5A2184" Cc: Subject: Re: RAIDframe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 16:14:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE644A39CCFCA25A22A5A2184 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If memory serves me right, Ceri Davies wrote: > On Fri, May 26, 2006 at 05:24:13PM +0200, Simon L. Nielsen wrote: >> [Removing -current since this is only about www stuff now] >> On 2006.05.26 12:39:38 +0100, Ceri Davies wrote: >>> Actually, it probably just means that sledge still has an old raid(4)= manual >>> on it, since that is where I got the CURRENT manpages from the last t= ime I >>> did the update. >> Old stuff doesn't get cleared automatically in the update runs on the >> reference systems, but I plan to run "make delete-old" today on sledge= >> (just need to play portupgrade -af, mergemaster etc. first). >> >> Another way to get a a more or less "clean" version would perhaps be >> to use the monthly snapshots generated by re@? >=20 > Agreed. I remember not being able to find them before, but the new > naming convention will help. /me is confused. I thought that www.freebsd.org automatically pulled snapshots from one of the snapshot servers (e.g. snapshot.jp.freebsd.org) and used those to populate the CURRENT, 6-STABLE, 5-STABLE, etc. manpage sets? There's still stuff in www@www's crontab to do this. Maybe it broke? Thanks for working on this guys. Also if you happen to see anything that I might have broken while setting up the 6.1/5.5-RELEASE manpages, just thwap me over the head with a clue-by-four. Bruce. --------------enigE644A39CCFCA25A22A5A2184 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.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFEdyle2MoxcVugUsMRAj2GAJ9B1Lp6ry6qspojgsamLrsmXIU9tACWPPv9 I8GMdF3LADzXoF4oZ8RxYQ== =4JCB -----END PGP SIGNATURE----- --------------enigE644A39CCFCA25A22A5A2184-- From owner-freebsd-current@FreeBSD.ORG Fri May 26 16:19:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BB8616AB2F; Fri, 26 May 2006 16:19:27 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from mx.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7E5743D5D; Fri, 26 May 2006 16:19:24 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (unknown [192.168.3.18]) by mx.nitro.dk (Postfix) with ESMTP id 85DEF2D4878; Fri, 26 May 2006 16:19:50 +0000 (UTC) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id E846B1142C; Fri, 26 May 2006 18:19:21 +0200 (CEST) Date: Fri, 26 May 2006 18:19:21 +0200 From: "Simon L. Nielsen" To: "Bruce A. Mah" Message-ID: <20060526161921.GG1059@zaphod.nitro.dk> References: <447491AA.5060009@freebsd.org> <20060526152413.GF1059@zaphod.nitro.dk> <20060526152657.GM21998@submonkey.net> <4477295E.4040106@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="84ND8YJRMFlzkrP4" Content-Disposition: inline In-Reply-To: <4477295E.4040106@freebsd.org> User-Agent: Mutt/1.5.11 Cc: freebsd-www@freebsd.org, Ceri Davies , patrik , freebsd-current@freebsd.org Subject: Re: RAIDframe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 16:19:34 -0000 --84ND8YJRMFlzkrP4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2006.05.26 09:14:22 -0700, Bruce A. Mah wrote: > If memory serves me right, Ceri Davies wrote: > > On Fri, May 26, 2006 at 05:24:13PM +0200, Simon L. Nielsen wrote: > >> [Removing -current since this is only about www stuff now] > >> On 2006.05.26 12:39:38 +0100, Ceri Davies wrote: >=20 > >>> Actually, it probably just means that sledge still has an old raid(4)= manual > >>> on it, since that is where I got the CURRENT manpages from the last t= ime I > >>> did the update. > >> Old stuff doesn't get cleared automatically in the update runs on the > >> reference systems, but I plan to run "make delete-old" today on sledge > >> (just need to play portupgrade -af, mergemaster etc. first). > >> > >> Another way to get a a more or less "clean" version would perhaps be > >> to use the monthly snapshots generated by re@? > >=20 > > Agreed. I remember not being able to find them before, but the new > > naming convention will help. >=20 > /me is confused. >=20 > I thought that www.freebsd.org automatically pulled snapshots from one > of the snapshot servers (e.g. snapshot.jp.freebsd.org) and used those to > populate the CURRENT, 6-STABLE, 5-STABLE, etc. manpage sets? There's > still stuff in www@www's crontab to do this. Maybe it broke? There are, but the snapshot servers has been more or less broken for quite a while. If you look at http://snapshots.jp.freebsd.org:8021/pub/FreeBSD/snapshots/i386/ you can see that it's only RELENG_[45] which are being built currently. --=20 Simon L. Nielsen --84ND8YJRMFlzkrP4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD4DBQFEdyqJh9pcDSc1mlERAhzEAJYhhZdeZBaRruPXNwwhG64DjTzfAJ9V0Q7r y43Om1xd07Q/59R/zPd58A== =9KuQ -----END PGP SIGNATURE----- --84ND8YJRMFlzkrP4-- From owner-freebsd-current@FreeBSD.ORG Fri May 26 16:33:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C23A16A613; Fri, 26 May 2006 16:33:53 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEB9B43D46; Fri, 26 May 2006 16:33:52 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from [192.168.40.183] (64-84-9-2-sf-gw.ncircle.com [64.84.9.2]) (authenticated bits=0) by b.mail.sonic.net (8.13.6/8.13.3) with ESMTP id k4QGXo6P003715 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 May 2006 09:33:50 -0700 Message-ID: <44772DEE.4090302@freebsd.org> Date: Fri, 26 May 2006 09:33:50 -0700 From: "Bruce A. Mah" User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: "Simon L. Nielsen" References: <447491AA.5060009@freebsd.org> <20060526152413.GF1059@zaphod.nitro.dk> <20060526152657.GM21998@submonkey.net> <4477295E.4040106@freebsd.org> <20060526161921.GG1059@zaphod.nitro.dk> In-Reply-To: <20060526161921.GG1059@zaphod.nitro.dk> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=5ba052c3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig533FC79CE1EBA338BAB25AE8" Cc: freebsd-www@freebsd.org, Ceri Davies , patrik , freebsd-current@freebsd.org Subject: Re: RAIDframe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 16:33:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig533FC79CE1EBA338BAB25AE8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If memory serves me right, Simon L. Nielsen wrote: > On 2006.05.26 09:14:22 -0700, Bruce A. Mah wrote: >> /me is confused. >> >> I thought that www.freebsd.org automatically pulled snapshots from one= >> of the snapshot servers (e.g. snapshot.jp.freebsd.org) and used those = to >> populate the CURRENT, 6-STABLE, 5-STABLE, etc. manpage sets? There's >> still stuff in www@www's crontab to do this. Maybe it broke? >=20 > There are, but the snapshot servers has been more or less broken for > quite a while. If you look at > http://snapshots.jp.freebsd.org:8021/pub/FreeBSD/snapshots/i386/ you > can see that it's only RELENG_[45] which are being built currently. Ah, got it. Thanks. Bruce. --------------enig533FC79CE1EBA338BAB25AE8 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.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEdy3u2MoxcVugUsMRAk47AJ9msYwiA1JD/J9W5rU79Q/9K4QF/ACgvxFr u+2+iiVC0c7UmpOOSm27w7A= =Lk90 -----END PGP SIGNATURE----- --------------enig533FC79CE1EBA338BAB25AE8-- From owner-freebsd-current@FreeBSD.ORG Fri May 26 14:47:28 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B325016A420; Fri, 26 May 2006 14:47:28 +0000 (UTC) (envelope-from james@wgold.demon.co.uk) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C49443D46; Fri, 26 May 2006 14:47:28 +0000 (GMT) (envelope-from james@wgold.demon.co.uk) Received: from wgold.demon.co.uk ([158.152.96.124] helo=thor) by anchor-post-31.mail.demon.net with esmtp (Exim 4.42) id 1Fjdb3-000EZH-6A; Fri, 26 May 2006 14:47:26 +0000 Received: from 127.0.0.1 by thor ([127.0.0.1] running VPOP3) with SMTP; Fri, 26 May 2006 06:51:03 +0100 From: "James Mansion" To: "Jim Thompson" Date: Fri, 26 May 2006 06:50:43 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <2EFA38F2-77CE-429D-A9DE-9E764EEAA8CB@netgate.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Server: VPOP3 V1.5.0k - Registered X-Mailman-Approved-At: Fri, 26 May 2006 16:38:15 +0000 Cc: Alexander Leidinger , Poul-Henning Kamp , Andrew Atrens , small@freebsd.org, current@freebsd.org Subject: RE: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 14:47:28 -0000 >Might want to re-think your argument in terms of a system with 32MB >of ram >and 4MB of NAND or NOR flash. Why? You have enough RAM to have a small memory disk for writable stuff. Presumably the device does not run an application that expects to write data except occassional status stuff. I'm assuming a small number of kilobytes for this. And you can force a status dump out when you need to. BNormally I'd expect readonly-root, but sometimes you want to be 'readonly except when I want to save a change in config', right? You're not going to run squid caches off a flash, wear levelling or not. From owner-freebsd-current@FreeBSD.ORG Fri May 26 14:56:08 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1431616A41F; Fri, 26 May 2006 14:56:08 +0000 (UTC) (envelope-from james@wgold.demon.co.uk) Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id F242443D77; Fri, 26 May 2006 14:56:01 +0000 (GMT) (envelope-from james@wgold.demon.co.uk) Received: from wgold.demon.co.uk ([158.152.96.124] helo=thor) by anchor-post-33.mail.demon.net with esmtp (Exim 4.42) id 1FjdjL-000JHY-C1; Fri, 26 May 2006 14:56:00 +0000 Received: from 127.0.0.1 by thor ([127.0.0.1] running VPOP3) with SMTP; Fri, 26 May 2006 15:56:58 +0100 From: "James Mansion" To: "Poul-Henning Kamp" , "Olivier Gautherot" Date: Fri, 26 May 2006 15:56:54 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <4784.1148586952@critter.freebsd.dk> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Server: VPOP3 V1.5.0k - Registered X-Mailman-Approved-At: Fri, 26 May 2006 16:41:53 +0000 Cc: Alexander Leidinger , Andrew Atrens , small@freebsd.org, current@freebsd.org Subject: RE: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 14:56:10 -0000 > "The adequate has always been the worst enemy of excellence" > >Remember, it's: "FreeBSD, the best damn UNIX around", not "FreeBSD: >Yet Another Mediocre UNIX". Well, I would counter: 'Good enough means exactly what it says, and doing more is foolish' Its not as if FreeBSD *IS* so wonderful. How many libc_r systems do you need - and are any of them the last word? And aio? Seriously, 'good enough, here now, cheap, and low risk' is very desirable for practicality. Arsing around trying to be 'the best' for some academic definition of 'best' is more developer conceit than anything else. From owner-freebsd-current@FreeBSD.ORG Fri May 26 17:27:49 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEC6116A568 for ; Fri, 26 May 2006 17:27:49 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE88D43D58 for ; Fri, 26 May 2006 17:27:47 +0000 (GMT) (envelope-from gexlie@gmail.com) Received: by wr-out-0506.google.com with SMTP id i24so109113wra for ; Fri, 26 May 2006 10:27:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=EBBjaNcv+SbThtU+2fUjKZqst4C2R6EAudmq+BvXfgHfQOjSjsHsmWcmdIkAnkENosRESZ44kl6IErLriDag3jX//Z2XQNQHT5GVCZ0YzkLz5oJtlvIAm9t6N7hpATKBU68Xt+Xghcq/JNBG5DlluWJQ5hrP92d7RKSD0l0bicU= Received: by 10.65.148.10 with SMTP id a10mr590746qbo; Fri, 26 May 2006 10:27:15 -0700 (PDT) Received: by 10.64.150.10 with HTTP; Fri, 26 May 2006 10:27:15 -0700 (PDT) Message-ID: <53cc795f0605261027x34633d92h91cc6194af849075@mail.gmail.com> Date: Fri, 26 May 2006 21:27:15 +0400 From: sekes To: "Craig Rodrigues" In-Reply-To: <20060526160940.GA2100@crodrigues.org> MIME-Version: 1.0 References: <20060526160940.GA2100@crodrigues.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org, freebsd-xfs@org.freebsd.org, freebsd-current@freebsd.org Subject: Re: [HEADSUP] Improved NFS export support for different filesystems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 17:27:50 -0000 i got this trying to mount remote file system malloc(M_WAITOK) of "mbuf", forcing M_NOWAIT with the following non-sleepable locks held: exclusive sleep mutex NFSmount lock r =3D 0 (0xc4be3000) locked @ /usr/src/sys/nfsclient/nfs_vfsops.c:335 KDB: stack backtrace: kdb_backtrace(1,c2aa6a00,c145c780,20,d5d6476c) at kdb_backtrace+0x29 witness_warn(5,0,c092a205,c0916527,c2aa6a00) at witness_warn+0x192 uma_zalloc_arg(c145c780,d5d64788,2) at uma_zalloc_arg+0x41 nfsm_disct(d5d647fc,d5d64800,30,20,2) at nfsm_disct+0x93 nfsm_dissect_xx_sub(30,d5d647fc,d5d64800,2,d5d64828) at nfsm_dissect_xx_sub+0x34 nfsm_dissect_xx(30,d5d647fc,d5d64800) at nfsm_dissect_xx+0x13 nfs_fsinfo(c4be3000,c45c6410,c2f2bb00,c2efca20) at nfs_fsinfo+0x102 mountnfs(d5d649ac,c2ade000,c2cd6a40,d5d6494c,d5d64900) at mountnfs+0x2a9 nfs_mount(c2ade000,c2efca20,0,0,c09c6760) at nfs_mount+0x17f vfs_domount(c2efca20,c4917c90,c2fef140,0,c2aad4a0) at vfs_domount+0x54e vfs_donmount(c2efca20,0,d5d64bb0,c3054c80,c) at vfs_donmount+0x3fd kernel_mount(c2aad480,0,c2aad480,c0923784,d5d64bf8) at kernel_mount+0x6d nfs_cmount(c2aad480,bfbfea60,0,c2efca20,c09c6760) at nfs_cmount+0x39 mount(c2efca20,d5d64d04,c3bac69c,c,c2efca20) at mount+0x146 syscall(3b,3b,3b,bfbfec85,bfbfea60) at syscall+0x27e Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (21, FreeBSD ELF32, mount), eip =3D 0x280bee1b, esp =3D 0xbfbfe= 61c, ebp =3D 0xbfbfead8 --- remote FS has succesfully mounted though On 5/26/06, Craig Rodrigues wrote: > > Hi, > > I have committed a bunch of changes to FreeBSD-CURRENT > to improve support of NFS exporting different filesystems in FreeBSD. > > Before, the FreeBSD mountd program would only NFS export > UFS, cd9660, msdosfs, and NTFS. > > I have removed that limitation. Now, if a filesystem > properly supports the "update" and "export" mount options, > then it should be able to export with mountd. > > For example, I have been able to export XFS (read-only). > > If people could test out my changes by NFS exporting different > filesystems with mountd, and let me know if there are any > problems, I would appreciate it. My changes are in FreeBSD-CURRENT > only right now. > > -- > Craig Rodrigues > rodrigc@crodrigues.org > _______________________________________________ > 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= " > From owner-freebsd-current@FreeBSD.ORG Fri May 26 17:53:07 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9AF616AAF7; Fri, 26 May 2006 17:53:07 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DF6743D55; Fri, 26 May 2006 17:53:06 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepb.post.tele.dk (Postfix) with ESMTP id 66D49A50019; Fri, 26 May 2006 19:53:04 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4QHr2MQ010408; Fri, 26 May 2006 19:53:02 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "Andrew Atrens" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 26 May 2006 13:50:19 EDT." <44773FDB.1090901@nortel.com> Date: Fri, 26 May 2006 19:53:02 +0200 Message-ID: <10407.1148665982@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: current@freebsd.org, Alexander Leidinger , James Mansion , small@freebsd.org, Olivier Gautherot Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 17:53:13 -0000 In message <44773FDB.1090901@nortel.com>, "Andrew Atrens" writes: >>>'Good enough means exactly what it says, and doing more is foolish' >> >> I think you seriously lack historical perspective if that is your >> considered opinion. > >I suppose it depends entirely on your objective. If your objective is >making money and you want to be first to the market with your toaster, >then you scale back features or quality or both in favour of schedule. My objective is to produce the best damn UNIX and keep it viable for at least another ten years. That means that I have to be at least three years ahead of the users and I have to make it robust, fast and innovative enough that they want to use it. For that "good enough" will not cut it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Fri May 26 17:51:00 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F314116A5B3; Fri, 26 May 2006 17:50:59 +0000 (UTC) (envelope-from ATRENS@nortel.com) Received: from zrtps0kp.nortel.com (zrtps0kp.nortel.com [47.140.192.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB39C43D5C; Fri, 26 May 2006 17:50:58 +0000 (GMT) (envelope-from ATRENS@nortel.com) Received: from zcarhxm2.corp.nortel.com (zcarhxm2.corp.nortel.com [47.129.230.99]) by zrtps0kp.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id k4QHoU414572; Fri, 26 May 2006 13:50:30 -0400 (EDT) Received: from [10.0.10.2] ([47.128.166.148] RDNS failed) by zcarhxm2.corp.nortel.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 May 2006 13:50:28 -0400 Message-ID: <44773FDB.1090901@nortel.com> Date: Fri, 26 May 2006 13:50:19 -0400 From: "Andrew Atrens" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051129) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <9822.1148656872@critter.freebsd.dk> In-Reply-To: <9822.1148656872@critter.freebsd.dk> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 May 2006 17:50:28.0302 (UTC) FILETIME=[DFDC1EE0:01C680EC] X-Mailman-Approved-At: Fri, 26 May 2006 18:07:02 +0000 Cc: current@freebsd.org, Alexander Leidinger , James Mansion , small@freebsd.org, Olivier Gautherot Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 17:51:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Poul-Henning Kamp wrote: > In message , "James Mansi > on" writes: > >>>"The adequate has always been the worst enemy of excellence" >>> >>>Remember, it's: "FreeBSD, the best damn UNIX around", not "FreeBSD: >>>Yet Another Mediocre UNIX". >> >>Well, I would counter: >> >>'Good enough means exactly what it says, and doing more is foolish' > > > I think you seriously lack historical perspective if that is your > considered opinion. I suppose it depends entirely on your objective. If your objective is making money and you want to be first to the market with your toaster, then you scale back features or quality or both in favour of schedule. And some people would argue that over-engineering a toaster is a waste of time and money because the breakfast user doesn't really care how a toaster works, just that it works .. and if it breaks, they'll just go buy another one for 20 bucks. On the other hand, if you're building an embedded system for a lunar lander for Apollo 13, or a real time control system, then I would argue that you should squeeze in as many engineering cycles as you can, because a dependable system is only as robust as its weakest link. Having said that, I don't think James initially knew that a CF does wear-levelling - so perhaps he doesn't have that much direct experience with these devices. Putting on my selfish hat I'd love to have a filesystem that could run directly on raw flash, but I was under the impression that writing a filesystem from scratch is a serious undertaking. And given the volunteer nature of this project I thought that partitioning the problem into two - by first creating a driver that manages raw flash and presents it as a disk (similar to what a CF would do) .. could be done before or in parallel with creating a new journalling filesystem. Obviously the raw driver would provide some extensions / hooks / hints that the jfs could take advantage of .. A bit more work/thought then writing a flash-specific filesystem perhaps but - * partitioning the work would mean that with just the first part completed many folks could use it / test it .. and give people a kick start on the embedded side * the low level driver could be shared with the other bsd's .. this could mean better (and quicker) support for more flash parts Maybe I'm barking up the wrong tree here though .. could it be that the work delta between writing the full filesystem vs the 'CF-like' driver + filesystem is relatively small ? I don't know, I'm just asking. :) Andrew. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEdz/b8It2CaCdeMwRAukJAJ9O2LfV7CzcaXcVo8/qObwaSzSUBACfX3sF 8+O5nZPZBCw7ECuLd4I7ijM= =Yysu -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Fri May 26 18:41:33 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FC7316AC82; Fri, 26 May 2006 18:41:33 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53BB443D5E; Fri, 26 May 2006 18:41:32 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 6116746CB3; Fri, 26 May 2006 14:41:31 -0400 (EDT) Date: Fri, 26 May 2006 19:41:31 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Jeremie Le Hen In-Reply-To: <20060526153422.GB25953@obiwan.tataz.chchile.org> Message-ID: <20060526193048.Y77521@fledge.watson.org> References: <20060526153422.GB25953@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-security@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: Integrating ProPolice/SSP into FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 18:41:36 -0000 On Fri, 26 May 2006, Jeremie Le Hen wrote: > first sorry for cross-posting but I thought this patch might interest > -CURRENT users as well as people concerned by security. > > I wrote a patch that integrates ProPolice/SSP into FreeBSD, one step further > than it has been realized so far. This looks very neat. Could you remind me what, if any, ABI issues might exist? I'm familiar with the ideas behind ProPolice, but not the implementation. Can I use SSP-compied libraries with pre-SSP applications? Can I use post-SSP applications with pre-SSP binaries? At various points in the past, the issue of integrating stack protection techniques into the gcc code has come up. Did this ever go anywhere? Even Microsoft's compiler suite ships with statically compiled stack protection these days. In the past we've avoided local compiler changes in order to make it easier to track the vendor and avoid losing local compiler changes when upgrading. Robert N M Watson > > It is available here : > http://tataz.chchile.org/~tataz/FreeBSD/SSP/ > > Everything is explained on the web page, but I will repeat some > informations here. The patchset is splitted in two parts to ease the > review of the patch. The -propolice patch is only the original > ProPolice patch for GCC 3.4.4 applied on FreeBSD source tree. The > -freebsd patch contains the glue I have written to make things neat. > > The patch exists in both for CURRENT and RELENG_6. Both introduce a > new make.conf(5) (and src.conf(5)) knob to enable stack protection > on a per Makefile basis. It if of course possible to compile your > world with it. Please refer to the web page for more informations. > > The patch has been tested and works pretty well. My laptop and my > workstation at work are compiled with SSP : world, kernel and ports, > including X.org. > > I hope you will enjoy it. > Regards, > -- > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > > _______________________________________________ > 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" > From owner-freebsd-current@FreeBSD.ORG Fri May 26 18:44:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F82D16AFF1 for ; Fri, 26 May 2006 18:44:09 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1D4943D6D for ; Fri, 26 May 2006 18:44:02 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.23.205]) ([10.251.23.205]) by a50.ironport.com with ESMTP; 26 May 2006 11:44:03 -0700 Message-ID: <44774C72.2020809@elischer.org> Date: Fri, 26 May 2006 11:44:02 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gaspar Chilingarov References: <4476F897.10202@web.am> In-Reply-To: <4476F897.10202@web.am> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: ataidle and -current ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 18:44:12 -0000 Gaspar Chilingarov wrote: >Hi all! > > >Are there any serious changes in ata between 6.x and -CURRENT branches ? > >Ataidle fails on current on amd64 -- does not even display device list >-- so I'm trying understand what to fix -- compatiliity with amd64 or >adopt changes for 7.x > > the interface to control the deveices has changed. Theoretically you could make a much simpler ataidle program now but no-one has done it.. teh previous one sent commands to the ata layer itself. the new one would have you send the commands to the drive in question.. (At least that is what I got from reading it) >Thanks in advance. > > >/Gaspar >_______________________________________________ >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" > > From owner-freebsd-current@FreeBSD.ORG Fri May 26 18:49:25 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4066B16AF8E; Fri, 26 May 2006 18:49:25 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F8BD43D5F; Fri, 26 May 2006 18:49:20 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id EC5971A4DAC; Fri, 26 May 2006 11:49:19 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 60A9851203; Fri, 26 May 2006 14:49:19 -0400 (EDT) Date: Fri, 26 May 2006 14:49:19 -0400 From: Kris Kennaway To: Robert Watson Message-ID: <20060526184919.GA69830@xor.obsecurity.org> References: <20060526153422.GB25953@obiwan.tataz.chchile.org> <20060526193048.Y77521@fledge.watson.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <20060526193048.Y77521@fledge.watson.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-security@FreeBSD.org, freebsd-current@FreeBSD.org, Jeremie Le Hen Subject: Re: Integrating ProPolice/SSP into FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 18:49:37 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 26, 2006 at 07:41:31PM +0100, Robert Watson wrote: >=20 > On Fri, 26 May 2006, Jeremie Le Hen wrote: >=20 > >first sorry for cross-posting but I thought this patch might interest=20 > >-CURRENT users as well as people concerned by security. > > > >I wrote a patch that integrates ProPolice/SSP into FreeBSD, one step=20 > >further than it has been realized so far. >=20 > This looks very neat. >=20 > Could you remind me what, if any, ABI issues might exist? I'm familiar= =20 > with the ideas behind ProPolice, but not the implementation. Can I use= =20 > SSP-compied libraries with pre-SSP applications? Can I use post-SSP=20 > applications with pre-SSP binaries? Last time I tried it (several years ago, when I maintained my own local patch for world integration), backwards binary compatibility was an issue, i.e. it was possible to hose your system when trying to revert the changes (since all rebuilt binaries all depend on symbols no longer provided in libc). Kris --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEd02uWry0BWjoQKURAonjAJ9Vq+exWJiVtiEvm/NaVCOjD2k0RgCghglV jQB5zxd1bKDjQG0rlF+EkUA= =fcJN -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24-- From owner-freebsd-current@FreeBSD.ORG Fri May 26 18:56:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E63A816B31D for ; Fri, 26 May 2006 18:56:51 +0000 (UTC) (envelope-from rodrigc@crodrigues.org) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.200.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 950FB43D7B for ; Fri, 26 May 2006 18:56:42 +0000 (GMT) (envelope-from rodrigc@crodrigues.org) Received: from c-24-147-19-128.hsd1.ma.comcast.net (c-71-233-168-2.hsd1.ma.comcast.net[71.233.168.2](misconfigured sender)) by comcast.net (sccrmhc12) with ESMTP id <2006052618551701200eptrte>; Fri, 26 May 2006 18:55:18 +0000 Received: from c-24-147-19-128.hsd1.ma.comcast.net (localhost [127.0.0.1]) by c-24-147-19-128.hsd1.ma.comcast.net (8.13.6/8.13.1) with ESMTP id k4QItHXd003233; Fri, 26 May 2006 14:55:17 -0400 (EDT) (envelope-from rodrigc@c-24-147-19-128.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-24-147-19-128.hsd1.ma.comcast.net (8.13.6/8.13.1/Submit) id k4QItHWi003232; Fri, 26 May 2006 14:55:17 -0400 (EDT) (envelope-from rodrigc) Date: Fri, 26 May 2006 14:55:17 -0400 From: Craig Rodrigues To: sekes Message-ID: <20060526185517.GA3208@crodrigues.org> References: <20060526160940.GA2100@crodrigues.org> <53cc795f0605261027x34633d92h91cc6194af849075@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53cc795f0605261027x34633d92h91cc6194af849075@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: [HEADSUP] Improved NFS export support for different filesystems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 18:57:00 -0000 On Fri, May 26, 2006 at 09:27:15PM +0400, sekes wrote: > i got this trying to mount remote file system > > malloc(M_WAITOK) of "mbuf", forcing M_NOWAIT with the following > non-sleepable locks held: > exclusive sleep mutex NFSmount lock r = 0 (0xc4be3000) locked @ > /usr/src/sys/nfsclient/nfs_vfsops.c:335 Try updating your source again. Mohan just fixed this: http://lists.freebsd.org/pipermail/cvs-src/2006-May/064246.html -- Craig Rodrigues rodrigc@crodrigues.org From owner-freebsd-current@FreeBSD.ORG Fri May 26 19:07:23 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5B3316AF4E; Fri, 26 May 2006 19:07:23 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45F7543D46; Fri, 26 May 2006 19:07:23 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4QJ68W9057737; Fri, 26 May 2006 13:06:09 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 26 May 2006 13:06:09 -0600 (MDT) Message-Id: <20060526.130609.1678771902.imp@bsdimp.com> To: glebius@freebsd.org From: "M. Warner Losh" In-Reply-To: <20060526105445.GF27819@FreeBSD.org> References: <2538.1148556253@critter.freebsd.dk> <20060526105445.GF27819@FreeBSD.org> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: phk@phk.freebsd.dk, small@freebsd.org, current@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 19:07:32 -0000 In message: <20060526105445.GF27819@FreeBSD.org> Gleb Smirnoff writes: : On Thu, May 25, 2006 at 01:24:13PM +0200, Poul-Henning Kamp wrote: : P> We think that it is important to make it easy for people to get : P> FreeBSD onto their embedded hardware so that they can start : P> their work by experimenting and customizing rather than figuring : P> out how to get FreeBSD to boot at all. : P> : P> Currently FreeBSD comes in three different packagings: : P> : P> * The official release "Normal disk installations" : P> * The FreeSBIE kit "Run from CDROM etc" : P> * NanoBSD "Run from flash etc" : : As usual, people forget about Frenzy distribution: : : http://frenzy.org.ua/en/ Maybe we need a page talking about this and all the similar packaging that others have odne? Warner From owner-freebsd-current@FreeBSD.ORG Fri May 26 19:16:31 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9C8E16A94B for ; Fri, 26 May 2006 19:16:31 +0000 (UTC) (envelope-from mdodd@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [70.88.158.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C12443D55 for ; Fri, 26 May 2006 19:16:31 +0000 (GMT) (envelope-from mdodd@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [70.88.158.93]) by sasami.jurai.net (8.13.6/8.13.6) with ESMTP id k4QJGMaV076789; Fri, 26 May 2006 15:16:27 -0400 (EDT) (envelope-from mdodd@FreeBSD.ORG) Date: Fri, 26 May 2006 15:16:22 -0400 (EDT) From: "Matthew N. Dodd" X-X-Sender: winter@sasami.jurai.net To: Julian Elischer In-Reply-To: <44774C72.2020809@elischer.org> Message-ID: <20060526151012.U79841@sasami.jurai.net> References: <4476F897.10202@web.am> <44774C72.2020809@elischer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (sasami.jurai.net [70.88.158.93]); Fri, 26 May 2006 15:16:28 -0400 (EDT) Cc: Gaspar Chilingarov , freebsd-current@FreeBSD.ORG Subject: Re: ataidle and -current ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 19:16:43 -0000 On Fri, 26 May 2006, Julian Elischer wrote: > the interface to control the deveices has changed. Theoretically you > could make a much simpler ataidle program now but no-one has done it.. I wrote ftp://ftp.jurai.net/users/winter/atautil.tar to manipulate ATA "APM" settings. APM is drive managed power configuration. I call a simple shell script via apmd to enabling idling when the laptop is on battery. 'atautil' also supports reading the drive tempreature from IBM/Hitachi Travelstars. From owner-freebsd-current@FreeBSD.ORG Fri May 26 19:45:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0168216B6A1; Fri, 26 May 2006 19:45:22 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E97A43D7F; Fri, 26 May 2006 19:45:17 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k4QJjFJt005994; Fri, 26 May 2006 15:45:15 -0400 (EDT) Date: Fri, 26 May 2006 15:45:15 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Kris Kennaway In-Reply-To: <20060526184919.GA69830@xor.obsecurity.org> Message-ID: References: <20060526153422.GB25953@obiwan.tataz.chchile.org> <20060526193048.Y77521@fledge.watson.org> <20060526184919.GA69830@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: Jeremie Le Hen , freebsd-security@freebsd.org, freebsd-current@freebsd.org, Robert Watson Subject: Re: Integrating ProPolice/SSP into FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 19:45:32 -0000 On Fri, 26 May 2006, Kris Kennaway wrote: > On Fri, May 26, 2006 at 07:41:31PM +0100, Robert Watson wrote: >> >> On Fri, 26 May 2006, Jeremie Le Hen wrote: >> >>> first sorry for cross-posting but I thought this patch might interest >>> -CURRENT users as well as people concerned by security. >>> >>> I wrote a patch that integrates ProPolice/SSP into FreeBSD, one step >>> further than it has been realized so far. >> >> This looks very neat. >> >> Could you remind me what, if any, ABI issues might exist? I'm familiar >> with the ideas behind ProPolice, but not the implementation. Can I use >> SSP-compied libraries with pre-SSP applications? Can I use post-SSP >> applications with pre-SSP binaries? > > Last time I tried it (several years ago, when I maintained my own > local patch for world integration), backwards binary compatibility was > an issue, i.e. it was possible to hose your system when trying to > revert the changes (since all rebuilt binaries all depend on symbols > no longer provided in libc). As I understand it, the symbols would be added to libc (and stay there). And with symbol versioning, they would always have to stay there regardless of whether you build your binaries with or without SSP. A comment to the patch itself... You need to put the added symbol(s) in one of libc's Symbol.map files or else they won't be visible when symbol versioning is enabled. -- DE From owner-freebsd-current@FreeBSD.ORG Fri May 26 19:50:25 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4061816A4EB for ; Fri, 26 May 2006 19:50:25 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id B069543D6E for ; Fri, 26 May 2006 19:50:20 +0000 (GMT) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id BF0B378C1D; Fri, 26 May 2006 19:50:18 +0000 (GMT) Date: Fri, 26 May 2006 19:50:18 +0000 From: John Birrell To: Joseph Koshy Message-ID: <20060526195018.GA34554@what-creek.com> References: <20060525065510.GA20475@what-creek.com> <20060525082633.GA724@turion.vk2pj.dyndns.org> <20060525195346.GA25270@what-creek.com> <84dead720605260831n65cecbc2r7c6a2a7b45416379@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84dead720605260831n65cecbc2r7c6a2a7b45416379@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 19:50:37 -0000 On Fri, May 26, 2006 at 09:01:12PM +0530, Joseph Koshy wrote: > >The place were DTrace is really, really machine dependent is > >in the trap handling code. DTrace has what it calls 'safe' > >loads where it goes to read from a memory address which a > >flag set to stop a panic if a trap occurs during the > >message access. > > Is there any way we can do some code refactoring when > DTrace is brought in? > > For example, Dtrace has a 'stack()' primitive that walks > the kernel stack and a 'ustack()' primitive that walks > userland stacks. > > Both of these are useful for hwpmc, and are useful in > other contexts (e.g., recording stack traces for userland > processes that dump core). > > Similarly, alq(9), ktrace(2) and hwpmc(4) all implement > kernel->userland logging in some form or the other. > DTrace's logging requirements are probably a superset of > all of these so having a common logging layer could help > reduce code bloat in the kernel. The problem with doing this is that DTrace is licensed under Sun's CDDL. There is a software re-distribution requirement of the CDDL, but it isn't viral and it only affects the files that Sun provides. There are actually a handful of files in OpenSolaris that originated in FreeBSD. One of those is sys/i386/i386/exception.s which is where the FBT/SDT invalid opcode hooks are. I've added a KDTRACE kernel option which compiles in the hooks that DTrace uses and a bit of extra exception handling code. This is only minimal bloat. Apart from those hooks, the DTrace kernel functionality is in the 'dtrace' device which is also the 'dtrace' provider. The other providers register themselves with the 'dtrace' device. If the DTrace device modules aren't loaded, there is very little code in the kernel to share. -- John Birrell From owner-freebsd-current@FreeBSD.ORG Fri May 26 20:03:28 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DA1616A8CD for ; Fri, 26 May 2006 20:03:28 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 528FF43D62 for ; Fri, 26 May 2006 20:03:24 +0000 (GMT) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 2618C78C1D; Fri, 26 May 2006 20:03:23 +0000 (GMT) Date: Fri, 26 May 2006 20:03:22 +0000 From: John Birrell To: Joseph Koshy Message-ID: <20060526200322.GC34554@what-creek.com> References: <20060525065510.GA20475@what-creek.com> <84dead720605260818t7460cd6dp5de7311a1b5edc28@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84dead720605260818t7460cd6dp5de7311a1b5edc28@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 20:03:36 -0000 On Fri, May 26, 2006 at 08:48:21PM +0530, Joseph Koshy wrote: > >But, I have a naive question. Should this be integrated in > >some way with the hwpmc work of Joseph Koshy since I think it > >could be useful for DTRace to get information from the CPU as > >well. > > Disclaimer: I've only just started reading about DTrace. > > There appear to be two ways to integrate hwpmc and DTrace: > > - Augment the D virtual machine with a primitive that can > read PMC values (e.g.- using RDPMC or RDMSR instructions > on x86 CPUs). Make this primitive available > to scripts for allocating and reading from PMCs (say > a "pmcread()" builtin function). > > This approach would work well with counting mode PMCs > (both process and system-mode counting PMCs) and would > allow PMCs to be read at arbitrary points of time. > > We'll need a way of allocating system-wide & process-mode > PMCs; this could be done in userland (in dtrace(8)). > > - hwpmc(4) can be augmented to be a 'DTrace provider' > allowing D scripts to be run, say when a PC sample is > recorded. Before modifying the virtual machine in FreeBSD's DTrace port, it would be best to discuss this in the "DTrace Community" The Sun guys will guide us on which way they think is appropriate. -- John Birrell From owner-freebsd-current@FreeBSD.ORG Fri May 26 20:09:29 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C0E416B802; Fri, 26 May 2006 20:09:29 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id C25BA43D48; Fri, 26 May 2006 20:09:28 +0000 (GMT) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id B029578C1D; Fri, 26 May 2006 20:09:27 +0000 (GMT) Date: Fri, 26 May 2006 20:09:27 +0000 From: John Birrell To: gnn@FreeBSD.org Message-ID: <20060526200927.GD34554@what-creek.com> References: <20060525065510.GA20475@what-creek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: current@FreeBSD.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 20:09:33 -0000 On Fri, May 26, 2006 at 05:54:43PM +0900, gnn@FreeBSD.org wrote: > Is there a quick "HOw to use DTRace" anywhere? I'd like to use it in > my networking stuff when I get to the point of caring more about > performance than correctness. The DTrace guide is a fairly large document. The first 10 chapters are important reading. Other than that there are plenty of examples like: -- John Birrell From owner-freebsd-current@FreeBSD.ORG Fri May 26 20:15:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 787AA16A9D2 for ; Fri, 26 May 2006 20:15:14 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail19.syd.optusnet.com.au (mail19.syd.optusnet.com.au [211.29.132.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id C554743D53 for ; Fri, 26 May 2006 20:15:13 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail19.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4QKEthS024890 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 27 May 2006 06:14:56 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4QKEtD1003507; Sat, 27 May 2006 06:14:55 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4QKEqMq003506; Sat, 27 May 2006 06:14:52 +1000 (EST) (envelope-from peter) Date: Sat, 27 May 2006 06:14:52 +1000 From: Peter Jeremy To: Alexander Leidinger Message-ID: <20060526201452.GF744@turion.vk2pj.dyndns.org> References: <20060524180802.GA59176@central.0xfce3.net> <200605250517.12054.max@love2party.net> <20060525104000.GA4962@central.0xfce3.net> <20060525115447.GB724@turion.vk2pj.dyndns.org> <17525.55617.272397.806798@grasshopper.cs.duke.edu> <20060526133017.224cff08@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060526133017.224cff08@Magellan.Leidinger.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: Gordon Bergling , freebsd-current@freebsd.org, Andrew Gallatin , Max Laier Subject: Re: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 20:15:19 -0000 On Thu, 2006-May-25 12:40:00 +0200, Gordon Bergling wrote: >patch doesn't touch any arch !i386 and derivates, so I don't see any reason >why it shouldn't be included. On Fri, 2006-May-26 13:30:17 +0200, Alexander Leidinger wrote: >The current code is a maze of assembly and macros, the new one is >straight forward C and a little bit of assembly. And the new one is >also known to work in DragonFlyBSD. Do you expect *this* code to act >differently between FreeBSD and DragonFlyBSD? I don't expect the code itself to act differently. But I don't know if FreeBSD and DragonFlyBSD have different expectations of the code - probably they don't but someone (the proponent of the change) needs to confirm this. >What's the technical backing of your preference to stick with the >current code? How does the technical backing of your preference compare >to the technical arguments I presented in this thread regarding the >priority of the arguments? I was responding to Gordon's comments above. If the code is better and there _are_ technical arguments for FreeBSD to use it, then we should. "I don't see any reason not to use it" is not justification for changing critical code. -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Fri May 26 20:38:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74F7916B2F4 for ; Fri, 26 May 2006 20:38:53 +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 SMTP id 5E51943D68 for ; Fri, 26 May 2006 20:38:51 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 20266 invoked by uid 399); 26 May 2006 20:38:50 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 26 May 2006 20:38:50 -0000 Message-ID: <44776753.4030204@FreeBSD.org> Date: Fri, 26 May 2006 13:38:43 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.2 (X11/20060507) MIME-Version: 1.0 To: olivier@gautherot.net References: <200605250123.05126.beech@alaskaparadise.com> <44763F33.50008@freebsd.org> <200605252250.05251.beech@alaskaparadise.com> <200605260754.17365.ogautherot@vtr.net> In-Reply-To: <200605260754.17365.ogautherot@vtr.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: [kde-freebsd] koffice build failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 20:38:55 -0000 Olivier Gautherot wrote: > It's not only QT: the ports system is a bit sensitive and if you recompile a > library, you should actually recompile all the apps that depend on it. In my experience this is sometimes, but not always necessary. One of the key benefits of shared libraries is that you usually don't have to recompile the binaries. For example, on my desktop, with 166 ports installed, the only library that I need to reinstall its dependencies is gnutls. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Fri May 26 20:46:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C30816B9AE for ; Fri, 26 May 2006 20:46:19 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B224C43D46 for ; Fri, 26 May 2006 20:46:17 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.6/8.13.6) with ESMTP id k4QKk0WJ004647 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 26 May 2006 16:46:00 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id k4QKjsC9059312; Fri, 26 May 2006 16:45:54 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17527.26882.835189.53889@grasshopper.cs.duke.edu> Date: Fri, 26 May 2006 16:45:54 -0400 (EDT) To: Alexander Leidinger In-Reply-To: <20060526133017.224cff08@Magellan.Leidinger.net> References: <20060524180802.GA59176@central.0xfce3.net> <200605250517.12054.max@love2party.net> <20060525104000.GA4962@central.0xfce3.net> <20060525115447.GB724@turion.vk2pj.dyndns.org> <17525.55617.272397.806798@grasshopper.cs.duke.edu> <20060526133017.224cff08@Magellan.Leidinger.net> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Cc: Max Laier , Peter Jeremy , freebsd-current@freebsd.org, Andrew Gallatin , Gordon Bergling Subject: Re: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 20:46:25 -0000 Alexander Leidinger writes: > Quoting Andrew Gallatin (Thu, 25 May 2006 12:20:17 -0400 (EDT)): > > > If we're going to do anything, I'd prefer to see us skip > > the checksum on everything sent across lo0 and stick with > > the slower, yet known to work, existing checksum code for > > slow interfaces. > > The current code is known to work with the current gcc we use. It is > known to *not* work with the Intel C compiler. It may or may not work > with an upcomming gcc version. > > The current code is a maze of assembly and macros, the new one is > straight forward C and a little bit of assembly. And the new one is > also known to work in DragonFlyBSD. Do you expect *this* code to act > differently between FreeBSD and DragonFlyBSD? If it is is really known to work and it is higher quality, then it is fine with me. The original poster presented the new code as a performance enhancement over the old. My position is simply that that the performance of the software checksumming code is irrelevant, as it should never be used in a situation where performace is important. All 1Gb and 10Gb nics do hardware checksum offload, and we should not be checksumming local traffic. Drew From owner-freebsd-current@FreeBSD.ORG Fri May 26 20:51:24 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36D7A16AEB6; Fri, 26 May 2006 20:51:24 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from mail.ciam.ru (ns.ciam.ru [213.247.195.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC94C43D46; Fri, 26 May 2006 20:51:23 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from [87.240.16.199] (helo=[192.168.0.4]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1FjjHD-000A70-MW; Sat, 27 May 2006 00:51:19 +0400 Message-ID: <44776A33.6070200@FreeBSD.org> Date: Sat, 27 May 2006 00:50:59 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.2 (X11/20060429) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <4475E51A.4090004@FreeBSD.org> <4475F779.1010704@FreeBSD.org> <44769644.6020505@FreeBSD.org> <20060526152120.GD1165@garage.freebsd.pl> In-Reply-To: <20060526152120.GD1165@garage.freebsd.pl> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Alex Dupre Subject: Re: geli stops work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 20:51:26 -0000 Pawel Jakub Dawidek wrote: > On Fri, May 26, 2006 at 09:46:44AM +0400, Sergey Matveychuk wrote: > +> Alex Dupre wrote: > +> > Sergey Matveychuk wrote: > +> >> # mount /dev/md0c.eli /mnt1 > +> >> mount: /dev/md0c.eli: Operation not permitted > +> >> > +> >> What's up? > +> >> My geli disk unavailable now. > +> > > +> > Just to be sure, did you try to run fsck on it? Maybe it's only a badly > +> > corrupted fs. > +> > +> It was not corrupted before I've updated. > +> I mount/umount it by hands every time. > > Device itself isn't corrupted - you would get: > > mount: /dev/md0c.eli: Invalid argument > > in such case. Try to fsck it without modifing the device: > > # fsck_ffs -n /dev/md0c.eli > > and see what's wrong exactly. > For me it just looks like the device wasn't unmounted cleanly. > # fsck_ffs -n /dev/md0c.eli ** /dev/md0c.eli (NO WRITE) ** Last Mounted on /mnt1 ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 3655 files, 125633 used, 126313 free (129 frags, 31546 blocks, 0.1% fragmentation) Looks good. But can't mount. -- Dixi. Sem. From owner-freebsd-current@FreeBSD.ORG Fri May 26 20:52:32 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBE7116ABDC; Fri, 26 May 2006 20:52:32 +0000 (UTC) (envelope-from olivier@gautherot.net) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 619F643D53; Fri, 26 May 2006 20:52:32 +0000 (GMT) (envelope-from olivier@gautherot.net) Received: from imp3-g19.free.fr (imp3-g19.free.fr [212.27.42.3]) by smtp4-g19.free.fr (Postfix) with ESMTP id A3BE554954; Fri, 26 May 2006 22:52:31 +0200 (CEST) Received: by imp3-g19.free.fr (Postfix, from userid 33) id 391C56284; Fri, 26 May 2006 22:59:39 +0200 (CEST) Received: from 200.54.71.227 ([200.54.71.227]) by imp3-g19.free.fr (IMP) with HTTP for ; Fri, 26 May 2006 22:59:39 +0200 Message-ID: <1148677179.44776c3b228d7@imp3-g19.free.fr> Date: Fri, 26 May 2006 22:59:39 +0200 From: Olivier Gautherot To: Doug Barton References: <200605250123.05126.beech@alaskaparadise.com> <44763F33.50008@freebsd.org> <200605252250.05251.beech@alaskaparadise.com> <200605260754.17365.ogautherot@vtr.net> <44776753.4030204@FreeBSD.org> In-Reply-To: <44776753.4030204@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 200.54.71.227 Cc: freebsd-current@freebsd.org Subject: Re: [kde-freebsd] koffice build failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 20:52:36 -0000 Hi Doug, > > It's not only QT: the ports system is a bit sensitive and if you recompile > > a library, you should actually recompile all the apps that depend on it. > > In my experience this is sometimes, but not always necessary. One of the key > benefits of shared libraries is that you usually don't have to recompile the > binaries. For example, on my desktop, with 166 ports installed, the only > library that I need to reinstall its dependencies is gnutls. I've also done several portupgrade -a that succeded but, several times, application started breaking (and it is difficult to tell in advance when this happens). The first times, I reinstalled the complete system (fairly unhappy about it) but, last time, I went through the exercise of recompiling all dependencies that were (from a compilation date point of view, not version) out of date and it worked. When you have 166 ports installed, it's OK. When you have in the order of 800+, it is more painful... Cheers -- "If there is no solution, there is no problem" Shadok proverb ---------------------------------------------- Olivier Gautherot olivier@gautherot.net Tel: +56 8 730 9361 From owner-freebsd-current@FreeBSD.ORG Fri May 26 20:53:02 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC0A316BA2F; Fri, 26 May 2006 20:53:02 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from mail.ciam.ru (ns.ciam.ru [213.247.195.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6812C43D53; Fri, 26 May 2006 20:53:02 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from [87.240.16.199] (helo=[192.168.0.4]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1FjjIr-000A7t-AF; Sat, 27 May 2006 00:53:01 +0400 Message-ID: <44776A9A.5030705@FreeBSD.org> Date: Sat, 27 May 2006 00:52:42 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.2 (X11/20060429) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <4475E51A.4090004@FreeBSD.org> <4475F779.1010704@FreeBSD.org> <44769644.6020505@FreeBSD.org> <20060526152120.GD1165@garage.freebsd.pl> In-Reply-To: <20060526152120.GD1165@garage.freebsd.pl> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Alex Dupre Subject: Re: geli stops work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 20:53:05 -0000 Pawel Jakub Dawidek wrote: > # fsck_ffs -n /dev/md0c.eli > > and see what's wrong exactly. > For me it just looks like the device wasn't unmounted cleanly. > I've run it without -n. And it marks as clean. I can mount it now. Thanks! -- Dixi. Sem. From owner-freebsd-current@FreeBSD.ORG Fri May 26 22:28:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D5C216C1AB for ; Fri, 26 May 2006 22:28:53 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 561BF43D8A for ; Fri, 26 May 2006 22:28:51 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FC6A.dip.t-dialin.net [84.165.252.106]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.4) with ESMTP id k4QMSeif066925; Sat, 27 May 2006 00:28:40 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4QMSds0046885; Sat, 27 May 2006 00:28:40 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sat, 27 May 2006 00:28:40 +0200 From: Alexander Leidinger To: Peter Jeremy Message-ID: <20060527002840.35ebf26e@Magellan.Leidinger.net> In-Reply-To: <20060526201452.GF744@turion.vk2pj.dyndns.org> References: <20060524180802.GA59176@central.0xfce3.net> <200605250517.12054.max@love2party.net> <20060525104000.GA4962@central.0xfce3.net> <20060525115447.GB724@turion.vk2pj.dyndns.org> <17525.55617.272397.806798@grasshopper.cs.duke.edu> <20060526133017.224cff08@Magellan.Leidinger.net> <20060526201452.GF744@turion.vk2pj.dyndns.org> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Gordon Bergling , freebsd-current@freebsd.org, Andrew Gallatin , Max Laier Subject: Re: Take 2: new IP Checksum Code from DragonFlyBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 22:29:00 -0000 Quoting Peter Jeremy (Sat, 27 May 2006 06:14:52 +1000): > On Thu, 2006-May-25 12:40:00 +0200, Gordon Bergling wrote: > >patch doesn't touch any arch !i386 and derivates, so I don't see any reason > >why it shouldn't be included. > > On Fri, 2006-May-26 13:30:17 +0200, Alexander Leidinger wrote: > >The current code is a maze of assembly and macros, the new one is > >straight forward C and a little bit of assembly. And the new one is > >also known to work in DragonFlyBSD. Do you expect *this* code to act > >differently between FreeBSD and DragonFlyBSD? > > I don't expect the code itself to act differently. But I don't know > if FreeBSD and DragonFlyBSD have different expectations of the code - > probably they don't but someone (the proponent of the change) needs to > confirm this. They feed the same input to the code and expect the same output as we do. > >What's the technical backing of your preference to stick with the > >current code? How does the technical backing of your preference compare > >to the technical arguments I presented in this thread regarding the > >priority of the arguments? > > I was responding to Gordon's comments above. If the code is better and > there _are_ technical arguments for FreeBSD to use it, then we should. It contains less buggy assembly code which may break with newer gcc optimizations and already breaks with existing optimizations in the Intel C compiler. The folks at Intel investigated it and told me it's not because of a bug in icc, but because of the assembly code. It doesn't tell the compiler the right things, so the compiler is using wrong invariants for some optimizations (the gcc version we use either doesn't do those optimizations (yet), or does not make full use of those invariants (yet)). Bye, Alexander. -- Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Fri May 26 22:35:50 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58B8516B415 for ; Fri, 26 May 2006 22:35:50 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC03A43D6A for ; Fri, 26 May 2006 22:35:48 +0000 (GMT) (envelope-from kabaev@gmail.com) Received: by wr-out-0506.google.com with SMTP id i24so160229wra for ; Fri, 26 May 2006 15:35:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=f5O36VtjC1z2+A3Z+giyMZhfq6rIFiiJih94u/EiqwBZggw2dZVcZP+eArelnZRzrGXqiB2K9SARTz35zMY+nyn26fYVIRW/2obo2aIEEUaDMqvTgdt5fRNHIrw1vbt1TKsrJR/gW1HNZ5nd00ff4guv9SbK95S3ODtu3eqQ5jc= Received: by 10.65.219.8 with SMTP id w8mr2075912qbq; Fri, 26 May 2006 15:35:48 -0700 (PDT) Received: from kan.dnsalias.net ( [24.63.93.195]) by mx.gmail.com with ESMTP id e19sm274369qbe.2006.05.26.15.35.47; Fri, 26 May 2006 15:35:47 -0700 (PDT) Date: Fri, 26 May 2006 18:35:54 -0400 From: Alexander Kabaev To: Jeremie Le Hen Message-ID: <20060526183554.25d5cc0d@kan.dnsalias.net> In-Reply-To: <20060526153422.GB25953@obiwan.tataz.chchile.org> References: <20060526153422.GB25953@obiwan.tataz.chchile.org> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_c/0KbfSaUeTfzD870VcpDvZ"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Mailman-Approved-At: Fri, 26 May 2006 22:38:31 +0000 Cc: freebsd-security@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: Integrating ProPolice/SSP into FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 22:35:53 -0000 --Sig_c/0KbfSaUeTfzD870VcpDvZ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 26 May 2006 17:34:22 +0200 Jeremie Le Hen wrote: > Hi, >=20 > first sorry for cross-posting but I thought this patch might interest > -CURRENT users as well as people concerned by security. >=20 > I wrote a patch that integrates ProPolice/SSP into FreeBSD, one step > further than it has been realized so far. >=20 > It is available here : > http://tataz.chchile.org/~tataz/FreeBSD/SSP/ >=20 > Everything is explained on the web page, but I will repeat some > informations here. The patchset is splitted in two parts to ease the > review of the patch. The -propolice patch is only the original > ProPolice patch for GCC 3.4.4 applied on FreeBSD source tree. The > -freebsd patch contains the glue I have written to make things neat. >=20 > The patch exists in both for CURRENT and RELENG_6. Both introduce a > new make.conf(5) (and src.conf(5)) knob to enable stack protection > on a per Makefile basis. It if of course possible to compile your > world with it. Please refer to the web page for more informations. > =20 > The patch has been tested and works pretty well. My laptop and my > workstation at work are compiled with SSP : world, kernel and ports, > including X.org. >=20 > I hope you will enjoy it. > Regards, > --=20 > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to > "freebsd-security-unsubscribe@freebsd.org" How does this compare to GCC 4.x mudflap feature? I do not plan to include Propolice patch into base system any time soon and will object anyone trying to do so due to future maintenance headaches this will inevitably create. GCC 4.1.1 import is in the works though and should be available shortly. --=20 Alexander Kabaev --Sig_c/0KbfSaUeTfzD870VcpDvZ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEd4LQQ6z1jMm+XZYRAjHnAKDOWtvyQ+zrn6Zvnh+EKskJpp2oKwCdHMYg 4AyTmQUN25bjEgP2qQ78FtU= =yfuW -----END PGP SIGNATURE----- --Sig_c/0KbfSaUeTfzD870VcpDvZ-- From owner-freebsd-current@FreeBSD.ORG Fri May 26 23:02:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B71316A796; Fri, 26 May 2006 23:02:26 +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 1631643D46; Fri, 26 May 2006 23:02:26 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4QN2PUl001044; Fri, 26 May 2006 16:02:25 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4QN2Pg2001043; Fri, 26 May 2006 16:02:25 -0700 (PDT) (envelope-from sgk) Date: Fri, 26 May 2006 16:02:25 -0700 From: Steve Kargl To: Alexander Kabaev Message-ID: <20060526230225.GB946@troutmask.apl.washington.edu> References: <20060526153422.GB25953@obiwan.tataz.chchile.org> <20060526183554.25d5cc0d@kan.dnsalias.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060526183554.25d5cc0d@kan.dnsalias.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-security@freebsd.org, freebsd-current@freebsd.org, Jeremie Le Hen Subject: Re: Integrating ProPolice/SSP into FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 23:02:36 -0000 On Fri, May 26, 2006 at 06:35:54PM -0400, Alexander Kabaev wrote: > > How does this compare to GCC 4.x mudflap feature? I do not plan to > include Propolice patch into base system any time soon and will object > anyone trying to do so due to future maintenance headaches this will > inevitably create. GCC 4.1.1 import is in the works though and should be > available shortly. > At one time mudflap would lead to internal compiler errors on amd64. I haven't tried it in a long time. What language frontends do you intend to support when 4.1.1 comes into the tree? FreeBSD currently has a Fortran 77 compiler via g77. g77 is no longer supported in the 4.x series, and its replacement is a Fortran 95 compiler. -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 00:20:58 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BC2B16A530; Sat, 27 May 2006 00:20:58 +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 A48F843D53; Sat, 27 May 2006 00:20:57 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id k4R0KuYv076943; Fri, 26 May 2006 20:20:56 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.4P/8.13.4) with ESMTP id k4R0KOJQ051254; Fri, 26 May 2006 20:20:24 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 4C15C7302F; Fri, 26 May 2006 20:20:56 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20060527002056.4C15C7302F@freebsd-current.sentex.ca> Date: Fri, 26 May 2006 20:20:56 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on clamscanner1 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on i386/pc98 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 00:21:00 -0000 TB --- 2006-05-26 22:52:29 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2006-05-26 22:52:29 - starting HEAD tinderbox run for i386/pc98 TB --- 2006-05-26 22:52:29 - cleaning the object tree TB --- 2006-05-26 22:52:59 - checking out the source tree TB --- 2006-05-26 22:52:59 - cd /tinderbox/HEAD/i386/pc98 TB --- 2006-05-26 22:52:59 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2006-05-26 23:00:10 - building world (CFLAGS=-O2 -pipe) TB --- 2006-05-26 23:00:10 - cd /src TB --- 2006-05-26 23:00:10 - /usr/bin/make -B buildworld >>> 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 TB --- 2006-05-27 00:07:10 - generating LINT kernel config TB --- 2006-05-27 00:07:10 - cd /src/sys/pc98/conf TB --- 2006-05-27 00:07:10 - /usr/bin/make -B LINT TB --- 2006-05-27 00:07:10 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2006-05-27 00:07:10 - cd /src TB --- 2006-05-27 00:07:10 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat May 27 00:07:10 UTC 2006 >>> 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 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -finstrument-functions -Wno-inline /src/sys/pc98/cbus/scvtb.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -finstrument-functions -Wno-inline /src/sys/pc98/cbus/sio.c /src/sys/pc98/cbus/sio.c: In function `siogdbputc': /src/sys/pc98/cbus/sio.c:3780: warning: implicit declaration of function `sio__cnputc' /src/sys/pc98/cbus/sio.c:3780: warning: nested extern declaration of `sio__cnputc' /src/sys/pc98/cbus/sio.c: In function `siogdbgetc': /src/sys/pc98/cbus/sio.c:3786: warning: implicit declaration of function `sio__cngetc' /src/sys/pc98/cbus/sio.c:3786: warning: nested extern declaration of `sio__cngetc' *** Error code 1 Stop in /obj/pc98/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2006-05-27 00:20:56 - WARNING: /usr/bin/make returned exit code 1 TB --- 2006-05-27 00:20:56 - ERROR: failed to build lint kernel TB --- 2006-05-27 00:20:56 - tinderbox aborted TB --- 1.10 user 5.70 system 5306.55 real From owner-freebsd-current@FreeBSD.ORG Sat May 27 00:25:30 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4137616A4FC for ; Sat, 27 May 2006 00:25:30 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id B03F143D55 for ; Sat, 27 May 2006 00:25:29 +0000 (GMT) (envelope-from arno@heho.snv.jussieu.fr) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.13.6/jtpda-5.4) with ESMTP id k4R0PSlw007075 for ; Sat, 27 May 2006 02:25:28 +0200 (CEST) X-Ids: 168 Received: from heho.labo (localhost [127.0.0.1]) by heho.snv.jussieu.fr (8.13.3/jtpda-5.2) with ESMTP id k4R0PRsY063872 for ; Sat, 27 May 2006 02:25:27 +0200 (MEST) Received: (from arno@localhost) by heho.labo (8.13.3/8.13.1/Submit) id k4R0PRhf063869; Sat, 27 May 2006 02:25:27 +0200 (MEST) (envelope-from arno) Sender: arno@heho.snv.jussieu.fr To: freebsd-current@freebsd.org From: "Arno J. Klaassen" Date: 27 May 2006 02:25:26 +0200 Message-ID: Lines: 75 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (shiva.jussieu.fr [134.157.0.168]); Sat, 27 May 2006 02:25:28 +0200 (CEST) X-Virus-Scanned: ClamAV 0.88.2/1486/Fri May 26 18:24:22 2006 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at shiva.jussieu.fr with ID 44779C78.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! Subject: indefinite wait buffer X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 00:25:30 -0000 --=-=-= Hello, we use FreeBSD amongst others for scientific calculations, and ran into the 'indefinite wait buffer' problem on ordinary swap/dump devices : the swap-overhead being justified by enabling greater data-sets to be treated and processes grosso-modo still being CPU-bound rather than I/O(swap)-bound. On recent RELENG_6 however, this fails (for sure on scrappy ATA-devices, rather easy as well on SCSI-devices though they seem to persist 'a couple of' 'indefinite wait buffer' warnings). I tested today on an amd64-notebook with 1G physmem and 4G swap on a from-the-shelf ATA-disk. I wrote the following code : int main (int argc, char **argv) { unsigned long maxpage; int * base, * ptr; _malloc_options = "AJ"; maxpage = strtol(argv[1],(char **)NULL, 10) * M_SIZE; fprintf (stderr, "Allocing %ld Bytes\n", maxpage); base = (int *)(malloc (maxpage)); if (base == NULL ) { fprintf (stderr, "Jammer\n"); } while (0 == 0) { int * ptr = base; unsigned int i = 0; for (i=0; i< maxpage/sizeof(int); i++) { *(ptr++) += 1; } fprintf (stderr, "Loop <%d> done\n", iter); iter++; } exit (0); } Calling this (on RELENG_6) with an argument in between 1024 and 1500 in a few minutes deadlocks the notebook with an 'indefinite wait buffer' in /var/log/messages after reboot. After some fiddling I came to the attached amateuristic patch : swap_pager.c has a heuristiquely (I suppose) timeout of 20 seconds for a msleep call; I changed this for a timeout based on a presupposed pessimistic minimal througput for the swapping device multiplied by the minimum of swapsize and physmem. With this patch I can run the above code without deadlock even with 4096 (Meg) as argument.. Two remarks : 1 I abuse linux.ko/linprocfs to correctly initialise my code 2 This is no solution to the real 'indefinite wait buffer' problems since at shutdown it still panics with 'swap_pager_force_pagein: read from swap failed', but at least it keeps the system functional while working. I hope someone can comment this idea. Best regards, Arno --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=swap.patch Index: sys/vm/swap_pager.c =================================================================== RCS file: /home/ncvs/src/sys/vm/swap_pager.c,v retrieving revision 1.273.2.2 diff -r1.273.2.2 swap_pager.c 285a286,288 > static int MB_per_sec = 1; /* be pessimist, might be sysctl'ed */ > static int timo_secs = 60; /* for msleep() in swap_pager_getpages() */ > 401a405 > 604a609 > 1104c1109 < if (msleep(mreq, &vm_page_queue_mtx, PSWP, "swread", hz*20)) { --- > if (msleep(mreq, &vm_page_queue_mtx, PSWP, "swread", hz*timo_secs)) { 1106,1107c1111,1114 < "swap_pager: indefinite wait buffer: bufobj: %p, blkno: %jd, size: %ld\n", < bp->b_bufobj, (intmax_t)bp->b_blkno, bp->b_bcount); --- > "swap_pager: wait buffer timeout (%d secs): bufobj: %p, blkno: %jd, size: %ld\n", > timo_secs, bp->b_bufobj, (intmax_t)bp->b_blkno, bp->b_bcount); > /* wait & pray ... respect mutex */ > msleep(mreq, &vm_page_queue_mtx, PSWP, "swread", 0); 2240a2248 > int timo_secs_swap, timo_secs_physmem; 2248a2257,2265 > > timo_secs_swap = MB_per_sec * (*total * PAGE_SIZE) / (1024*1024); > timo_secs_physmem = MB_per_sec * (physmem * PAGE_SIZE) / (1024*1024); > timo_secs = min(timo_secs_swap, timo_secs_physmem); > > if (timo_secs < 60) timo_secs=60; > printf("ARNO timo_secs = <%d>.\n", timo_secs); > printf("ARNO timo_secs_swap = <%d> timo_secs_physmem <%d>.\n", > timo_secs_swap, timo_secs_physmem); --=-=-=-- From owner-freebsd-current@FreeBSD.ORG Sat May 27 01:50:45 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DEC716A883; Sat, 27 May 2006 01:50:45 +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 B106C43D55; Sat, 27 May 2006 01:50:44 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id k4R1ohw3082467; Fri, 26 May 2006 21:50:43 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.4P/8.13.4) with ESMTP id k4R1oBXQ089241; Fri, 26 May 2006 21:50:11 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 621B57302F; Fri, 26 May 2006 21:50:43 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20060527015043.621B57302F@freebsd-current.sentex.ca> Date: Fri, 26 May 2006 21:50:43 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on clamscanner4 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 01:50:46 -0000 TB --- 2006-05-27 00:20:56 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2006-05-27 00:20:56 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2006-05-27 00:20:56 - cleaning the object tree TB --- 2006-05-27 00:21:27 - checking out the source tree TB --- 2006-05-27 00:21:27 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2006-05-27 00:21:27 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2006-05-27 00:29:17 - building world (CFLAGS=-O2 -pipe) TB --- 2006-05-27 00:29:17 - cd /src TB --- 2006-05-27 00:29:17 - /usr/bin/make -B buildworld >>> 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 TB --- 2006-05-27 01:37:06 - generating LINT kernel config TB --- 2006-05-27 01:37:06 - cd /src/sys/sparc64/conf TB --- 2006-05-27 01:37:06 - /usr/bin/make -B LINT TB --- 2006-05-27 01:37:06 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2006-05-27 01:37:06 - cd /src TB --- 2006-05-27 01:37:06 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat May 27 01:37:06 UTC 2006 >>> 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 [...] /src/sys/dev/ofw/ofw_console.c: In function `ofw_timeout': /src/sys/dev/ofw/ofw_console.c:230: warning: implicit declaration of function `ofw_cons_checkc' /src/sys/dev/ofw/ofw_console.c:230: warning: nested extern declaration of `ofw_cons_checkc' /src/sys/dev/ofw/ofw_console.c: At top level: /src/sys/dev/ofw/ofw_console.c:76: warning: 'ofw_cnprobe' used but never defined /src/sys/dev/ofw/ofw_console.c:78: warning: 'ofw_cnterm' used but never defined /src/sys/dev/ofw/ofw_console.c:241: warning: 'ofw_cons_probe' defined but not used /src/sys/dev/ofw/ofw_console.c:273: warning: 'ofw_cneterm' defined but not used *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2006-05-27 01:50:43 - WARNING: /usr/bin/make returned exit code 1 TB --- 2006-05-27 01:50:43 - ERROR: failed to build lint kernel TB --- 2006-05-27 01:50:43 - tinderbox aborted TB --- 0.98 user 5.19 system 5386.74 real From owner-freebsd-current@FreeBSD.ORG Sat May 27 02:44:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE89016A521 for ; Sat, 27 May 2006 02:44:09 +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 A642343D4C for ; Sat, 27 May 2006 02:44:09 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4R2i7qs002551 for ; Fri, 26 May 2006 19:44:07 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4R2i78l002550 for freebsd-current@freebsd.org; Fri, 26 May 2006 19:44:07 -0700 (PDT) (envelope-from sgk) Date: Fri, 26 May 2006 19:44:07 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Message-ID: <20060527024407.GA2525@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 02:44:11 -0000 In a recent email to freebsd-current, http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063435.html Alexander Kabaev stated that the import of GCC 4.1.1 is coming soon. I propose that Fortran support in the base system be removed when GCC 4.1.1 is imported. Pros: 1) The current Fortran 77 compiler is g77, which has been removed from the 4.x series of GCC. Removal of Fortran support will simplify the base system and the import. 2) There are at least two Fortran 95 compilers available in the Ports Collection (ie., Intel's ifc and GCC's gfortran). Fortran 77 is a proper subset of Fortran 95, so these compilers can replace f77 (aka g77). 3) The current Fortran Standard is Fortran 2003. Both ifc and gfortran are adding the new features of F2003. g77 will never become a Fortran 90, 95, or 2003 compiler. Cons: 1) History. A Fortran 77 compiler has been available in the base system since FreeBSD was known as 386BSD+patchkit. 2) Numerous ports include Fortran code, so the Ports Collections would need to grow dependencies for one of the Fortran compilers available in ports/lang. If GCC 4.1.1 becomes the base system C/C++ compilers, then I would suggest the de facto Ports Collection compiler should be gfortran 4.1.1. Metallic blue -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:13:59 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E87F16A44B for ; Sat, 27 May 2006 03:13:59 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp104.rog.mail.re2.yahoo.com (smtp104.rog.mail.re2.yahoo.com [206.190.36.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 8D8A543D48 for ; Sat, 27 May 2006 03:13:58 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 82743 invoked from network); 27 May 2006 03:13:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Lc1oq/0gd6T04R6W9woxn6oqnQnEWqDHMgLazH1mp7f7xJpte7nNAAGRYqsiN0xqP9TPTh3pCfFpzh7tmOxTtKrAd9NpRQUioWk9zyFke1HqPlSkaF9epHo5z3OtCHoSlgIXynfa4iJ/OZUQYKbEaAwe2dUAwVNAVZrKXcwa+8U= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp104.rog.mail.re2.yahoo.com with SMTP; 27 May 2006 03:13:57 -0000 Message-ID: <4477C401.2080307@rogers.com> Date: Fri, 26 May 2006 23:14:09 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Steve Kargl References: <20060527024407.GA2525@troutmask.apl.washington.edu> In-Reply-To: <20060527024407.GA2525@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:14:00 -0000 Steve Kargl wrote: > In a recent email to freebsd-current, > http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063435.html > Alexander Kabaev stated that the import of GCC 4.1.1 is coming soon. > > I propose that Fortran support in the base system be removed > when GCC 4.1.1 is imported. > Agreed, who the hell still uses Fortran? From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:20:11 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43CFA16A574 for ; Sat, 27 May 2006 03:20:11 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7822543D48 for ; Sat, 27 May 2006 03:20:10 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from [192.168.15.2] (d154-5-28-131.bchsia.telus.net [154.5.28.131]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k4R3K7vu022565; Fri, 26 May 2006 21:20:07 -0600 (MDT) (envelope-from lyndon@orthanc.ca) In-Reply-To: <20060527024407.GA2525@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Lyndon Nerenberg Date: Fri, 26 May 2006 20:19:15 -0700 To: Steve Kargl X-Mailer: Apple Mail (2.750) X-Spam-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on orthanc.ca Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:20:12 -0000 On May 26, 2006, at 7:44 PM, Steve Kargl wrote: > 1) History. A Fortran 77 compiler has been available in the > base system since FreeBSD was known as 386BSD+patchkit. A Fortran 77 compiler has been in the base system since 4.2BSD. --lyndon From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:21:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BB4016A60A for ; Sat, 27 May 2006 03:21:51 +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 D3BAD43D48 for ; Sat, 27 May 2006 03:21:50 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4R3LmVb002810; Fri, 26 May 2006 20:21:48 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4R3LmC8002809; Fri, 26 May 2006 20:21:48 -0700 (PDT) (envelope-from sgk) Date: Fri, 26 May 2006 20:21:48 -0700 From: Steve Kargl To: Mike Jakubik Message-ID: <20060527032148.GA2777@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4477C401.2080307@rogers.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:21:53 -0000 On Fri, May 26, 2006 at 11:14:09PM -0400, Mike Jakubik wrote: > Steve Kargl wrote: > >In a recent email to freebsd-current, > >http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063435.html > >Alexander Kabaev stated that the import of GCC 4.1.1 is coming soon. > > > >I propose that Fortran support in the base system be removed > >when GCC 4.1.1 is imported. > > > > Agreed, who the hell still uses Fortran? I don't see a smiley, so I can only assume you're speaking out of ignorance of the Fortran language. I guess I can also assume you have no knowledge of numerical analysis and high performance computing. PS: Check the ChangeLog for gfortran. -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:26:57 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50D5816A727 for ; Sat, 27 May 2006 03:26:57 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9BB443D46 for ; Sat, 27 May 2006 03:26:56 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from [192.168.15.2] (d154-5-28-131.bchsia.telus.net [154.5.28.131]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k4R3QrPk022613; Fri, 26 May 2006 21:26:54 -0600 (MDT) (envelope-from lyndon@orthanc.ca) In-Reply-To: <4477C401.2080307@rogers.com> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> Content-Transfer-Encoding: 7bit From: Lyndon Nerenberg Date: Fri, 26 May 2006 20:26:01 -0700 To: Mike Jakubik X-Mailer: Apple Mail (2.750) X-Spam-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on orthanc.ca Cc: freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:26:58 -0000 On May 26, 2006, at 8:14 PM, Mike Jakubik wrote: > Agreed, who the hell still uses Fortran? I have great gobs of RF design and analysis code that is written in F77 (and 66 for that matter). In the RF engineering field the Fortran versions of Spice and friends are still quite popular. And I know more than a handful of physicists who will never write a line of C code, and nor should they, since their existing Fortran tools are perfectly viable. A lot of these people rely on the system shipping a Fortran compiler -- they're scientists, not sysadmins. And believe me ... there IS a difference! (Now the physics guys would be tickled pink if the system compiler was upgraded to F95 or better ;-) --lyndon From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:28:29 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD61716A44A for ; Sat, 27 May 2006 03:28:29 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2A7B43D48 for ; Sat, 27 May 2006 03:28:28 +0000 (GMT) (envelope-from kabaev@gmail.com) Received: by nz-out-0102.google.com with SMTP id 9so256219nzo for ; Fri, 26 May 2006 20:28:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=osf9WVEfLFvizRAkiqxIdRromUoe2rNNtXW67QzjONiIvttKAM/gQbyHqvHaaCAdQo+ZpSPGUb/s+soHT89gi7E4zh3s6gxs/Bd88B+SfBgsKfk/45rbkG7d9EOzBnvgVGoPUkRp5iaKMdbzBDIsTjlZonLxA+EeB9ovp9yXD8o= Received: by 10.65.188.10 with SMTP id q10mr23851qbp; Fri, 26 May 2006 20:28:28 -0700 (PDT) Received: from kan.dnsalias.net ( [24.63.93.195]) by mx.gmail.com with ESMTP id a5sm314177qbd.2006.05.26.20.28.27; Fri, 26 May 2006 20:28:27 -0700 (PDT) Date: Fri, 26 May 2006 23:28:37 -0400 From: Alexander Kabaev To: Steve Kargl Message-ID: <20060526232837.113456d0@kan.dnsalias.net> In-Reply-To: <20060526230225.GB946@troutmask.apl.washington.edu> References: <20060526153422.GB25953@obiwan.tataz.chchile.org> <20060526183554.25d5cc0d@kan.dnsalias.net> <20060526230225.GB946@troutmask.apl.washington.edu> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_02NYj5sHHjUJG_c+iU1QepF; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Mailman-Approved-At: Sat, 27 May 2006 03:32:39 +0000 Cc: freebsd-security@freebsd.org, freebsd-current@freebsd.org, Jeremie Le Hen Subject: Re: Integrating ProPolice/SSP into FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:28:30 -0000 --Sig_02NYj5sHHjUJG_c+iU1QepF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 26 May 2006 16:02:25 -0700 Steve Kargl wrote: > On Fri, May 26, 2006 at 06:35:54PM -0400, Alexander Kabaev wrote: > >=20 > > How does this compare to GCC 4.x mudflap feature? I do not plan to > > include Propolice patch into base system any time soon and will > > object anyone trying to do so due to future maintenance headaches > > this will inevitably create. GCC 4.1.1 import is in the works > > though and should be available shortly. > >=20 >=20 > At one time mudflap would lead to internal compiler errors > on amd64. I haven't tried it in a long time. >=20 > What language frontends do you intend to support when 4.1.1 > comes into the tree? FreeBSD currently has a Fortran 77 > compiler via g77. g77 is no longer supported in the 4.x > series, and its replacement is a Fortran 95 compiler. >=20 > --=20 > Steve The current plan is to import c/c++ frontends only. --=20 Alexander Kabaev --Sig_02NYj5sHHjUJG_c+iU1QepF Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEd8dpQ6z1jMm+XZYRAgeZAKCDyQVMdQf1J1X5eqzEmEHCLvYZ3QCgzf7I FnpZvQ9krrCPKKSWWtoNtks= =RfC+ -----END PGP SIGNATURE----- --Sig_02NYj5sHHjUJG_c+iU1QepF-- From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:30:29 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C97F16A47B for ; Sat, 27 May 2006 03:30:29 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id C914443D46 for ; Sat, 27 May 2006 03:30:28 +0000 (GMT) (envelope-from kabaev@gmail.com) Received: by nz-out-0102.google.com with SMTP id 9so256964nzo for ; Fri, 26 May 2006 20:30:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=OySO3tQKz/BS4ogy4eXQ1f8J9d4YjJffthX/uvMVsPsCAEFm2c04cKkJszTHyqSIpYZgIMZJ43HQ47WEOCef5kL0UicIclAJA0BQD3zWU9RqPqHeQzzGzOQDxlwhyfmqWmf+OUg6rai03cEAKpIcnpS8SU/7/BoSYpJcQTxdnH4= Received: by 10.64.76.10 with SMTP id y10mr47479qba; Fri, 26 May 2006 20:30:28 -0700 (PDT) Received: from kan.dnsalias.net ( [24.63.93.195]) by mx.gmail.com with ESMTP id e19sm307093qba.2006.05.26.20.30.27; Fri, 26 May 2006 20:30:27 -0700 (PDT) Date: Fri, 26 May 2006 23:30:41 -0400 From: Alexander Kabaev To: Lyndon Nerenberg Message-ID: <20060526233041.22143017@kan.dnsalias.net> In-Reply-To: References: <20060527024407.GA2525@troutmask.apl.washington.edu> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_AsDBat2=g76QCEu80EDh0UO"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Mailman-Approved-At: Sat, 27 May 2006 03:32:50 +0000 Cc: freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:30:29 -0000 --Sig_AsDBat2=g76QCEu80EDh0UO Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 26 May 2006 20:19:15 -0700 Lyndon Nerenberg wrote: >=20 > On May 26, 2006, at 7:44 PM, Steve Kargl wrote: >=20 > > 1) History. A Fortran 77 compiler has been available in the > > base system since FreeBSD was known as 386BSD+patchkit. >=20 > A Fortran 77 compiler has been in the base system since 4.2BSD. >=20 > --lyndon About time to give it a boot. --=20 Alexander Kabaev --Sig_AsDBat2=g76QCEu80EDh0UO Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEd8fhQ6z1jMm+XZYRAkOIAKDKbLO+4XoLH4M478uvRfUd+SJKLwCgxaWN azsIoLvr+SNvKw9kXXt2oRE= =05fh -----END PGP SIGNATURE----- --Sig_AsDBat2=g76QCEu80EDh0UO-- From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:35:24 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C35ED16A695 for ; Sat, 27 May 2006 03:35:24 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4369043D4C for ; Sat, 27 May 2006 03:35:24 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by nz-out-0102.google.com with SMTP id 9so258731nzo for ; Fri, 26 May 2006 20:35:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Tlb64sJIdRMtzumnyezfGw7yW0n+JbGp0EUuYjuD01nkXvh0ZJGIzierOPOJwDkSvzOg+Y+VKnV/Usy2r8EnAeI1XVHybgrqDS0mwPx5p+LGZR05zg+6cCVYWI2xtnuhSvaCsQLxv41Ai2WXpGfOKvQdfwhCgeKrpLcB2MuwFLI= Received: by 10.64.150.19 with SMTP id x19mr25586qbd; Fri, 26 May 2006 20:35:23 -0700 (PDT) Received: by 10.64.183.17 with HTTP; Fri, 26 May 2006 20:35:23 -0700 (PDT) Message-ID: Date: Fri, 26 May 2006 20:35:23 -0700 From: "Kip Macy" To: "Lyndon Nerenberg" In-Reply-To: <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> Cc: Mike Jakubik , freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:35:24 -0000 Irrelevant. The question is, as a percentage of FreeBSD users, how many use fortran? A much larger percentage use perl and python, and those are in ports. -Kip On 5/26/06, Lyndon Nerenberg wrote: > > On May 26, 2006, at 8:14 PM, Mike Jakubik wrote: > > > Agreed, who the hell still uses Fortran? > > I have great gobs of RF design and analysis code that is written in > F77 (and 66 for that matter). In the RF engineering field the > Fortran versions of Spice and friends are still quite popular. And I > know more than a handful of physicists who will never write a line of > C code, and nor should they, since their existing Fortran tools are > perfectly viable. A lot of these people rely on the system shipping > a Fortran compiler -- they're scientists, not sysadmins. And believe > me ... there IS a difference! (Now the physics guys would be tickled > pink if the system compiler was upgraded to F95 or better ;-) > > --lyndon > _______________________________________________ > 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= " > From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:35:57 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76B9816A4F9 for ; Sat, 27 May 2006 03:35:57 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9EE643D48 for ; Sat, 27 May 2006 03:35:56 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from [192.168.15.2] (d154-5-28-131.bchsia.telus.net [154.5.28.131]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k4R3Zr68022702; Fri, 26 May 2006 21:35:53 -0600 (MDT) (envelope-from lyndon@orthanc.ca) In-Reply-To: <20060526233041.22143017@kan.dnsalias.net> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060526233041.22143017@kan.dnsalias.net> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <85E84755-F808-4CA0-86F3-F3A230F9DAF4@orthanc.ca> Content-Transfer-Encoding: 7bit From: Lyndon Nerenberg Date: Fri, 26 May 2006 20:35:01 -0700 To: Alexander Kabaev X-Mailer: Apple Mail (2.750) X-Spam-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on orthanc.ca Cc: freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:35:57 -0000 > About time to give it a boot. If you have a useful argument to make, make it. Otherwise quite wasting our time. --lyndon From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:39:43 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E46F16A7AD for ; Sat, 27 May 2006 03:39:43 +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 CF9C543D4C for ; Sat, 27 May 2006 03:39:42 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4R3deeb003119; Fri, 26 May 2006 20:39:40 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4R3del6003118; Fri, 26 May 2006 20:39:40 -0700 (PDT) (envelope-from sgk) Date: Fri, 26 May 2006 20:39:40 -0700 From: Steve Kargl To: Lyndon Nerenberg Message-ID: <20060527033940.GA3094@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060526233041.22143017@kan.dnsalias.net> <85E84755-F808-4CA0-86F3-F3A230F9DAF4@orthanc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <85E84755-F808-4CA0-86F3-F3A230F9DAF4@orthanc.ca> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Alexander Kabaev Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:39:43 -0000 On Fri, May 26, 2006 at 08:35:01PM -0700, Lyndon Nerenberg wrote: > >About time to give it a boot. > > If you have a useful argument to make, make it. Otherwise quite > wasting our time. > kan is doing the work to import GCC 4.1.1. The differences between 3.4.4 and 4.1.1 are sufficient to warrant the remove of Fortran to move forward with importing C/C++ 4.1.1. -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:44:56 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7606416A91F for ; Sat, 27 May 2006 03:44:56 +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 00BCB43D64 for ; Sat, 27 May 2006 03:44:44 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4R3icWb003164; Fri, 26 May 2006 20:44:38 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4R3ic7Q003163; Fri, 26 May 2006 20:44:38 -0700 (PDT) (envelope-from sgk) Date: Fri, 26 May 2006 20:44:38 -0700 From: Steve Kargl To: kmacy@fsmware.com Message-ID: <20060527034438.GB3094@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: Mike Jakubik , freebsd-current@freebsd.org, Lyndon Nerenberg Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:44:56 -0000 On Fri, May 26, 2006 at 08:35:23PM -0700, Kip Macy wrote: > Irrelevant. The question is, as a percentage of FreeBSD users, how > many use fortran? A much larger percentage use perl and python, and > those are in ports. > Is that percentage "per user" or "per user per cpu"? :-) I have 3 desktop systems and one dual-core 12 cpu cluster (6 nodes) that make heavy use of Fortran. I'll note I use gfortran instead of f77 (aka g77). -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:45:29 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5A4216A958 for ; Sat, 27 May 2006 03:45:29 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id 828C743D5C for ; Sat, 27 May 2006 03:45:18 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 3341 invoked from network); 27 May 2006 03:45:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=DfD8i6vvxr7Px66wnC6Ysu1b0WMe0MBE5synhIzfPkkrhjnMTBRyWu+KIRrwSRqJTr0c1yesM9aL2hqdx48z9J1fAqspgLczoSNy3bk0rvUIlgLJZH7CcQwTwPgf7wCJiVDuVRJsgVxQcbehn98WzXcyoQLXuBEmbD/KTEegwuE= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 27 May 2006 03:45:17 -0000 Message-ID: <4477CB59.6040802@rogers.com> Date: Fri, 26 May 2006 23:45:29 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Steve Kargl References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <20060527032148.GA2777@troutmask.apl.washington.edu> In-Reply-To: <20060527032148.GA2777@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:45:30 -0000 Steve Kargl wrote: > On Fri, May 26, 2006 at 11:14:09PM -0400, Mike Jakubik wrote: > >> Agreed, who the hell still uses Fortran? >> > > I don't see a smiley, so I can only assume you're speaking > out of ignorance of the Fortran language. I guess I can > also assume you have no knowledge of numerical analysis > and high performance computing. > > PS: Check the ChangeLog for gfortran. > Yes, i have no experience with Fortran, but the words high performance computing and the name of a prehistoric programming language just don't appear in my sentences. Once again, who the hell uses Fortan on FreeBSD? 0.1% of all users? From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:51:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 471E316A496 for ; Sat, 27 May 2006 03:51:53 +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 EA94643D53 for ; Sat, 27 May 2006 03:51:52 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4R3poke003240; Fri, 26 May 2006 20:51:50 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4R3po8f003239; Fri, 26 May 2006 20:51:50 -0700 (PDT) (envelope-from sgk) Date: Fri, 26 May 2006 20:51:50 -0700 From: Steve Kargl To: Mike Jakubik Message-ID: <20060527035150.GC3094@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <20060527032148.GA2777@troutmask.apl.washington.edu> <4477CB59.6040802@rogers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4477CB59.6040802@rogers.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:51:54 -0000 On Fri, May 26, 2006 at 11:45:29PM -0400, Mike Jakubik wrote: > Steve Kargl wrote: > >On Fri, May 26, 2006 at 11:14:09PM -0400, Mike Jakubik wrote: > > > >>Agreed, who the hell still uses Fortran? > >> > > > >I don't see a smiley, so I can only assume you're speaking > >out of ignorance of the Fortran language. I guess I can > >also assume you have no knowledge of numerical analysis > >and high performance computing. > > > >PS: Check the ChangeLog for gfortran. > > > > Yes, i have no experience with Fortran, but the words high performance > computing and the name of a prehistoric programming language just don't > appear in my sentences. Once again, who the hell uses Fortan on FreeBSD? > 0.1% of all users? When was the current C standard ratified? When was the current Fortran standard ratified? Does FreeBSD's C compiler conform to that standard? You can educate yourself at http://www.j3-fortran.org/ HPC and Fortran go hand in hand. Clearly, you have no clue as to what Fortran is. -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:53:11 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10A3C16A480 for ; Sat, 27 May 2006 03:53:11 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail18.syd.optusnet.com.au (mail18.syd.optusnet.com.au [211.29.132.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A75D43D4C for ; Sat, 27 May 2006 03:53:10 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail18.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4R3r7Ek027803 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 27 May 2006 13:53:08 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4R3r7wZ022023; Sat, 27 May 2006 13:53:07 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4R3r6sE022022; Sat, 27 May 2006 13:53:06 +1000 (EST) (envelope-from peter) Date: Sat, 27 May 2006 13:53:06 +1000 From: Peter Jeremy To: Lyndon Nerenberg Message-ID: <20060527035306.GH744@turion.vk2pj.dyndns.org> References: <20060527024407.GA2525@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:53:11 -0000 On Fri, 2006-May-26 20:19:15 -0700, Lyndon Nerenberg wrote: >On May 26, 2006, at 7:44 PM, Steve Kargl wrote: >> 1) History. A Fortran 77 compiler has been available in the >> base system since FreeBSD was known as 386BSD+patchkit. > >A Fortran 77 compiler has been in the base system since 4.2BSD. So was Pascal but we no longer have that. UUCP and games have been unbundled from the base system. Perl was removed from the base system due to the difficulty in maintaining it within the base system. - Nothing in the base system depends on FORTRAN. - It is a modular component that can be readily removed. - Its retention will increase the difficulty of migrating to gcc 4.x. - Several FORTRAN compilers are available in ports. I think it's removal is justified. -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:58:07 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91E2816A924 for ; Sat, 27 May 2006 03:58:07 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDF7843D48 for ; Sat, 27 May 2006 03:58:02 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4R3vrQ7044870; Fri, 26 May 2006 21:57:58 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4477CE38.7090100@samsco.org> Date: Fri, 26 May 2006 21:57:44 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lyndon Nerenberg References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060526233041.22143017@kan.dnsalias.net> <85E84755-F808-4CA0-86F3-F3A230F9DAF4@orthanc.ca> In-Reply-To: <85E84755-F808-4CA0-86F3-F3A230F9DAF4@orthanc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-current@freebsd.org, Alexander Kabaev , Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:58:08 -0000 Lyndon Nerenberg wrote: >> About time to give it a boot. > > > If you have a useful argument to make, make it. Otherwise quite > wasting our time. > Nice, very nice. Your command of ettiquette and common sense puts me to shame. Scott From owner-freebsd-current@FreeBSD.ORG Sat May 27 03:59:02 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C75116A66F for ; Sat, 27 May 2006 03:59:02 +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 9D1C243D4C for ; Sat, 27 May 2006 03:59:01 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4R3wxTE003336; Fri, 26 May 2006 20:58:59 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4R3wxQq003335; Fri, 26 May 2006 20:58:59 -0700 (PDT) (envelope-from sgk) Date: Fri, 26 May 2006 20:58:59 -0700 From: Steve Kargl To: Peter Jeremy Message-ID: <20060527035859.GB3251@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060527035306.GH744@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060527035306.GH744@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Lyndon Nerenberg Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 03:59:02 -0000 On Sat, May 27, 2006 at 01:53:06PM +1000, Peter Jeremy wrote: > On Fri, 2006-May-26 20:19:15 -0700, Lyndon Nerenberg wrote: > >On May 26, 2006, at 7:44 PM, Steve Kargl wrote: > >> 1) History. A Fortran 77 compiler has been available in the > >> base system since FreeBSD was known as 386BSD+patchkit. > > > >A Fortran 77 compiler has been in the base system since 4.2BSD. > > So was Pascal but we no longer have that. UUCP and games have > been unbundled from the base system. Perl was removed from the > base system due to the difficulty in maintaining it within the > base system. > > - Nothing in the base system depends on FORTRAN. > - It is a modular component that can be readily removed. > - Its retention will increase the difficulty of migrating to gcc 4.x. > - Several FORTRAN compilers are available in ports. > > I think it's removal is justified. > I completely agree with Peter with the caveat that the name of the Language is Fortran not FORTRAN. :-) -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 04:04:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CDB916AAC1 for ; Sat, 27 May 2006 04:04:15 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48F8743D58 for ; Sat, 27 May 2006 04:04:14 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4R447RQ044929; Fri, 26 May 2006 22:04:12 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4477CFAE.8020108@samsco.org> Date: Fri, 26 May 2006 22:03:58 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Jakubik References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <20060527032148.GA2777@troutmask.apl.washington.edu> <4477CB59.6040802@rogers.com> In-Reply-To: <4477CB59.6040802@rogers.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 04:04:16 -0000 Mike Jakubik wrote: > Steve Kargl wrote: > >> On Fri, May 26, 2006 at 11:14:09PM -0400, Mike Jakubik wrote: >> >> >>> Agreed, who the hell still uses Fortran? >>> >> >> >> I don't see a smiley, so I can only assume you're speaking >> out of ignorance of the Fortran language. I guess I can >> also assume you have no knowledge of numerical analysis and high >> performance computing. >> >> PS: Check the ChangeLog for gfortran. >> > > > Yes, i have no experience with Fortran, but the words high performance > computing and the name of a prehistoric programming language just don't > appear in my sentences. Once again, who the hell uses Fortan on FreeBSD? > 0.1% of all users? > Probably the same number of users who use quotas+snapshots =-D Scott From owner-freebsd-current@FreeBSD.ORG Sat May 27 04:05:31 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5F1316A4E7 for ; Sat, 27 May 2006 04:05:31 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B00443D58 for ; Sat, 27 May 2006 04:05:30 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by nz-out-0102.google.com with SMTP id 9so272544nzo for ; Fri, 26 May 2006 21:05:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=W1opP9T1yVf8PYgcKloHN2gTDbC8u0z2k5Lghab2MyU/BS4EhDEymvwvFYEQyY3kqBk4EOW9BhWPZPSSrBV2jeNie89dhylSWdbyP18sBmfQGKkhm2+c40oDEBLKgxH5jGhsonPBkOJm8RgpydQaoVq3bFKzEiSOfTrKHFwtyh0= Received: by 10.65.218.6 with SMTP id v6mr33040qbq; Fri, 26 May 2006 21:05:29 -0700 (PDT) Received: by 10.64.183.17 with HTTP; Fri, 26 May 2006 21:05:29 -0700 (PDT) Message-ID: Date: Fri, 26 May 2006 21:05:29 -0700 From: "Kip Macy" To: "Steve Kargl" In-Reply-To: <20060527035150.GC3094@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <20060527032148.GA2777@troutmask.apl.washington.edu> <4477CB59.6040802@rogers.com> <20060527035150.GC3094@troutmask.apl.washington.edu> Cc: Mike Jakubik , freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 04:05:33 -0000 Guys - sorry to interrupt. I'll get the admins to create a freebsd-bikesheds where this can be continued. On 5/26/06, Steve Kargl wrote: > On Fri, May 26, 2006 at 11:45:29PM -0400, Mike Jakubik wrote: > > Steve Kargl wrote: > > >On Fri, May 26, 2006 at 11:14:09PM -0400, Mike Jakubik wrote: > > > > > >>Agreed, who the hell still uses Fortran? > > >> > > > > > >I don't see a smiley, so I can only assume you're speaking > > >out of ignorance of the Fortran language. I guess I can > > >also assume you have no knowledge of numerical analysis > > >and high performance computing. > > > > > >PS: Check the ChangeLog for gfortran. > > > > > > > Yes, i have no experience with Fortran, but the words high performance > > computing and the name of a prehistoric programming language just don't > > appear in my sentences. Once again, who the hell uses Fortan on FreeBSD= ? > > 0.1% of all users? > > When was the current C standard ratified? When was the > current Fortran standard ratified? Does FreeBSD's C > compiler conform to that standard? > > You can educate yourself at http://www.j3-fortran.org/ > > HPC and Fortran go hand in hand. Clearly, you have no > clue as to what Fortran is. > > -- > Steve > _______________________________________________ > 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= " > From owner-freebsd-current@FreeBSD.ORG Sat May 27 04:06:33 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 360D416A8D5 for ; Sat, 27 May 2006 04:06:33 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82F8C43D66 for ; Sat, 27 May 2006 04:06:30 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from [192.168.15.2] (d154-5-28-131.bchsia.telus.net [154.5.28.131]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k4R46RNZ022955; Fri, 26 May 2006 22:06:27 -0600 (MDT) (envelope-from lyndon@orthanc.ca) In-Reply-To: References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1B5AEAC9-2A87-40F1-B2D4-2069DCBC30FE@orthanc.ca> Content-Transfer-Encoding: 7bit From: Lyndon Nerenberg Date: Fri, 26 May 2006 21:05:35 -0700 To: kmacy@fsmware.com X-Mailer: Apple Mail (2.750) X-Spam-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on orthanc.ca Cc: Mike Jakubik , freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 04:06:38 -0000 On May 26, 2006, at 8:35 PM, Kip Macy wrote: > Irrelevant. The question is, as a percentage of FreeBSD users, how > many use fortran? A much larger percentage use perl and python, and > those are in ports. My gut feeling is that you just argued for moving the C compiler to ports, too :-( From owner-freebsd-current@FreeBSD.ORG Sat May 27 04:13:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53F3C16A727 for ; Sat, 27 May 2006 04:13:53 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29BA243D5D for ; Sat, 27 May 2006 04:13:46 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from [192.168.15.2] (d154-5-28-131.bchsia.telus.net [154.5.28.131]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k4R4Dgq8023023; Fri, 26 May 2006 22:13:43 -0600 (MDT) (envelope-from lyndon@orthanc.ca) In-Reply-To: <20060527035306.GH744@turion.vk2pj.dyndns.org> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060527035306.GH744@turion.vk2pj.dyndns.org> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <672BC9B0-5BE8-41CF-B5F0-5E00DD686A54@orthanc.ca> Content-Transfer-Encoding: 7bit From: Lyndon Nerenberg Date: Fri, 26 May 2006 21:12:50 -0700 To: Peter Jeremy X-Mailer: Apple Mail (2.750) X-Spam-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on orthanc.ca Cc: freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 04:13:53 -0000 On May 26, 2006, at 8:53 PM, Peter Jeremy wrote: > - Nothing in the base system depends on FORTRAN. I'm sure you could make that argument for half of the programs in / usr/bin. I don't have a problem with unbundling per-se. I do have a problem with the totally specious arguments that have been put forth so far to justify Fortran's removal. If there are real reasons for it, let's hear them. --lyndon From owner-freebsd-current@FreeBSD.ORG Sat May 27 04:25:20 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 762DC16A644 for ; Sat, 27 May 2006 04:25:20 +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 DC6EA43D48 for ; Sat, 27 May 2006 04:25:19 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4R4PHBv003601; Fri, 26 May 2006 21:25:17 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4R4PHuo003600; Fri, 26 May 2006 21:25:17 -0700 (PDT) (envelope-from sgk) Date: Fri, 26 May 2006 21:25:17 -0700 From: Steve Kargl To: Lyndon Nerenberg Message-ID: <20060527042517.GA3503@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060527035306.GH744@turion.vk2pj.dyndns.org> <672BC9B0-5BE8-41CF-B5F0-5E00DD686A54@orthanc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <672BC9B0-5BE8-41CF-B5F0-5E00DD686A54@orthanc.ca> User-Agent: Mutt/1.4.2.1i Cc: Peter Jeremy , freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 04:25:20 -0000 On Fri, May 26, 2006 at 09:12:50PM -0700, Lyndon Nerenberg wrote: > > On May 26, 2006, at 8:53 PM, Peter Jeremy wrote: > > >- Nothing in the base system depends on FORTRAN. > > I'm sure you could make that argument for half of the programs in / > usr/bin. > > I don't have a problem with unbundling per-se. I do have a problem > with the totally specious arguments that have been put forth so far > to justify Fortran's removal. If there are real reasons for it, > let's hear them. > Lyndon, I'm listed as one of the official GCC maintainers for gfortran. g77 is dead, gone, not available with GCC 4.1.1. gfortran is is, IMHO, a good compiler but it has warts and bugs. Maintaining it in the tree will slow down the availability of bug fixes. Relegating it to ports will allow patches and bug fixes to be incorporate at a much higher rate. -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 04:51:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 317E916B114 for ; Sat, 27 May 2006 04:51:51 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0368C43D48 for ; Sat, 27 May 2006 04:51:49 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.4/8.13.6) with ESMTP id k4R4rXKU068079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 May 2006 00:53:38 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-current@freebsd.org Date: Sat, 27 May 2006 00:51:55 -0400 User-Agent: KMail/1.9.1 References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> In-Reply-To: <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5718028.KF6uti3sJK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605270052.07850.mistry.7@osu.edu> X-Spam-Status: No, score=-4.5 required=5.0 tests=ALL_TRUSTED,BAYES_60, MYFREEBSD2 autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.2/1486/Fri May 26 12:24:22 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: Mike Jakubik , Lyndon Nerenberg , Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 04:52:03 -0000 --nextPart5718028.KF6uti3sJK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 26 May 2006 23:26, Lyndon Nerenberg wrote: > On May 26, 2006, at 8:14 PM, Mike Jakubik wrote: > > Agreed, who the hell still uses Fortran? > > I have great gobs of RF design and analysis code that is written in > F77 (and 66 for that matter). In the RF engineering field the > Fortran versions of Spice and friends are still quite popular. And > I know more than a handful of physicists who will never write a > line of C code, and nor should they, since their existing Fortran > tools are perfectly viable. A lot of these people rely on the > system shipping a Fortran compiler -- they're scientists, not > sysadmins. And believe me ... there IS a difference! (Now the > physics guys would be tickled pink if the system compiler was > upgraded to F95 or better ;-) I don't personally use Fortran, but I know a lot of engineers that do. =20 Though they use a much more recent version than Fortran 77. I'd vote=20 for removing it if it will make the import easier, but one or more=20 =46ortran compilers in the ports would need to be on the disc1 install=20 ISO. =2D-=20 Anish Mistry --nextPart5718028.KF6uti3sJK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEd9r3xqA5ziudZT0RAp12AJ4lHmYq9THnAU80rqez0uYJpT5zQwCg3ybK /pB5mbaXTL14wItCIRFPeeU= =jeqK -----END PGP SIGNATURE----- --nextPart5718028.KF6uti3sJK-- From owner-freebsd-current@FreeBSD.ORG Sat May 27 06:21:36 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B726716A44F for ; Sat, 27 May 2006 06:21:36 +0000 (UTC) (envelope-from noackjr@alumni.rice.edu) Received: from smtp106.biz.mail.re2.yahoo.com (smtp106.biz.mail.re2.yahoo.com [206.190.52.175]) by mx1.FreeBSD.org (Postfix) with SMTP id 04AB743D48 for ; Sat, 27 May 2006 06:21:35 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 98008 invoked from network); 27 May 2006 06:21:35 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@24.99.22.177 with login) by smtp106.biz.mail.re2.yahoo.com with SMTP; 27 May 2006 06:21:35 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 0F794636F; Sat, 27 May 2006 02:21:34 -0400 (EDT) X-Virus-Scanned: amavisd-new at noacks.org Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1fDjKNBPnS04; Sat, 27 May 2006 02:21:30 -0400 (EDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 9765860EB; Sat, 27 May 2006 02:21:30 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.6/8.13.6) with ESMTP id k4R6LTVH012000; Sat, 27 May 2006 02:21:29 -0400 (EDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <4477EFDF.80608@alumni.rice.edu> Date: Sat, 27 May 2006 02:21:19 -0400 From: Jonathan Noack User-Agent: Thunderbird 1.5.0.2 (X11/20060422) MIME-Version: 1.0 To: Lyndon Nerenberg References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> <1B5AEAC9-2A87-40F1-B2D4-2069DCBC30FE@orthanc.ca> In-Reply-To: <1B5AEAC9-2A87-40F1-B2D4-2069DCBC30FE@orthanc.ca> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig97C40419A7C879B217907196" Cc: Mike Jakubik , freebsd-current@freebsd.org, kmacy@fsmware.com, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 06:21:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig97C40419A7C879B217907196 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/27/06 00:05, Lyndon Nerenberg wrote: > On May 26, 2006, at 8:35 PM, Kip Macy wrote: >> Irrelevant. The question is, as a percentage of FreeBSD users, how >> many use fortran? A much larger percentage use perl and python, and >> those are in ports. >=20 > My gut feeling is that you just argued for moving the C compiler to > ports, too :-( You're forgetting that the kernel and most of userland are written in C. The C compiler isn't going anywhere... -Jonathan --=20 Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enig97C40419A7C879B217907196 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.3 (FreeBSD) iD8DBQFEd+/pUFz01pkdgZURAoJYAKDb/BBI4zBKF8D17XzF5GQm6pucQACgiKYH ZK0DrgPggteXLkHQlnvOmuw= =Lh8e -----END PGP SIGNATURE----- --------------enig97C40419A7C879B217907196-- From owner-freebsd-current@FreeBSD.ORG Sat May 27 06:37:34 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0C6B16A796 for ; Sat, 27 May 2006 06:37:34 +0000 (UTC) (envelope-from mf.danger@gmail.com) Received: from hu-out-0102.google.com (hu-out-0102.google.com [72.14.214.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BB1F43D46 for ; Sat, 27 May 2006 06:37:34 +0000 (GMT) (envelope-from mf.danger@gmail.com) Received: by hu-out-0102.google.com with SMTP id 28so140368hug for ; Fri, 26 May 2006 23:37:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=te2RNx2NTsSu2vkgMHoFKofuSA+cwqcfOKseLwXgd0Tb0rvRSgrfWRGZa6VlLPWK1BK2oFxr+iWfDSEZNzQqQL62lKaSUSHUVk+mrVRReg+Rrr1o1WKYhoZCtG1e7GLKxx8Xi3hg5ThkoGi2WGy6dvANIHG9wADww7nHkKtfyTo= Received: by 10.49.21.13 with SMTP id y13mr109398nfi; Fri, 26 May 2006 23:31:30 -0700 (PDT) Received: by 10.49.49.17 with HTTP; Fri, 26 May 2006 23:31:29 -0700 (PDT) Message-ID: <9f7850090605262331j352d98acwa3837251300c591b@mail.gmail.com> Date: Fri, 26 May 2006 23:31:29 -0700 From: "marty fouts" To: noackjr@alumni.rice.edu In-Reply-To: <4477EFDF.80608@alumni.rice.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> <1B5AEAC9-2A87-40F1-B2D4-2069DCBC30FE@orthanc.ca> <4477EFDF.80608@alumni.rice.edu> Cc: Mike Jakubik , freebsd-current@freebsd.org, Lyndon Nerenberg , Steve Kargl , kmacy@fsmware.com Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 06:37:37 -0000 On 5/26/06, Jonathan Noack wrote: > On 05/27/06 00:05, Lyndon Nerenberg wrote: > > On May 26, 2006, at 8:35 PM, Kip Macy wrote: > >> Irrelevant. The question is, as a percentage of FreeBSD users, how > >> many use fortran? A much larger percentage use perl and python, and > >> those are in ports. > > > > My gut feeling is that you just argued for moving the C compiler to > > ports, too :-( > > You're forgetting that the kernel and most of userland are written in C. > The C compiler isn't going anywhere... > > -Jonathan > > -- > Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 > I dunno. If you follow this to its logical conclusion, since most people don't compile anything, there's no reason for *any* compiler to be in the base system. (removes tongue from cheek) From owner-freebsd-current@FreeBSD.ORG Sat May 27 06:47:30 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D334916A709 for ; Sat, 27 May 2006 06:47:30 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E70543D48 for ; Sat, 27 May 2006 06:47:30 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.7] (S0106000f3d63befd.vs.shawcable.net [70.71.19.119]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4R6lQ3E064633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 May 2006 23:47:28 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <4477F5F9.8000007@FreeBSD.org> Date: Fri, 26 May 2006 23:47:21 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Alexander Kabaev References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060526233041.22143017@kan.dnsalias.net> In-Reply-To: <20060526233041.22143017@kan.dnsalias.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org, Lyndon Nerenberg , Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 06:47:32 -0000 Alexander Kabaev wrote: > On Fri, 26 May 2006 20:19:15 -0700 > Lyndon Nerenberg wrote: > >> On May 26, 2006, at 7:44 PM, Steve Kargl wrote: >> >>> 1) History. A Fortran 77 compiler has been available in the >>> base system since FreeBSD was known as 386BSD+patchkit. >> A Fortran 77 compiler has been in the base system since 4.2BSD. >> >> --lyndon > > About time to give it a boot. Go for it, Tiger! -Maxim From owner-freebsd-current@FreeBSD.ORG Sat May 27 06:48:49 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBB9A16A816 for ; Sat, 27 May 2006 06:48:49 +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 SMTP id 8F1F143D5A for ; Sat, 27 May 2006 06:48:48 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 28934 invoked by uid 399); 27 May 2006 06:48:48 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 27 May 2006 06:48:48 -0000 Message-ID: <4477F64C.5070106@FreeBSD.org> Date: Fri, 26 May 2006 23:48:44 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.2 (X11/20060507) MIME-Version: 1.0 To: marty fouts References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> <1B5AEAC9-2A87-40F1-B2D4-2069DCBC30FE@orthanc.ca> <4477EFDF.80608@alumni.rice.edu> <9f7850090605262331j352d98acwa3837251300c591b@mail.gmail.com> In-Reply-To: <9f7850090605262331j352d98acwa3837251300c591b@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Lyndon Nerenberg , Mike Jakubik , freebsd-current@freebsd.org, kmacy@fsmware.com, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 06:48:50 -0000 marty fouts wrote: > I dunno. If you follow this to its logical conclusion, since most > people don't compile anything, there's no reason for *any* compiler to > be in the base system. > > (removes tongue from cheek) Couple of observations. First, what you said here is not nearly as ridiculous as you seem to think it is. One of the first things I do when I want to harden a system for use in the wild is remove the toolchain. Second, FWIW I support the removal of fortran if it will make the GCC import (a painful and difficult process at best) easier to do and maintain. Finally, the lack of civility and respect in this thread is appalling. If you find yourself getting so worked up about any topic on any FreeBSD list that you feel the need to be rude and use foul language; step away from the keyboard, get out of the house, go breathe some fresh air, etc. Seriously. Doug -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Sat May 27 06:49:53 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18DCE16A96B for ; Sat, 27 May 2006 06:49:53 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89BA343D46 for ; Sat, 27 May 2006 06:49:52 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.7] (S0106000f3d63befd.vs.shawcable.net [70.71.19.119]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4R6nmvu064663 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 May 2006 23:49:49 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <4477F687.2030109@FreeBSD.org> Date: Fri, 26 May 2006 23:49:43 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: marty fouts References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> <1B5AEAC9-2A87-40F1-B2D4-2069DCBC30FE@orthanc.ca> <4477EFDF.80608@alumni.rice.edu> <9f7850090605262331j352d98acwa3837251300c591b@mail.gmail.com> In-Reply-To: <9f7850090605262331j352d98acwa3837251300c591b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Lyndon Nerenberg , Mike Jakubik , freebsd-current@FreeBSD.org, kmacy@fsmware.com, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 06:49:53 -0000 C'mon. Nothing in the base system requires fortran - install the version you like from ports and enjoy the life. What's the problem? -Maxim marty fouts wrote: > On 5/26/06, Jonathan Noack wrote: >> On 05/27/06 00:05, Lyndon Nerenberg wrote: >> > On May 26, 2006, at 8:35 PM, Kip Macy wrote: >> >> Irrelevant. The question is, as a percentage of FreeBSD users, how >> >> many use fortran? A much larger percentage use perl and python, and >> >> those are in ports. >> > >> > My gut feeling is that you just argued for moving the C compiler to >> > ports, too :-( >> >> You're forgetting that the kernel and most of userland are written in C. >> The C compiler isn't going anywhere... >> >> -Jonathan >> >> -- >> Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 >> > > I dunno. If you follow this to its logical conclusion, since most > people don't compile anything, there's no reason for *any* compiler to > be in the base system. > > (removes tongue from cheek) > _______________________________________________ > 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" > > From owner-freebsd-current@FreeBSD.ORG Sat May 27 06:56:26 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A356216A9C4; Sat, 27 May 2006 06:56:26 +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 F120E43D48; Sat, 27 May 2006 06:56:25 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4R6uMDo004877; Fri, 26 May 2006 23:56:22 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4R6uLsY004876; Fri, 26 May 2006 23:56:21 -0700 (PDT) (envelope-from sgk) Date: Fri, 26 May 2006 23:56:21 -0700 From: Steve Kargl To: Maxim Sobolev Message-ID: <20060527065621.GA4814@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> <1B5AEAC9-2A87-40F1-B2D4-2069DCBC30FE@orthanc.ca> <4477EFDF.80608@alumni.rice.edu> <9f7850090605262331j352d98acwa3837251300c591b@mail.gmail.com> <4477F687.2030109@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4477F687.2030109@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: Lyndon Nerenberg , marty fouts , Mike Jakubik , freebsd-current@FreeBSD.org, kmacy@fsmware.com Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 06:56:28 -0000 On Fri, May 26, 2006 at 11:49:43PM -0700, Maxim Sobolev wrote: > C'mon. Nothing in the base system requires fortran - install the > version you like from ports and enjoy the life. What's the problem? > The problems are the Cons points in my initial post. FreeBSD has always shipped a Fortran compiler. Stripping it out violates POLA. Additionally, the the Ports Collection currently assumes the availability of a Fortran compiler. What happens with cd /usr/ports/math/lapack make install -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 07:03:44 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2987A16A548 for ; Sat, 27 May 2006 07:03:44 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D1C043D53 for ; Sat, 27 May 2006 07:03:43 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.13.1/8.13.1) with ESMTP id k4R73f9G019877; Sat, 27 May 2006 03:03:42 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <672BC9B0-5BE8-41CF-B5F0-5E00DD686A54@orthanc.ca> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060527035306.GH744@turion.vk2pj.dyndns.org> <672BC9B0-5BE8-41CF-B5F0-5E00DD686A54@orthanc.ca> Date: Sat, 27 May 2006 03:03:40 -0400 To: Lyndon Nerenberg , Peter Jeremy From: Garance A Drosehn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) on 128.113.2.4 Cc: freebsd-current@FreeBSD.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 07:03:50 -0000 At 9:12 PM -0700 5/26/06, Lyndon Nerenberg wrote: >On May 26, 2006, at 8:53 PM, Peter Jeremy wrote: > >>- Nothing in the base system depends on FORTRAN. > >I'm sure you could make that argument for half of >the programs in /usr/bin. None of which are being imported from some separate project (e.g.: the gcc folks), and none of which will slow down the import of the vendor version of some component that the base system most certainly does need ("gcc"). >I don't have a problem with unbundling per-se. I do >have a problem with the totally specious arguments >that have been put forth so far to justify Fortran's >removal. If there are real reasons for it, let's hear >them. Because it will get in the way of the gcc import. And yes, since I work at RPI I do know that a lot of people still use fortran. One of the guys who works here in the computer center wrote a book on fortran for engineers ("Classical Fortran"), and it still sells. But the fact that fortran is useful does not mean it must be in the base system. Given that fortran is in a state of flux in the gcc world, I expect that fortran users will be better served by a port which can be updated when fortran needs to be updated, instead of being stuck with a version that will only be updated when gcc needs to be updated. This message is all the paint that I'm going to put on this particular bikeshed. I am merely stating my own personal opinion on this, and have no intention of getting into a debate. -- Garance Alistair Drosehn = drosehn@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA From owner-freebsd-current@FreeBSD.ORG Sat May 27 07:20:20 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B69216A70F for ; Sat, 27 May 2006 07:20:20 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20CD143D4C for ; Sat, 27 May 2006 07:20:19 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k4R7KDp3023883 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 May 2006 01:20:17 -0600 (MDT) (envelope-from lyndon@orthanc.ca) Date: Sat, 27 May 2006 01:20:13 -0600 (MDT) From: Lyndon Nerenberg To: Steve Kargl In-Reply-To: <20060527042517.GA3503@troutmask.apl.washington.edu> Message-ID: <20060527011519.P23860@orthanc.ca> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060527035306.GH744@turion.vk2pj.dyndns.org> <672BC9B0-5BE8-41CF-B5F0-5E00DD686A54@orthanc.ca> <20060527042517.GA3503@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on orthanc.ca Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 07:20:23 -0000 > g77 is dead, gone, not available with GCC 4.1.1. gfortran is > is, IMHO, a good compiler but it has warts and bugs. Maintaining > it in the tree will slow down the availability of bug fixes. > Relegating it to ports will allow patches and bug fixes to be > incorporate at a much higher rate. Okay, this I can buy. How does GCC 4.1 get along with the output of f2c? While it's not optimal, an f77 built on it would preserve the existing functionality if g77 dies. --lyndon From owner-freebsd-current@FreeBSD.ORG Sat May 27 07:38:11 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE14A16A4A5 for ; Sat, 27 May 2006 07:38:11 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4458E43D46 for ; Sat, 27 May 2006 07:38:11 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.7] (S0106000f3d63befd.vs.shawcable.net [70.71.19.119]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4R7c6EZ065240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 May 2006 00:38:07 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <447801D9.3060901@FreeBSD.org> Date: Sat, 27 May 2006 00:38:01 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Steve Kargl References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> <1B5AEAC9-2A87-40F1-B2D4-2069DCBC30FE@orthanc.ca> <4477EFDF.80608@alumni.rice.edu> <9f7850090605262331j352d98acwa3837251300c591b@mail.gmail.com> <4477F687.2030109@FreeBSD.org> <20060527065621.GA4814@troutmask.apl.washington.edu> In-Reply-To: <20060527065621.GA4814@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Lyndon Nerenberg , marty fouts , Mike Jakubik , freebsd-current@FreeBSD.org, kmacy@fsmware.com Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 07:38:17 -0000 Steve Kargl wrote: > On Fri, May 26, 2006 at 11:49:43PM -0700, Maxim Sobolev wrote: >> C'mon. Nothing in the base system requires fortran - install the >> version you like from ports and enjoy the life. What's the problem? >> > > The problems are the Cons points in my initial post. > FreeBSD has always shipped a Fortran compiler. Stripping > it out violates POLA. Additionally, the the Ports Collection > currently assumes the availability of a Fortran compiler. Well, if it A touches 0.0001% of FreeBSD users, POLA isn't really relevant. I fail to name at least 1 person who seriously relies on Fortran in the base FreeBSD among at least 2,000 FreeBSD users I know. -Maxim From owner-freebsd-current@FreeBSD.ORG Sat May 27 07:44:25 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51EBC16A425 for ; Sat, 27 May 2006 07:44:25 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id A274143D46 for ; Sat, 27 May 2006 07:44:24 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07cfc.naenxx7.adsl-dhcp.tele.dk [80.160.124.252]) by pfepb.post.tele.dk (Postfix) with ESMTP id 232D8A50006 for ; Sat, 27 May 2006 09:44:21 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4R7iE1V013611; Sat, 27 May 2006 09:44:15 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Maxim Sobolev From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 27 May 2006 00:38:01 PDT." <447801D9.3060901@FreeBSD.org> Date: Sat, 27 May 2006 09:44:14 +0200 Message-ID: <13610.1148715854@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Lyndon Nerenberg , marty fouts , Mike Jakubik , freebsd-current@FreeBSD.org, kmacy@fsmware.com, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 07:44:30 -0000 >Well, if it A touches 0.0001% of FreeBSD users, POLA isn't really >relevant. I fail to name at least 1 person who seriously relies on >Fortran in the base FreeBSD among at least 2,000 FreeBSD users I know. ... who can't figure out how to install a compiler from ports. Yes, Fortran does no longer belong in the base system, and quite frankly, it never did. I suspect the only reason it is there in the first place was that it saved somebody at Berkeley the trouble of keeping track of another release/tape/etc. Kill it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Sat May 27 08:12:45 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA07316AF47 for ; Sat, 27 May 2006 08:12:45 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93F4843D6A for ; Sat, 27 May 2006 08:12:39 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4R8CWoM046630; Sat, 27 May 2006 02:12:38 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <447809E6.60002@samsco.org> Date: Sat, 27 May 2006 02:12:22 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve Kargl References: <20060527024407.GA2525@troutmask.apl.washington.edu> In-Reply-To: <20060527024407.GA2525@troutmask.apl.washington.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 08:12:55 -0000 Steve Kargl wrote: > In a recent email to freebsd-current, > http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063435.html > Alexander Kabaev stated that the import of GCC 4.1.1 is coming soon. > > I propose that Fortran support in the base system be removed > when GCC 4.1.1 is imported. > Nominate an appropriate replacement in ports, and we'll add it to the CD package set. That replacement should then become the default dependency in the ports tree. Scott From owner-freebsd-current@FreeBSD.ORG Sat May 27 09:44:17 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9152316ADC1 for ; Sat, 27 May 2006 09:44:17 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail19.syd.optusnet.com.au (mail19.syd.optusnet.com.au [211.29.132.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5121643D46 for ; Sat, 27 May 2006 09:44:16 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail19.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4R9iEcd027993 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 27 May 2006 19:44:14 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4R9iEra022899; Sat, 27 May 2006 19:44:14 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4R9iDJI022898; Sat, 27 May 2006 19:44:13 +1000 (EST) (envelope-from peter) Date: Sat, 27 May 2006 19:44:13 +1000 From: Peter Jeremy To: Steve Kargl Message-ID: <20060527094413.GI744@turion.vk2pj.dyndns.org> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060527035306.GH744@turion.vk2pj.dyndns.org> <20060527035859.GB3251@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060527035859.GB3251@troutmask.apl.washington.edu> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 09:44:35 -0000 On Fri, 2006-May-26 20:58:59 -0700, Steve Kargl wrote: >I completely agree with Peter with the caveat that the >name of the Language is Fortran not FORTRAN. :-) It was FORTRAN when I learnt it about 30 years ago. It looks like lower case letters have been invented since then :-). If I can trust Wikipedia, it is FORTRAN 77 (and earlier) but Fortran 90 (and later). -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Sat May 27 09:57:20 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 220BB16B591 for ; Sat, 27 May 2006 09:57:20 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail10.syd.optusnet.com.au (mail10.syd.optusnet.com.au [211.29.132.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69A8043D4C for ; Sat, 27 May 2006 09:57:14 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail10.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4R9vCRY003280 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 27 May 2006 19:57:12 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4R9vBHU022951; Sat, 27 May 2006 19:57:11 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4R9vBmr022950; Sat, 27 May 2006 19:57:11 +1000 (EST) (envelope-from peter) Date: Sat, 27 May 2006 19:57:11 +1000 From: Peter Jeremy To: Steve Kargl Message-ID: <20060527095711.GJ744@turion.vk2pj.dyndns.org> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> <1B5AEAC9-2A87-40F1-B2D4-2069DCBC30FE@orthanc.ca> <4477EFDF.80608@alumni.rice.edu> <9f7850090605262331j352d98acwa3837251300c591b@mail.gmail.com> <4477F687.2030109@FreeBSD.org> <20060527065621.GA4814@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060527065621.GA4814@troutmask.apl.washington.edu> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 09:57:27 -0000 On Fri, 2006-May-26 23:56:21 -0700, Steve Kargl wrote: >What happens with > >cd /usr/ports/math/lapack >make install .if ${OSVERSION} > 700XXX BUILD_DEPENDS+= gfortran:${PORTSDIR}/lang/gfortran .endif -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Sat May 27 10:04:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D94516B664; Sat, 27 May 2006 10:04:58 +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 EE87A43D4C; Sat, 27 May 2006 10:04:55 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp230-239.lns2.adl4.internode.on.net [203.122.230.239]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k4RA4XUt026949 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 May 2006 19:34:33 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Sat, 27 May 2006 19:34:20 +0930 User-Agent: KMail/1.9.1 References: <13610.1148715854@critter.freebsd.dk> In-Reply-To: <13610.1148715854@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1863318.BRVkVp87Kn"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605271934.29467.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: Lyndon Nerenberg , marty fouts , Mike Jakubik , Poul-Henning Kamp , kmacy@fsmware.com, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 10:05:07 -0000 --nextPart1863318.BRVkVp87Kn Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 27 May 2006 17:14, Poul-Henning Kamp wrote: > >Well, if it A touches 0.0001% of FreeBSD users, POLA isn't really > >relevant. I fail to name at least 1 person who seriously relies on > >Fortran in the base FreeBSD among at least 2,000 FreeBSD users I know. > > ... who can't figure out how to install a compiler from ports. > > Yes, Fortran does no longer belong in the base system, and quite > frankly, it never did. I actually use Fortran at work. We have some data analysis code written in it. I think it should be removed from base, it is trivial to install it from=20 ports. =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 --nextPart1863318.BRVkVp87Kn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEeCQt5ZPcIHs/zowRAoHiAJoDbX1I6eYUirRg5KMS31UsKFdowQCgh14p JbHRNiQQTVSGP/yseGar8CE= =ZwSj -----END PGP SIGNATURE----- --nextPart1863318.BRVkVp87Kn-- From owner-freebsd-current@FreeBSD.ORG Sat May 27 10:10:57 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA21316B745 for ; Sat, 27 May 2006 10:10:57 +0000 (UTC) (envelope-from mf.danger@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id B989E43D46 for ; Sat, 27 May 2006 10:10:56 +0000 (GMT) (envelope-from mf.danger@gmail.com) Received: by nf-out-0910.google.com with SMTP id n15so2241nfc for ; Sat, 27 May 2006 03:10:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PHsrhm/U/7u364zhAI6Wq86piJDjGU3hFqT/r7yyafVobLPWlf3Sz5+dK5m6JOXDDt8cZFHe+y2qPnSyGK7l3oUG6aqUYBCyyDmmsg3VNY/T8HwzdVBa/6lSjkczwGZOMpgFFx7MKi9giUSGL+EBybiHUivehZIWMGtkJaoL+EE= Received: by 10.48.211.2 with SMTP id j2mr162119nfg; Sat, 27 May 2006 01:33:19 -0700 (PDT) Received: by 10.49.49.17 with HTTP; Sat, 27 May 2006 01:33:19 -0700 (PDT) Message-ID: <9f7850090605270133g1bf80a55tf6b967858aab5036@mail.gmail.com> Date: Sat, 27 May 2006 01:33:19 -0700 From: "marty fouts" To: "Poul-Henning Kamp" In-Reply-To: <13610.1148715854@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <447801D9.3060901@FreeBSD.org> <13610.1148715854@critter.freebsd.dk> Cc: Lyndon Nerenberg , Mike Jakubik , freebsd-current@freebsd.org, kmacy@fsmware.com, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 10:11:02 -0000 On 5/27/06, Poul-Henning Kamp wrote: > > I suspect the only reason it is there in the first place was that > it saved somebody at Berkeley the trouble of keeping track of another > release/tape/etc. If I remember correctly, (and it *was* twenty years ago, so I may not,) f77 was included because the VAX was often seen as an engineering machine and so it was easier to get people to accept BSD over VMS if it had a compiler. I know that we relied on f77 to keep our engineering guys from demanding another vax to run their simulation codes on at Ames, because I can recall swapping 4.2 out and VMS in on Amelia long enough to benchmark their codes to show that f77 produced code that was fast enough compared to DEC's fortran compiler Besides, there was fortran compiler on the 6th edition tapes, how could you leave it out of BSD? ;) From owner-freebsd-current@FreeBSD.ORG Sat May 27 10:18:48 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10B4616B7DE; Sat, 27 May 2006 10:18:48 +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 568EE43D48; Sat, 27 May 2006 10:18:45 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp230-239.lns2.adl4.internode.on.net [203.122.230.239]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k4RAIbN3027117 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 May 2006 19:48:38 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Sat, 27 May 2006 19:48:32 +0930 User-Agent: KMail/1.9.1 References: <20060525065510.GA20475@what-creek.com> <84dead720605260831n65cecbc2r7c6a2a7b45416379@mail.gmail.com> <20060526195018.GA34554@what-creek.com> In-Reply-To: <20060526195018.GA34554@what-creek.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2360307.01sT1kABzC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605271948.34035.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: John Birrell , current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 10:18:58 -0000 --nextPart2360307.01sT1kABzC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 27 May 2006 05:20, John Birrell wrote: > I've added a KDTRACE kernel option which compiles in the hooks that > DTrace uses and a bit of extra exception handling code. This > is only minimal bloat. > > Apart from those hooks, the DTrace kernel functionality is in the > 'dtrace' device which is also the 'dtrace' provider. The other > providers register themselves with the 'dtrace' device. > > If the DTrace device modules aren't loaded, there is very little > code in the kernel to share. =46actoring out the common code into a separate module that dtrace/ktrace/e= tc=20 can depend would be a good approach IMO. Although having just a single source copy but compiling it N times would be= =20 better (modulo licensing concerns - perhaps the hwpmc version could be used= ?) =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 --nextPart2360307.01sT1kABzC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEeCd65ZPcIHs/zowRAuLbAKCUbbnuA8rZzidQYi8WP0g5uT5XmwCgqELl DiazPEIZGjnwvv49jmiDDd8= =8cD9 -----END PGP SIGNATURE----- --nextPart2360307.01sT1kABzC-- From owner-freebsd-current@FreeBSD.ORG Sat May 27 10:18:48 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10B4616B7DE; Sat, 27 May 2006 10:18:48 +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 568EE43D48; Sat, 27 May 2006 10:18:45 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp230-239.lns2.adl4.internode.on.net [203.122.230.239]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k4RAIbN3027117 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 May 2006 19:48:38 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Sat, 27 May 2006 19:48:32 +0930 User-Agent: KMail/1.9.1 References: <20060525065510.GA20475@what-creek.com> <84dead720605260831n65cecbc2r7c6a2a7b45416379@mail.gmail.com> <20060526195018.GA34554@what-creek.com> In-Reply-To: <20060526195018.GA34554@what-creek.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2360307.01sT1kABzC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605271948.34035.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: John Birrell , current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 10:18:58 -0000 --nextPart2360307.01sT1kABzC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 27 May 2006 05:20, John Birrell wrote: > I've added a KDTRACE kernel option which compiles in the hooks that > DTrace uses and a bit of extra exception handling code. This > is only minimal bloat. > > Apart from those hooks, the DTrace kernel functionality is in the > 'dtrace' device which is also the 'dtrace' provider. The other > providers register themselves with the 'dtrace' device. > > If the DTrace device modules aren't loaded, there is very little > code in the kernel to share. =46actoring out the common code into a separate module that dtrace/ktrace/e= tc=20 can depend would be a good approach IMO. Although having just a single source copy but compiling it N times would be= =20 better (modulo licensing concerns - perhaps the hwpmc version could be used= ?) =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 --nextPart2360307.01sT1kABzC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEeCd65ZPcIHs/zowRAuLbAKCUbbnuA8rZzidQYi8WP0g5uT5XmwCgqELl DiazPEIZGjnwvv49jmiDDd8= =8cD9 -----END PGP SIGNATURE----- --nextPart2360307.01sT1kABzC-- From owner-freebsd-current@FreeBSD.ORG Sat May 27 11:04:35 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDBE616AAC2 for ; Sat, 27 May 2006 11:04:35 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD67643D5A for ; Sat, 27 May 2006 11:04:25 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k4RB4GpL063660 for ; Sat, 27 May 2006 15:04:16 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k4RB4GBu063659 for freebsd-current@freebsd.org; Sat, 27 May 2006 15:04:16 +0400 (MSD) (envelope-from yar) Date: Sat, 27 May 2006 15:04:16 +0400 From: Yar Tikhiy To: freebsd-current@freebsd.org Message-ID: <20060527110415.GA63440@comp.chem.msu.su> References: <20060518151232.GA37743@comp.chem.msu.su> <200605181819.k4IIJHL7001150@hardy.tmseck.homedns.org> <20060519085408.GB51604@comp.chem.msu.su> <20060521102204.GB78879@comp.chem.msu.su> <20060526072458.GA47499@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060526072458.GA47499@comp.chem.msu.su> User-Agent: Mutt/1.5.9i Subject: Re: Root FS corruption X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 11:05:05 -0000 On Fri, May 26, 2006 at 11:24:58AM +0400, Yar Tikhiy wrote: > > I still can damage a file on the root FS by running nextboot. This > seems very reproducible. A subsequent reboot is needed for the > damage to happen actually. The pattern is the same: A fragment > is allocated to nextboot.conf in the block immediately preceding > another file's block. The nextboot.conf contents are written out > later (when syncing disks before the reboot?) to the neighbour > file's first fragment. Nextboot.conf itself has correct contents, > which means that the contents are written out twice for some reason. > > Nextboot is a simple shell script just writing out nextboot.conf, > which means that any file write following the same scenario (creat > and write a small file, then reboot) should result in damage to > anothe file on the same FS. Of course, the FS fill pattern may > affect this. In my case, the FS is only half full, which apparently > allows for allocating a new block to the small file, not a fragment > in a partially occupied block. Folks, I have good news for all of us: This kind of corruption isn't done by the kernel. Thanks to Ian Dowse, I found out that /boot/loader would rewrite nextboot.conf through libufs or whatever. This is done in support.4th, the word is rewrite_nextboot_file. Initially I missed a clear sign of the problem being caused by the loader: The corrupted data started with `nextboot_enable="NO" \n', which is the string written from support.4th. The actual bug must be hiding in libufs, or whatever loader uses to access UFS. Recent technical details of my investigation have been filed in PR bin/98005: http://www.freebsd.org/cgi/query-pr.cgi?pr=98005 The conclusion is: Avoid nextboot(8) for now. -- Yar From owner-freebsd-current@FreeBSD.ORG Sat May 27 04:01:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1340A16AA50 for ; Sat, 27 May 2006 04:01:53 +0000 (UTC) (envelope-from pfgshield-freebsd@yahoo.com) Received: from web32714.mail.mud.yahoo.com (web32714.mail.mud.yahoo.com [68.142.206.27]) by mx1.FreeBSD.org (Postfix) with SMTP id A158143D48 for ; Sat, 27 May 2006 04:01:52 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: (qmail 89909 invoked by uid 60001); 27 May 2006 04:01:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=sN4xrBWV95VYzfERVPgDoIsbQx5pbsDC4tubBea0Z4B6gmodWprHG+V/mc517uycFpzp7Or4G0XXUnVR1mkky/77EeikBT6XSBKdRN/61QxLt+vzYCySEhstwp1qG+9xP3klBIh69hthmoMFE/sH+u0wdWluqkoN5FcnHsJNZs8= ; Message-ID: <20060527040152.89907.qmail@web32714.mail.mud.yahoo.com> Received: from [200.118.79.75] by web32714.mail.mud.yahoo.com via HTTP; Sat, 27 May 2006 06:01:52 CEST Date: Sat, 27 May 2006 06:01:52 +0200 (CEST) From: To: freebsd-current@freebsd.org, Steve Kargl MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Mailman-Approved-At: Sat, 27 May 2006 11:19:24 +0000 Cc: Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfgshield-freebsd@yahoo.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 04:01:53 -0000 Hi; FWIW, I think I am right now the only user of gfortran in the ports tree as I use it for the elmer* ports and really soon for MUMPS (which is finished but being tested). First of all I should mention g77 and gfortran are not ABI compatible by default, and specifying -ff2c to gfortran is not always easy; this has meant, for example, that it was necessary to add a suboptimal package called elmer-mathlibs (with blas, lapack and arpack/parpack) just for elmer. Libraries generated with g77 will not interoperate with the gfortran stuff and some packages (math/blacs comes to mind) will need to be patched to work with gfortran. That said, gfortran41 is a pretty good replacement to g77. I wouldn't count much with Intel's compiler since it's a binary that we can't redistribute and has platform limitations. g95 is better and much more used but it is not easy to package (I tried on amd64). I don't have clear atm if it's a good idea to remove fortran or not but NOT having a fortran compiler in the base system would be extremely weird. A couple of questions to think about: - Will we need a package with the shared libraries that come with gfortran? many packages depend on blas/atlas and other libraries that need fortran but a run dependency on the compiler package would be excessive IMHO. - Perhaps we could remove of the C compiler too? not everyone builds kernels/ports and the gfortran compiler package happens to include a good C compiler ;-). cheers, Pedro. Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com From owner-freebsd-current@FreeBSD.ORG Sat May 27 12:10:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8743A16A4FB for ; Sat, 27 May 2006 12:10:53 +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 D6F5B43D48 for ; Sat, 27 May 2006 12:10:52 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp230-239.lns2.adl4.internode.on.net [203.122.230.239]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k4RCAntW028396 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 May 2006 21:40:50 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org, pfgshield-freebsd@yahoo.com Date: Sat, 27 May 2006 21:40:37 +0930 User-Agent: KMail/1.9.1 References: <20060527040152.89907.qmail@web32714.mail.mud.yahoo.com> In-Reply-To: <20060527040152.89907.qmail@web32714.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1419716.mo4ULem9Ks"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605272140.46227.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 12:11:45 -0000 --nextPart1419716.mo4ULem9Ks Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 27 May 2006 13:31, pfgshield-freebsd@yahoo.com wrote: > - Will we need a package with the shared libraries that come with gfortra= n? > many packages depend on blas/atlas and other libraries that need fortran > but a run dependency on the compiler package would be excessive IMHO. Why? This is no different to building, say, pygame.. Yes it needs Python, wow, w= hat=20 a suprise :) > - Perhaps we could remove of the C compiler too? not everyone builds > kernels/ports and the gfortran compiler package happens to include a good= C > compiler ;-). =46ortran isn't used for the base system, C & C++ are. (Yes I saw the smiley :) =09 =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 --nextPart1419716.mo4ULem9Ks Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEeEHG5ZPcIHs/zowRAqfWAJ97x+QQJPsvmTO8vkYFV08w4+kwigCfVBr6 sGg4hJvGvnLaQT9KtmXkFkk= =5n0O -----END PGP SIGNATURE----- --nextPart1419716.mo4ULem9Ks-- From owner-freebsd-current@FreeBSD.ORG Sat May 27 14:51:42 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DA5116B02F for ; Sat, 27 May 2006 14:51:42 +0000 (UTC) (envelope-from toxahost@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED91F43D48 for ; Sat, 27 May 2006 14:51:41 +0000 (GMT) (envelope-from toxahost@gmail.com) Received: by nz-out-0102.google.com with SMTP id m7so260621nzf for ; Sat, 27 May 2006 07:51:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Y8eiI2IlqcS9m8Z1I6Wn5tf8I/UT6lV6K1JYWd6N1OU/tE06VyJWEeEcwIOsCVcQ/59DOyp0dw2GfAM60DmRMniLTT946TlWy6o+IKJwdJC8lUdhBhS+j+7eQZrjdjpjpHvLPxpSUw1jXcTSFRJ7m/nAommXrQ3g13UQzwC8o0s= Received: by 10.36.220.2 with SMTP id s2mr748260nzg; Sat, 27 May 2006 07:51:41 -0700 (PDT) Received: by 10.36.224.64 with HTTP; Sat, 27 May 2006 07:51:41 -0700 (PDT) Message-ID: Date: Sat, 27 May 2006 18:51:41 +0400 From: "Anton Karpov" To: "M. Warner Losh" In-Reply-To: <20060526.070406.-399285106.imp@bsdimp.com> MIME-Version: 1.0 References: <200605231944.45822.michal.vanco@satro.sk> <20060523.132011.48440982.imp@bsdimp.com> <20060526.070406.-399285106.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, michal.vanco@satro.sk Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 14:51:44 -0000 2006/5/26, M. Warner Losh : > > In message: > "Anton Karpov" writes: > : I've had the same problem with my Atheros-based Proxim 8470-WD pcmcia > card. > : After recent current buildkernel, card does not recognised at all. I.e. > : nothing happens when I plug it in the slot. Ofcourse, all modules are > : loaded. > > Does the patch I posted in this thread help any? > > Warner > yes, with this patch, everything is ok, thanx! ath0: mem 0xe8210000-0xe821ffff irq 9 at device 0.0 on cardbus0 ath0: [GIANT-LOCKED] ath0: Ethernet address: 00:20:a6:52:20:45 ath0: mac 5.9 phy 4.3 radio 4.6 From owner-freebsd-current@FreeBSD.ORG Sat May 27 14:55:32 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0435516AF45 for ; Sat, 27 May 2006 14:55:29 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82F7E43D48 for ; Sat, 27 May 2006 14:55:29 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4RErdZR073226; Sat, 27 May 2006 08:53:39 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 27 May 2006 08:53:40 -0600 (MDT) Message-Id: <20060527.085340.79298695.imp@bsdimp.com> To: toxahost@gmail.com From: "M. Warner Losh" In-Reply-To: References: <20060526.070406.-399285106.imp@bsdimp.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.ORG, michal.vanco@satro.sk Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 14:55:41 -0000 In message: "Anton Karpov" writes: : 2006/5/26, M. Warner Losh : : > : > In message: : > "Anton Karpov" writes: : > : I've had the same problem with my Atheros-based Proxim 8470-WD pcmcia : > card. : > : After recent current buildkernel, card does not recognised at all. I.e. : > : nothing happens when I plug it in the slot. Ofcourse, all modules are : > : loaded. : > : > Does the patch I posted in this thread help any? : > : > Warner : > : : yes, with this patch, everything is ok, thanx! Dang. I guess that means I have to fix this problem for real :-( Warner From owner-freebsd-current@FreeBSD.ORG Sat May 27 15:04:34 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56D3916B1E7 for ; Sat, 27 May 2006 15:04:34 +0000 (UTC) (envelope-from toxahost@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 777DF43D5F for ; Sat, 27 May 2006 15:04:24 +0000 (GMT) (envelope-from toxahost@gmail.com) Received: by nz-out-0102.google.com with SMTP id m7so262052nzf for ; Sat, 27 May 2006 08:04:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=N4DXcGbT9YrE+IOx+z04gesYq2AV/x1lTLkSs9TbAjGX44Qn1tGZb3zAn3Hqu8T1z+IoguTfuq4i+uHrnnsiKAADq8AHB+gT6Pl2UM2Dru9lyfta1412IAkQ+CbfPbhDBiTfk5JnCoVLbYfS9xWemYzlalFVIOMQcZwZMhbq85o= Received: by 10.37.13.34 with SMTP id q34mr748712nzi; Sat, 27 May 2006 08:04:24 -0700 (PDT) Received: by 10.36.224.64 with HTTP; Sat, 27 May 2006 08:04:23 -0700 (PDT) Message-ID: Date: Sat, 27 May 2006 19:04:23 +0400 From: "Anton Karpov" To: "M. Warner Losh" In-Reply-To: <20060527.085340.79298695.imp@bsdimp.com> MIME-Version: 1.0 References: <20060526.070406.-399285106.imp@bsdimp.com> <20060527.085340.79298695.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, michal.vanco@satro.sk Subject: Re: Atheros 5212 in 6.1-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 15:04:40 -0000 > > : > > : > : yes, with this patch, everything is ok, thanx! > > Dang. I guess that means I have to fix this problem for real :-( > > Warner > I'm following -current onto my laptop, installing kernel regulary (every week or so) and for the last few weeks the changes with ath for me were: 0. (months ago). everything is FINE 1. (few weeks ago, with new kernel). when I plug card into pcmcia slot, I got a kernel crash. no serial console here, no digital photocam, no piece o= f paper and a pen, so bugreport is useless. My weekend wardriving session was failed ;) 2. (few days ago, with new kernel). when I plug card into slot, NOTHING happens. No kernel message, nothing 3. (right now, with your fix). everything is fine again :) hope this "thread" helps. From owner-freebsd-current@FreeBSD.ORG Sat May 27 15:12:11 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3977916BC0A for ; Sat, 27 May 2006 15:12:11 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from ems01.seccuris.com (ems01.seccuris.com [204.112.0.35]) by mx1.FreeBSD.org (Postfix) with SMTP id 797D343D7D for ; Sat, 27 May 2006 15:12:10 +0000 (GMT) (envelope-from csjp@FreeBSD.org) Received: (qmail 13778 invoked by uid 86); 27 May 2006 15:35:05 -0000 Received: from unknown (HELO ?127.0.0.1?) (204.112.0.37) by ems01.seccuris.com with SMTP; 27 May 2006 15:35:05 -0000 Message-ID: <44786C48.7030109@FreeBSD.org> Date: Sat, 27 May 2006 10:12:08 -0500 From: "Christian S.J. Peron" User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: John Baldwin References: <200605241749.02885.jhb@freebsd.org> In-Reply-To: <200605241749.02885.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: [PATCH] Fixup locking for kernel-linker, needs ndis testing(!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 15:12:23 -0000 Currently, we are using Giant to serialize access into the sysctl tree. This means that if the kernel linker is not picking up Giant, there could be a race between when the kernel modules load/unload sysctls, and somebody reading the sysctl tree. I am not sure what the best thing to do here is yet. I've looked at the locking for sysctl tree, and locking these entry points can be sticky due to the recursive nature of the code. John Baldwin wrote: > I've reworked the locking for the kernel linker to convert the existing > kld_mtx to an sx lock and extend it's scope to cover all of the various > linker-related data structures. I also changed the kernel linker API a bit > to make it more amenable to locking in that I added a 'linker_file_foreach' > that iterates over the list of linker files calling a supplied predicate > function and made the functions to lookup a linker file by name or index > private. This meant that the ndis and hwpmc code had to stop fondling the > kernel linker internals. I also made the VFS Giant locking in ndis and the > kernel linker conditional such that it only locks Giant for non-MPSAFE > filesystems. > > I have runtested this patch a while back, but the ndis and hwpmc parts have > only been compile tested. Please test. > > http://www.FreeBSD.org/~jhb/patches/kld.patch > > -- Christian S.J. Peron csjp@FreeBSD.ORG FreeBSD Committer FreeBSD Security Team From owner-freebsd-current@FreeBSD.ORG Sat May 27 15:59:11 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FC0B16B9B6 for ; Sat, 27 May 2006 15:59:11 +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 44C5543D48 for ; Sat, 27 May 2006 15:59:11 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4RFx4lr007359; Sat, 27 May 2006 08:59:04 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4RFx3Hu007358; Sat, 27 May 2006 08:59:03 -0700 (PDT) (envelope-from sgk) Date: Sat, 27 May 2006 08:59:03 -0700 From: Steve Kargl To: Peter Jeremy Message-ID: <20060527155903.GA7307@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> <1B5AEAC9-2A87-40F1-B2D4-2069DCBC30FE@orthanc.ca> <4477EFDF.80608@alumni.rice.edu> <9f7850090605262331j352d98acwa3837251300c591b@mail.gmail.com> <4477F687.2030109@FreeBSD.org> <20060527065621.GA4814@troutmask.apl.washington.edu> <20060527095711.GJ744@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060527095711.GJ744@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 15:59:35 -0000 On Sat, May 27, 2006 at 07:57:11PM +1000, Peter Jeremy wrote: > On Fri, 2006-May-26 23:56:21 -0700, Steve Kargl wrote: > >What happens with > > > >cd /usr/ports/math/lapack > >make install > > .if ${OSVERSION} > 700XXX > BUILD_DEPENDS+= gfortran:${PORTSDIR}/lang/gfortran > .endif > Yes, I know. Now, how many ports need this treatment? Do we cleanup the sys.mk file? Grep for FC, f77, .f Do we add .F90, .f90, and .mod? -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 16:10:37 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF15616B27D for ; Sat, 27 May 2006 16:10:37 +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 2213043D55 for ; Sat, 27 May 2006 16:10:37 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4RGARGY007446; Sat, 27 May 2006 09:10:27 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4RGARZr007445; Sat, 27 May 2006 09:10:27 -0700 (PDT) (envelope-from sgk) Date: Sat, 27 May 2006 09:10:27 -0700 From: Steve Kargl To: Lyndon Nerenberg Message-ID: <20060527161027.GB7307@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060527035306.GH744@turion.vk2pj.dyndns.org> <672BC9B0-5BE8-41CF-B5F0-5E00DD686A54@orthanc.ca> <20060527042517.GA3503@troutmask.apl.washington.edu> <20060527011519.P23860@orthanc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060527011519.P23860@orthanc.ca> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 16:10:45 -0000 On Sat, May 27, 2006 at 01:20:13AM -0600, Lyndon Nerenberg wrote: > >g77 is dead, gone, not available with GCC 4.1.1. gfortran is > >is, IMHO, a good compiler but it has warts and bugs. Maintaining > >it in the tree will slow down the availability of bug fixes. > >Relegating it to ports will allow patches and bug fixes to be > >incorporate at a much higher rate. > > Okay, this I can buy. How does GCC 4.1 get along with the output of f2c? > While it's not optimal, an f77 built on it would preserve the existing > functionality if g77 dies. > First, there is the -ff2c switch. Second, if it is Fortran and g77 can compile it, then gfortran should be able to compile it without problems. If you want to see a performance comparison of gfortran 4.1 with other compilers, see http://www.physik.fu-berlin.de/~tburnus/benchmark/polyhedron05.html -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 16:24:18 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7FC416C12D for ; Sat, 27 May 2006 16:24:18 +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 2689D43D5D for ; Sat, 27 May 2006 16:24:17 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4RGO971007541; Sat, 27 May 2006 09:24:09 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4RGO7cn007540; Sat, 27 May 2006 09:24:07 -0700 (PDT) (envelope-from sgk) Date: Sat, 27 May 2006 09:24:07 -0700 From: Steve Kargl To: Scott Long Message-ID: <20060527162407.GD7307@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <447809E6.60002@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <447809E6.60002@samsco.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 16:24:46 -0000 On Sat, May 27, 2006 at 02:12:22AM -0600, Scott Long wrote: > Steve Kargl wrote: > >In a recent email to freebsd-current, > >http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063435.html > >Alexander Kabaev stated that the import of GCC 4.1.1 is coming soon. > > > >I propose that Fortran support in the base system be removed > >when GCC 4.1.1 is imported. > > > > Nominate an appropriate replacement in ports, and we'll add it to the > CD package set. That replacement should then become the default > dependency in the ports tree. > ports/lang/gfortran >From the Makefile MASTERDIR= ${.CURDIR}/../gcc41/ PKGNAMESUFFIX= -withfortran WITH_FORTRAN= yes Thus, this gfortran will be the one that is bundled with GCC 4.1.1 by the FSF foundation. I know this version works (for some definition of work) on i386 and amd64 FreeBSD. I don't have access to other archs for testing. -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 16:31:03 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABDF116C1E5 for ; Sat, 27 May 2006 16:31:03 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4127143D48 for ; Sat, 27 May 2006 16:31:02 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp4-g19.free.fr (Postfix) with ESMTP id 3D802510F3 for ; Sat, 27 May 2006 18:31:02 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id k4RGUvT2004661 for ; Sat, 27 May 2006 18:31:00 +0200 (CEST) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Sat, 27 May 2006 18:30:49 +0200 User-Agent: KMail/1.9.1 References: <200605241556.44483.jhb@freebsd.org> <200605251023.34963.thierry@herbelot.com> In-Reply-To: <200605251023.34963.thierry@herbelot.com> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200605271830.50724.thierry@herbelot.com> Subject: Re: [PATCH] if_dc cleanups.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 16:31:30 -0000 Le Thursday 25 May 2006 10:23, Thierry Herbelot a écrit : > my dc is still probed and detected with your patch : > dc0: <82c169 PNIC 10/100BaseTX> port 0x9400-0x94ff mem > 0xd8000000-0xd80000ff irq 19 at device 9.0 on pci0 > dc0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x9400 > miibus0: on dc0 > bmtphy0: on miibus0 > bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > dc0: bpf attached > dc0: Ethernet address: 00:02:e3:08:63:af > dc0: [MPSAFE] > > the same dc is currently used to update the -current sources over NFS, > without any visible side effects. one side effect seems to be more watchdog timeouts : dc0: watchdog timeout dc0: failed to force tx and rx to idle state on a macroscopic level, the NIC is still usable (enough to get a cvs update of the full world from an NFS repository). TfH From owner-freebsd-current@FreeBSD.ORG Sat May 27 17:07:48 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02A5216ACB3 for ; Sat, 27 May 2006 17:07:48 +0000 (UTC) (envelope-from mf.danger@gmail.com) Received: from hu-out-0102.google.com (hu-out-0102.google.com [72.14.214.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B2EA43D48 for ; Sat, 27 May 2006 17:07:46 +0000 (GMT) (envelope-from mf.danger@gmail.com) Received: by hu-out-0102.google.com with SMTP id 28so209781hug for ; Sat, 27 May 2006 10:07:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Q9URyp+yc4f0ynPnsDPkrJTHR3UvfK164POiDpZaG9D7xC50gc2sQjUCAzLFi8yD9pwzjcYvxlqRBusM4GbQ0z5qvs8dnoqD/yRH9SmGuXys+0uwpaF5SdZdjpL7sJ7v3Fd8dBs1aETBMyf2Sj4inpda8CGIs4yP7i0dVmbUGN8= Received: by 10.49.15.13 with SMTP id s13mr448446nfi; Sat, 27 May 2006 10:00:38 -0700 (PDT) Received: by 10.49.49.17 with HTTP; Sat, 27 May 2006 10:00:38 -0700 (PDT) Message-ID: <9f7850090605271000j524d6a35gfa3f6df1f0ed59f5@mail.gmail.com> Date: Sat, 27 May 2006 10:00:38 -0700 From: "marty fouts" To: "James Mansion" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44773FDB.1090901@nortel.com> Cc: Alexander Leidinger , Poul-Henning Kamp , Andrew Atrens , current@freebsd.org, small@freebsd.org Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 17:08:00 -0000 On 5/27/06, James Mansion wrote: > Why? Lets remember we're talking about an embedded system that can be > sensibly implemented with a general purpose OS. I'd put it to you that > normally where this is very desirable, its because the run rate is > quite low so the project overall is very sensitive to ease and cost of > development. But if the run rate is low, then you also need to consider > what hardware will be available in volume at go-live, and CF-to-IDE > is very cheap now in conjunction with system-on-a-chip designs for > set top boxes. For big bulk, we have PIC, Atmel, Rabbit, and assorted > 80186 designs (including one very cute thing I saw built into an > ethernet PHY) As someone who has worked on Linux-based smartphones, I think that, at least in telephony, CF isn't particularly cheap, (and the form factor isn't particularly attractive,) and the run rate can still be high but sensitive to ease and cost of development. The hardware solution in telephony is NAND flash, because that has a reasonable form factor and a good price/megabyte of storage. Experience suggests that wear leveling does matter in this market, but that fairly simple wear leveling can be very effective. From owner-freebsd-current@FreeBSD.ORG Sat May 27 17:23:47 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2444316ADEB; Sat, 27 May 2006 17:23:47 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44A6C43D4C; Sat, 27 May 2006 17:23:44 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp4-g19.free.fr (Postfix) with ESMTP id 457C554861; Sat, 27 May 2006 19:23:43 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 8F41A9C718; Sat, 27 May 2006 17:23:58 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 3CED14071; Sat, 27 May 2006 19:23:58 +0200 (CEST) Date: Sat, 27 May 2006 19:23:58 +0200 From: Jeremie Le Hen To: Alexander Kabaev Message-ID: <20060527172358.GC25953@obiwan.tataz.chchile.org> References: <20060526153422.GB25953@obiwan.tataz.chchile.org> <20060526183554.25d5cc0d@kan.dnsalias.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060526183554.25d5cc0d@kan.dnsalias.net> User-Agent: Mutt/1.5.11 Cc: freebsd-security@FreeBSD.org, freebsd-current@FreeBSD.org, Jeremie Le Hen Subject: Re: [fbsd] Re: Integrating ProPolice/SSP into FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 17:24:00 -0000 On Fri, May 26, 2006 at 06:35:54PM -0400, Alexander Kabaev wrote: > On Fri, 26 May 2006 17:34:22 +0200 > Jeremie Le Hen wrote: > > > Hi, > > > > first sorry for cross-posting but I thought this patch might interest > > -CURRENT users as well as people concerned by security. > > > > I wrote a patch that integrates ProPolice/SSP into FreeBSD, one step > > further than it has been realized so far. > > > > It is available here : > > http://tataz.chchile.org/~tataz/FreeBSD/SSP/ > > > > Everything is explained on the web page, but I will repeat some > > informations here. The patchset is splitted in two parts to ease the > > review of the patch. The -propolice patch is only the original > > ProPolice patch for GCC 3.4.4 applied on FreeBSD source tree. The > > -freebsd patch contains the glue I have written to make things neat. > > > > The patch exists in both for CURRENT and RELENG_6. Both introduce a > > new make.conf(5) (and src.conf(5)) knob to enable stack protection > > on a per Makefile basis. It if of course possible to compile your > > world with it. Please refer to the web page for more informations. > > > > The patch has been tested and works pretty well. My laptop and my > > workstation at work are compiled with SSP : world, kernel and ports, > > including X.org. > > > > I hope you will enjoy it. > > Regards, > > -- > > Jeremie Le Hen > > < jeremie at le-hen dot org >< ttz at chchile dot org > > > _______________________________________________ > > freebsd-security@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-security > > To unsubscribe, send any mail to > > "freebsd-security-unsubscribe@freebsd.org" > > How does this compare to GCC 4.x mudflap feature? I do not plan to > include Propolice patch into base system any time soon and will object > anyone trying to do so due to future maintenance headaches this will > inevitably create. GCC 4.1.1 import is in the works though and should be > available shortly. I wasn't aware of the mudflap feature. I had a quick look at it through [1], and it appears mudflap focuses on pointer dereferencement. ProPolice focuses on stack-based buffer overflows, this is mostly the same as StackGuard, which is presented in the paper. According to Wikipedia [2], StackGuard isn't maintained any longuer, while ProPolice has been merged into GCC 4.1. I understand you are working on GCC 4.1.1 import and that modifying contributed sources will be a problem for you, though I must admit I am not sure to understand the whole pain this creates. I will try to maintain the patch on my own until GCC 4.1.1 import, so that users will be able to make the best of ProPolice. BTW, given that GCC 4.1.1 will contain ProPolice bits, I think I will be worth having some knobs to turn SSP on or off for the base system. I have become pretty confident with the build system and problems that libssp triggers. I would be glad to provide you some of the glue I have written so far in my patch (the -freebsd part). Please, let me know if you are interested in this. If your current work is publicly accessible, I'd be glad if you gave me the URL. [1] http://gcc.fyxm.net/summit/2003/mudflap.pdf [2] http://en.wikipedia.org/wiki/ProPolice Thank you. Best regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-current@FreeBSD.ORG Sat May 27 20:19:43 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11B7816A8C9 for ; Sat, 27 May 2006 20:19:43 +0000 (UTC) (envelope-from arr@watson.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AF8643D48 for ; Sat, 27 May 2006 20:19:40 +0000 (GMT) (envelope-from arr@watson.org) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.13.4/8.13.4) with ESMTP id k4RKJdn9038216; Sat, 27 May 2006 16:19:39 -0400 (EDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.13.4/8.13.4/Submit) with ESMTP id k4RKJdAo038213; Sat, 27 May 2006 16:19:39 -0400 (EDT) (envelope-from arr@watson.org) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Sat, 27 May 2006 16:19:39 -0400 (EDT) From: "Andrew R. Reiter" To: Mike Jakubik In-Reply-To: <4477C401.2080307@rogers.com> Message-ID: <20060527161923.N38076@fledge.watson.org> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 20:20:46 -0000 On Fri, 26 May 2006, Mike Jakubik wrote: :Steve Kargl wrote: :> In a recent email to freebsd-current, :> http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063435.html :> Alexander Kabaev stated that the import of GCC 4.1.1 is coming soon. :> :> I propose that Fortran support in the base system be removed :> when GCC 4.1.1 is imported. :> : :Agreed, who the hell still uses Fortran? : Scripps Institute of Oceanography -- arr@watson.org From owner-freebsd-current@FreeBSD.ORG Sat May 27 20:28:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADF4A16A896 for ; Sat, 27 May 2006 20:28:51 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21D2343D4C for ; Sat, 27 May 2006 20:28:48 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4RKSgS4051716; Sat, 27 May 2006 14:28:47 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4478B679.9060606@samsco.org> Date: Sat, 27 May 2006 14:28:41 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andrew R. Reiter" References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <20060527161923.N38076@fledge.watson.org> In-Reply-To: <20060527161923.N38076@fledge.watson.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: Mike Jakubik , freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 20:28:54 -0000 Andrew R. Reiter wrote: > On Fri, 26 May 2006, Mike Jakubik wrote: > > :Steve Kargl wrote: > :> In a recent email to freebsd-current, > :> http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063435.html > :> Alexander Kabaev stated that the import of GCC 4.1.1 is coming soon. > :> > :> I propose that Fortran support in the base system be removed > :> when GCC 4.1.1 is imported. > :> > : > :Agreed, who the hell still uses Fortran? > : > > Scripps Institute of Oceanography > Obviously a bunch of amateurs who don't really know what they want or what they are doing. Scott From owner-freebsd-current@FreeBSD.ORG Sat May 27 20:37:37 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF2D316A7F1 for ; Sat, 27 May 2006 20:37:37 +0000 (UTC) (envelope-from arr@watson.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2966343D4C for ; Sat, 27 May 2006 20:37:37 +0000 (GMT) (envelope-from arr@watson.org) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.13.4/8.13.4) with ESMTP id k4RKbaMh038839; Sat, 27 May 2006 16:37:36 -0400 (EDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.13.4/8.13.4/Submit) with ESMTP id k4RKbaWW038836; Sat, 27 May 2006 16:37:36 -0400 (EDT) (envelope-from arr@watson.org) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Sat, 27 May 2006 16:37:36 -0400 (EDT) From: "Andrew R. Reiter" To: Scott Long In-Reply-To: <4478B679.9060606@samsco.org> Message-ID: <20060527163722.J38076@fledge.watson.org> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <20060527161923.N38076@fledge.watson.org> <4478B679.9060606@samsco.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Mike Jakubik , freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 20:38:00 -0000 On Sat, 27 May 2006, Scott Long wrote: :Andrew R. Reiter wrote: : :> On Fri, 26 May 2006, Mike Jakubik wrote: :> :> :Steve Kargl wrote: :> :> In a recent email to freebsd-current, :> :> http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063435.html :> :> Alexander Kabaev stated that the import of GCC 4.1.1 is coming soon. :> :> :> I propose that Fortran support in the base system be removed :> :> when GCC 4.1.1 is imported. :> :> : :> :Agreed, who the hell still uses Fortran? :> : :> :> Scripps Institute of Oceanography :> : :Obviously a bunch of amateurs who don't really know what they want :or what they are doing. : :Scott C'est la vie -- arr@watson.org From owner-freebsd-current@FreeBSD.ORG Sat May 27 20:41:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6651316AA3F for ; Sat, 27 May 2006 20:41:26 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16B3743D46 for ; Sat, 27 May 2006 20:41:25 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id k4RKf5H4016203; Sat, 27 May 2006 13:41:06 -0700 From: Kent Stewart To: freebsd-current@freebsd.org Date: Sat, 27 May 2006 13:41:19 -0700 User-Agent: KMail/1.9.1 References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <20060527161923.N38076@fledge.watson.org> In-Reply-To: <20060527161923.N38076@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605271341.19536.kstewart@owt.com> Cc: Steve Kargl , Mike Jakubik Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 20:41:29 -0000 On Saturday 27 May 2006 13:19, Andrew R. Reiter wrote: > On Fri, 26 May 2006, Mike Jakubik wrote: > :Steve Kargl wrote: > :> In a recent email to freebsd-current, > :> http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063435 > :>.html Alexander Kabaev stated that the import of GCC 4.1.1 is > :> coming soon. > :> > :> I propose that Fortran support in the base system be removed > :> when GCC 4.1.1 is imported. > : > :Agreed, who the hell still uses Fortran? > > Scripps Institute of Oceanography And people that generate electric power with boilers that don't produce CO2. KEnt -- Kent Stewart Richland, WA http://www.soyandina.com/ "I am Andean project". http://users.owt.com/kstewart/index.html From owner-freebsd-current@FreeBSD.ORG Sat May 27 20:58:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBC5816B65E for ; Sat, 27 May 2006 20:55:52 +0000 (UTC) (envelope-from ahebert@pubnix.net) Received: from mail.pubnix.net (Mail.pubnix.net [192.172.250.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F90743D46 for ; Sat, 27 May 2006 20:55:52 +0000 (GMT) (envelope-from ahebert@pubnix.net) Received: from [10.0.1.2] (aal.pubnix.net [64.235.216.13]) (authenticated bits=0) by mail.pubnix.net (8.13.6/8.13.6) with ESMTP id k4RKto22025409 for ; Sat, 27 May 2006 16:55:51 -0400 (EDT) (envelope-from ahebert@pubnix.net) Message-ID: <4478BCD6.9060304@pubnix.net> Date: Sat, 27 May 2006 16:55:50 -0400 From: Alain Hebert Organization: PubNIX, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20060514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <20060527161923.N38076@fledge.watson.org> <4478B679.9060606@samsco.org> In-Reply-To: <4478B679.9060606@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ahebert@pubnix.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 20:59:11 -0000 Scott Long wrote: > Andrew R. Reiter wrote: > >> On Fri, 26 May 2006, Mike Jakubik wrote: >> >> :Steve Kargl wrote: >> :> In a recent email to freebsd-current, >> :> >> http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063435.html >> :> Alexander Kabaev stated that the import of GCC 4.1.1 is coming soon. >> :> :> I propose that Fortran support in the base system be removed >> :> when GCC 4.1.1 is imported. >> :> : >> :Agreed, who the hell still uses Fortran? >> : >> >> Scripps Institute of Oceanography > > Obviously a bunch of amateurs who don't really know what they want > or what they are doing. > > Scott (We cannot expect everybody to be adult enought to get how to use this mailing-list.) ----- The obvious reason was stated before that gFortran was not bug free and, in view of the importer, it would be best to have gFortran in ports until the fortran community voice their opinion about which implementations is the best one. Another point was that gFortran was not needed in the FreeBSD base, but the package should be included in Disk1 to ease minimal install for the fortran community. Also, if there is no maintainer for a port, it ease the decision about which one to keep without having to get in a language/religion war. It seems fair to me. ----- Attitude and drama can be found on TV, lets focus on making BSD the best solution for all os us. -- Alain Hebert ahebert@pubnix.net PubNIX Inc. P.O. Box 175 Beaconsfield, Quebec H9W 5T7 tel 514-990-5911 http://www.pubnix.net fax 514-990-9443 From owner-freebsd-current@FreeBSD.ORG Sat May 27 21:19:03 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4808216B326 for ; Sat, 27 May 2006 21:18:21 +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 ED6CF43D46 for ; Sat, 27 May 2006 21:18:20 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4RLIBVq009653; Sat, 27 May 2006 14:18:11 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4RLIBw3009652; Sat, 27 May 2006 14:18:11 -0700 (PDT) (envelope-from sgk) Date: Sat, 27 May 2006 14:18:11 -0700 From: Steve Kargl To: Alain Hebert Message-ID: <20060527211811.GA9609@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <20060527161923.N38076@fledge.watson.org> <4478B679.9060606@samsco.org> <4478BCD6.9060304@pubnix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4478BCD6.9060304@pubnix.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 21:19:15 -0000 On Sat, May 27, 2006 at 04:55:50PM -0400, Alain Hebert wrote: > Scott Long wrote: > >Andrew R. Reiter wrote: > > > >> > >>Scripps Institute of Oceanography > > > >Obviously a bunch of amateurs who don't really know what they want > >or what they are doing. > > (We cannot expect everybody to be adult enought to get how to use > this mailing-list.) Scott was obviously placing his tongue in his cheek. > The obvious reason was stated before that gFortran was not bug free Do you think gcc-3.4.4 is bug free? Or gcc-4.1.1? Or FreeBSD? > and, in view of the importer, it would be best to have gFortran in ports > until the fortran community voice their opinion about which > implementations is the best one. Actually, kan made the very good point that gfortran requires GMP and MPFR. Importing these libraries for gfortran support would be a mistake. Afterall, GMP was in the base at one point in time and it was removed. > Also, if there is no maintainer for a port, it ease the decision > about which one to keep without having to get in a language/religion war. A port for gfortran is maintained, so this isn't an issue. Additionally, I'm listed as a gfortran maintainer and I almost exclusively use FreeBSD, so gfortran orphaning FreeBSD won't happen. -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 21:46:03 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD97E16A5F5 for ; Sat, 27 May 2006 21:46:01 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail11.syd.optusnet.com.au (mail11.syd.optusnet.com.au [211.29.132.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF96443D5A for ; Sat, 27 May 2006 21:45:58 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail11.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4RLjulX013389 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 28 May 2006 07:45:56 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4RLjukX025124; Sun, 28 May 2006 07:45:56 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4RLjuue025123; Sun, 28 May 2006 07:45:56 +1000 (EST) (envelope-from peter) Date: Sun, 28 May 2006 07:45:56 +1000 From: Peter Jeremy To: Steve Kargl Message-ID: <20060527214555.GK744@turion.vk2pj.dyndns.org> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <20060527035306.GH744@turion.vk2pj.dyndns.org> <672BC9B0-5BE8-41CF-B5F0-5E00DD686A54@orthanc.ca> <20060527042517.GA3503@troutmask.apl.washington.edu> <20060527011519.P23860@orthanc.ca> <20060527161027.GB7307@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060527161027.GB7307@troutmask.apl.washington.edu> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 21:46:10 -0000 On Sat, 2006-May-27 09:10:27 -0700, Steve Kargl wrote: >without problems. If you want to see a performance comparison >of gfortran 4.1 with other compilers, see > >http://www.physik.fu-berlin.de/~tburnus/benchmark/polyhedron05.html That's a nice set of numbers but there's no indication whether higher or lower numbers are better. -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Sat May 27 22:11:55 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DEC116CC75 for ; Sat, 27 May 2006 22:00:28 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4FA343D53 for ; Sat, 27 May 2006 22:00:27 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k4RM0RMF015192; Sat, 27 May 2006 15:00:27 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k4RM0R8G015191; Sat, 27 May 2006 15:00:27 -0700 Date: Sat, 27 May 2006 15:00:27 -0700 From: Brooks Davis To: Mike Jakubik Message-ID: <20060527220027.GA14039@odin.ac.hmc.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <20060527032148.GA2777@troutmask.apl.washington.edu> <4477CB59.6040802@rogers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <4477CB59.6040802@rogers.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org, Steve Kargl Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 22:12:20 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 26, 2006 at 11:45:29PM -0400, Mike Jakubik wrote: > Steve Kargl wrote: > >On Fri, May 26, 2006 at 11:14:09PM -0400, Mike Jakubik wrote: > > =20 > >>Agreed, who the hell still uses Fortran? > >> =20 > > > >I don't see a smiley, so I can only assume you're speaking > >out of ignorance of the Fortran language. I guess I can > >also assume you have no knowledge of numerical analysis=20 > >and high performance computing. > > > >PS: Check the ChangeLog for gfortran. >=20 > Yes, i have no experience with Fortran, but the words high performance=20 > computing and the name of a prehistoric programming language just don't= =20 > appear in my sentences. Once again, who the hell uses Fortan on FreeBSD?= =20 > 0.1% of all users? Dozens of my users use FORTRAN on our FreeBSD cluster. It's highly unlikely this will change any time in the next decade. I'm sorry you're so isolated in your own little world that you can't imagine that anyone else could have have different requirements than you. It's really rather sad. :( -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEeMv6XY6L6fI4GtQRAhF9AJ4/mszBW+6CFn7hwJgQj3I+AeNFowCeLodo +Y/q85BsBulURYXs7B6Jirg= =oeDq -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm-- From owner-freebsd-current@FreeBSD.ORG Sat May 27 22:12:43 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 350A616BBD2 for ; Sat, 27 May 2006 22:09:38 +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 C952743D48 for ; Sat, 27 May 2006 22:09:37 +0000 (GMT) (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.13.6/8.13.6) with ESMTP id k4RM9S8l010112; Sat, 27 May 2006 15:09:28 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4RM9Sq4010111; Sat, 27 May 2006 15:09:28 -0700 (PDT) (envelope-from sgk) Date: Sat, 27 May 2006 15:09:28 -0700 From: Steve Kargl To: Brooks Davis Message-ID: <20060527220928.GA10094@troutmask.apl.washington.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <447809E6.60002@samsco.org> <20060527162407.GD7307@troutmask.apl.washington.edu> <20060527220501.GB14039@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060527220501.GB14039@odin.ac.hmc.edu> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 22:12:53 -0000 On Sat, May 27, 2006 at 03:05:01PM -0700, Brooks Davis wrote: > > As long as we get a binary named gfortran (and not gfortran41 or what > ever) I'm OK with moving this out of the base. > The complete text of the Makefile is MASTERDIR= ${.CURDIR}/../gcc41/ PKGNAMESUFFIX= -withfortran WITH_FORTRAN= yes DESCR= ${.CURDIR}/pkg-descr PKGMESSAGE= ${.CURDIR}/pkg-message .include "${MASTERDIR}/Makefile" You'll also want to do cat > /usr/bin/f77 #! /bin/sh /usr/local/bin/gfortran $@ -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 27 22:17:24 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 073BD16CBEB for ; Sat, 27 May 2006 22:05:02 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8497343D58 for ; Sat, 27 May 2006 22:05:02 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k4RM52nm015578; Sat, 27 May 2006 15:05:02 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k4RM51fU015577; Sat, 27 May 2006 15:05:01 -0700 Date: Sat, 27 May 2006 15:05:01 -0700 From: Brooks Davis To: Steve Kargl Message-ID: <20060527220501.GB14039@odin.ac.hmc.edu> References: <20060527024407.GA2525@troutmask.apl.washington.edu> <447809E6.60002@samsco.org> <20060527162407.GD7307@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline In-Reply-To: <20060527162407.GD7307@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Removal of Fortran from the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 22:17:32 -0000 --DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 27, 2006 at 09:24:07AM -0700, Steve Kargl wrote: > On Sat, May 27, 2006 at 02:12:22AM -0600, Scott Long wrote: > > Steve Kargl wrote: > > >In a recent email to freebsd-current, > > >http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063435.html > > >Alexander Kabaev stated that the import of GCC 4.1.1 is coming soon. > > > > > >I propose that Fortran support in the base system be removed > > >when GCC 4.1.1 is imported. > > > > >=20 > > Nominate an appropriate replacement in ports, and we'll add it to the > > CD package set. That replacement should then become the default > > dependency in the ports tree. > >=20 >=20 > ports/lang/gfortran >=20 > >From the Makefile >=20 > MASTERDIR=3D ${.CURDIR}/../gcc41/ > PKGNAMESUFFIX=3D -withfortran > WITH_FORTRAN=3D yes >=20 > Thus, this gfortran will be the one that is bundled with GCC 4.1.1 > by the FSF foundation. I know this version works (for some definition > of work) on i386 and amd64 FreeBSD. I don't have access to other > archs for testing. As long as we get a binary named gfortran (and not gfortran41 or what ever) I'm OK with moving this out of the base. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --DBIVS5p969aUjpLe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEeM0MXY6L6fI4GtQRAupBAJ4liGspHnUMCQjltP63zAXPzD3cWACeKxj7 1ucmgjQ0P5nvmDmdiPKPQ0Y= =Fep1 -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe--