From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 02:01:02 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52E0816A401 for ; Sun, 25 Feb 2007 02:01:02 +0000 (UTC) (envelope-from dakfreebsd@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by mx1.freebsd.org (Postfix) with ESMTP id 10F9913C471 for ; Sun, 25 Feb 2007 02:01:01 +0000 (UTC) (envelope-from dakfreebsd@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so961701nzh for ; Sat, 24 Feb 2007 18:01:00 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Qk01YV3hydiYEduPzFtGqDz1q/Um8lhEnYKi83b+Nvs6fboVmit8AOiyWjva/JyJoMLgd+DXwpKXLW9ZKajVDrIT8upkYr5iPQbAtjaIhYapOaFPmaOL9K1PgMeRDiUGPu848U8aA5KlYitUTKB5VNbgzWTG21QsKdm3n1Likks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ZXP3n7rK/OFIN4Z4H9+u1cst8JLTxk3VO7aPPHO0055V44ShgzwkaIE5d46zHItHajs6EYCVkjbwbQ7Eccc2EertDxTvFo1gAFduNQ4eixhXUJeTZTDY/EDARYheaFwh+dwR87u1G9iMx/QV8u7CygIh9Y2PBtMsgrQvu+VP2uM= Received: by 10.114.135.1 with SMTP id i1mr1620027wad.1172368859886; Sat, 24 Feb 2007 18:00:59 -0800 (PST) Received: by 10.114.157.16 with HTTP; Sat, 24 Feb 2007 18:00:59 -0800 (PST) Message-ID: <5df74baa0702241800u34b7d908o55e1e8a5ba79b7bc@mail.gmail.com> Date: Sat, 24 Feb 2007 21:00:59 -0500 From: "DAK GHATIKACHALAM" To: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org In-Reply-To: <20070224194832.42767.qmail@web27705.mail.ukl.yahoo.com> MIME-Version: 1.0 References: <20070224194832.42767.qmail@web27705.mail.ukl.yahoo.com> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Fwd: Wireless card not being detected X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 02:01:02 -0000 I wonder why these fraudulent scam artists/spammers abusing our freebsd lists. They are in wrong place with wrong people. I am not buying your idea anyway. dude, you chose a wrong person. Thanks Dak ---------- Forwarded message ---------- From: wale qazim Date: Feb 24, 2007 2:48 PM Subject: Re: Wireless card not being detected To: DAK GHATIKACHALAM Hello, I want to know if you can sent a Message by Bank Coded Fax or MT Series Swift. I am desperate in need of it as soon as possible, you can as well link me with someone who can do it.. In case you can, please send me mail through money_market@lycos.co.uk. Thank you Regards, Julio Munento ----- Original Message ---- From: DAK GHATIKACHALAM To: freebsd-hackers@freebsd.org Sent: Monday, 19 February, 2007 3:56:56 AM Subject: Wireless card not being detected Hi Freebsd I have an issue with new card I need to make it work with freebsd, on /var/log/messages I get Feb 18 20:51:55 DAK kernel: pccard0: (manufacturer=3D0x0192, produc t=3D0x0710, function_type=3D6) at function 0 Feb 18 20:51:55 DAK kernel: pccard0: CIS info: Sierra Wireless, AC860, 3= G Net work Adapter, R1 For some reason I dont understand why I get unknown card error Does any one has idea Thanks Dak _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" ------------------------------ *Yahoo! Photos*=96 NEW, now offering a quality print servicefrom just 8p a photo. From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 05:24:56 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9BFF16A400 for ; Sun, 25 Feb 2007 05:24:56 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by mx1.freebsd.org (Postfix) with ESMTP id 7685113C4A7 for ; Sun, 25 Feb 2007 05:24:56 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so1007848nzh for ; Sat, 24 Feb 2007 21:24:56 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=DaVU/KUdpJ1ruTpna5dR/Ee5hP/Y5eS3NiLfzJdAOHpRoLSIxwQ4oZNtokra5w9mlsCj+ocEZITKKf7LIAdAHxyAd4tbMEZzCQNVPCW07ZjRubNVjihTTxZ+ya2Nag3k8CEXGy3+OLhL8c9fksJsVXpD+FJenw07BRkzJCyYof4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=m4uur+LyKmPnoci8IFDP8pO5oku3FySw0atllgA6jZMltPvoyk+1xj5T9cKzzkLP2LukK2yTzjDJoXMUnhspL1UdoE2MEribtzIo6Xkb2nImitVDIX3anQ1K3iQP+Wngm89/Jk+CptBzD6B6rkVMNUYtnVdcY14JXfNjNnoG8UQ= Received: by 10.114.111.1 with SMTP id j1mr1666790wac.1172379635166; Sat, 24 Feb 2007 21:00:35 -0800 (PST) Received: by 10.115.108.15 with HTTP; Sat, 24 Feb 2007 21:00:35 -0800 (PST) Message-ID: <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> Date: Sat, 24 Feb 2007 22:00:35 -0700 From: "Coleman Kane" To: "Kris Kennaway" In-Reply-To: <20070224213111.GB41434@xor.obsecurity.org> MIME-Version: 1.0 References: <20070224213111.GB41434@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: smp@freebsd.org, hackers@freebsd.org, current@freebsd.org Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@cokane.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 05:24:56 -0000 On 2/24/07, Kris Kennaway wrote: > > Now that the goals of the SMPng project are complete, for the past > year or more several of us have been working hard on profiling FreeBSD > in various multiprocessor workloads, and looking for performance > bottlenecks to be optimized. > > We have recently made significant progress on optimizing for MySQL > running on an 8-core amd64 system. The graph of results may be found > here: > > http://www.freebsd.org/~kris/scaling/scaling.png > > This shows the graph of MySQL transactions/second performed by a > multi-threaded client workload against a local MySQL database with > varying numbers of client threads, with identically configured FreeBSD > and Linux systems on the same machine. > > The test was run on FreeBSD 7.0, with the latest version of the ULE > 2.0 scheduler, the libthr threading library, and an uncommitted patch > from Jeff Roberson [1] that addresses poor scalability of file > descriptor locking (using a new sleepable mutex primitive); this patch > is responsible for almost all of the performance and scaling > improvements measured. It also includes some other patches (collected > in my kris-contention p4 branch) that have been shown to help > contention in MySQL workloads in the past (including a UNIX domain > socket locking pushdown patch from Robert Watson), but these were > shown to only give small individual contributions, with a cumulative > effect on the order of 5-10%. > > With this configuration we are able to achieve performance that is > consistent with Linux at peak (the graph shows Linux 2% faster, but > this is commensurate with the margin of error coming from variance > between runs, so more data is needed to distinguish them), with 8 > client threads (=1 thread/CPU core), and significantly outperforms > Linux at higher than peak loads, when running on the same hardware. > > Specifically, beyond 8 client threads FreeBSD has only minor > performance degradation (an 8% drop from peak throughput at 8 clients > to 20 clients), but Linux collapses immediately above 8 threads, and > above 14 threads asymptotes to essentially single-threaded levels. At > 20 clients FreeBSD outperforms Linux by a factor of 4. > > We see this result as part of the payoff we are seeing from the hard > work of many developers over the past 7 years. In particular it is a > significant validation of the SMP and locking strategies chosen for > the FreeBSD kernel in the post-FreeBSD 4.x world. > > More configuration details and discussion about the benchmark may be > found here: > > http://people.freebsd.org/~kris/scaling/mysql.html > > Kris > > What does the performance curve look like for the in-CVS 7-CURRENT tree with 4BSD or ULE ? How do those stand up against the Linux SMP scheduler for scalability. It would be nice to see the comparison displayed to see what the performance improvements of the aforementioned patch were realized to. This would likely be a nice graphics for the SMPng project page, BTW... -- Coleman From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 05:41:22 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A35716A404; Sun, 25 Feb 2007 05:41:22 +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 EA7F213C4B4; Sun, 25 Feb 2007 05:41:21 +0000 (UTC) (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 CB7FD1A4D80; Sat, 24 Feb 2007 21:41:21 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D070E51446; Sun, 25 Feb 2007 00:41:20 -0500 (EST) Date: Sun, 25 Feb 2007 00:41:20 -0500 From: Kris Kennaway To: cokane@cokane.org Message-ID: <20070225054120.GA47059@xor.obsecurity.org> References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: smp@freebsd.org, hackers@freebsd.org, current@freebsd.org, Kris Kennaway Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 05:41:22 -0000 On Sat, Feb 24, 2007 at 10:00:35PM -0700, Coleman Kane wrote: > What does the performance curve look like for the in-CVS 7-CURRENT tree with > 4BSD or ULE ? How do those stand up against the Linux SMP scheduler for > scalability. It would be nice to see the comparison displayed to see what > the performance improvements of the aforementioned patch were realized to. > This would likely be a nice graphics for the SMPng project page, BTW... There are graphs of this on Jeff's blog, referenced in that URL. Fixing filedesc locking makes a HUGE difference. Kris From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 06:03:06 2007 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC9E516A402; Sun, 25 Feb 2007 06:03:06 +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 980AD13C474; Sun, 25 Feb 2007 06:03:06 +0000 (UTC) (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 7C9901A4D80; Sat, 24 Feb 2007 22:03:06 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C926951C41; Sun, 25 Feb 2007 01:03:05 -0500 (EST) Date: Sun, 25 Feb 2007 01:03:05 -0500 From: Kris Kennaway To: Coleman Kane Message-ID: <20070225060305.GA47361@xor.obsecurity.org> References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> <20070225054120.GA47059@xor.obsecurity.org> <20070225054755.GA33858@ramen.coleyandcheryl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070225054755.GA33858@ramen.coleyandcheryl> User-Agent: Mutt/1.4.2.2i Cc: smp@FreeBSD.org, hackers@FreeBSD.org, current@FreeBSD.org, Kris Kennaway Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 06:03:06 -0000 On Sun, Feb 25, 2007 at 05:47:55AM +0000, Coleman Kane wrote: > On Sun, Feb 25, 2007 at 12:41:20AM -0500, Kris Kennaway wrote, and it was proclaimed: > > On Sat, Feb 24, 2007 at 10:00:35PM -0700, Coleman Kane wrote: > > > > > What does the performance curve look like for the in-CVS 7-CURRENT tree with > > > 4BSD or ULE ? How do those stand up against the Linux SMP scheduler for > > > scalability. It would be nice to see the comparison displayed to see what > > > the performance improvements of the aforementioned patch were realized to. > > > This would likely be a nice graphics for the SMPng project page, BTW... > > > > There are graphs of this on Jeff's blog, referenced in that URL. > > Fixing filedesc locking makes a HUGE difference. > > > > Kris > > Thanks. I saw that shortly after I sent the email... /me stupid. > > How stable is ULE now since the recent swath of rewrites in the past months? I think what is in CVS for 7.x is pretty stable. One of the difficult things with schedulers is making sure that all workloads perform well, so testing in different environments is always helpful. Kris P.S. ULE in 6.x is still not recommended, but hopefully the fixes can be merged at some point. From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 06:09:10 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 379F816A401; Sun, 25 Feb 2007 06:09:10 +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 1FE7E13C491; Sun, 25 Feb 2007 06:09:10 +0000 (UTC) (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 0433C1A4D80; Sat, 24 Feb 2007 22:09:10 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3463E51C41; Sun, 25 Feb 2007 01:09:09 -0500 (EST) Date: Sun, 25 Feb 2007 01:09:09 -0500 From: Kris Kennaway To: Andre Guibert de Bruet Message-ID: <20070225060908.GA47476@xor.obsecurity.org> References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> <20070225054120.GA47059@xor.obsecurity.org> <1C143520-B893-4F43-8F7E-04B021D2EE69@siliconlandmark.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <1C143520-B893-4F43-8F7E-04B021D2EE69@siliconlandmark.com> User-Agent: Mutt/1.4.2.2i Cc: smp@freebsd.org, hackers@freebsd.org, current@freebsd.org, Kris Kennaway Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 06:09:10 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 25, 2007 at 01:05:53AM -0500, Andre Guibert de Bruet wrote: > On Feb 25, 2007, at 12:41 AM, Kris Kennaway wrote: >=20 > >On Sat, Feb 24, 2007 at 10:00:35PM -0700, Coleman Kane wrote: > > > >>What does the performance curve look like for the in-CVS 7-CURRENT =20 > >>tree with > >>4BSD or ULE ? How do those stand up against the Linux SMP =20 > >>scheduler for > >>scalability. It would be nice to see the comparison displayed to =20 > >>see what > >>the performance improvements of the aforementioned patch were =20 > >>realized to. > >>This would likely be a nice graphics for the SMPng project page, =20 > >>BTW... > > > >There are graphs of this on Jeff's blog, referenced in that URL. > >Fixing filedesc locking makes a HUGE difference. >=20 > Kris, >=20 > This is fantastic news! Is there an approximate date for when all of =20 > these patches are going to hit CVS? Hopefully within a week or two. It might not be that exact patch, I think John wants to try and do it a bit differently instead of introducing a new locking primitive just for this. Kris --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF4SgEWry0BWjoQKURAorkAJ42xCwaSaaBP4BpoRf6gWmJ1HMxsgCeI6uH hj9/ZDlMxdlVeW+3ry/seJE= =Uks7 -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g-- From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 06:32:54 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D48416A400 for ; Sun, 25 Feb 2007 06:32:54 +0000 (UTC) (envelope-from cokane@mail.cokane.org) Received: from ms-smtp-01.texas.rr.com (ms-smtp-01.texas.rr.com [24.93.47.40]) by mx1.freebsd.org (Postfix) with ESMTP id 6068913C48D for ; Sun, 25 Feb 2007 06:32:54 +0000 (UTC) (envelope-from cokane@mail.cokane.org) Received: from ramen.cokane.org (rrcs-24-153-184-158.sw.biz.rr.com [24.153.184.158]) by ms-smtp-01.texas.rr.com (8.13.6/8.13.6) with SMTP id l1P5mRD2007913 for ; Sat, 24 Feb 2007 23:48:27 -0600 (CST) Received: (qmail 33918 invoked by uid 1001); 25 Feb 2007 05:47:55 -0000 Date: Sun, 25 Feb 2007 05:47:55 +0000 From: Coleman Kane To: Kris Kennaway Message-ID: <20070225054755.GA33858@ramen.coleyandcheryl> References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> <20070225054120.GA47059@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070225054120.GA47059@xor.obsecurity.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: smp@freebsd.org, hackers@freebsd.org, current@freebsd.org Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 06:32:54 -0000 On Sun, Feb 25, 2007 at 12:41:20AM -0500, Kris Kennaway wrote, and it was proclaimed: > On Sat, Feb 24, 2007 at 10:00:35PM -0700, Coleman Kane wrote: > > > What does the performance curve look like for the in-CVS 7-CURRENT tree with > > 4BSD or ULE ? How do those stand up against the Linux SMP scheduler for > > scalability. It would be nice to see the comparison displayed to see what > > the performance improvements of the aforementioned patch were realized to. > > This would likely be a nice graphics for the SMPng project page, BTW... > > There are graphs of this on Jeff's blog, referenced in that URL. > Fixing filedesc locking makes a HUGE difference. > > Kris Thanks. I saw that shortly after I sent the email... /me stupid. How stable is ULE now since the recent swath of rewrites in the past months? -- coleman From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 06:55:21 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47FA516A583 for ; Sun, 25 Feb 2007 06:55:21 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by mx1.freebsd.org (Postfix) with ESMTP id 0103E13C478 for ; Sun, 25 Feb 2007 06:55:20 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so1026176nzh for ; Sat, 24 Feb 2007 22:55:20 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Y4mjtnOw/qI3fKB8r5Q8q45bTHVeX/0HsXaWJT4WZv9PHpQ1qoNDP76g/ifS5R6UpIU2hzXwXp2ouITOEvJSvtiD+h4f0Tol0ujs7HmmwLc2+Adb3sBfYdH79JR5Qk9JIDduaBlYF+oeLTPQ5K3ht0/8/tX36PL2RVwSllC5KgY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=tW+6gMGMmh1hAnc1cqFcv1QWnesl3Y8k+RT97Jgkuy7uOjLznTFVP9AqMRjz+QOJR9F3YUBp/0F5HrEITfNq97QJmwHRe+zZ652udJ5jjKhrSYhpNE2uxqY3gAk9o1AyWMw1k89Mxn7qyLQrmGTkkUZYe+YQJvmXyXtK8gm6NF0= Received: by 10.114.111.1 with SMTP id j1mr1685595wac.1172386519245; Sat, 24 Feb 2007 22:55:19 -0800 (PST) Received: by 10.115.108.15 with HTTP; Sat, 24 Feb 2007 22:55:19 -0800 (PST) Message-ID: <346a80220702242255q409e668eqcad84d848d363bd2@mail.gmail.com> Date: Sat, 24 Feb 2007 23:55:19 -0700 From: "Coleman Kane" To: "Kris Kennaway" In-Reply-To: <20070225060305.GA47361@xor.obsecurity.org> MIME-Version: 1.0 References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> <20070225054120.GA47059@xor.obsecurity.org> <20070225054755.GA33858@ramen.coleyandcheryl> <20070225060305.GA47361@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: smp@freebsd.org, hackers@freebsd.org, current@freebsd.org, Coleman Kane Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@cokane.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 06:55:21 -0000 On 2/24/07, Kris Kennaway wrote: > > On Sun, Feb 25, 2007 at 05:47:55AM +0000, Coleman Kane wrote: > > On Sun, Feb 25, 2007 at 12:41:20AM -0500, Kris Kennaway wrote, and it > was proclaimed: > > > On Sat, Feb 24, 2007 at 10:00:35PM -0700, Coleman Kane wrote: > > > > > > > What does the performance curve look like for the in-CVS 7-CURRENT > tree with > > > > 4BSD or ULE ? How do those stand up against the Linux SMP scheduler > for > > > > scalability. It would be nice to see the comparison displayed to see > what > > > > the performance improvements of the aforementioned patch were > realized to. > > > > This would likely be a nice graphics for the SMPng project page, > BTW... > > > > > > There are graphs of this on Jeff's blog, referenced in that URL. > > > Fixing filedesc locking makes a HUGE difference. > > > > > > Kris > > > > Thanks. I saw that shortly after I sent the email... /me stupid. > > > > How stable is ULE now since the recent swath of rewrites in the past > months? > > I think what is in CVS for 7.x is pretty stable. One of the difficult > things with schedulers is making sure that all workloads perform well, > so testing in different environments is always helpful. > > Kris > > P.S. ULE in 6.x is still not recommended, but hopefully the fixes can > be merged at some point. I primarily use 7-CURRENT on my laptop. At some point I had ULE enabled just to share my experiences with development. What is the status with ULE on UP systems? Is it expected to be on-par or better than 4BSD, or is it now only recommended for MP? -- coleman From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 07:55:37 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3AF8016A407 for ; Sun, 25 Feb 2007 07:55:37 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.freebsd.org (Postfix) with ESMTP id E972513C48E for ; Sun, 25 Feb 2007 07:55:36 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 14E317E8DB; Sun, 25 Feb 2007 02:23:51 -0500 (EST) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id btDRSPR8A60A; Sun, 25 Feb 2007 02:23:50 -0500 (EST) Received: from [192.168.0.2] (74-130-30-11.dhcp.insightbb.com [74.130.30.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id 4FA0B7E8B8; Sun, 25 Feb 2007 02:23:48 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v752.2) To: FreeBSD Questions , freebsd-hackers@freebsd.org Message-Id: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-49-807479312" From: Joe Auty Date: Sun, 25 Feb 2007 02:23:27 -0500 Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Gpgmail-State: signed X-Mailer: Apple Mail (2.752.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 07:55:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-49-807479312 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hello, (sorry, don't know whether kernel problems should go to questions or hackers, or both).. This has been a long-standing problem of mine, but I always ignored it hoping it would go away on its own with a future 6.x release, but it remains... No matter whether I boot into safe mode or regular mode, with all kernel extensions disabled in /boot/loader.conf, I get the following panic late at boot of a fresh RELENG_6_2 kernel (with only a few services left to bring up). The 6.x kernels I've tried all build and installed cleanly without any errors... > WARNING: Device driver " > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x400000 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc06d4614 > stack pointer = 0x28:0xf015491c > frame pointer = 0x28:0xf015491c > code segment = base 0x0, limit 0xffffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interupt enabled, resume, IOPL = 0 > current process = 898 (kldload) > trap number = 12 > panic: page fault > uptime: 36s > cannot dump. No dump device defined > automatic reboot in 15 seconds This problem does not occur within any 5.x OS for me. I would certainly like to resolve this issue now, but this sort of debugging is over my head beyond running fsck (which I've tried). Any ideas here? Thanks in advance for your help! ----------- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org joe@netmusician.org --Apple-Mail-49-807479312 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF4TlvCgdfeCwsL5ERAu24AKCYwh3+1CLTOOF9pul+NKSvZwbZ8gCdHUzb rI2eeU5pVvIeARzxPFB8iu4= =f2ZW -----END PGP SIGNATURE----- --Apple-Mail-49-807479312-- From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 07:59:57 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD53D16A402 for ; Sun, 25 Feb 2007 07:59:57 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id 3E94913C481 for ; Sun, 25 Feb 2007 07:59:57 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so897740muf for ; Sat, 24 Feb 2007 23:59:55 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jnAcvstAS3ww8P5divm4RqY7iU8cV4F1RTo/hxyZbbBEYSVzycNcYbj205Uh8EDeba76UT0BfnYTPFp4MDFkGM2eVG4MQu/A8r4RHx3MhtgZY4m9it43YbGcBOX8xVQeCV64dgnw3wVZCn57YuRJOuGoQN74273uH7VdRTLEezg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cMa5J0pTHXG48RXXB/NQlgQHRH6scPe6NHlZ6JqMcqh9rjUGxI0KaMQU+zVQ+/qZaR3r8n7zhRL0nB05weeNOIZ36inTZ6wnaX/e8oMWWDsY8QX8IL3S1q/pa6FoAJ5cj0vxyIw1jhbKOekJepusBnTCmdSFNIF+xtCCBzk2O9I= Received: by 10.82.177.3 with SMTP id z3mr1224965bue.1172390395751; Sat, 24 Feb 2007 23:59:55 -0800 (PST) Received: by 10.82.151.15 with HTTP; Sat, 24 Feb 2007 23:59:55 -0800 (PST) Message-ID: Date: Sat, 24 Feb 2007 23:59:55 -0800 From: "Kip Macy" To: "Joe Auty" In-Reply-To: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org> Cc: freebsd-hackers@freebsd.org, FreeBSD Questions Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 07:59:57 -0000 It looks as if you've hit a device driver that is trying to print out a null string. The message you've given doesn't provide any more information than that. If you install a snapshot kernel it will probably have ddb compiled in which will allow you to at least get a backtrace. I'm sorry you're having trouble. -Kip On 2/24/07, Joe Auty wrote: > Hello, > > (sorry, don't know whether kernel problems should go to questions or > hackers, or both).. > > This has been a long-standing problem of mine, but I always ignored > it hoping it would go away on its own with a future 6.x release, but > it remains... > > No matter whether I boot into safe mode or regular mode, with all > kernel extensions disabled in /boot/loader.conf, I get the following > panic late at boot of a fresh RELENG_6_2 kernel (with only a few > services left to bring up). The 6.x kernels I've tried all build and > installed cleanly without any errors... > > > > WARNING: Device driver " > > > > Fatal trap 12: page fault while in kernel mode > > fault virtual address = 0x400000 > > fault code = supervisor read, page not present > > instruction pointer = 0x20:0xc06d4614 > > stack pointer = 0x28:0xf015491c > > frame pointer = 0x28:0xf015491c > > code segment = base 0x0, limit 0xffffff, type 0x1b > > = DPL 0, pres 1, def32 1, gran 1 > > processor eflags = interupt enabled, resume, IOPL = 0 > > current process = 898 (kldload) > > trap number = 12 > > panic: page fault > > uptime: 36s > > cannot dump. No dump device defined > > automatic reboot in 15 seconds > > > This problem does not occur within any 5.x OS for me. I would > certainly like to resolve this issue now, but this sort of debugging > is over my head beyond running fsck (which I've tried). Any ideas here? > > Thanks in advance for your help! > > > > > > ----------- > Joe Auty > NetMusician: web publishing software for musicians > http://www.netmusician.org > joe@netmusician.org > > > > From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 10:51:33 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24A9816A400; Sun, 25 Feb 2007 10:51: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 E9A4913C46B; Sun, 25 Feb 2007 10:51:32 +0000 (UTC) (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 21C89478BF; Sun, 25 Feb 2007 05:51:32 -0500 (EST) Date: Sun, 25 Feb 2007 10:51:31 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Kris Kennaway In-Reply-To: <20070225054120.GA47059@xor.obsecurity.org> Message-ID: <20070225104709.S36322@fledge.watson.org> References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> <20070225054120.GA47059@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: smp@freebsd.org, hackers@freebsd.org, current@freebsd.org, cokane@cokane.org Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 10:51:33 -0000 On Sun, 25 Feb 2007, Kris Kennaway wrote: > On Sat, Feb 24, 2007 at 10:00:35PM -0700, Coleman Kane wrote: > >> What does the performance curve look like for the in-CVS 7-CURRENT tree >> with 4BSD or ULE ? How do those stand up against the Linux SMP scheduler >> for scalability. It would be nice to see the comparison displayed to see >> what the performance improvements of the aforementioned patch were realized >> to. This would likely be a nice graphics for the SMPng project page, BTW... > > There are graphs of this on Jeff's blog, referenced in that URL. Fixing > filedesc locking makes a HUGE difference. I think the real message of all this is that our locking strategy is basically pretty reasonable for the paths exercised by this (and quite a few) workloads, but our low-level scheduler and locking primitives need a lot of refinement. The next step here is to look at the impact of these changes (individually and together) with other hardware configurations and other workloads. On the hardware side, I'd very much like to see measurements done on that rather nasty generation of Intel Xeon P4's where the costs of mutexes were astronomically out of proportion with other operation costs, which historically has heavily pessimized ULE due to the additional locking it had (don't know if this still applies). It would be really great if we could find "workload owners" who would maintain easy-to-run benchmark configurations and also run them regularly on a fixed hardware configuration over a long time publishing results and testing patches. Kris has done this for SQL benchmarks to great effect, giving a nice controlled testing environment for a host of performance-related patches, but SQL is not the be-all and end-all of application workloads, so having others do similar things with other benchmarks would be very helpful. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 11:03:57 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3A6D16A474 for ; Sun, 25 Feb 2007 11:03:57 +0000 (UTC) (envelope-from Danovitsch@vitsch.net) Received: from amsfep17-int.chello.nl (amsfep17-int.chello.nl [62.179.120.12]) by mx1.freebsd.org (Postfix) with ESMTP id E47EB13C4D5 for ; Sun, 25 Feb 2007 11:03:54 +0000 (UTC) (envelope-from Danovitsch@vitsch.net) Received: from Tuinhuisje.Vitsch.net ([62.195.87.223]) by amsfep16-int.chello.nl (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20070225104628.FCIS27463.amsfep16-int.chello.nl@Tuinhuisje.Vitsch.net>; Sun, 25 Feb 2007 11:46:28 +0100 Received: from self (f187184.upc-f.chello.nl [80.56.187.184]) (authenticated bits=0) by Tuinhuisje.Vitsch.net (8.13.1/8.13.1) with ESMTP id l1PAkBm4008511; Sun, 25 Feb 2007 11:46:17 +0100 (CET) (envelope-from Danovitsch@vitsch.net) From: "Daan Vreeken [PA4DAN]" Organization: Vitsch Electronics To: "Kip Macy" Date: Sun, 25 Feb 2007 11:46:07 +0100 User-Agent: KMail/1.9.1 References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702251146.08150.Danovitsch@vitsch.net> Cc: freebsd-hackers@freebsd.org, Joe Auty , freebsd-questions@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 11:03:58 -0000 On Sunday 25 February 2007 08:59, Kip Macy wrote: > It looks as if you've hit a device driver that is trying to print out > a null string. The message you've given doesn't provide any more > information than that. If you install a snapshot kernel it will > probably have ddb compiled in which will allow you to at least get a > backtrace. I'm sorry you're having trouble. Grepping the source tree on 6.2-RELEASE shows this message can only have com from one place : sys/kern/kern_conf.c in the function prep_cdevsw() : if (devsw->d_version != D_VERSION_01) { printf( "WARNING: Device driver \"%s\" has wrong version %s\n", devsw->d_name == NULL ? "???" : devsw->d_name, "and is disabled. Recompile KLD module."); Looks like the kernel and the modules are out of sync. > On 2/24/07, Joe Auty wrote: > > Hello, > > > > (sorry, don't know whether kernel problems should go to questions or > > hackers, or both).. > > > > This has been a long-standing problem of mine, but I always ignored > > it hoping it would go away on its own with a future 6.x release, but > > it remains... > > > > No matter whether I boot into safe mode or regular mode, with all > > kernel extensions disabled in /boot/loader.conf, I get the following > > panic late at boot of a fresh RELENG_6_2 kernel (with only a few > > services left to bring up). The 6.x kernels I've tried all build and > > installed cleanly without any errors... > > > > > WARNING: Device driver " > > > > > > Fatal trap 12: page fault while in kernel mode > > > fault virtual address = 0x400000 > > > fault code = supervisor read, page not present > > > instruction pointer = 0x20:0xc06d4614 > > > stack pointer = 0x28:0xf015491c > > > frame pointer = 0x28:0xf015491c > > > code segment = base 0x0, limit 0xffffff, type 0x1b > > > = DPL 0, pres 1, def32 1, gran 1 > > > processor eflags = interupt enabled, resume, IOPL = 0 > > > current process = 898 (kldload) > > > trap number = 12 > > > panic: page fault > > > uptime: 36s > > > cannot dump. No dump device defined > > > automatic reboot in 15 seconds > > > > This problem does not occur within any 5.x OS for me. I would > > certainly like to resolve this issue now, but this sort of debugging > > is over my head beyond running fsck (which I've tried). Any ideas here? > > > > Thanks in advance for your help! > > > > > > > > > > > > ----------- > > Joe Auty > > NetMusician: web publishing software for musicians > > http://www.netmusician.org > > joe@netmusician.org > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Daan From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 06:21:10 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5B3F16A400; Sun, 25 Feb 2007 06:21:10 +0000 (UTC) (envelope-from andy@siliconlandmark.com) Received: from lexi.siliconlandmark.com (lexi.siliconlandmark.com [209.69.98.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8DA7B13C441; Sun, 25 Feb 2007 06:21:10 +0000 (UTC) (envelope-from andy@siliconlandmark.com) Received: from [10.0.1.5] (cpe-24-33-245-212.twmi.res.rr.com [24.33.245.212]) by lexi.siliconlandmark.com (8.13.8/8.13.3) with ESMTP id l1P65rJa028783; Sun, 25 Feb 2007 01:05:53 -0500 (EST) (envelope-from andy@siliconlandmark.com) In-Reply-To: <20070225054120.GA47059@xor.obsecurity.org> References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> <20070225054120.GA47059@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1C143520-B893-4F43-8F7E-04B021D2EE69@siliconlandmark.com> Content-Transfer-Encoding: 7bit From: Andre Guibert de Bruet Date: Sun, 25 Feb 2007 01:05:53 -0500 To: Kris Kennaway X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: ClamAV 0.88.7/2647/Sat Feb 24 19:13:21 2007 on lexi.siliconlandmark.com X-Virus-Status: Clean X-Information: Please contact the ISP for more information X-SL-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SL-SpamCheck: not spam, SpamAssassin (not cached, score=-0.014, required 6, AWL 0.54, BAYES_00 -2.60, RCVD_IN_SORBS_DUL 2.05, SPF_PASS -0.00) X-MailScanner-From: andy@siliconlandmark.com X-Mailman-Approved-At: Sun, 25 Feb 2007 12:32:23 +0000 Cc: smp@freebsd.org, hackers@freebsd.org, current@freebsd.org Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 06:21:10 -0000 On Feb 25, 2007, at 12:41 AM, Kris Kennaway wrote: > On Sat, Feb 24, 2007 at 10:00:35PM -0700, Coleman Kane wrote: > >> What does the performance curve look like for the in-CVS 7-CURRENT >> tree with >> 4BSD or ULE ? How do those stand up against the Linux SMP >> scheduler for >> scalability. It would be nice to see the comparison displayed to >> see what >> the performance improvements of the aforementioned patch were >> realized to. >> This would likely be a nice graphics for the SMPng project page, >> BTW... > > There are graphs of this on Jeff's blog, referenced in that URL. > Fixing filedesc locking makes a HUGE difference. Kris, This is fantastic news! Is there an approximate date for when all of these patches are going to hit CVS? Keep up the great work! :) Andy /* Andre Guibert de Bruet * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */ /* Code poet / Sysadmin * 636f 656b 2e79 5320 7379 6461 696d 2e6e */ /* GSM: +1 734 846 8758 * 5520 494e 2058 6c73 7565 6874 002e 0000 */ /* WWW: siliconlandmark.com * C/C++, Java, Perl, PHP, SQL, XHTML, XML */ From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 13:51:34 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42EC916A402; Sun, 25 Feb 2007 13:51:34 +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 150C613C4AC; Sun, 25 Feb 2007 13:51:29 +0000 (UTC) (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 406F347885; Sun, 25 Feb 2007 08:51:29 -0500 (EST) Date: Sun, 25 Feb 2007 13:51:29 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Martin Blapp In-Reply-To: <20070225134508.C18301@godot.imp.ch> Message-ID: <20070225132830.O36322@fledge.watson.org> References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> <20070225054120.GA47059@xor.obsecurity.org> <20070225104709.S36322@fledge.watson.org> <20070225134508.C18301@godot.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cokane@cokane.org, smp@freebsd.org, hackers@freebsd.org, current@freebsd.org, Kris Kennaway Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 13:51:34 -0000 On Sun, 25 Feb 2007, Martin Blapp wrote: >> It would be really great if we could find "workload owners" who would >> maintain easy-to-run benchmark configurations and also run them regularly >> on a fixed hardware configuration over a long time publishing results and >> testing patches. Kris has done this for SQL benchmarks to great effect, > > I'm interested in such a workload test. At my job we run various other > servers which have a classic virus/antispam environment. And unfortunatly > clamd behaves not very well on FreeBSD (see mails to freebsd-threads), and > this happens even on 2-CPU systems. > > I think its not very difficult to make a scripted load test, with > 2/4/6/8/16/32 scans in parallel, with ULE or BSD scheduler. As long as it is realistic and reproduceable, it sounds good to me. > Btw: what is the best method to profile a threaded application to see where > it spends the most CPU time ? Try looking at system pmc support -- using system pmcs, you can profile a variety of factors (including CPU use, cache misses, etc) across the whole system (kernel and application), so it's a really neat tool. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 16:15:23 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F69416A402; Sun, 25 Feb 2007 16:15:23 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4A26713C481; Sun, 25 Feb 2007 16:15:23 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 887467E8DC; Sun, 25 Feb 2007 11:15:25 -0500 (EST) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YBdrneUAtLMT; Sun, 25 Feb 2007 11:15:24 -0500 (EST) Received: from [192.168.0.2] (74-130-30-11.dhcp.insightbb.com [74.130.30.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id 84F8D7E8C3; Sun, 25 Feb 2007 11:15:24 -0500 (EST) In-Reply-To: <200702251146.08150.Danovitsch@vitsch.net> References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org> <200702251146.08150.Danovitsch@vitsch.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org> Content-Transfer-Encoding: 7bit From: Joe Auty Date: Sun, 25 Feb 2007 11:14:55 -0500 To: Daan Vreeken [PA4DAN] X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Gpgmail-State: signed X-Mailer: Apple Mail (2.752.2) Cc: Kip Macy , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 16:15:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 25, 2007, at 5:46 AM, Daan Vreeken [PA4DAN] wrote: > On Sunday 25 February 2007 08:59, Kip Macy wrote: >> It looks as if you've hit a device driver that is trying to print out >> a null string. The message you've given doesn't provide any more >> information than that. If you install a snapshot kernel it will >> probably have ddb compiled in which will allow you to at least get a >> backtrace. I'm sorry you're having trouble. > > Grepping the source tree on 6.2-RELEASE shows this message can only > have com > from one place : sys/kern/kern_conf.c in the function prep_cdevsw() : > > if (devsw->d_version != D_VERSION_01) { > printf( > "WARNING: Device driver \"%s\" has wrong > version %s\n", > devsw->d_name == NULL ? "???" : devsw->d_name, > "and is disabled. Recompile KLD module."); > > Looks like the kernel and the modules are out of sync. > Any idea how this could have happened after disabling everything in my /etc/loader.conf, and simply running a: make buildworld make buildkernel KERNCONF=myconfig make installkernel KERNCONF=myconfig Shouldn't this have installed a fresh kernel plus only essential modules? Here is a diff of my kernel config (which I've called, rather uncreatively, 6.x) against GENERIC: nothing unusual, just IPFIREWALL and Linux compat stuff, right? # diff 6.x GENERIC 19c19 < # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.7.2.2 2006/05/01 00:15:12 scottl Exp $ - --- > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon Exp $ 30,42c30 < options IPFIREWALL < options IPFIREWALL_VERBOSE < options IPFIREWALL_VERBOSE_LIMIT=10 < options IPFIREWALL_DEFAULT_TO_ACCEPT < options IPDIVERT < #options VFS_AIO < #options HZ=1200 < #options SMP # Symmetric MultiProcessor Kernel < #device pf < #device pflog < #device pfsync < options COMPAT_LINUX < options BRIDGE - --- > makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 44,49d31 < # Enable the linux-like proc filesystem support (requires COMPAT_LINUX and PSEUDOFS) < options LINPROCFS < < #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols < < #options SCHED_ULE # ULE scheduler 77,80d58 < options AHC_REG_PRETTY_PRINT # Print register bitfields in debug < # output. Adds ~128k to driver. < options AHD_REG_PRETTY_PRINT # Print register bitfields in debug < # output. Adds ~215k to driver. 103a82,83 > options AHC_REG_PRETTY_PRINT # Print register bitfields in debug > # output. Adds ~128k to driver. 104a85,86 > options AHD_REG_PRETTY_PRINT # Print register bitfields in debug > # output. Adds ~215k to driver. 226a209 > device stge # Sundance/Tamarack TC9021 gigabit Ethernet 248a232,234 > device wlan_wep # 802.11 WEP support > device wlan_ccmp # 802.11 CCMP support > device wlan_tkip # 802.11 TKIP support 249a236,238 > device ath # Atheros pci/cardbus NIC's > device ath_hal # Atheros HAL (Hardware Access Layer) > device ath_rate_sample # SampleRate tx rate control for ath > >> On 2/24/07, Joe Auty wrote: >>> Hello, >>> >>> (sorry, don't know whether kernel problems should go to questions or >>> hackers, or both).. >>> >>> This has been a long-standing problem of mine, but I always ignored >>> it hoping it would go away on its own with a future 6.x release, but >>> it remains... >>> >>> No matter whether I boot into safe mode or regular mode, with all >>> kernel extensions disabled in /boot/loader.conf, I get the following >>> panic late at boot of a fresh RELENG_6_2 kernel (with only a few >>> services left to bring up). The 6.x kernels I've tried all build and >>> installed cleanly without any errors... >>> >>>> WARNING: Device driver " >>>> >>>> Fatal trap 12: page fault while in kernel mode >>>> fault virtual address = 0x400000 >>>> fault code = supervisor read, page not present >>>> instruction pointer = 0x20:0xc06d4614 >>>> stack pointer = 0x28:0xf015491c >>>> frame pointer = 0x28:0xf015491c >>>> code segment = base 0x0, limit 0xffffff, type 0x1b >>>> = DPL 0, pres 1, def32 1, gran 1 >>>> processor eflags = interupt enabled, resume, IOPL = 0 >>>> current process = 898 (kldload) >>>> trap number = 12 >>>> panic: page fault >>>> uptime: 36s >>>> cannot dump. No dump device defined >>>> automatic reboot in 15 seconds >>> >>> This problem does not occur within any 5.x OS for me. I would >>> certainly like to resolve this issue now, but this sort of debugging >>> is over my head beyond running fsck (which I've tried). Any ideas >>> here? >>> >>> Thanks in advance for your help! >>> >>> >>> >>> >>> >>> ----------- >>> Joe Auty >>> NetMusician: web publishing software for musicians >>> http://www.netmusician.org >>> joe@netmusician.org >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers- >> unsubscribe@freebsd.org" > > -- > Daan > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers- > unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF4bX/CgdfeCwsL5ERAiKCAJwKUt52wgB1mtqFSYUr8eFV39lpwgCglL4R t+fcWGuCYkjn6lylcrrZeEM= =bca6 -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 16:16:39 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43CA216A401; Sun, 25 Feb 2007 16:16:39 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.freebsd.org (Postfix) with ESMTP id EFA3B13C47E; Sun, 25 Feb 2007 16:16:38 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 4B6FF7E8D4; Sun, 25 Feb 2007 11:16:41 -0500 (EST) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id szno-v4xnvzq; Sun, 25 Feb 2007 11:16:40 -0500 (EST) Received: from [192.168.0.2] (74-130-30-11.dhcp.insightbb.com [74.130.30.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id 8AFD47E8B8; Sun, 25 Feb 2007 11:16:40 -0500 (EST) In-Reply-To: References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <366266A7-38D4-429B-850E-5DDCE9F22F8D@netmusician.org> Content-Transfer-Encoding: 7bit From: Joe Auty Date: Sun, 25 Feb 2007 11:16:11 -0500 To: Kip Macy X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Gpgmail-State: signed X-Mailer: Apple Mail (2.752.2) Cc: freebsd-hackers@freebsd.org, FreeBSD Questions Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 16:16:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey Kip, I'd gladly try a snapshot kernel, but I'm not sure which one to pick out of this list: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.2-RELEASE/kernels Any suggestions? On Feb 25, 2007, at 2:59 AM, Kip Macy wrote: > It looks as if you've hit a device driver that is trying to print out > a null string. The message you've given doesn't provide any more > information than that. If you install a snapshot kernel it will > probably have ddb compiled in which will allow you to at least get a > backtrace. I'm sorry you're having trouble. > > -Kip > > > > > On 2/24/07, Joe Auty wrote: >> Hello, >> >> (sorry, don't know whether kernel problems should go to questions or >> hackers, or both).. >> >> This has been a long-standing problem of mine, but I always ignored >> it hoping it would go away on its own with a future 6.x release, but >> it remains... >> >> No matter whether I boot into safe mode or regular mode, with all >> kernel extensions disabled in /boot/loader.conf, I get the following >> panic late at boot of a fresh RELENG_6_2 kernel (with only a few >> services left to bring up). The 6.x kernels I've tried all build and >> installed cleanly without any errors... >> >> >> > WARNING: Device driver " >> > >> > Fatal trap 12: page fault while in kernel mode >> > fault virtual address = 0x400000 >> > fault code = supervisor read, page not present >> > instruction pointer = 0x20:0xc06d4614 >> > stack pointer = 0x28:0xf015491c >> > frame pointer = 0x28:0xf015491c >> > code segment = base 0x0, limit 0xffffff, type 0x1b >> > = DPL 0, pres 1, def32 1, gran 1 >> > processor eflags = interupt enabled, resume, IOPL = 0 >> > current process = 898 (kldload) >> > trap number = 12 >> > panic: page fault >> > uptime: 36s >> > cannot dump. No dump device defined >> > automatic reboot in 15 seconds >> >> >> This problem does not occur within any 5.x OS for me. I would >> certainly like to resolve this issue now, but this sort of debugging >> is over my head beyond running fsck (which I've tried). Any ideas >> here? >> >> Thanks in advance for your help! >> >> >> >> >> >> ----------- >> Joe Auty >> NetMusician: web publishing software for musicians >> http://www.netmusician.org >> joe@netmusician.org >> >> >> >> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers- > unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF4bZMCgdfeCwsL5ERAv0zAJ4zRjih+XoXGjF8Bc4hd2Yj7I0WNQCfeEb5 5mLoo1jTuYnJpa2z1EJqbUY= =Jwsg -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 16:17:49 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25EEF16A4E6; Sun, 25 Feb 2007 16:17:49 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.freebsd.org (Postfix) with ESMTP id BD92713C4A6; Sun, 25 Feb 2007 16:17:48 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 074DE7E8C3; Sun, 25 Feb 2007 11:17:51 -0500 (EST) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ReUilCFD+PRe; Sun, 25 Feb 2007 11:17:50 -0500 (EST) Received: from [192.168.0.2] (74-130-30-11.dhcp.insightbb.com [74.130.30.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id E2D0A7E8B8; Sun, 25 Feb 2007 11:17:49 -0500 (EST) In-Reply-To: <228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org> References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org> <200702251146.08150.Danovitsch@vitsch.net> <228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <77EED272-4C50-440E-8A28-B69BE6EFD62E@netmusician.org> Content-Transfer-Encoding: 7bit From: Joe Auty Date: Sun, 25 Feb 2007 11:17:21 -0500 To: Joe Auty X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) Cc: , Danovitsch@vitsch.net, Kip Macy , freebsd-hackers@freebsd.org, Daan, freebsd-questions@freebsd.org, PA4DAN Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 16:17:49 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 25, 2007, at 11:14 AM, Joe Auty wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Feb 25, 2007, at 5:46 AM, Daan Vreeken [PA4DAN] wrote: > >> On Sunday 25 February 2007 08:59, Kip Macy wrote: >>> It looks as if you've hit a device driver that is trying to print >>> out >>> a null string. The message you've given doesn't provide any more >>> information than that. If you install a snapshot kernel it will >>> probably have ddb compiled in which will allow you to at least get a >>> backtrace. I'm sorry you're having trouble. >> >> Grepping the source tree on 6.2-RELEASE shows this message can >> only have com >> from one place : sys/kern/kern_conf.c in the function prep_cdevsw() : >> >> if (devsw->d_version != D_VERSION_01) { >> printf( >> "WARNING: Device driver \"%s\" has wrong >> version %s\n", >> devsw->d_name == NULL ? "???" : devsw->d_name, >> "and is disabled. Recompile KLD module."); >> >> Looks like the kernel and the modules are out of sync. >> > > Any idea how this could have happened after disabling everything in > my /etc/loader.conf, and simply running a: > > make buildworld > make buildkernel KERNCONF=myconfig > make installkernel KERNCONF=myconfig > > > Shouldn't this have installed a fresh kernel plus only essential > modules? > > Here is a diff of my kernel config (which I've called, rather > uncreatively, 6.x) against GENERIC: > > nothing unusual, just IPFIREWALL and Linux compat stuff, right? > Forgot to add that I believe I've also tried building a GENERIC kernel and ran into this same problem. It's been a while since I tried this though, so I'll gladly try this again if you think it would be a useful test! =) > > > # diff 6.x GENERIC > 19c19 > < # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.7.2.2 2006/05/01 > 00:15:12 scottl Exp $ > - --- > > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 > 18:41:36 simon Exp $ > 30,42c30 > < options IPFIREWALL > < options IPFIREWALL_VERBOSE > < options IPFIREWALL_VERBOSE_LIMIT=10 > < options IPFIREWALL_DEFAULT_TO_ACCEPT > < options IPDIVERT > < #options VFS_AIO > < #options HZ=1200 > < #options SMP # Symmetric > MultiProcessor Kernel > < #device pf > < #device pflog > < #device pfsync > < options COMPAT_LINUX > < options BRIDGE > - --- > > makeoptions DEBUG=-g # Build kernel with gdb(1) > debug symbols > 44,49d31 > < # Enable the linux-like proc filesystem support (requires > COMPAT_LINUX and PSEUDOFS) > < options LINPROCFS > < > < #makeoptions DEBUG=-g # Build kernel with gdb(1) > debug symbols > < > < #options SCHED_ULE # ULE scheduler > 77,80d58 > < options AHC_REG_PRETTY_PRINT # Print register bitfields > in debug > < # output. Adds ~128k to > driver. > < options AHD_REG_PRETTY_PRINT # Print register bitfields > in debug > < # output. Adds ~215k to > driver. > 103a82,83 > > options AHC_REG_PRETTY_PRINT # Print register bitfields > in debug > > # output. Adds ~128k to > driver. > 104a85,86 > > options AHD_REG_PRETTY_PRINT # Print register bitfields > in debug > > # output. Adds ~215k to > driver. > 226a209 > > device stge # Sundance/Tamarack TC9021 > gigabit Ethernet > 248a232,234 > > device wlan_wep # 802.11 WEP support > > device wlan_ccmp # 802.11 CCMP support > > device wlan_tkip # 802.11 TKIP support > 249a236,238 > > device ath # Atheros pci/cardbus NIC's > > device ath_hal # Atheros HAL (Hardware > Access Layer) > > device ath_rate_sample # SampleRate tx rate > control for ath > > > > > > >> >>> On 2/24/07, Joe Auty wrote: >>>> Hello, >>>> >>>> (sorry, don't know whether kernel problems should go to >>>> questions or >>>> hackers, or both).. >>>> >>>> This has been a long-standing problem of mine, but I always ignored >>>> it hoping it would go away on its own with a future 6.x release, >>>> but >>>> it remains... >>>> >>>> No matter whether I boot into safe mode or regular mode, with all >>>> kernel extensions disabled in /boot/loader.conf, I get the >>>> following >>>> panic late at boot of a fresh RELENG_6_2 kernel (with only a few >>>> services left to bring up). The 6.x kernels I've tried all build >>>> and >>>> installed cleanly without any errors... >>>> >>>>> WARNING: Device driver " >>>>> >>>>> Fatal trap 12: page fault while in kernel mode >>>>> fault virtual address = 0x400000 >>>>> fault code = supervisor read, page not present >>>>> instruction pointer = 0x20:0xc06d4614 >>>>> stack pointer = 0x28:0xf015491c >>>>> frame pointer = 0x28:0xf015491c >>>>> code segment = base 0x0, limit 0xffffff, type 0x1b >>>>> = DPL 0, pres 1, def32 1, gran 1 >>>>> processor eflags = interupt enabled, resume, IOPL = 0 >>>>> current process = 898 (kldload) >>>>> trap number = 12 >>>>> panic: page fault >>>>> uptime: 36s >>>>> cannot dump. No dump device defined >>>>> automatic reboot in 15 seconds >>>> >>>> This problem does not occur within any 5.x OS for me. I would >>>> certainly like to resolve this issue now, but this sort of >>>> debugging >>>> is over my head beyond running fsck (which I've tried). Any >>>> ideas here? >>>> >>>> Thanks in advance for your help! >>>> >>>> >>>> >>>> >>>> >>>> ----------- >>>> Joe Auty >>>> NetMusician: web publishing software for musicians >>>> http://www.netmusician.org >>>> joe@netmusician.org >>> >>> _______________________________________________ >>> freebsd-hackers@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> To unsubscribe, send any mail to "freebsd-hackers- >>> unsubscribe@freebsd.org" >> >> -- >> Daan >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers- >> unsubscribe@freebsd.org" > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (Darwin) > > iD8DBQFF4bX/CgdfeCwsL5ERAiKCAJwKUt52wgB1mtqFSYUr8eFV39lpwgCglL4R > t+fcWGuCYkjn6lylcrrZeEM= > =bca6 > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers- > unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF4baRCgdfeCwsL5ERAqllAJ970cqu6/zcONglNu8liNpzIYIJDQCbBLJY GA7DwT7J6Wu8XzBKy7QHj9U= =HhUR -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 19:31:33 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B3B116A400; Sun, 25 Feb 2007 19:31:33 +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 DFE8113C428; Sun, 25 Feb 2007 19:31:32 +0000 (UTC) (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 53B151A4D9B; Sun, 25 Feb 2007 11:31:32 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id BF097517C9; Sun, 25 Feb 2007 14:31:28 -0500 (EST) Date: Sun, 25 Feb 2007 14:31:28 -0500 From: Kris Kennaway To: Martin Blapp Message-ID: <20070225193128.GC77205@xor.obsecurity.org> References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> <20070225054120.GA47059@xor.obsecurity.org> <20070225104709.S36322@fledge.watson.org> <20070225134508.C18301@godot.imp.ch> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <20070225134508.C18301@godot.imp.ch> User-Agent: Mutt/1.4.2.2i Cc: hackers@freebsd.org, Robert Watson Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 19:31:33 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 25, 2007 at 01:54:20PM +0100, Martin Blapp wrote: >=20 > Hi, >=20 > >It would be really great if we could find "workload owners" who would=20 > >maintain easy-to-run benchmark configurations and also run them regularl= y=20 > >on a fixed hardware configuration over a long time publishing results an= d=20 > >testing patches. Kris has done this for SQL benchmarks to great effect, >=20 > I'm interested in such a workload test. At my job we run various other > servers which have a classic virus/antispam environment. And unfortunatly > clamd behaves not very well on FreeBSD (see mails to freebsd-threads), > and this happens even on 2-CPU systems. >=20 > I think its not very difficult to make a scripted load test, with=20 > 2/4/6/8/16/32 > scans in parallel, with ULE or BSD scheduler. >=20 > Btw: what is the best method to profile a threaded application to see whe= re=20 > it > spends the most CPU time ? If you can package up some kind of test or analogous workload that I can run, I'd be happy to take a look at profiling it on MP hardware. Kris P.S. I assume you've done all the usual things like using libthr instead of libpthread. --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF4eQQWry0BWjoQKURAgq0AJ4h4wInWKaJrOH88oIbiXN3zOYN5ACZAcNR 8gR1ClGaStyyISysGl5nU+U= =ZDs1 -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb-- From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 13:23:11 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E55AA16A404; Sun, 25 Feb 2007 13:23:11 +0000 (UTC) (envelope-from mb@imp.ch) Received: from mx2.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.freebsd.org (Postfix) with ESMTP id D57CF13C4C8; Sun, 25 Feb 2007 13:23:06 +0000 (UTC) (envelope-from mb@imp.ch) Received: from dan.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.8/8.13.8/Submit_imp) with ESMTP id l1PCsKie013031; Sun, 25 Feb 2007 13:54:20 +0100 (CET) (envelope-from mb@imp.ch) Date: Sun, 25 Feb 2007 13:54:20 +0100 (CET) From: Martin Blapp To: Robert Watson In-Reply-To: <20070225104709.S36322@fledge.watson.org> Message-ID: <20070225134508.C18301@godot.imp.ch> References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> <20070225054120.GA47059@xor.obsecurity.org> <20070225104709.S36322@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Sun, 25 Feb 2007 22:34:55 +0000 Cc: cokane@cokane.org, smp@freebsd.org, hackers@freebsd.org, current@freebsd.org, Kris Kennaway Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 13:23:12 -0000 Hi, > It would be really great if we could find "workload owners" who would > maintain easy-to-run benchmark configurations and also run them regularly on > a fixed hardware configuration over a long time publishing results and > testing patches. Kris has done this for SQL benchmarks to great effect, I'm interested in such a workload test. At my job we run various other servers which have a classic virus/antispam environment. And unfortunatly clamd behaves not very well on FreeBSD (see mails to freebsd-threads), and this happens even on 2-CPU systems. I think its not very difficult to make a scripted load test, with 2/4/6/8/16/32 scans in parallel, with ULE or BSD scheduler. Btw: what is the best method to profile a threaded application to see where it spends the most CPU time ? Martin From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 23:55:54 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20D1D16A403; Sun, 25 Feb 2007 23:55:54 +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 0A2D313C442; Sun, 25 Feb 2007 23:55:54 +0000 (UTC) (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 B299B1A3C19; Sun, 25 Feb 2007 15:55:53 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0E18B524AA; Sun, 25 Feb 2007 18:55:50 -0500 (EST) Date: Sun, 25 Feb 2007 18:55:50 -0500 From: Kris Kennaway To: Martin Blapp Message-ID: <20070225235550.GA80623@xor.obsecurity.org> References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> <20070225054120.GA47059@xor.obsecurity.org> <20070225104709.S36322@fledge.watson.org> <20070225134508.C18301@godot.imp.ch> <20070225193128.GC77205@xor.obsecurity.org> <20070226002323.V18301@godot.imp.ch> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: <20070226002323.V18301@godot.imp.ch> User-Agent: Mutt/1.4.2.2i Cc: hackers@freebsd.org, Robert Watson , Kris Kennaway Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 23:55:54 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 26, 2007 at 12:27:01AM +0100, Martin Blapp wrote: >=20 > Hi, >=20 > >If you can package up some kind of test or analogous workload that I > >can run, I'd be happy to take a look at profiling it on MP hardware. > > >=20 > Should be possible. Btw. Has setting kern.threads.virtual_cpu to a differ= ent > value effect for running programms or just started ones ? Dunno what that does, sorry. > >P.S. I assume you've done all the usual things like using libthr > >instead of libpthread. >=20 > Yes, all clamd installations we have run with libthr, since libptread is > completly unusable and libc_r has small hangs from time to time. The > question is just if this is a clamd problem or an threading library > problem. OK Kris --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF4iIFWry0BWjoQKURAv2oAJ9hYHPRrG/JTgT+IRElOtn+oNvnTQCg+jZ0 HPGrG4YYUm5km6FB9olEloQ= =rkOP -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm-- From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 03:56:04 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6EFA916A403 for ; Mon, 26 Feb 2007 03:56:04 +0000 (UTC) (envelope-from mirnshi@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 29D4413C441 for ; Mon, 26 Feb 2007 03:56:04 +0000 (UTC) (envelope-from mirnshi@gmail.com) Received: by wr-out-0506.google.com with SMTP id 58so1335604wri for ; Sun, 25 Feb 2007 19:56:03 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=bHARX4j8LQ3IEZZ3YyWEgKJZvLBkucxElce+Af+f88m40gGHGshzxiEIyAUwyVBzXbvA6BWOhRish0IlQB88r7QstzydMYghKfm5zHzUSiLDQly4QU6yaTFXwnX+QFyUwubr7mcKDWfqKbyoKMJPqjTg+YeA4nwct+8j/uZAmwY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sLqROXdiN9JgQy3ZXKmRlX65PVmpWYcb5BDnyioTZrEhNJW8nyKdIf1m8mUh/7Wdp3Q5DDU1+8zLe3OHZah/rnvx0zfVWBf+nwMpqSTgiYe6X04FDF9L87QqCYhy9O9F/cc8SCIUyhuI7SU4IsfquIHJe/Oc0RbOsAICbFVUGZw= Received: by 10.114.39.16 with SMTP id m16mr1171942wam.1172462162619; Sun, 25 Feb 2007 19:56:02 -0800 (PST) Received: by 10.114.234.15 with HTTP; Sun, 25 Feb 2007 19:56:02 -0800 (PST) Message-ID: Date: Mon, 26 Feb 2007 11:56:02 +0800 From: mirnshi@gmail.com To: freebsd-hackers@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_41325_19715973.1172462162579" References: X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: the new functions of the crunchgen X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 03:56:04 -0000 ------=_Part_41325_19715973.1172462162579 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Crunchgen is a smart tools to create a tiny "bsd". I've used it for years. Sometime, we need some scripts to help crunchgen to generate the makefile when we combine some foreign packages. If not, the make will stop because of the definition the symbols. So I modified the codes. 1. Add two options to special command special progname nlib library-file-name enter the home directory of the library, run make to rebuild the static library, and tell the 'ld' to add this library to the progname.lo. special progname slib library-file-name like nlib, except that the library will be linked as a single file. 2. Add "make xxx || echo Never mind." to meet some Makefiles 3. Disable adding the underscore ('_') to the symbols see the attachment for detail. Paul. ------=_Part_41325_19715973.1172462162579 Content-Type: application/octet-stream; name=crunchgen.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_eymccf7t Content-Disposition: attachment; filename="crunchgen.patch" ZGlmZiAtcnVOIGNydW5jaGdlbi5vcmlnL2NydW5jaGdlbi5jIGNydW5jaGdlbi9jcnVuY2hnZW4u YwotLS0gY3J1bmNoZ2VuLm9yaWcvY3J1bmNoZ2VuLmMJV2VkIE1heSAzMSAxOToxMTo1OSAyMDA2 CisrKyBjcnVuY2hnZW4vY3J1bmNoZ2VuLmMJVGh1IEphbiAxNSAyMTozOTo0MiAyMDA3CkBAIC0z MSw2ICszMSwyNSBAQAogICoKICAqIEdlbmVyYXRlcyBhIE1ha2VmaWxlIGFuZCBtYWluIEMgZmls ZSBmb3IgYSBjcnVuY2hlZCBleGVjdXRhYmxlLAogICogZnJvbSBzcGVjcyBnaXZlbiBpbiBhIC5j b25mIGZpbGUuCisgKgorICogLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KKyAq IE9yaWdpbmFsIGZpbGU6IDEuMzUuMi4xIDIwMDYvMDUvMzEgMTk6MTE6NTkgY2VyaQorICoKKyAq IDEuIEFkZCB0d28gb3B0aW9ucyB0byBzcGVjaWFsIGNvbW1hbmQKKyAqIDIuIEFkZCAibWFrZSB4 eHggfHwgZWNobyBOZXZlciBtaW5kLiIgdG8gbWVldCBzb21lIE1ha2VmaWxlcworICogMy4gRGlz YWJsZSBhZGRpbmcgdGhlIHVuZGVyc2NvcmUgKGBfJykgdG8gdGhlIHN5bWJvbHMKKyAqCisgKiBU aGUgbmV3IG9wdGlvbnM6CisgKiAgIHNwZWNpYWwgcHJvZ25hbWUgbmxpYiBsaWJyYXJ5LWZpbGUt bmFtZQorICogICAgICAgICAgIHJlYnVpbGQgdGhlIHN0YXRpYyBsaWJyYXJ5LCBhbmQgdGVsbCB0 aGUgJ2xkJyB0byBhZGQgdGhpcyBsaWJyYXJ5CisgKiAgICAgICAgICAgdG8gdGhlIHByb2duYW1l LmxvLgorICogICBzcGVjaWFsIHByb2duYW1lIHNsaWIgbGlicmFyeS1maWxlLW5hbWUKKyAqICAg ICAgICAgICByZWJ1aWxkIHRoZSBzdGF0aWMgbGlicmFyeSwgdW5saWtlIG5saWIsIHRoZSBsaWJy YXJ5IHdpbGwgYmUgbGlua2VkCisgKiAgICAgICAgICAgYXMgYSBzaW5nbGUgZmlsZS4KKyAqCisg KiBCeSBQYXVsIChtaXJuc2hpQGdtYWlsLmNvbSksIDEvMTUvMjAwNy4KKyAqIC0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCisgKgogICovCiAjaW5jbHVkZSA8c3lzL3R5cGVzLmg+ CiAjaW5jbHVkZSA8c3lzL3N0YXQuaD4KQEAgLTc0LDYgKzkzLDggQEAKIAlzdHJsc3RfdCAqa2Vl cGxpc3Q7CiAJc3RybHN0X3QgKmxpbmtzOwogCXN0cmxzdF90ICpsaWJzOworCXN0cmxzdF90ICpz bGliczsJLyogcmVidWlsZCBsaWJyYXJpZXMgKi8KKwlzdHJsc3RfdCAqbmxpYnM7CS8qIHJlYnVp bGQgbGlicmFyaWVzLCBtb2R1bGVzKi8KIAlzdHJsc3RfdCAqbGlic19zbzsKIAlpbnQgZ290ZXJy b3I7CiB9IHByb2dfdDsKQEAgLTQwOSw2ICs0MzAsOCBAQAogCWVsc2UKIAkJcDEtPm5leHQgPSBw MjsKIAorCS8qIFhYWCB3aHkgYWdhaW4/IFRoZSBzdHJ1Y3QgYmxvY2sgaGFzIGJlZW4gJ21lbXNl dCcKKyAgICAqLwogCXAyLT5pZGVudCA9IE5VTEw7CiAJcDItPnNyY2RpciA9IE5VTEw7CiAJcDIt PnJlYWxzcmNkaXIgPSBOVUxMOwpAQCAtNTM4LDYgKzU2MSwxMiBAQAogCX0gZWxzZSBpZiAoIXN0 cmNtcChhcmd2WzJdLCAibGliIikpIHsKIAkJZm9yIChpID0gMzsgaSA8IGFyZ2M7IGkrKykKIAkJ CWFkZF9zdHJpbmcoJnAtPmxpYnMsIGFyZ3ZbaV0pOworCX0gZWxzZSBpZiAoIXN0cmNtcChhcmd2 WzJdLCAibmxpYiIpKSB7CisJCWZvciAoaSA9IDM7IGkgPCBhcmdjOyBpKyspCisJCQlhZGRfc3Ry aW5nKCZwLT5ubGlicywgYXJndltpXSk7CisJfSBlbHNlIGlmICghc3RyY21wKGFyZ3ZbMl0sICJz bGliIikpIHsKKwkJZm9yIChpID0gMzsgaSA8IGFyZ2M7IGkrKykKKwkJCWFkZF9zdHJpbmcoJnAt PnNsaWJzLCBhcmd2W2ldKTsKIAl9IGVsc2UgewogCQl3YXJueCgiJXM6JWQ6IGJhZCBwYXJhbWV0 ZXIgbmFtZSBgJXMnLCBza2lwcGluZyBsaW5lIiwKIAkJICAgIGN1cmZpbGVuYW1lLCBsaW5lbnVt LCBhcmd2WzJdKTsKQEAgLTk0OCw2ICs5NzcsNyBAQAogdm9pZCB0b3BfbWFrZWZpbGVfcnVsZXMo RklMRSAqb3V0bWspCiB7CiAJcHJvZ190ICpwOworCXN0cmxzdF90ICpsc3Q7CiAKIAlpZiAoIHN1 YnRyYWN0X3N0cmxzdCgmbGlicywgJmxpYnNfc28pICkKIAkJZnByaW50ZihvdXRtaywgIiMgTk9U RTogU29tZSBMSUJTIGRlY2xhcmF0aW9ucyBiZWxvdyBvdmVycmlkZGVuIGJ5IExJQlNfU09cbiIp OwpAQCAtOTc0LDYgKzEwMDQsMTIgQEAKIAlmcHJpbnRmKG91dG1rLCAiQ1JVTkNIRURfT0JKUz0i KTsKIAlmb3IgKHAgPSBwcm9nczsgcCAhPSBOVUxMOyBwID0gcC0+bmV4dCkKIAkJZnByaW50Zihv dXRtaywgIiAlcy5sbyIsIHAtPm5hbWUpOworCisJZm9yIChwID0gcHJvZ3M7IHAgIT0gTlVMTDsg cCA9IHAtPm5leHQpIHsKKwkJaWYgKHAtPnNsaWJzKQorCQkJZm9yIChsc3QgPSBwLT5zbGliczsg bHN0ICE9IE5VTEw7IGxzdCA9IGxzdC0+bmV4dCkKKwkJCQlmcHJpbnRmKG91dG1rLCAiICVzIiwg bHN0LT5zdHIpOworCX0KIAlmcHJpbnRmKG91dG1rLCAiXG4iKTsKIAogCWZwcmludGYob3V0bWss ICJTVUJNQUtFX1RBUkdFVFM9Iik7CkBAIC0xMDI3LDIwICsxMDYzLDM1IEBACiAJCQlmcHJpbnRm KG91dG1rLCAiJXNfT1BUUys9IiwgcC0+aWRlbnQpOwogCQkJb3V0cHV0X3N0cmxzdChvdXRtaywg cC0+YnVpbGRvcHRzKTsKIAkJfQotCQlmcHJpbnRmKG91dG1rLCAiJXNfbWFrZTpcbiIsIHAtPmlk ZW50KTsKKwkJZnByaW50ZihvdXRtaywgIiVzX21ha2U6IiwgcC0+aWRlbnQpOworCQlpZiAocC0+ c2xpYnMpIAorCQkJZnByaW50ZihvdXRtaywgIiAkeyVzX1NMSUJTfSIsIHAtPmlkZW50KTsKKwkJ aWYgKHAtPm5saWJzKSAKKwkJCWZwcmludGYob3V0bWssICIgJHslc19OTElCU30iLCBwLT5pZGVu dCk7CisJCWZwcmludGYob3V0bWssICJcbiIpOworCQkgCiAJCWZwcmludGYob3V0bWssICJcdChj ZCAkKCVzX1NSQ0RJUikgJiYgIiwgcC0+aWRlbnQpOwogCQlpZiAobWFrZW9iaikKIAkJCWZwcmlu dGYob3V0bWssICIkKENSVU5DSE1BS0UpIG9iaiAmJiAiKTsKIAkJZnByaW50ZihvdXRtaywgIlxc XG4iKTsKLQkJZnByaW50ZihvdXRtaywgIlx0XHQkKENSVU5DSE1BS0UpICQoQlVJTERPUFRTKSAk KCVzX09QVFMpIGRlcGVuZCAmJiIsCi0JCSAgICBwLT5pZGVudCk7CisKKwkJZnByaW50ZihvdXRt aywgIlx0XHQoJChDUlVOQ0hNQUtFKSAkKEJVSUxET1BUUykgJCglc19PUFRTKSBkZXBlbmQgfHwg ZWNobyBOZXZlciBtaW5kLikgJiYgIiwKKwkJCXAtPmlkZW50KTsKIAkJZnByaW50ZihvdXRtaywg IlxcXG4iKTsKIAkJZnByaW50ZihvdXRtaywgIlx0XHQkKENSVU5DSE1BS0UpICQoQlVJTERPUFRT KSAkKCVzX09QVFMpICIKIAkJICAgICIkKCVzX09CSlMpKSIsCiAJCSAgICBwLT5pZGVudCwgcC0+ aWRlbnQpOwogCQlmcHJpbnRmKG91dG1rLCAiXG4iKTsKLQkJZnByaW50ZihvdXRtaywgIiVzX2Ns ZWFuOlxuIiwgcC0+aWRlbnQpOwotCQlmcHJpbnRmKG91dG1rLCAiXHQoY2QgJCglc19TUkNESVIp ICYmICQoQ1JVTkNITUFLRSkgJChCVUlMRE9QVFMpIGNsZWFuIGNsZWFuZGVwZW5kKVxuXG4iLAor CQlmcHJpbnRmKG91dG1rLCAiJXNfY2xlYW46IiwgcC0+aWRlbnQpOworCQlpZiAocC0+c2xpYnMp IAorCQkJZnByaW50ZihvdXRtaywgIiBjbGVhbl8lc19TTElCUyIsIHAtPmlkZW50KTsKKwkJaWYg KHAtPm5saWJzKSAKKwkJCWZwcmludGYob3V0bWssICIgY2xlYW5fJXNfTkxJQlMiLCBwLT5pZGVu dCk7CisJCWZwcmludGYob3V0bWssICJcbiIpOworCQlmcHJpbnRmKG91dG1rLCAiXHQoY2QgJCgl c19TUkNESVIpICYmICQoQ1JVTkNITUFLRSkgJChCVUlMRE9QVFMpIGNsZWFuICYmICIsCisJCSAg ICBwLT5pZGVudCk7CisJCWZwcmludGYob3V0bWssICJcXFxuIik7CisJCWZwcmludGYob3V0bWss ICJcdFx0KCQoQ1JVTkNITUFLRSkgJChCVUlMRE9QVFMpIGNsZWFuZGVwZW5kIHx8IGVjaG8gTmV2 ZXIgbWluZC4pKVxuIiwKIAkJICAgIHAtPmlkZW50KTsKIAl9IGVsc2UgewogCQlmcHJpbnRmKG91 dG1rLCAiJXNfbWFrZTpcbiIsIHAtPmlkZW50KTsKQEAgLTEwNjEsNiArMTExMiwzMCBAQAogCQlm cHJpbnRmKG91dG1rLCAiJXNfTElCUz0iLCBwLT5pZGVudCk7CiAJCW91dHB1dF9zdHJsc3Qob3V0 bWssIHAtPmxpYnMpOwogCX0KKwlpZiAocC0+c2xpYnMpIHsKKwkJZnByaW50ZihvdXRtaywgIiVz X1NMSUJTPSIsIHAtPmlkZW50KTsKKwkJb3V0cHV0X3N0cmxzdChvdXRtaywgcC0+c2xpYnMpOwor CQlmcHJpbnRmKG91dG1rLCAiJHslc19TTElCU306XG4iLCBwLT5pZGVudCk7CisJCWZwcmludGYo b3V0bWssICJcdChjZCBgZGlybmFtZSAkey5UQVJHRVR9YDsgJChDUlVOQ0hNQUtFKSAkKEJVSUxE T1BUUykgJCglc19PUFRTKSlcbiIsIAorCQkJcC0+aWRlbnQpOworCQlmcHJpbnRmKG91dG1rLCAi Y2xlYW5fJXNfU0xJQlM6XG4iLCBwLT5pZGVudCk7CisJCWZvciAobHN0ID0gcC0+c2xpYnM7IGxz dCAhPSBOVUxMOyBsc3QgPSBsc3QtPm5leHQpIHsKKwkJCWZwcmludGYob3V0bWssICJcdChjZCBg ZGlybmFtZSAlc2A7ICQoQ1JVTkNITUFLRSkgJChCVUlMRE9QVFMpIGNsZWFuKVxuIiwgCisJCQkJ bHN0LT5zdHIsIHAtPmlkZW50KTsKKwkJfQorCX0KKwlpZiAocC0+bmxpYnMpIHsKKwkJZnByaW50 ZihvdXRtaywgIiVzX05MSUJTPSIsIHAtPmlkZW50KTsKKwkJb3V0cHV0X3N0cmxzdChvdXRtaywg cC0+bmxpYnMpOworCQlmcHJpbnRmKG91dG1rLCAiJHslc19OTElCU306XG4iLCBwLT5pZGVudCk7 CisJCWZwcmludGYob3V0bWssICJcdChjZCBgZGlybmFtZSAkey5UQVJHRVR9YDsgJChDUlVOQ0hN QUtFKSAkKEJVSUxET1BUUykgJCglc19PUFRTKSlcbiIsIAorCQkJcC0+aWRlbnQpOworCQlmcHJp bnRmKG91dG1rLCAiY2xlYW5fJXNfTkxJQlM6XG4iLCBwLT5pZGVudCk7CisJCWZvciAobHN0ID0g cC0+bmxpYnM7IGxzdCAhPSBOVUxMOyBsc3QgPSBsc3QtPm5leHQpIHsKKwkJCWZwcmludGYob3V0 bWssICJcdChjZCBgZGlybmFtZSAlc2A7ICQoQ1JVTkNITUFLRSkgJChCVUlMRE9QVFMpIGNsZWFu KVxuIiwgCisJCQkJbHN0LT5zdHIsIHAtPmlkZW50KTsKKwkJfQorCX0KIAogCWZwcmludGYob3V0 bWssICIlc19zdHViLmM6XG4iLCBwLT5uYW1lKTsKIAlmcHJpbnRmKG91dG1rLCAiXHRlY2hvIFwi IgpAQCAtMTA3MSwxNiArMTE0NiwyNSBAQAogCSAgICBwLT5uYW1lLCBwLT5uYW1lLCBwLT5pZGVu dCk7CiAJaWYgKHAtPmxpYnMpCiAJCWZwcmludGYob3V0bWssICIgJCglc19MSUJTKSIsIHAtPmlk ZW50KTsKKwlpZiAocC0+bmxpYnMpCisJCWZwcmludGYob3V0bWssICIgJCglc19OTElCUykiLCBw LT5pZGVudCk7CiAKIAlmcHJpbnRmKG91dG1rLCAiXG4iKTsKIAlmcHJpbnRmKG91dG1rLCAiXHRs ZCAtZGMgLXIgLW8gJXMubG8gJXNfc3R1Yi5vICQoJXNfT0JKUEFUSFMpIiwKIAkgICAgcC0+bmFt ZSwgcC0+bmFtZSwgcC0+aWRlbnQpOwogCWlmIChwLT5saWJzKQogCQlmcHJpbnRmKG91dG1rLCAi ICQoJXNfTElCUykiLCBwLT5pZGVudCk7CisJaWYgKHAtPm5saWJzKQorCQlmcHJpbnRmKG91dG1r LCAiICQoJXNfTkxJQlMpIiwgcC0+aWRlbnQpOwogCWZwcmludGYob3V0bWssICJcbiIpOwogCWZw cmludGYob3V0bWssICJcdGNydW5jaGlkZSAtayBfY3J1bmNoZWRfJXNfc3R1YiAiLCBwLT5pZGVu dCk7CisKKwkvKgorCSAqIFhYWCB3b3csIGFkZGluZyB0aGUgdW5kZXJzY29yZSAoYF8nKSBhdXRv bWF0aWNhbGx5LgorCSAqIEl0IGlzIG5vdCBhIGdvb2QgaWRlYS4KKyAgICAqLwogCWZvciAobHN0 ID0gcC0+a2VlcGxpc3Q7IGxzdCAhPSBOVUxMOyBsc3QgPSBsc3QtPm5leHQpCi0JCWZwcmludGYo b3V0bWssICItayBfJXMgIiwgbHN0LT5zdHIpOworCQlmcHJpbnRmKG91dG1rLCAiLWsgJXMgIiwg bHN0LT5zdHIpOwogCWZwcmludGYob3V0bWssICIlcy5sb1xuIiwgcC0+bmFtZSk7CiB9CiAK ------=_Part_41325_19715973.1172462162579-- From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 23:27:10 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 106A116A403; Sun, 25 Feb 2007 23:27:10 +0000 (UTC) (envelope-from mb@imp.ch) Received: from pop.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.freebsd.org (Postfix) with ESMTP id 9FFE513C46B; Sun, 25 Feb 2007 23:27:04 +0000 (UTC) (envelope-from mb@imp.ch) Received: from dan.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.8/8.13.8/Submit_imp) with ESMTP id l1PNR1IV049386; Mon, 26 Feb 2007 00:27:02 +0100 (CET) (envelope-from mb@imp.ch) Date: Mon, 26 Feb 2007 00:27:01 +0100 (CET) From: Martin Blapp To: Kris Kennaway In-Reply-To: <20070225193128.GC77205@xor.obsecurity.org> Message-ID: <20070226002323.V18301@godot.imp.ch> References: <20070224213111.GB41434@xor.obsecurity.org> <346a80220702242100i7ec22b5h4b25cc7d20d03e98@mail.gmail.com> <20070225054120.GA47059@xor.obsecurity.org> <20070225104709.S36322@fledge.watson.org> <20070225134508.C18301@godot.imp.ch> <20070225193128.GC77205@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Mon, 26 Feb 2007 05:36:01 +0000 Cc: hackers@freebsd.org, Robert Watson Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 23:27:10 -0000 Hi, > If you can package up some kind of test or analogous workload that I > can run, I'd be happy to take a look at profiling it on MP hardware. > Should be possible. Btw. Has setting kern.threads.virtual_cpu to a different value effect for running programms or just started ones ? > > P.S. I assume you've done all the usual things like using libthr > instead of libpthread. Yes, all clamd installations we have run with libthr, since libptread is completly unusable and libc_r has small hangs from time to time. The question is just if this is a clamd problem or an threading library problem. -- Martin From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 01:24:21 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70AB916A402 for ; Mon, 26 Feb 2007 01:24:21 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.web-strider.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 355C013C471 for ; Mon, 26 Feb 2007 01:24:20 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from coolf89ea26645 (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id l1Q0vrEX020935; Sun, 25 Feb 2007 16:57:55 -0800 (PST) (envelope-from tedm@toybox.placo.com) Message-ID: <003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645> From: "Ted Mittelstaedt" To: "Joe Auty" , "Daan Vreeken [PA4DAN]" References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org><200702251146.08150.Danovitsch@vitsch.net> <228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org> Date: Sun, 25 Feb 2007 16:56:40 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Sun, 25 Feb 2007 16:57:56 -0800 (PST) X-Mailman-Approved-At: Mon, 26 Feb 2007 05:36:16 +0000 Cc: Kip Macy , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 01:24:21 -0000 ----- Original Message ----- From: "Joe Auty" To: "Daan Vreeken [PA4DAN]" Cc: "Kip Macy" ; ; Sent: Sunday, February 25, 2007 8:14 AM Subject: Re: kernel panic at boot on any 6.x OS > > Any idea how this could have happened after disabling everything in > my /etc/loader.conf, and simply running a: > > make buildworld > make buildkernel KERNCONF=myconfig > make installkernel KERNCONF=myconfig > well your supposed to do this single-user, run mergemaster and a few other things. I also don't see a make installworld. Joe, please try booting from a 6.2-release install ISO. If it works without panicing, then you did something wrong during the upgrade. Since by your own admission your not an expert, you would be well advised to simply back up your files the old fashioned way, reformat your hard disk, install from a 6.2 boot ISO, then restore your files. Leave the fancy in-place updating to someone else. It's a big PIA and doesen't work half the time anyway. Ted From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 04:31:33 2007 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51A7716A405 for ; Mon, 26 Feb 2007 04:31:33 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (pool-71-245-104-192.ptldor.fios.verizon.net [71.245.104.192]) by mx1.freebsd.org (Postfix) with ESMTP id 18A2A13C471 for ; Mon, 26 Feb 2007 04:31:32 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (localhost.home.localnet [127.0.0.1]) by schitzo.solgatos.com (8.13.8/8.13.6) with ESMTP id l1Q4Hoaj014787 for ; Sun, 25 Feb 2007 20:17:50 -0800 Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.13.8/8.13.4/Submit) with UUCP id l1Q4HoGl014784 for freebsd-hackers@FreeBSD.org; Sun, 25 Feb 2007 20:17:50 -0800 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id EAA25634; Mon, 26 Feb 2007 04:15:13 GMT Message-Id: <200702260415.EAA25634@sopwith.solgatos.com> To: freebsd-hackers@FreeBSD.org Date: Sun, 25 Feb 2007 20:15:13 +0000 From: Dieter X-Mailman-Approved-At: Mon, 26 Feb 2007 05:36:29 +0000 Cc: Subject: Re: sil3124 sata X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@sopwith.solgatos.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 04:31:33 -0000 >>> Just wondering if there is any planned support for this card (or similar) >> >> I've added sos@ to Cc list, who may have interest to this as well. Note >> that developing drivers requires that the developer has his hands on >> actual hardware and hardware specifications. > > Exactly, get me the HW on my lab table and I'll do the driver as > time/docs permits, its that simple :) > > -Soren Is getting a sil3124 board on Soren's lab table a job for the FreeBSD Foundation? From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 06:37:32 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B34E16A401 for ; Mon, 26 Feb 2007 06:37:32 +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 3861713C47E for ; Mon, 26 Feb 2007 06:37:31 +0000 (UTC) (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.8/8.13.8) with ESMTP id l1Q6bM7l093664; Mon, 26 Feb 2007 07:37:30 +0100 (CET) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.8/8.13.3) with ESMTP id l1Q6bMTD098917; Mon, 26 Feb 2007 07:37:22 +0100 (CET) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.8/8.13.6/Submit) id l1Q6bJ4a098912; Mon, 26 Feb 2007 07:37:19 +0100 (CET) (envelope-from wb) Date: Mon, 26 Feb 2007 07:37:19 +0100 From: Wilko Bulte To: Dieter Message-ID: <20070226063719.GA98891@freebie.xs4all.nl> References: <200702260415.EAA25634@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200702260415.EAA25634@sopwith.solgatos.com> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-hackers@freebsd.org Subject: Re: sil3124 sata X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 06:37:32 -0000 On Sun, Feb 25, 2007 at 08:15:13PM +0000, Dieter wrote.. > >>> Just wondering if there is any planned support for this card (or similar) > >> > >> I've added sos@ to Cc list, who may have interest to this as well. Note > >> that developing drivers requires that the developer has his hands on > >> actual hardware and hardware specifications. > > > > Exactly, get me the HW on my lab table and I'll do the driver as > > time/docs permits, its that simple :) > > > > -Soren > > Is getting a sil3124 board on Soren's lab table a job for the > FreeBSD Foundation? Not necessarily, no. Soren often gets equipment donated by hardware vendors or from whoever else feels something needs to be supported . That includes private individuals. Wilko -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 06:40:10 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8C5116A401; Mon, 26 Feb 2007 06:40:10 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.freebsd.org (Postfix) with ESMTP id 621D213C4A7; Mon, 26 Feb 2007 06:40:06 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 46AE97E8D6; Mon, 26 Feb 2007 01:40:08 -0500 (EST) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6lrhAfwiEUTt; Mon, 26 Feb 2007 01:40:07 -0500 (EST) Received: from [192.168.0.2] (74-130-30-11.dhcp.insightbb.com [74.130.30.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id ED58C7E8D4; Mon, 26 Feb 2007 01:40:05 -0500 (EST) In-Reply-To: <003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645> References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org><200702251146.08150.Danovitsch@vitsch.net> <228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org> <003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org> Content-Transfer-Encoding: 7bit From: Joe Auty Date: Mon, 26 Feb 2007 01:39:49 -0500 To: Ted Mittelstaedt X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Gpgmail-State: signed X-Mailer: Apple Mail (2.752.2) Cc: "Daan Vreeken \[PA4DAN\]" , Kip Macy , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 06:40:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 25, 2007, at 7:56 PM, Ted Mittelstaedt wrote: > > ----- Original Message ----- > From: "Joe Auty" > To: "Daan Vreeken [PA4DAN]" > Cc: "Kip Macy" ; ; > > Sent: Sunday, February 25, 2007 8:14 AM > Subject: Re: kernel panic at boot on any 6.x OS > > >> >> Any idea how this could have happened after disabling everything in >> my /etc/loader.conf, and simply running a: >> >> make buildworld >> make buildkernel KERNCONF=myconfig >> make installkernel KERNCONF=myconfig >> > > well your supposed to do this single-user, run mergemaster and a > few other > things. > I also don't see a make installworld. > I usually perform those steps after I've rebooted to ensure that my system will boot off the new kernel, as per the instructions in the FreeBSD handbook. > Joe, please try booting from a 6.2-release install ISO. If it > works without > panicing, > then you did something wrong during the upgrade. > Downloading the image now, I'll let you know if I'm able to boot from it... > Since by your own admission your not an expert, you would be well > advised > to simply back up your files the old fashioned way, reformat your > hard disk, > install from a 6.2 boot ISO, then restore your files. Leave the fancy > in-place > updating to someone else. It's a big PIA and doesen't work half > the time > anyway. > How well does simply upgrading with the CD work (as opposed to wiping clean)? I've upgraded several times to new releases simply by rebuilding world, it has never failed me in the past. I don't doubt what you are saying here, but since I will have to change how I work, assuming that I can boot off of the 6.2 CD, I'd appreciate any general upgrade tips that don't involve wiping the disk clean (which is not really an option). For instance, is rebuilding world between point releases (e.g. 5.4 to 5.5) an okay idea, compared to across major releases (e.g. 5.5 to 6.2)? I'll do my own homework regarding this too, but I appreciate any nuggets of wisdom you might have! As far as me being an expert, I guess I'd categorize me somewhere in between complete newb and FreeBSD developer =) Thanks again! - ----------- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org joe@netmusician.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF4oC3CgdfeCwsL5ERAj3vAJ9bMYSj33hg/jU5jU6RyIjXqJ/YLwCfVumh FsunyXJGMjXHEHKso7xWzcI= =0p6j -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 08:08:57 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBB2916A403; Mon, 26 Feb 2007 08:08:57 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 2031613C46B; Mon, 26 Feb 2007 08:08:56 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l1Q88bN3001340; Mon, 26 Feb 2007 19:08:37 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l1Q88bQl001339; Mon, 26 Feb 2007 19:08:37 +1100 (EST) (envelope-from peter) Date: Mon, 26 Feb 2007 19:08:37 +1100 From: Peter Jeremy To: Kris Kennaway Message-ID: <20070226080837.GB844@turion.vk2pj.dyndns.org> References: <20070224213111.GB41434@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <20070224213111.GB41434@xor.obsecurity.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: smp@freebsd.org, hackers@freebsd.org, current@freebsd.org Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 08:08:57 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Feb-24 16:31:11 -0500, Kris Kennaway wrote: >We have recently made significant progress on optimizing for MySQL >running on an 8-core amd64 system. The graph of results may be found >here: > > http://www.freebsd.org/~kris/scaling/scaling.png Those results look wonderful. Have you tried increasing the number of threads to see if there's any nasty knee further to the right? Also, is there any chance of repeating this testing on one of the big Suns (or a T2000) to see how this scales to lots of cores? --=20 Peter Jeremy --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF4pWF/opHv/APuIcRAh5fAJ0QENK0sIxr8UhL3Q5l94DbF+x/HACgpANv 1MwIhwYcXamLl4E2qqaiDjw= =IPUk -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 12:22:11 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11C2D16A407 for ; Mon, 26 Feb 2007 12:22:11 +0000 (UTC) (envelope-from geek.dwells@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by mx1.freebsd.org (Postfix) with ESMTP id C6A1813C481 for ; Mon, 26 Feb 2007 12:22:10 +0000 (UTC) (envelope-from geek.dwells@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1240056wxc for ; Mon, 26 Feb 2007 04:22:10 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=iCjfdTt9AOm654wE9I8V9+zyj75FAx1vKN5xfEtWmQpFMcso+2s1V5gY3pu7EoPKTAx3+yaQM8hHKmDVb6Hn4Z+L1zjGUTogbOjr8poDvasbmftIxiyz6g1al8UrdomzXuL3zQEv4pn1VK9wbH+BTpRvOpPqFweMrmngIC+89lY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=UHpl41UCWmpv4nDXTsNfunIpDYxUJ8JXU5INnByjKwAUp5od6WcW6/4kSoz45CJ2QEtm4reNthzXD+n+1wVmsXqK/MiwX8mgkiO2DrMNplId5Rv0d1/qMBlO8I5lbMVF2puEYwwyf08dI/TMHdAmzS+YSUuLPWO1Y7AKg8KkOms= Received: by 10.114.170.1 with SMTP id s1mr1279171wae.1172490926282; Mon, 26 Feb 2007 03:55:26 -0800 (PST) Received: by 10.115.17.9 with HTTP; Mon, 26 Feb 2007 03:55:26 -0800 (PST) Message-ID: Date: Mon, 26 Feb 2007 17:25:26 +0530 From: "ajay gopalakrishnan" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Anybody working on 'Super tunnel Daemon'. I would like to join in this project. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 12:22:11 -0000 Hey all, Anybody started work on the project 'Super tunnel Daemon' ? I was searching for some project for some time. And i recently came to know about this project at the project ideas page of FreeBSD. I read the requirements and idea of a non-offensive autodetection interested me the most. I would like to join this project. I would like to know if people have already started working on this project and the project's current status. Awaiting a reply, Regards, Ajay Gopalakrishnan. From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 13:02:53 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8A5716A402; Mon, 26 Feb 2007 13:02:53 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.web-strider.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 8AFBC13C4A8; Mon, 26 Feb 2007 13:02:53 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from coolf89ea26645 (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id l1QD2mZH026250; Mon, 26 Feb 2007 05:02:51 -0800 (PST) (envelope-from tedm@toybox.placo.com) Message-ID: <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> From: "Ted Mittelstaedt" To: "Joe Auty" References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org><200702251146.08150.Danovitsch@vitsch.net><228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org><003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645> <39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org> Date: Mon, 26 Feb 2007 05:01:39 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Mon, 26 Feb 2007 05:02:52 -0800 (PST) X-Mailman-Approved-At: Mon, 26 Feb 2007 14:14:21 +0000 Cc: "Daan Vreeken \[PA4DAN\]" , Kip Macy , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 13:02:54 -0000 ----- Original Message ----- From: "Joe Auty" To: "Ted Mittelstaedt" Cc: "Daan Vreeken [PA4DAN]" ; "Kip Macy" ; ; Sent: Sunday, February 25, 2007 10:39 PM Subject: Re: kernel panic at boot on any 6.x OS > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Feb 25, 2007, at 7:56 PM, Ted Mittelstaedt wrote: > > > > > ----- Original Message ----- > > From: "Joe Auty" > > To: "Daan Vreeken [PA4DAN]" > > Cc: "Kip Macy" ; ; > > > > Sent: Sunday, February 25, 2007 8:14 AM > > Subject: Re: kernel panic at boot on any 6.x OS > > > > > >> > >> Any idea how this could have happened after disabling everything in > >> my /etc/loader.conf, and simply running a: > >> > >> make buildworld > >> make buildkernel KERNCONF=myconfig > >> make installkernel KERNCONF=myconfig > >> > > > > well your supposed to do this single-user, run mergemaster and a > > few other > > things. > > I also don't see a make installworld. > > > > I usually perform those steps after I've rebooted to ensure that my > system will boot off the new kernel, as per the instructions in the > FreeBSD handbook. > > > Joe, please try booting from a 6.2-release install ISO. If it > > works without > > panicing, > > then you did something wrong during the upgrade. > > > > Downloading the image now, I'll let you know if I'm able to boot from > it... > > > Since by your own admission your not an expert, you would be well > > advised > > to simply back up your files the old fashioned way, reformat your > > hard disk, > > install from a 6.2 boot ISO, then restore your files. Leave the fancy > > in-place > > updating to someone else. It's a big PIA and doesen't work half > > the time > > anyway. > > > > > How well does simply upgrading with the CD work (as opposed to wiping > clean)? I've upgraded several times to new releases simply by > rebuilding world, it has never failed me in the past. I don't doubt > what you are saying here, but since I will have to change how I work, > assuming that I can boot off of the 6.2 CD, I'd appreciate any > general upgrade tips that don't involve wiping the disk clean (which > is not really an option). > If wiping the disk really isn't an option then you have one or more of the following problems: 1) Production system with a lack of hardware spares 2) inadequate backup plan and execution. People who state that wiping the disk isn't an option are screaming at the top of their lungs for the hardware gremlins to explain what MTBF is all about. The gremlins will visit you, I guarentee. And they always pick the very best times for it too. I just hope (if this is your workplace) that your job survives. > For instance, is rebuilding world between point releases (e.g. 5.4 to > 5.5) an okay idea, compared to across major releases (e.g. 5.5 to 6.2)? > > > I'll do my own homework regarding this too, but I appreciate any > nuggets of wisdom you might have! As far as me being an expert, I > guess I'd categorize me somewhere in between complete newb and > FreeBSD developer =) > The problem is that all of the ports and packages that you put on a server change from release to release. The developers of openssl, for example, don't give a tinkers damn about how FreeBSD's upgrade process works, when they are making changes in their code. I run a number of FreeBSD servers and what I do is simply keep them patched with security updates. Every once in a while a security hole will be discovered in a non-core program and if it's serious enough I'll go into the port and do a "make deinstall" followed by downloading and compiling the program the "old fashioned way" I shoot for a min of 3 years on the OS before even thinking about updating, and when it's time to update the hardware has generally reached the old rag stage anyway. Ted From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 14:50:49 2007 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 582AC16A402; Mon, 26 Feb 2007 14:50:49 +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 E791013C467; Mon, 26 Feb 2007 14:50:48 +0000 (UTC) (envelope-from sos@deepcore.dk) Received: from [194.192.25.137] (ws.deepcore.dk [194.192.25.137]) by spider.deepcore.dk (8.13.8/8.13.8) with ESMTP id l1QEolH2076727; Mon, 26 Feb 2007 15:50:47 +0100 (CET) (envelope-from sos@deepcore.dk) Message-ID: <45E2F3C7.4090407@deepcore.dk> Date: Mon, 26 Feb 2007 15:50:47 +0100 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Christian Brueffer References: <45D2D678.5020704@delphij.net> <45D2D833.6030800@deepcore.dk> <20070226142401.GA1885@haakonia.hitnet.RWTH-Aachen.DE> In-Reply-To: <20070226142401.GA1885@haakonia.hitnet.RWTH-Aachen.DE> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Adriaan de Groot , freebsd-hackers@FreeBSD.org Subject: Re: sil3124 sata raid ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 14:50:49 -0000 Christian Brueffer wrote: > On Wed, Feb 14, 2007 at 10:36:51AM +0100, Søren Schmidt wrote: > >> LI Xin wrote: >> >>> Danny Braniss wrote: >>> >>> >>>> Hi, >>>> Just wondering if there is any planned support for this card (or similar) >>>> >>>> >>> I've added sos@ to Cc list, who may have interest to this as well. Note >>> that developing drivers requires that the developer has his hands on >>> actual hardware and hardware specifications. >>> >>> >> Exactly, get me the HW on my lab table and I'll do the driver as >> time/docs permits, its that simple :) >> >> > > Adriaan de Groot (CCed) has written support for the 3124, please see > drivers@ for details. Hopefully you guys can work something out. > Sounds like someone has done (some of) the work needed, get in touch with me in private mail and lets se if we can get it into a committable state, from what I could gather from drivers@ its not really working yet... I havn't been able to locate 3124 HW here in .dk land yet so... -Søren From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 15:24:04 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20DAD16A401 for ; Mon, 26 Feb 2007 15:24:04 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from mta-1.ms.rz.rwth-aachen.de (mta-1.ms.rz.RWTH-Aachen.DE [134.130.7.72]) by mx1.freebsd.org (Postfix) with ESMTP id C9EC513C442 for ; Mon, 26 Feb 2007 15:24:03 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from circe ([134.130.3.36]) by mta-1.ms.rz.RWTH-Aachen.de (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JE200696QO2QH70@mta-1.ms.rz.RWTH-Aachen.de> for freebsd-hackers@freebsd.org; Mon, 26 Feb 2007 15:24:02 +0100 (CET) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Mon, 26 Feb 2007 15:24:02 +0100 (MET) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.8/8.13.1/1) with ESMTP id l1QEO10r014846; Mon, 26 Feb 2007 15:24:01 +0100 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 1HLglm-0000Pp-3h; Mon, 26 Feb 2007 15:24:02 +0100 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id A54493F41E; Mon, 26 Feb 2007 15:24:01 +0100 (CET) Date: Mon, 26 Feb 2007 15:24:01 +0100 From: Christian Brueffer In-reply-to: <45D2D833.6030800@deepcore.dk> To: =?iso-8859-1?Q?S=F8ren?= Schmidt Message-id: <20070226142401.GA1885@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=bg08WKrSYDhXBjb5 Content-disposition: inline X-Operating-System: FreeBSD 6.2-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: <45D2D678.5020704@delphij.net> <45D2D833.6030800@deepcore.dk> User-Agent: Mutt/1.5.11 Cc: Adriaan de Groot , freebsd-hackers@freebsd.org Subject: Re: sil3124 sata raid ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 15:24:04 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 14, 2007 at 10:36:51AM +0100, S=F8ren Schmidt wrote: > LI Xin wrote: > >Danny Braniss wrote: > > =20 > >>Hi, > >>Just wondering if there is any planned support for this card (or simila= r) > >> =20 > > > >I've added sos@ to Cc list, who may have interest to this as well. Note > >that developing drivers requires that the developer has his hands on > >actual hardware and hardware specifications. > > =20 > Exactly, get me the HW on my lab table and I'll do the driver as=20 > time/docs permits, its that simple :) >=20 Adriaan de Groot (CCed) has written support for the 3124, please see drivers@ for details. Hopefully you guys can work something out. - Christian --=20 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 --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFF4u2BbHYXjKDtmC0RArIxAJ0YXGRTSy28qZWJ3xOvwSwo3gq32ACfYasa WhdRALV773J7HHhZ8fIWOPs= =dkuQ -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5-- From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 15:48:43 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2370916A404 for ; Mon, 26 Feb 2007 15:48:43 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from pobox.codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id D49BC13C48E for ; Mon, 26 Feb 2007 15:48:38 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by pobox.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1HLhnj-000BAb-1F; Mon, 26 Feb 2007 18:30:07 +0300 Date: Mon, 26 Feb 2007 18:30:00 +0300 From: Eygene Ryabinkin To: Kip Macy Message-ID: <20070226152959.GL1084@codelabs.ru> References: <20070220155152.R24373@chrishome.localnet> <1172039459.3620.1.camel@srv> <20070222150725.G90468@chrishome.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-2.7 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_05 Cc: Christopher Arnold , freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: Xen Status? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 15:48:43 -0000 Kip, good day! > FreeBSD HEAD worked on Xen in the 3.0.2 time frame. If someone is able > to be self-sufficient in maintaining Xen support in FreeBSD I'll > review and put it into CVS. I was able to find the Google SoC project on Xen DomU, but there were no links to the source or patch files. Could you please point me to them. As I understand, now there is some support for the FreeBSD DomU, but there is no support for the FreeBSD Dom0. We (me and rik@) are willing to evaluate the Dom0 porting implications and will try to do the porting. Are there some other people that were done something in this area? Thanks! -- Eygene From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 16:35:24 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78ACE16A402 for ; Mon, 26 Feb 2007 16:35:24 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id 25E6813C481 for ; Mon, 26 Feb 2007 16:35:23 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 37754 invoked by uid 1001); 26 Feb 2007 16:36:45 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Mon, 26 Feb 2007 11:36:44 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17891.3228.173538.908477@bhuda.mired.org> Date: Mon, 26 Feb 2007 11:36:44 -0500 To: "Ted Mittelstaedt" In-Reply-To: <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org> <200702251146.08150.Danovitsch@vitsch.net> <228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org> <003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645> <39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org> <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> X-Mailer: VM 7.17 under 21.4 (patch 20) "Double Solitaire" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Mike Meyer Cc: "Daan Vreeken \[PA4DAN\]" , Kip Macy , Joe Auty , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 16:35:24 -0000 In <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645>, Ted Mittelstaedt typed: > > For instance, is rebuilding world between point releases (e.g. 5.4 to > > 5.5) an okay idea, compared to across major releases (e.g. 5.5 to 6.2)? For the record, I do a rebuild between point releases - actually, I track -stable on those systems, but do the wipe & reinstall across major releases. > I run a number of FreeBSD servers and what I do is simply keep them patched > with security updates. Every once in a while a security hole will be > discovered in a non-core program and if it's serious enough I'll go into the > port > and do a "make deinstall" followed by downloading and compiling the program > the "old fashioned way" I shoot for a min of 3 years on the OS before even > thinking about updating, and when it's time to update the hardware has > generally reached the old rag stage anyway. This works great for servers, that don't have any real users on them, and is pretty much how I do things. I'll try updating the ports tree and installing from that rather than building the old fashioned way, because that works a surprising percentage of the time. On desktop and development systems, the users tend to get pissed if I let things get that old. So I do upgrade them more often. There are a couple of things you can do to make reinstalling to a clean disk a bit less painfull. 1) Intelligent file system layout. I put all the things that aren't installed from the FreeBSD disks on their own partitions (/home and /local). I can then wipe and reinstall /, /var and /usr without clobbering the non-system data. 2) Mirrored disks. Disks for consumer systems are cheap. Throwing a second one in a system and mirroring the system disk is a cheap way to improve the reliability of the system. When it's time to upgrade, take a drive out of the mirror, and install to that drive. You can reboot to the old system if you need to interrupt the process and run the old system for some reason. With a file system layout as per #1, you can even mount the users files under both versions of the OS. When you're happy with the new system, mirror the new system drive to the old one. Neither of these is an excuse for not backing up your data before you start the process. Given the above, the backups are for disaster recovery, so you don't need full level 0 dumps, just up-to-date incrementals. So if you're running daily backups, this should be easy: drop into single user, and run an incremental since the last daily, which typically takes me a few minutes. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 16:44:02 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA50F16A400 for ; Mon, 26 Feb 2007 16:44:02 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from sourcehosting.net (sourcehosting.net [204.8.45.67]) by mx1.freebsd.org (Postfix) with ESMTP id 686F613C49D for ; Mon, 26 Feb 2007 16:44:02 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: (qmail 8391 invoked by uid 0); 26 Feb 2007 16:44:01 -0000 Received: from glarkin@sourcehosting.net by patches by uid 2033 with qmail-scanner-1.20rc1 (0.80 Clear:RC:1:. Processed in 0.020259 secs); 26 Feb 2007 16:44:01 -0000 X-Qmail-Scanner-Mail-From: glarkin@sourcehosting.net via patches X-Qmail-Scanner: 1.20rc1 (Clear:RC:1:. Processed in 0.020259 secs) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com (HELO Gregory-Larkins-Computer.local) (68.189.244.97) by 192.168.1.4 with SMTP; 26 Feb 2007 16:44:00 -0000 Received: from TWEETY (tweety.entropy.prv [192.168.1.9]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id C38B5D87550; Mon, 26 Feb 2007 11:43:33 -0500 (EST) From: "Greg Larkin" To: "'ghozzy'" Date: Mon, 26 Feb 2007 11:43:07 -0500 Organization: SourceHosting.net, LLC Message-ID: <00cc01c759c5$3546cbd0$0901a8c0@TWEETY> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6822 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: Importance: Normal Thread-Index: AcdYDVUqW5Fy9qFRTLu/wYgVRBe43wBtt+lA Cc: freebsd-hackers@freebsd.org Subject: RE: Instruction fault panic while installing 6.2 on VMware Server X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@sourcehosting.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 16:44:02 -0000 >=20 > Hi, >=20 > On 2/23/07, Greg Larkin wrote: > > Hi everyone, > > > > I'm creating a standard FreeBSD 6.2 ISO image that I can use to > > perform unattended installations into VMware Server virtual=20 > machines. > > I'm using VMServer 1.0.1, and I've hit a roadblock when sysinstall > > attempts to create the root filesystem. > > > > The first thing to mention is that VMServer is running on a=20 > CentOS 4.4 > > host OS, and the CPU architecture is a Via C3 Nehemiah. =20 > Technically, > > the VMServer software is not supposed to work on the Via C3=20 > line, but > > the Nehemiah apparently supports the CMOV instruction that VMServer > > requires. I've been able to install Fedora Core 6 successfully and > > run it with no problems, so I'm wondering if I just need to find the > > right options to configure FreeBSD 6.2 to get it to work. > > > > Anyway, the VM boots fine, loads the FreeBSD ISO, and launches > > sysinstall, but as soon as newfs is invoked to make the root > > filesystem, I get this: > > > > Making a new root filesystem on /dev/ad0s1a > > Panic: privileged instruction fault > > (auto reboot) > > > > I've tried installing from the standard 6.2 release ISO as well as a > > custom ISO with a recompiled kernel, but I get the same error either > > way. I also tried disabling ACPI during boot with no success. > > > > My custom kernel config is included below. My first=20 > thought was that > > if I explicitly set the CPU to I486, that might help avoid the > > instruction fault, but that doesn't work. I didn't see any other > > options that looked like they would fix the fault, but I'm not very > > experienced at kernel configuration either. > > > > Does anyone have an idea how to troubleshoot this problem? Thank you > > for any help! > > > > Regards, > > Greg Larkin >=20 > I have experienced similar problem in VMware Workstation=20 > under Windows XP > on Via C3 Nehemiah processor since FreeBSD 5.x. In my case privileged > instruction fault shot somewhere in rc boot process. Tracing=20 > down the cause of > fault i found out that it was xstore instruction, which=20 > VMware did not emulate. > It turned out to be the merit of new random generator=20 > appeared somewhere in > 5.x, which detected the Via processor and tried to use its=20 > hardware random > number generator. My workaround was to patch kernel to=20 > disable using this Via > processor feature completely. The result was successful=20 > booting and running > FreeBSD 5.x and 6.x under VMware on this machine. >=20 > Attached is the patch i use for 6.x kernel. >=20 > Hope this helps. >=20 > -- > ghozzy >=20 Hi Ghozzy, Thanks very much for that - I appreciate it! I'm in the midst of building a new ISO, and I'll test it out and let you know what happens. I should have grepped /usr/src for "Nehemiah"! Do you (or others) think there is any call for either VMware Server detection in the kernel or a kernel config option specifying that the kernel is going to run in a VM? =20 I wonder if patches like this and others would be useful to add to the official kernel sources, since VMware supports FreeBSD as a guest OS? Perhaps there are other kernel optimizations and configuration options that would make sense if the kernel knew it was running in a VM? Regards, Greg Larkin From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 17:21:22 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3C3816A404; Mon, 26 Feb 2007 17:21:22 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from av7-2-sn3.vrr.skanova.net (av7-2-sn3.vrr.skanova.net [81.228.9.182]) by mx1.freebsd.org (Postfix) with ESMTP id 66F8D13C46B; Mon, 26 Feb 2007 17:21:22 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: by av7-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 57205384A5; Mon, 26 Feb 2007 18:00:21 +0100 (CET) Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av7-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 3575D37E44; Mon, 26 Feb 2007 18:00:21 +0100 (CET) Received: from [192.168.1.149] (81-234-214-163-no68.tbcn.telia.com [81.234.214.163]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 828D537E49; Mon, 26 Feb 2007 18:00:51 +0100 (CET) From: Joel Dahl To: ajay gopalakrishnan In-Reply-To: References: Content-Type: text/plain; charset=ISO-8859-15 Date: Mon, 26 Feb 2007 18:00:55 +0100 Message-Id: <1172509255.981.2.camel@dude.automatvapen.se> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@freebsd.org, phk@FreeBSD.org Subject: Re: Anybody working on 'Super tunnel Daemon'. I would like to join in this project. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 17:21:22 -0000 Mån 2007-02-26 klockan 17:25 +0530 skrev ajay gopalakrishnan: > Hey all, > > Anybody started work on the project 'Super tunnel Daemon' ? I was searching > for some project for some time. And i recently came to know about this > project at the project ideas page of FreeBSD. I read the requirements and > idea of a non-offensive autodetection interested me the most. > > I would like to join this project. I would like to know if people have > already started working on this project and the project's current status. I'm not aware of anyone currently working on the super tunnel daemon project. -- Joel From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 18:01:26 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BA2916A401; Mon, 26 Feb 2007 18:01:26 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.freebsd.org (Postfix) with ESMTP id ECC0313C4A3; Mon, 26 Feb 2007 18:01:25 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id A9E2F7E8C3; Mon, 26 Feb 2007 13:01:27 -0500 (EST) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bW6148KqnG7Q; Mon, 26 Feb 2007 13:01:26 -0500 (EST) Received: from [192.168.0.2] (74-130-30-11.dhcp.insightbb.com [74.130.30.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id 60C347E8BF; Mon, 26 Feb 2007 13:01:26 -0500 (EST) In-Reply-To: <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org><200702251146.08150.Danovitsch@vitsch.net><228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org><003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645> <39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org> <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6F5A88A9-55D6-4D05-88DD-FF39D079A99B@netmusician.org> Content-Transfer-Encoding: 7bit From: Joe Auty Date: Mon, 26 Feb 2007 13:01:19 -0500 To: Ted Mittelstaedt X-Mailer: Apple Mail (2.752.2) Cc: "Daan Vreeken \[PA4DAN\]" , Kip Macy , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 18:01:26 -0000 On Feb 26, 2007, at 8:01 AM, Ted Mittelstaedt wrote: > > ----- Original Message ----- > From: "Joe Auty" > To: "Ted Mittelstaedt" > Cc: "Daan Vreeken [PA4DAN]" ; "Kip Macy" > ; ; > > Sent: Sunday, February 25, 2007 10:39 PM > Subject: Re: kernel panic at boot on any 6.x OS > > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> >> On Feb 25, 2007, at 7:56 PM, Ted Mittelstaedt wrote: >> >>> >>> ----- Original Message ----- >>> From: "Joe Auty" >>> To: "Daan Vreeken [PA4DAN]" >>> Cc: "Kip Macy" ; >> questions@freebsd.org>; >>> >>> Sent: Sunday, February 25, 2007 8:14 AM >>> Subject: Re: kernel panic at boot on any 6.x OS >>> >>> >>>> >>>> Any idea how this could have happened after disabling everything in >>>> my /etc/loader.conf, and simply running a: >>>> >>>> make buildworld >>>> make buildkernel KERNCONF=myconfig >>>> make installkernel KERNCONF=myconfig >>>> >>> >>> well your supposed to do this single-user, run mergemaster and a >>> few other >>> things. >>> I also don't see a make installworld. >>> >> >> I usually perform those steps after I've rebooted to ensure that my >> system will boot off the new kernel, as per the instructions in the >> FreeBSD handbook. >> >>> Joe, please try booting from a 6.2-release install ISO. If it >>> works without >>> panicing, >>> then you did something wrong during the upgrade. >>> >> >> Downloading the image now, I'll let you know if I'm able to boot from >> it... >> >>> Since by your own admission your not an expert, you would be well >>> advised >>> to simply back up your files the old fashioned way, reformat your >>> hard disk, >>> install from a 6.2 boot ISO, then restore your files. Leave the >>> fancy >>> in-place >>> updating to someone else. It's a big PIA and doesen't work half >>> the time >>> anyway. >>> >> >> >> How well does simply upgrading with the CD work (as opposed to wiping >> clean)? I've upgraded several times to new releases simply by >> rebuilding world, it has never failed me in the past. I don't doubt >> what you are saying here, but since I will have to change how I work, >> assuming that I can boot off of the 6.2 CD, I'd appreciate any >> general upgrade tips that don't involve wiping the disk clean (which >> is not really an option). >> > > If wiping the disk really isn't an option then you have one or more > of the > following > problems: > > 1) Production system with a lack of hardware spares > > 2) inadequate backup plan and execution. > > People who state that wiping the disk isn't an option are screaming > at the top of their lungs for the hardware gremlins to explain what > MTBF is > all about. > > The gremlins will visit you, I guarentee. And they always pick the > very > best > times for it too. I just hope (if this is your workplace) that > your job > survives. > My production system is backed up daily to two different sites, that's not an issue. The system I'm thinking of upgrading to 6.2 is my test server I run out of my house that stores movie files and other non-essential files. Technically, wiping it clean *would* be an option if it came down to it, just an inconvenience. Perhaps I should invest in another HD to use for instances such as this. >> For instance, is rebuilding world between point releases (e.g. 5.4 to >> 5.5) an okay idea, compared to across major releases (e.g. 5.5 to >> 6.2)? >> >> >> I'll do my own homework regarding this too, but I appreciate any >> nuggets of wisdom you might have! As far as me being an expert, I >> guess I'd categorize me somewhere in between complete newb and >> FreeBSD developer =) >> > > The problem is that all of the ports and packages that you put on a > server > change from release to release. The developers of openssl, for > example, > don't give a tinkers damn about how FreeBSD's upgrade process works, > when they are making changes in their code. > > I run a number of FreeBSD servers and what I do is simply keep them > patched > with security updates. Every once in a while a security hole will be > discovered in a non-core program and if it's serious enough I'll go > into the > port > and do a "make deinstall" followed by downloading and compiling the > program > the "old fashioned way" I shoot for a min of 3 years on the OS > before even > thinking about updating, and when it's time to update the hardware has > generally reached the old rag stage anyway. > Do you run any non-production machines where you test running newer OSes and test software updates and such? ----------- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org joe@netmusician.org From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 16:30:38 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F06716A401; Mon, 26 Feb 2007 16:30:38 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 42DBF13C4A8; Mon, 26 Feb 2007 16:30:38 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5EDC9.dip.t-dialin.net [84.165.237.201]) by redbull.bpaserver.net (Postfix) with ESMTP id 5FB752E13F; Mon, 26 Feb 2007 17:30:34 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id CC8995B54CB; Mon, 26 Feb 2007 17:30:27 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l1QGURRQ086798; Mon, 26 Feb 2007 17:30:27 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 26 Feb 2007 17:30:27 +0100 Message-ID: <20070226173027.nmapubjlwk88gwo4@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 26 Feb 2007 17:30:27 +0100 From: Alexander Leidinger To: ajay gopalakrishnan References: In-Reply-To: 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.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.787, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, TW_PH 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No X-Mailman-Approved-At: Mon, 26 Feb 2007 18:14:30 +0000 Cc: freebsd-hackers@freebsd.org, phk@freebsd.org Subject: Re: Anybody working on 'Super tunnel Daemon'. I would like to join in this project. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 16:30:38 -0000 Quoting ajay gopalakrishnan (from Mon, 26 Feb =20 2007 17:25:26 +0530): > Hey all, > > Anybody started work on the project 'Super tunnel Daemon' ? I was searchin= g > for some project for some time. And i recently came to know about this > project at the project ideas page of FreeBSD. I read the requirements and > idea of a non-offensive autodetection interested me the most. > > I would like to join this project. I would like to know if people have > already started working on this project and the project's current status. It would be more appropriate to ask the technical contact (CCed, just =20 in case) about this. As one of the care-takers of the ideas page (and as such one of the =20 people which often gets questions about the items on this page): I'm =20 not aware of anyone working on this. But maybe phk knows more. Bye, Alexander. --=20 Finagle's Seventh Law: =09The perversity of the universe tends toward a maximum. 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-hackers@FreeBSD.ORG Mon Feb 26 19:52:06 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF2B216A400; Mon, 26 Feb 2007 19:52:06 +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 AC39613C4B2; Mon, 26 Feb 2007 19:52:06 +0000 (UTC) (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 6582F1A3C19; Mon, 26 Feb 2007 11:52:06 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3DF085138A; Mon, 26 Feb 2007 14:52:05 -0500 (EST) Date: Mon, 26 Feb 2007 14:52:05 -0500 From: Kris Kennaway To: Peter Jeremy Message-ID: <20070226195204.GA14353@xor.obsecurity.org> References: <20070224213111.GB41434@xor.obsecurity.org> <20070226080837.GB844@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070226080837.GB844@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.2i Cc: smp@freebsd.org, hackers@freebsd.org, current@freebsd.org, Kris Kennaway Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 19:52:06 -0000 On Mon, Feb 26, 2007 at 07:08:37PM +1100, Peter Jeremy wrote: > On 2007-Feb-24 16:31:11 -0500, Kris Kennaway wrote: > >We have recently made significant progress on optimizing for MySQL > >running on an 8-core amd64 system. The graph of results may be found > >here: > > > > http://www.freebsd.org/~kris/scaling/scaling.png > > Those results look wonderful. Have you tried increasing the number of > threads to see if there's any nasty knee further to the right? Also, > is there any chance of repeating this testing on one of the big Suns > (or a T2000) to see how this scales to lots of cores? I didnt try at much higher loads yet, that will be interesting to explore. Currently on the Sun T2000 (32 hardware threads = virtual CPUs) we don't have good scaling (it's hard even to saturate all CPUs for kernel workloads): the current thinking is that this is largely because of contention on the global scheduler lock. Even when idle there is a lot of contention on the sched_lock coming from e.g. all 32 CPUs running statclock at once HZ=1000 times a second and fighting for the sched_lock. Fixing this is something Jeff and Attilio are working on (Kip Macy also did a lot of exploratory work last year), so we hope to make further progress over the coming weeks. Kris From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 20:41:01 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C31116A402 for ; Mon, 26 Feb 2007 20:41:01 +0000 (UTC) (envelope-from pashelper@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by mx1.freebsd.org (Postfix) with ESMTP id EB57413C48E for ; Mon, 26 Feb 2007 20:41:00 +0000 (UTC) (envelope-from pashelper@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so489923nza for ; Mon, 26 Feb 2007 12:41:00 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Ryhwa0NNl0M3xtEcVFwA+VHEB0VpP3jzPJcqc92BXX+o0tmBWNrdOiKCXpdID7oR7gm2zNJypXQyBOEixl/E+p82G+Fv2lL44CHZmYFTB3ItV0jc3z3p95YTcQlXGKyqAnzjqL6OZsTZHvGDf1GMNEPFqnRHk9j7bAKAmGUv17I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=o/1E20jP5nTbB6sewq2MsAOYjJaf6YVADW3fD35lrXgtOLtRLYhOra51rVQ9qSsJ7NcJFJexiTSYWMwNZf4VwuRg9R7o2tBtODl1be80RzZcFjJ/BHMGT/8MRP/LIew5hDry+YgJHc2C/XE4HbSEu9GePMTvPmao36cA6OiV0K0= Received: by 10.65.160.7 with SMTP id m7mr8967038qbo.1172520932171; Mon, 26 Feb 2007 12:15:32 -0800 (PST) Received: by 10.64.125.9 with HTTP; Mon, 26 Feb 2007 12:15:32 -0800 (PST) Message-ID: <7bfba8c10702261215m853e99ag288b22e01fd8f01@mail.gmail.com> Date: Mon, 26 Feb 2007 23:15:32 +0300 From: "Stan Krupoderov" To: "Alexander Leidinger" In-Reply-To: <20070226173027.nmapubjlwk88gwo4@webmail.leidinger.net> MIME-Version: 1.0 References: <20070226173027.nmapubjlwk88gwo4@webmail.leidinger.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: Anybody working on 'Super tunnel Daemon'. I would like to join in this project. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 20:41:01 -0000 I was talking about that idea with phk last year. I'm working on it, but I had not enough free time to implement more or less comlete public draft. Project URL: http://code.google.com/p/afreet/ Any ideas and comments are welcome. 2007/2/26, Alexander Leidinger : > It would be more appropriate to ask the technical contact (CCed, just > in case) about this. > > As one of the care-takers of the ideas page (and as such one of the > people which often gets questions about the items on this page): I'm > not aware of anyone working on this. But maybe phk knows more. > > -- Wbr, Stan. S. Krupoderov From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 20:49:53 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B4C916A405 for ; Mon, 26 Feb 2007 20:49:53 +0000 (UTC) (envelope-from freebsd-hackers@adam.gs) Received: from mail.adam.gs (mail.adam.gs [66.230.143.179]) by mx1.freebsd.org (Postfix) with ESMTP id 1722913C4A5 for ; Mon, 26 Feb 2007 20:49:48 +0000 (UTC) (envelope-from freebsd-hackers@adam.gs) Received: from mail.adam.gs (localhost [127.0.0.1]) by mail.adam.gs (Postfix) with ESMTP id 6554A3CAF0C for ; Mon, 26 Feb 2007 15:28:56 -0500 (EST) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=mail; d=adam.gs; b=rCsbl9spQGquCydkEqPdCPeo+U9rj9157mGwitew8VUNr/rWhWiC0+gCMoiAZm4LLkGhc1q2gfWCPNZu5y8m5Y0SrEskA8I3krCp2vzeWhDCkqBSsQUXWPFh7aOvvZ8yCvv95LIGeakhf2iBBcRtGGtkTfCnrAaxK5zcwUJ3kRA=; Mime-Version: 1.0 (Apple Message framework v752.3) References: <45E33802.2020606@zend.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4D3F70BA-53C3-4A22-99F4-728592F2DB84@adam.gs> Content-Transfer-Encoding: 7bit From: Adam Jacob Muller Date: Mon, 26 Feb 2007 15:28:54 -0500 To: freebsd-hackers@freebsd.org X-Mailer: Apple Mail (2.752.3) X-Authentication: 6Ivyy2jfvsXDoBb26DrfeBZ8GzGpqjqZzV+Sir7PeENp3QfLO5zmSGprrI8LUoyeAwIvaZXnIGD5REH0ZV1pbW2JbpzZLEyp4GQcIFX20C3n45CrsvY7Xxf+w+vhn7lCyk76VGvsOoqbYxCx+GKrqg== Subject: FreeBSD available disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 20:49:53 -0000 Hello, I've been going back and forth for a bit trying to figure out this situation, and I am hoping that someone on this list will have some insight :) When using php's disk_free_space() function to determine the amount of free space on a partition that has a negative amount of free space, PHP returns an unreasonably large number, for example: >> [root@cube]# php -r 'var_dump(disk_free_space("/some/partition/ >> with/negative/free/space"));' >> float(3.7778931863E+22) this is the comment from one of the PHP developers who has been helping me to debug this issue: > Well, this is actually quite interesting. > The problem is that according to POSIX statvfs struct's field > f_bavail must be . > But FreeBSD stores negative values in this field and I don't see > any hint on how to detect if this is a negative value or just a > huge positive one. > I can of course cast it to signed long, but that would effectively > break it on other platforms, which do conform POSIX standard and do > not store negative values in unsigned variables. > > I guess FreeBSD developers might help here, since that should be a > known problem for them. as well as: > I can see that libstatgrab uses #ifdef's for all *BSD flavours and > casts f_bavail to (long long). > Not sure if this is the correct solution, my previous suspicions > that it may not work with really big filesystems still aply. Thanks in advance for any insight you may have! -Adam From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 22:22:49 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0970316A476; Mon, 26 Feb 2007 22:22:49 +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 E69E213C46B; Mon, 26 Feb 2007 22:22:48 +0000 (UTC) (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 0BEEF1A4D8F; Mon, 26 Feb 2007 14:22:48 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 92ED754221; Mon, 26 Feb 2007 17:22:45 -0500 (EST) Date: Mon, 26 Feb 2007 17:22:45 -0500 From: Kris Kennaway To: Divacky Roman Message-ID: <20070226222245.GA16898@xor.obsecurity.org> References: <20070224213111.GB41434@xor.obsecurity.org> <20070226221527.GA59969@stud.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <20070226221527.GA59969@stud.fit.vutbr.cz> User-Agent: Mutt/1.4.2.2i Cc: smp@freebsd.org, hackers@freebsd.org, current@freebsd.org, Kris Kennaway Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 22:22:49 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 26, 2007 at 11:15:27PM +0100, Divacky Roman wrote: > I wonder if anyone measured what effect superpages has on mysql performance... > this should not help scaling but I can imagine it has some effect. I have thought about trying this but have not found the time. I am currently very highly contended by various proposed patches and workloads and need to try and find ways to optimize my scaling (perhaps by adding a second CPU). Kris --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF4121Wry0BWjoQKURAp9CAJ9XmMGfX5gv0u6YpsjaKleGECmC4wCfQhgK +eLVTMzuXsA11zr5FS+1C+E= =Yy/N -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8-- From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 22:31:12 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F75916A408; Mon, 26 Feb 2007 22:31:12 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.freebsd.org (Postfix) with ESMTP id E9D5013C4AA; Mon, 26 Feb 2007 22:31:11 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id l1QMFRQB060054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Feb 2007 23:15:27 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id l1QMFR0P060053; Mon, 26 Feb 2007 23:15:27 +0100 (CET) Date: Mon, 26 Feb 2007 23:15:27 +0100 From: Divacky Roman To: Kris Kennaway Message-ID: <20070226221527.GA59969@stud.fit.vutbr.cz> References: <20070224213111.GB41434@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070224213111.GB41434@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: smp@freebsd.org, hackers@freebsd.org, current@freebsd.org Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 22:31:12 -0000 On Sat, Feb 24, 2007 at 04:31:11PM -0500, Kris Kennaway wrote: > Now that the goals of the SMPng project are complete, for the past > year or more several of us have been working hard on profiling FreeBSD > in various multiprocessor workloads, and looking for performance > bottlenecks to be optimized. > > We have recently made significant progress on optimizing for MySQL > running on an 8-core amd64 system. The graph of results may be found > here: > > http://www.freebsd.org/~kris/scaling/scaling.png > > This shows the graph of MySQL transactions/second performed by a > multi-threaded client workload against a local MySQL database with > varying numbers of client threads, with identically configured FreeBSD > and Linux systems on the same machine. > > The test was run on FreeBSD 7.0, with the latest version of the ULE > 2.0 scheduler, the libthr threading library, and an uncommitted patch > from Jeff Roberson [1] that addresses poor scalability of file > descriptor locking (using a new sleepable mutex primitive); this patch > is responsible for almost all of the performance and scaling > improvements measured. It also includes some other patches (collected > in my kris-contention p4 branch) that have been shown to help > contention in MySQL workloads in the past (including a UNIX domain > socket locking pushdown patch from Robert Watson), but these were > shown to only give small individual contributions, with a cumulative > effect on the order of 5-10%. I wonder if anyone measured what effect superpages has on mysql performance... this should not help scaling but I can imagine it has some effect. From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 26 22:38:22 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 380D216A403; Mon, 26 Feb 2007 22:38:22 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.freebsd.org (Postfix) with ESMTP id 05C9713C47E; Mon, 26 Feb 2007 22:38:19 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id DFCA47E8C3; Mon, 26 Feb 2007 17:38:21 -0500 (EST) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rXT945wjvabt; Mon, 26 Feb 2007 17:38:21 -0500 (EST) Received: from [192.168.0.2] (74-130-30-11.dhcp.insightbb.com [74.130.30.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id 194017E8BF; Mon, 26 Feb 2007 17:38:21 -0500 (EST) In-Reply-To: <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org><200702251146.08150.Danovitsch@vitsch.net><228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org><003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645> <39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org> <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <73B261EE-79C5-4773-B563-9D9FCA16B4C8@netmusician.org> Content-Transfer-Encoding: 7bit From: Joe Auty Date: Mon, 26 Feb 2007 17:38:10 -0500 To: Ted Mittelstaedt X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Gpgmail-State: signed X-Mailer: Apple Mail (2.752.2) Cc: "Daan Vreeken \[PA4DAN\]" , Kip Macy , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 22:38:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well, My system does boot off of disc 1 of the FreeBSD 6.2 CD. However, even when copying the /boot directory from the CD to my machine, it still produces the same kernel panic, even when starting in safe mode. I've run a memtest, and it checked out fine. There must be something in my user space or world that it barfs on. I guess I will try a clean install and rebuild at some point... If you have any other ideas, I'm all ears! Here is my error message again (with verbose logging enabled, although that has no effect on this output): > WARNING: Device driver " > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x400000 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc06d4614 > stack pointer = 0x28:0xf015491c > frame pointer = 0x28:0xf015491c > code segment = base 0x0, limit 0xffffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interupt enabled, resume, IOPL = 0 > current process = 898 (kldload) > trap number = 12 > panic: page fault > uptime: 36s > cannot dump. No dump device defined > automatic reboot in 15 seconds Thanks again for your time! - ----------- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org joe@netmusician.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD4DBQFF42FSCgdfeCwsL5ERArNQAJ9pEyu3ZT3BXe4YhEsgRsid6fB+SwCXeGjO fO0GeeBUPKKYq4N5rRHDTw== =PgI8 -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 02:51:48 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42FB716A408 for ; Tue, 27 Feb 2007 02:51:48 +0000 (UTC) (envelope-from kip.macy@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 C9BF713C4B9 for ; Tue, 27 Feb 2007 02:51:47 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so27484nfc for ; Mon, 26 Feb 2007 18:51:46 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=krht0KCORh2gX65r3x1rMJ0vVqd4iREi+/fsJ79Mipuan1JF+2T/p7Iq2ED/a61ZGbDTFidKgg5YO0K3tY6B63yYl0pK2gau2GUetrCxvgYe6FReu2vDtzVEV3/TxLX3TkPsUDbNEXh2LDFM9VYTccqb1MwVW5K9PZnV/4fsD1k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=e1lS5gAF4EDj8ZBWq6ix+G2TxIYMpTTLmrDIaSw9tKJoK2Am4c7hYEL3jUPaP0TiV7DEStP65kjJa94Kro0nezKG4BRQchz+D/pzNUOnpPGywzc6iLDGhdKftQ6NcWBlJbg+Dnaz6QbkqWTR8UwwSdITlSAFlM6lvvWT2S1V5Yk= Received: by 10.82.163.13 with SMTP id l13mr2092118bue.1172544706301; Mon, 26 Feb 2007 18:51:46 -0800 (PST) Received: by 10.82.151.15 with HTTP; Mon, 26 Feb 2007 18:51:46 -0800 (PST) Message-ID: Date: Mon, 26 Feb 2007 18:51:46 -0800 From: "Kip Macy" To: "Joe Auty" In-Reply-To: <73B261EE-79C5-4773-B563-9D9FCA16B4C8@netmusician.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org> <200702251146.08150.Danovitsch@vitsch.net> <228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org> <003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645> <39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org> <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> <73B261EE-79C5-4773-B563-9D9FCA16B4C8@netmusician.org> Cc: "Daan Vreeken \[PA4DAN\]" , freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, Ted Mittelstaedt Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 02:51:48 -0000 It looks like it may be loading an out of sync kernel module. Cleaning out /boot/modules might help. -Kip On 2/26/07, Joe Auty wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Well, > > My system does boot off of disc 1 of the FreeBSD 6.2 CD. However, > even when copying the /boot directory from the CD to my machine, it > still produces the same kernel panic, even when starting in safe > mode. I've run a memtest, and it checked out fine. > > There must be something in my user space or world that it barfs on. I > guess I will try a clean install and rebuild at some point... > > If you have any other ideas, I'm all ears! > > Here is my error message again (with verbose logging enabled, > although that has no effect on this output): > > > > WARNING: Device driver " > > > > Fatal trap 12: page fault while in kernel mode > > fault virtual address = 0x400000 > > fault code = supervisor read, page not present > > instruction pointer = 0x20:0xc06d4614 > > stack pointer = 0x28:0xf015491c > > frame pointer = 0x28:0xf015491c > > code segment = base 0x0, limit 0xffffff, type 0x1b > > = DPL 0, pres 1, def32 1, gran 1 > > processor eflags = interupt enabled, resume, IOPL = 0 > > current process = 898 (kldload) > > trap number = 12 > > panic: page fault > > uptime: 36s > > cannot dump. No dump device defined > > automatic reboot in 15 seconds > > > Thanks again for your time! > > > - ----------- > Joe Auty > NetMusician: web publishing software for musicians > http://www.netmusician.org > joe@netmusician.org > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (Darwin) > > iD4DBQFF42FSCgdfeCwsL5ERArNQAJ9pEyu3ZT3BXe4YhEsgRsid6fB+SwCXeGjO > fO0GeeBUPKKYq4N5rRHDTw== > =PgI8 > -----END PGP SIGNATURE----- > From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 04:33:27 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C34916A406; Tue, 27 Feb 2007 04:33:27 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 0E4E013C46B; Tue, 27 Feb 2007 04:33:26 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l1R4XPT0082429; Tue, 27 Feb 2007 15:33:25 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l1R4XP4r082420; Tue, 27 Feb 2007 15:33:25 +1100 (EST) (envelope-from peter) Date: Tue, 27 Feb 2007 15:33:25 +1100 From: Peter Jeremy To: Joe Auty Message-ID: <20070227043324.GX844@turion.vk2pj.dyndns.org> References: <39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org> <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> <73B261EE-79C5-4773-B563-9D9FCA16B4C8@netmusician.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hoZxPH4CaxYzWscb" Content-Disposition: inline In-Reply-To: <73B261EE-79C5-4773-B563-9D9FCA16B4C8@netmusician.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 04:33:27 -0000 --hoZxPH4CaxYzWscb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Feb-26 17:38:10 -0500, Joe Auty wrote: >My system does boot off of disc 1 of the FreeBSD 6.2 CD. That's a good start. Together with your memtest results, it suggests that your hardware is OK. > However, =20 >even when copying the /boot directory from the CD to my machine, it =20 >still produces the same kernel panic, even when starting in safe =20 >mode. Can you confirm that you have either deleted or renamed /boot before replacing it with files from the CD. An out-of-sync module does sound the most likely problem. If that doesn't help, please start DDB and get a backtrace. > I've run a memtest, and it checked out fine. Note that memtest cannot prove that your system doesn't have a problem. There are far too many states that your system could potentially be in. DRAM is especially susceptable to pattern- dependent and temporal glitches. >There must be something in my user space or world that it barfs on. I =20 >guess I will try a clean install and rebuild at some point... If you're not sure where this is being triggered, you could try adding 'rc_debug=3D"YES"' to your rc.conf (or even a 'set -x' if you are getting really desperate). This will make the boot sequence far more verbose. --=20 Peter Jeremy --hoZxPH4CaxYzWscb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF47SU/opHv/APuIcRArlRAJwL9cir++DoXaotiZir3Rt52uu7ewCdFfdb H0AeJK6fmsLJfxa1zwDblmE= =mqMV -----END PGP SIGNATURE----- --hoZxPH4CaxYzWscb-- From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 04:45:57 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6664216A402; Tue, 27 Feb 2007 04:45:57 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.freebsd.org (Postfix) with ESMTP id 2276113C4B2; Tue, 27 Feb 2007 04:45:57 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 4706E7E8DD; Mon, 26 Feb 2007 23:45:59 -0500 (EST) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gs5B+zZ+5Y15; Mon, 26 Feb 2007 23:45:58 -0500 (EST) Received: from [192.168.0.2] (74-130-30-11.dhcp.insightbb.com [74.130.30.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id 8242A7E8BF; Mon, 26 Feb 2007 23:45:58 -0500 (EST) In-Reply-To: References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org> <200702251146.08150.Danovitsch@vitsch.net> <228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org> <003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645> <39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org> <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> <73B261EE-79C5-4773-B563-9D9FCA16B4C8@netmusician.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Joe Auty Date: Mon, 26 Feb 2007 23:45:41 -0500 To: Kip Macy X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Gpgmail-State: signed X-Mailer: Apple Mail (2.752.2) Cc: "Daan Vreeken \[PA4DAN\]" , freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, Ted Mittelstaedt Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 04:45:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Unfortunately, my /boot/modules is already empty =( On Feb 26, 2007, at 9:51 PM, Kip Macy wrote: > It looks like it may be loading an out of sync kernel module. Cleaning > out /boot/modules might help. > > -Kip > > On 2/26/07, Joe Auty wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Well, >> >> My system does boot off of disc 1 of the FreeBSD 6.2 CD. However, >> even when copying the /boot directory from the CD to my machine, it >> still produces the same kernel panic, even when starting in safe >> mode. I've run a memtest, and it checked out fine. >> >> There must be something in my user space or world that it barfs on. I >> guess I will try a clean install and rebuild at some point... >> >> If you have any other ideas, I'm all ears! >> >> Here is my error message again (with verbose logging enabled, >> although that has no effect on this output): >> >> >> > WARNING: Device driver " >> > >> > Fatal trap 12: page fault while in kernel mode >> > fault virtual address = 0x400000 >> > fault code = supervisor read, page not present >> > instruction pointer = 0x20:0xc06d4614 >> > stack pointer = 0x28:0xf015491c >> > frame pointer = 0x28:0xf015491c >> > code segment = base 0x0, limit 0xffffff, type 0x1b >> > = DPL 0, pres 1, def32 1, gran 1 >> > processor eflags = interupt enabled, resume, IOPL = 0 >> > current process = 898 (kldload) >> > trap number = 12 >> > panic: page fault >> > uptime: 36s >> > cannot dump. No dump device defined >> > automatic reboot in 15 seconds >> >> >> Thanks again for your time! >> >> >> - ----------- >> Joe Auty >> NetMusician: web publishing software for musicians >> http://www.netmusician.org >> joe@netmusician.org >> >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.6 (Darwin) >> >> iD4DBQFF42FSCgdfeCwsL5ERArNQAJ9pEyu3ZT3BXe4YhEsgRsid6fB+SwCXeGjO >> fO0GeeBUPKKYq4N5rRHDTw== >> =PgI8 >> -----END PGP SIGNATURE----- >> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers- > unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF47d2CgdfeCwsL5ERAg/iAKCLVp7f+SB/f2xbT43lu4IeQWJxuACfa+L1 tpwQkQetPAVf53uCTA3hr6A= =ej7q -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 06:28:27 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BDB016A401; Tue, 27 Feb 2007 06:28:27 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.freebsd.org (Postfix) with ESMTP id E405313C48D; Tue, 27 Feb 2007 06:28:26 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 732DD7E8D3; Tue, 27 Feb 2007 01:28:26 -0500 (EST) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tRGbZ1pg0oQM; Tue, 27 Feb 2007 01:28:26 -0500 (EST) Received: from [192.168.0.2] (74-130-30-11.dhcp.insightbb.com [74.130.30.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id CF1CB7E8C3; Tue, 27 Feb 2007 01:28:25 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <20070227043324.GX844@turion.vk2pj.dyndns.org> References: <39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org> <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> <73B261EE-79C5-4773-B563-9D9FCA16B4C8@netmusician.org> <20070227043324.GX844@turion.vk2pj.dyndns.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <07E8C3BD-8764-488B-8CD7-D8A106D922C1@netmusician.org> Content-Transfer-Encoding: 7bit From: Joe Auty Date: Tue, 27 Feb 2007 01:28:07 -0500 To: FreeBSD Questions , freebsd-hackers@freebsd.org X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) Cc: Subject: Re: kernel panic at boot on any 6.x OS *SOLVED!* X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 06:28:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sort of... Thanks for everybody that has helped me! It turns out I had a couple of rc.d scripts in /usr/local/etc/rc.d that were doing kldloads: rtc.sh and kqemu.sh - one of these was causing the panic. It might be worthwhile adding to the world rebuild doc a suggestion to grep kldload /usr/local/etc/rc.d and disable/ remove these services... Or, simply moving /usr/local/etc/rc.d might also be worthwhile test. I guess the trick here was not considering that user space apps would be trying to do a kldload, and that calling upon a module that is either missing in /boot/kernel or /boot/modules or resides outside of /boot can trigger these panics. Always the most simple of solutions that kicks you in the ass, isn't it? =) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF4894CgdfeCwsL5ERAlvfAKCiLEGZMTsGonn0OrdlTTMCp9GeZACePQ2V WCwXuHBFh/FOVsDJLa84Yks= =85PR -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 07:32:52 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 433C316A4DF; Tue, 27 Feb 2007 07:32:52 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.web-strider.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id EC0B313C48D; Tue, 27 Feb 2007 07:32:49 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from coolf89ea26645 (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id l1R7Wip2043003; Mon, 26 Feb 2007 23:32:45 -0800 (PST) (envelope-from tedm@toybox.placo.com) Message-ID: <001b01c75a41$559c28e0$3c01a8c0@coolf89ea26645> From: "Ted Mittelstaedt" To: "Mike Meyer" References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org><200702251146.08150.Danovitsch@vitsch.net><228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org><003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645><39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org><001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> <17891.3228.173538.908477@bhuda.mired.org> Date: Mon, 26 Feb 2007 23:31:41 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Mon, 26 Feb 2007 23:32:49 -0800 (PST) X-Mailman-Approved-At: Tue, 27 Feb 2007 13:07:13 +0000 Cc: "Daan Vreeken \[PA4DAN\]" , Kip Macy , Joe Auty , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 07:32:52 -0000 ----- Original Message ----- From: "Mike Meyer" To: "Ted Mittelstaedt" Cc: "Joe Auty" ; "Daan Vreeken [PA4DAN]" ; "Kip Macy" ; ; Sent: Monday, February 26, 2007 8:36 AM Subject: Re: kernel panic at boot on any 6.x OS > > and do a "make deinstall" followed by downloading and compiling the program > > the "old fashioned way" I shoot for a min of 3 years on the OS before even > > thinking about updating, and when it's time to update the hardware has > > generally reached the old rag stage anyway. > > This works great for servers, that don't have any real users on them, > and is pretty much how I do things. I'll try updating the ports tree > and installing from that rather than building the old fashioned way, > because that works a surprising percentage of the time. > > On desktop and development systems, the users tend to get pissed if I > let things get that old. So I do upgrade them more often. That depends on who's paying for it. If your in-house support your screwed of course, since all of them think your labor hours are inexhaustable. But if the users are in a small business or whatever that has to actually pay real money to have their systems updated, then they are usually a lot less enthusiastic about new updates (at least, their owners are) > There are a > couple of things you can do to make reinstalling to a clean disk a bit > less painfull. > > 1) Intelligent file system layout. I put all the things that aren't > installed from the FreeBSD disks on their own partitions (/home and > /local). I can then wipe and reinstall /, /var and /usr without > clobbering the non-system data. > > 2) Mirrored disks. Disks for consumer systems are cheap. Throwing a > second one in a system and mirroring the system disk is a cheap way to > improve the reliability of the system. When it's time to upgrade, take > a drive out of the mirror, and install to that drive. You can reboot > to the old system if you need to interrupt the process and run the old > system for some reason. With a file system layout as per #1, you can > even mount the users files under both versions of the OS. When you're > happy with the new system, mirror the new system drive to the old one. > I do the mirroring thing too but the one thing you have to watch is inadequate cooling in some of these minitowers. Stacking the disks on top of each other with no cooling fan blowing air on them is not a good idea. Ted From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 07:41:33 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB95C16A401; Tue, 27 Feb 2007 07:41:33 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.web-strider.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 9BAB813C4B4; Tue, 27 Feb 2007 07:41:33 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from coolf89ea26645 (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id l1R7fVkx043071; Mon, 26 Feb 2007 23:41:31 -0800 (PST) (envelope-from tedm@toybox.placo.com) Message-ID: <001e01c75a42$8de47710$3c01a8c0@coolf89ea26645> From: "Ted Mittelstaedt" To: "Joe Auty" References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org><200702251146.08150.Danovitsch@vitsch.net><228AFDCF-D9C1-43F1-ACBE-719595B10FEE@netmusician.org><003b01c75940$fbc095f0$3c01a8c0@coolf89ea26645> <39E24107-964D-414C-95D1-5B1C376291E4@netmusician.org> <001001c759a6$438d5ed0$3c01a8c0@coolf89ea26645> <6F5A88A9-55D6-4D05-88DD-FF39D079A99B@netmusician.org> Date: Mon, 26 Feb 2007 23:40:28 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Mon, 26 Feb 2007 23:41:33 -0800 (PST) X-Mailman-Approved-At: Tue, 27 Feb 2007 13:07:31 +0000 Cc: "Daan Vreeken \[PA4DAN\]" , Kip Macy , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 07:41:34 -0000 ----- Original Message ----- From: "Joe Auty" To: "Ted Mittelstaedt" Cc: "Daan Vreeken [PA4DAN]" ; "Kip Macy" ; ; Sent: Monday, February 26, 2007 10:01 AM Subject: Re: kernel panic at boot on any 6.x OS > > On Feb 26, 2007, at 8:01 AM, Ted Mittelstaedt wrote: > > > > > ----- Original Message ----- > > From: "Joe Auty" > > To: "Ted Mittelstaedt" > > Cc: "Daan Vreeken [PA4DAN]" ; "Kip Macy" > > ; ; > > > > Sent: Sunday, February 25, 2007 10:39 PM > > Subject: Re: kernel panic at boot on any 6.x OS > > > > > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> > >> On Feb 25, 2007, at 7:56 PM, Ted Mittelstaedt wrote: > >> > >>> > >>> ----- Original Message ----- > >>> From: "Joe Auty" > >>> To: "Daan Vreeken [PA4DAN]" > >>> Cc: "Kip Macy" ; >>> questions@freebsd.org>; > >>> > >>> Sent: Sunday, February 25, 2007 8:14 AM > >>> Subject: Re: kernel panic at boot on any 6.x OS > >>> > >>> > >>>> > >>>> Any idea how this could have happened after disabling everything in > >>>> my /etc/loader.conf, and simply running a: > >>>> > >>>> make buildworld > >>>> make buildkernel KERNCONF=myconfig > >>>> make installkernel KERNCONF=myconfig > >>>> > >>> > >>> well your supposed to do this single-user, run mergemaster and a > >>> few other > >>> things. > >>> I also don't see a make installworld. > >>> > >> > >> I usually perform those steps after I've rebooted to ensure that my > >> system will boot off the new kernel, as per the instructions in the > >> FreeBSD handbook. > >> > >>> Joe, please try booting from a 6.2-release install ISO. If it > >>> works without > >>> panicing, > >>> then you did something wrong during the upgrade. > >>> > >> > >> Downloading the image now, I'll let you know if I'm able to boot from > >> it... > >> > >>> Since by your own admission your not an expert, you would be well > >>> advised > >>> to simply back up your files the old fashioned way, reformat your > >>> hard disk, > >>> install from a 6.2 boot ISO, then restore your files. Leave the > >>> fancy > >>> in-place > >>> updating to someone else. It's a big PIA and doesen't work half > >>> the time > >>> anyway. > >>> > >> > >> > >> How well does simply upgrading with the CD work (as opposed to wiping > >> clean)? I've upgraded several times to new releases simply by > >> rebuilding world, it has never failed me in the past. I don't doubt > >> what you are saying here, but since I will have to change how I work, > >> assuming that I can boot off of the 6.2 CD, I'd appreciate any > >> general upgrade tips that don't involve wiping the disk clean (which > >> is not really an option). > >> > > > > If wiping the disk really isn't an option then you have one or more > > of the > > following > > problems: > > > > 1) Production system with a lack of hardware spares > > > > 2) inadequate backup plan and execution. > > > > People who state that wiping the disk isn't an option are screaming > > at the top of their lungs for the hardware gremlins to explain what > > MTBF is > > all about. > > > > The gremlins will visit you, I guarentee. And they always pick the > > very > > best > > times for it too. I just hope (if this is your workplace) that > > your job > > survives. > > > > My production system is backed up daily to two different sites, > that's not an issue. The system I'm thinking of upgrading to 6.2 is > my test server I run out of my house that stores movie files and > other non-essential files. Technically, wiping it clean *would* be an > option if it came down to it, just an inconvenience. Perhaps I should > invest in another HD to use for instances such as this. > > > >> For instance, is rebuilding world between point releases (e.g. 5.4 to > >> 5.5) an okay idea, compared to across major releases (e.g. 5.5 to > >> 6.2)? > >> > >> > >> I'll do my own homework regarding this too, but I appreciate any > >> nuggets of wisdom you might have! As far as me being an expert, I > >> guess I'd categorize me somewhere in between complete newb and > >> FreeBSD developer =) > >> > > > > The problem is that all of the ports and packages that you put on a > > server > > change from release to release. The developers of openssl, for > > example, > > don't give a tinkers damn about how FreeBSD's upgrade process works, > > when they are making changes in their code. > > > > I run a number of FreeBSD servers and what I do is simply keep them > > patched > > with security updates. Every once in a while a security hole will be > > discovered in a non-core program and if it's serious enough I'll go > > into the > > port > > and do a "make deinstall" followed by downloading and compiling the > > program > > the "old fashioned way" I shoot for a min of 3 years on the OS > > before even > > thinking about updating, and when it's time to update the hardware has > > generally reached the old rag stage anyway. > > > > > Do you run any non-production machines where you test running newer > OSes and test software updates and such? > We used to but the problem was that the manufacturers change hardware designs much faster than we replace systems. So you end up with every server is running on different hardware. It may all be from the same manufacturer, even have the same brand name and line name on it, but the guts are different. I've basically cut back to a single clone system that I use to create custom-configured install ISOs from and that is synced to the source tree when I need for it to be. But for everything else, we try whatever possible to avoid doing updates on them other than security until they have reached their end of service life. When I'm building the replacement server for one we are retiring, that is when I do all my testing of updated applications. Ted From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 17:51:41 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3829416A403 for ; Tue, 27 Feb 2007 17:51:41 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by mx1.freebsd.org (Postfix) with ESMTP id A02F113C46B for ; Tue, 27 Feb 2007 17:51:40 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so806289nza for ; Tue, 27 Feb 2007 09:51:40 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=KUaUln0xGo6VnjkiuqOd147p2hcEFAcnIdD6HyqfCh1mNF2+3OQHo6G9+OdCJftvK2k7w1VUazHKgPk5cZcsQDpb3t84H3t/CRMLV+o9uH3PXCkTtMl7uC5npZqr3W2YnJcS7BmeD3llWma2K79ZLAqKFDUVYDfo8Br5SrQhF2I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=NAz1mGczWk644x4M4jeSu0WfuixJoZ6A+N9Ey6ARTtSY0uFZfGx3kHsvMox7D8vO5mzbnFT9pYxoT/vTccVkkyiHJB7lWIWi2kwV/5epnulGbWQ30b/neQUThZdv7wWS0JOcSRCZ7LS7Q4r9FrBykPLCcr5NDhhh/hPRJiJR6Mw= Received: by 10.114.169.2 with SMTP id r2mr2652371wae.1172598699331; Tue, 27 Feb 2007 09:51:39 -0800 (PST) Received: by 10.115.108.15 with HTTP; Tue, 27 Feb 2007 09:51:38 -0800 (PST) Message-ID: <346a80220702270951r4f5eb2c5k8694a36c4f7ff363@mail.gmail.com> Date: Tue, 27 Feb 2007 10:51:38 -0700 From: "Coleman Kane" To: "DAK GHATIKACHALAM" In-Reply-To: <5df74baa0702241800u34b7d908o55e1e8a5ba79b7bc@mail.gmail.com> MIME-Version: 1.0 References: <20070224194832.42767.qmail@web27705.mail.ukl.yahoo.com> <5df74baa0702241800u34b7d908o55e1e8a5ba79b7bc@mail.gmail.com> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Wireless card not being detected X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@cokane.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 17:51:41 -0000 On 2/24/07, DAK GHATIKACHALAM wrote: > > I wonder why these fraudulent scam artists/spammers abusing our freebsd > lists. > > They are in wrong place with wrong people. > > I am not buying your idea anyway. dude, you chose a wrong person. > > Thanks > Dak > > ---------- Forwarded message ---------- > From: wale qazim > Date: Feb 24, 2007 2:48 PM > Subject: Re: Wireless card not being detected > To: DAK GHATIKACHALAM > > Hello, > > > > I want to know if you can sent a Message by Bank Coded Fax or MT Series > Swift. I am desperate in need of it as soon as possible, you can as well > link me with someone who can do it.. > > > > In case you can, please send me mail through money_market@lycos.co.uk. > > > > Thank you > > > > Regards, > > > > Julio Munento > > > ----- Original Message ---- > From: DAK GHATIKACHALAM > To: freebsd-hackers@freebsd.org > Sent: Monday, 19 February, 2007 3:56:56 AM > Subject: Wireless card not being detected > > Hi Freebsd > > > I have an issue with new card I need to make it work with freebsd, > > > on /var/log/messages I get > > > Feb 18 20:51:55 DAK kernel: pccard0: (manufacturer=3D0x019= 2, > produc > t=3D0x0710, function_type=3D6) at function 0 > Feb 18 20:51:55 DAK kernel: pccard0: CIS info: Sierra Wireless, AC860, > 3G > Net > work Adapter, R1 > > > For some reason I dont understand why I get unknown card error > > Does any one has idea > > > Thanks > Dak > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > > > ------------------------------ > *Yahoo! Photos*< > http://us.rd.yahoo.com/mail/uk/taglines/gmail_com/photos/*http://uk.photo= s.yahoo.com/ > >=96 > NEW, now offering a quality print > service< > http://us.rd.yahoo.com/mail/uk/taglines/gmail_com/photos/*http://uk.photo= s.yahoo.com/ > >from > just 8p a photo. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > I think that I've exhausted my expertise in the area. You may wish to try a more specific list, like freebsd-mobile, freebsd-hardware, or freebsd-driversfor more specific help. There are likely a number of people on those lists who don't subscribe to -hackers, and they may have more experience in the problem. -- Coleman From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 18:21:32 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4DA716A400 for ; Tue, 27 Feb 2007 18:21:32 +0000 (UTC) (envelope-from samuraiblog@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 791A913C4AA for ; Tue, 27 Feb 2007 18:21:30 +0000 (UTC) (envelope-from samuraiblog@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1088213ugh for ; Tue, 27 Feb 2007 10:21:29 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=s71NF6DBZjOWpvVgcHZW4zyrTEd0rhAN/z9GNzqALNutOnzIbkRH7ot4vMxGZZ8G4Wxtd+mgCPRHF34akKFcgdhBaDWPzoThwFJrq/fw06Hktt0S2yg6HKdwbD35rjW/zWS5qIlDNXD2LaP24NQj+dgeFcYVCL6M4CY/mBFqssI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=TSlyISREftZsevAjP5TH902sTfOcRdeCf7RVXfTPv+TIYRMqQdeHzUvWy9Wr7395GL8qSjgSHVNfXN6kNP7HywaFhStvLDSAlwjDhOdLKcLZrPmn5mPm61FPsQqYYJ6r+kro1swhFl2x31ZfUvxELx1x4xFds7xn0RU9HyYH5+I= Received: by 10.78.157.8 with SMTP id f8mr595256hue.1172598740046; Tue, 27 Feb 2007 09:52:20 -0800 (PST) Received: by 10.78.57.2 with HTTP; Tue, 27 Feb 2007 09:52:20 -0800 (PST) Message-ID: <219837f70702270952j117d9694m5feb7bea627d545e@mail.gmail.com> Date: Tue, 27 Feb 2007 09:52:20 -0800 From: "Sam Sutch" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: IcyDock FreeBSD 6 Compatibility? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 18:21:33 -0000 Hello hackers. I need a backup solution that'll allow me to use standard UNIX tools such as dump and restore but not break the bank. I am looking at getting one of these IcyDock units that accept removable hard drive trays, like this one: http://www.icydock.com/product/mb559ueb-1s.html The site says it uses this: http://www.oxsemi.com/products/storage/OXUF924DSB.html chipset. Is chipset supported with FreeBSD 6.1? If so, how easily will I be able to get one of these working? Also, if there are any, better, alternatives to IcyDock but with similar functionality, please let me know! :) Thanks, Sam From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 20:29:49 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3ADE616A404 for ; Tue, 27 Feb 2007 20:29:49 +0000 (UTC) (envelope-from dakfreebsd@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by mx1.freebsd.org (Postfix) with ESMTP id E8F1C13C478 for ; Tue, 27 Feb 2007 20:29:48 +0000 (UTC) (envelope-from dakfreebsd@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so852744nza for ; Tue, 27 Feb 2007 12:29:48 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=quS+hQkNa9QxiA+OLVIumfW9mI5L/De/tBcRIXEKMnp0TyhkTb4eT1TNNRvnU01xibAb4u1pCiQdg0Bv8l4LW3XdddQmsP6ah6hs8JA7sEBctowOjuRjibHJ7o/QvnlMKtKh9HTScClads3Z5wo4FfzL59sglKKGQB9VvqllDbQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=YGbepgmLk8bdNWIUHnqQ4LWekitbDZlKZ92BSLjT6YpK7gicgZWwPUC5d77gqzuuPQ6t4SNmOZb888kJWEAyLnzykZvv0P7tc/DFS3pb39QKfv764k4wNfR2rFTM7fb/eF9/81HsO2QKyVAVUzG1KayT5oIyPNnNZ7DaRBwUExE= Received: by 10.114.125.2 with SMTP id x2mr1256055wac.1172608184567; Tue, 27 Feb 2007 12:29:44 -0800 (PST) Received: by 10.114.179.15 with HTTP; Tue, 27 Feb 2007 12:29:44 -0800 (PST) Message-ID: <5df74baa0702271229y7179c751m3c6e7b0879826361@mail.gmail.com> Date: Tue, 27 Feb 2007 15:29:44 -0500 From: "DAK GHATIKACHALAM" To: cokane@cokane.org In-Reply-To: <346a80220702270951r4f5eb2c5k8694a36c4f7ff363@mail.gmail.com> MIME-Version: 1.0 References: <20070224194832.42767.qmail@web27705.mail.ukl.yahoo.com> <5df74baa0702241800u34b7d908o55e1e8a5ba79b7bc@mail.gmail.com> <346a80220702270951r4f5eb2c5k8694a36c4f7ff363@mail.gmail.com> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Wireless card not being detected X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 20:29:49 -0000 On 2/27/07, Coleman Kane wrote: > > On 2/24/07, DAK GHATIKACHALAM wrote: > > > I wonder why these fraudulent scam artists/spammers abusing our > > freebsd > > lists. > > > > They are in wrong place with wrong people. > > > > I am not buying your idea anyway. dude, you chose a wrong person. > > > > Thanks > > Dak > > > > ---------- Forwarded message ---------- > > From: wale qazim > > Date: Feb 24, 2007 2:48 PM > > Subject: Re: Wireless card not being detected > > To: DAK GHATIKACHALAM > > > > Hello, > > > > > > > > I want to know if you can sent a Message by Bank Coded Fax or MT Series > > Swift. I am desperate in need of it as soon as possible, you can as wel= l > > > > link me with someone who can do it.. > > > > > > > > In case you can, please send me mail through money_market@lycos.co.uk. > > > > > > > > Thank you > > > > > > > > Regards, > > > > > > > > Julio Munento > > > > > > ----- Original Message ---- > > From: DAK GHATIKACHALAM > > To: freebsd-hackers@freebsd.org > > Sent: Monday, 19 February, 2007 3:56:56 AM > > Subject: Wireless card not being detected > > > > Hi Freebsd > > > > > > I have an issue with new card I need to make it work with freebsd, > > > > > > on /var/log/messages I get > > > > > > Feb 18 20:51:55 DAK kernel: pccard0: > > (manufacturer=3D0x0192, > > produc > > t=3D0x0710, function_type=3D6) at function 0 > > Feb 18 20:51:55 DAK kernel: pccard0: CIS info: Sierra Wireless, > > AC860, 3G > > Net > > work Adapter, R1 > > > > > > For some reason I dont understand why I get unknown card error > > > > Does any one has idea > > > > > > Thanks > > Dak > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg > > " > > > > > > ------------------------------ > > *Yahoo! Photos* > >=96 > > NEW, now offering a quality print > > service > >from > > just 8p a photo. > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to " > > freebsd-hackers-unsubscribe@freebsd.org" > > > > I think that I've exhausted my expertise in the area. You may wish to try > a more specific list, like freebsd-mobile, > freebsd-hardware, > or freebsd-driversfor more specific help. There are likely a number of people on those li= sts > who don't subscribe to -hackers, and they may have more experience in the > problem. Thanks a lot Coleman. -- > Coleman > From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 18:47:04 2007 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3CC3B16A403; Tue, 27 Feb 2007 18:47:04 +0000 (UTC) (envelope-from decibel@decibel.org) Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by mx1.freebsd.org (Postfix) with ESMTP id 64E4313C428; Tue, 27 Feb 2007 18:47:02 +0000 (UTC) (envelope-from decibel@decibel.org) Received: by noel.decibel.org (Postfix, from userid 1001) id 9370B56447; Tue, 27 Feb 2007 12:25:16 -0600 (CST) Received: (hashcash-sendmail, from uid 1001); Tue, 27 Feb 2007 12:25:11 -0600 Date: Tue, 27 Feb 2007 12:25:11 -0600 From: "Jim C. Nasby" To: Kris Kennaway Message-ID: <20070227182511.GD29041@decibel.org> References: <20070224213111.GB41434@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070224213111.GB41434@xor.obsecurity.org> X-Operating-System: FreeBSD 6.1-RELEASE-p10 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.13 (2006-08-11) X-Hashcash: 1:20:070227:kris@obsecurity.org::ZfkkrvGoPB4j26Q4:000000000000000000 000000000000000000000000E4u8 X-Hashcash: 1:20:070227:current@freebsd.org::wLCCNtNwCp/MnJAC:000000000000000000 0000000000000000000000005FBg X-Hashcash: 1:20:070227:smp@freebsd.org::sNfaJBt1kI+uy+Kj:004bSG X-Hashcash: 1:20:070227:hackers@freebsd.org::CCH717eLUGNxpKNB:000000000000000000 0000000000000000000000002R0f X-Mailman-Approved-At: Tue, 27 Feb 2007 20:41:15 +0000 Cc: smp@FreeBSD.org, hackers@FreeBSD.org, current@FreeBSD.org Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 18:47:04 -0000 On Sat, Feb 24, 2007 at 04:31:11PM -0500, Kris Kennaway wrote: > Now that the goals of the SMPng project are complete, for the past > year or more several of us have been working hard on profiling FreeBSD > in various multiprocessor workloads, and looking for performance > bottlenecks to be optimized. > > We have recently made significant progress on optimizing for MySQL > running on an 8-core amd64 system. The graph of results may be found > here: I do *not* want to start a database war here, but I'm wondering if any testing has been done with PostgreSQL? The reason I'm asking is that there are some benchmarks that show MySQL falling off drastically with increased concurrency: http://www.mysqlperformanceblog.com/2006/11/30/interesting-mysql-and-postgresql-benchmarks/ It would be interesting to see how the changes you've made stack up using PostgreSQL as the benchmark. -- Jim C. Nasby, Database Architect decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 20:59:53 2007 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E5CD16A405; Tue, 27 Feb 2007 20:59:53 +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 6C4A113C4A7; Tue, 27 Feb 2007 20:59:53 +0000 (UTC) (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 4F0B21A4D80; Tue, 27 Feb 2007 12:59:53 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7A36A5138A; Tue, 27 Feb 2007 15:59:52 -0500 (EST) Date: Tue, 27 Feb 2007 15:59:52 -0500 From: Kris Kennaway To: "Jim C. Nasby" Message-ID: <20070227205951.GA56651@xor.obsecurity.org> References: <20070224213111.GB41434@xor.obsecurity.org> <20070227182511.GD29041@decibel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070227182511.GD29041@decibel.org> User-Agent: Mutt/1.4.2.2i Cc: smp@FreeBSD.org, hackers@FreeBSD.org, current@FreeBSD.org, Kris Kennaway Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 20:59:53 -0000 On Tue, Feb 27, 2007 at 12:25:11PM -0600, Jim C. Nasby wrote: > On Sat, Feb 24, 2007 at 04:31:11PM -0500, Kris Kennaway wrote: > > Now that the goals of the SMPng project are complete, for the past > > year or more several of us have been working hard on profiling FreeBSD > > in various multiprocessor workloads, and looking for performance > > bottlenecks to be optimized. > > > > We have recently made significant progress on optimizing for MySQL > > running on an 8-core amd64 system. The graph of results may be found > > here: > > I do *not* want to start a database war here, but I'm wondering if any > testing has been done with PostgreSQL? The reason I'm asking is that > there are some benchmarks that show MySQL falling off drastically with > increased concurrency: > > http://www.mysqlperformanceblog.com/2006/11/30/interesting-mysql-and-postgresql-benchmarks/ > > It would be interesting to see how the changes you've made stack up > using PostgreSQL as the benchmark. I've mentioned this a couple of times, but postgresql didn't scale well [on freebsd at least] when I tried it last year. I hope to revisit when I get time. Kris From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 27 22:13:09 2007 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66D3716A402; Tue, 27 Feb 2007 22:13:09 +0000 (UTC) (envelope-from decibel@decibel.org) Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by mx1.freebsd.org (Postfix) with ESMTP id 56C8913C474; Tue, 27 Feb 2007 22:13:03 +0000 (UTC) (envelope-from decibel@decibel.org) Received: by noel.decibel.org (Postfix, from userid 1001) id 825D156448; Tue, 27 Feb 2007 16:12:56 -0600 (CST) Received: (hashcash-sendmail, from uid 1001); Tue, 27 Feb 2007 16:12:52 -0600 Date: Tue, 27 Feb 2007 16:12:52 -0600 From: "Jim C. Nasby" To: Kris Kennaway Message-ID: <20070227221252.GD51916@decibel.org> References: <20070224213111.GB41434@xor.obsecurity.org> <20070227182511.GD29041@decibel.org> <20070227205951.GA56651@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070227205951.GA56651@xor.obsecurity.org> X-Operating-System: FreeBSD 6.1-RELEASE-p10 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.13 (2006-08-11) X-Hashcash: 1:20:070227:kris@obsecurity.org::wLOhjXd5ltJ5IpVt:000000000000000000 000000000000000000000000Eto9 X-Hashcash: 1:20:070227:smp@freebsd.org::9BQbC1VrW17/px+a:000cyW X-Hashcash: 1:20:070227:hackers@freebsd.org::l4G+UwZc9EVfZ30P:000000000000000000 0000000000000000000000000MVl X-Hashcash: 1:20:070227:current@freebsd.org::SAkcIpT47EVw7M9K:000000000000000000 0000000000000000000000004zQf Cc: smp@FreeBSD.org, hackers@FreeBSD.org, current@FreeBSD.org Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 22:13:09 -0000 On Tue, Feb 27, 2007 at 03:59:52PM -0500, Kris Kennaway wrote: > On Tue, Feb 27, 2007 at 12:25:11PM -0600, Jim C. Nasby wrote: > > On Sat, Feb 24, 2007 at 04:31:11PM -0500, Kris Kennaway wrote: > > > Now that the goals of the SMPng project are complete, for the past > > > year or more several of us have been working hard on profiling FreeBSD > > > in various multiprocessor workloads, and looking for performance > > > bottlenecks to be optimized. > > > > > > We have recently made significant progress on optimizing for MySQL > > > running on an 8-core amd64 system. The graph of results may be found > > > here: > > > > I do *not* want to start a database war here, but I'm wondering if any > > testing has been done with PostgreSQL? The reason I'm asking is that > > there are some benchmarks that show MySQL falling off drastically with > > increased concurrency: > > > > http://www.mysqlperformanceblog.com/2006/11/30/interesting-mysql-and-postgresql-benchmarks/ > > > > It would be interesting to see how the changes you've made stack up > > using PostgreSQL as the benchmark. > > I've mentioned this a couple of times, but postgresql didn't scale > well [on freebsd at least] when I tried it last year. I hope to > revisit when I get time. Let me know if you need help when you get to that point. Keep in mind that PostgreSQL's out-of-the-box configuration is pretty conservative, so you won't get good numbers that way. -- Jim C. Nasby, Database Architect decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 28 08:49:36 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 00D5816A400 for ; Wed, 28 Feb 2007 08:49:36 +0000 (UTC) (envelope-from ulf@alameda.net) Received: from mail.alameda.net (mail.alameda.net [64.81.53.120]) by mx1.freebsd.org (Postfix) with ESMTP id D832F13C474 for ; Wed, 28 Feb 2007 08:49:35 +0000 (UTC) (envelope-from ulf@alameda.net) Received: by mail.alameda.net (Postfix, from userid 1000) id 1A50533D76; Wed, 28 Feb 2007 00:22:36 -0800 (PST) Date: Wed, 28 Feb 2007 00:22:36 -0800 From: Ulf Zimmermann To: hackers@freebsd.org Message-ID: <20070228082235.GV39178@evil.alameda.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 5.3-STABLE X-ANI-MailScanner-Information: Please contact the ISP for more information X-ANI-MailScanner: Found to be clean X-ANI-MailScanner-From: ulf@alameda.net Cc: Subject: Anyone have a HP p-Class blade system and is ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ulf@Alameda.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2007 08:49:36 -0000 ... interested in getting Integrated 4GB FC switches und FC mezzanine cards (Qlogic) for BLxxp blades for developing/testing FreeBSD drivers? I have left over parts from when we tried to run BL35p blades and had to return it all. I would be willing to loan these to FreeBSD developers interested in further the drivers (dual pathing, etc.). Contact me off list if you want more information. -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://www.Alameda.net/~ulf/resume.html From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 28 21:38:17 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B9A816A402 for ; Wed, 28 Feb 2007 21:38:17 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 86FFF13C467 for ; Wed, 28 Feb 2007 21:38:16 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-22.4 required=6.0 tests=BAYES_05, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003572737.msg; Wed, 28 Feb 2007 21:37:44 +0000 Message-ID: <003501c75b80$a8eacc50$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: , Date: Wed, 28 Feb 2007 21:37:27 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Wed, 28 Feb 2007 21:37:45 +0000 X-MDAV-Processed: multiplay.co.uk, Wed, 28 Feb 2007 21:37:45 +0000 Cc: Subject: dump -> restore to nfs volume hangs NFS server ( 6.2-RELEASE ) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2007 21:38:17 -0000 I've just performed the following from one machine to another. dump -a0uL -C 32 -f - /usr | ( cd /mnt && restore rf - ) Both boxes running 6.2-RELEASE src box on em0 dest on bge0. shortly after starting the above I tried to do an ls -l in an ssh session I had open on the destination box. This hung and never returned so I tried to open a new session again shortly before gaining a command prompt. I left this and waited for the backup to finish, which it did, hoping the machine would spark back into life once the backup completed. Unfortunately not although still responding to ping and being able to ls via other nfs mounts the machine was otherwise dead. Even a console login via kvm proved fruitless as did CTRL+ALT+DEL. The machine seems to be still stuck in this state of trying to reboot due to the CTRL+ALT+DEL but not getting very far very quick, ssh is now off and syslogd has quit but nothing else so far on the console. So has anyone else experienced this before? Should I try this again once I get the affected machine back online? If so what steps should I do to debug this so we can find a fix? Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 28 22:46:28 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E05A16A402 for ; Wed, 28 Feb 2007 22:46:28 +0000 (UTC) (envelope-from ah@crypta.net) Received: from mail.crypta.net (mail.crypta.net [83.136.131.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6629813C49D for ; Wed, 28 Feb 2007 22:46:28 +0000 (UTC) (envelope-from ah@crypta.net) Received: by mail.crypta.net (cryptobank/eProtect-smtpd, from userid 1001) id 216AEECD50D; Wed, 28 Feb 2007 23:16:12 +0100 (CET) Date: Wed, 28 Feb 2007 23:16:12 +0100 From: Andy Hilker To: freebsd-hackers@freebsd.org Message-ID: <20070228221612.GA14358@mail.crypta.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-PGP-Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xEC6E1071 X-PGP-Fingerprint: 9B2E 5892 AD93 D5C5 FB8E 3912 35D6 951B EC6E 1071 Organization: cryptobank - Andy Hilker Subject: freebsd-update ignores /boot/kernel/kernel sometimes!? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2007 22:46:28 -0000 Hi, i have a strange thing here, maybe someone can give me a hint. Somehow freebsd-update find /boot/kernel/kernel on some servers and patches it and on others not. Both kernels are installed from CD (GENERIC). On those servers where it does not display /boot/kernel/kernel, i can fix this by creating a symlink: ln -s /boot/kernel /boot/GENERIC Then it will display and patch /boot/GENERIC/kernel. Other ways to fix it is nextboot or kernel variable in /boot/loader.conf, but i do not want a workaround on some servers. Any idea why this can happen? Maybe it is related to the way how the "broken" kernel has been installed: >From RELEASE CD: cd kernels ./install.sh GENERIC mv /boot/GENERIC /boot/kernel bye, Andy - Server 1 with /boot/kernel/kernel (GENERIC from release CD) # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature from update1.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be updated as part of updating to 6.2-RELEASE-p2: /boot/kernel/kernel [...] - Server 2 with /boot/kernel/kernel (GENERIC from release CD) # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature from update1.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be updated as part of updating to 6.2-RELEASE-p2: -- does *not* display /boot/kernel/kernel -- if symlink exists, it will patch /boot/GENERIC/kernel [...] From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 02:22:32 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E01016A400 for ; Thu, 1 Mar 2007 02:22:32 +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 D81D813C47E for ; Thu, 1 Mar 2007 02:22:31 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.25]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l211h2Fw062238 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Mar 2007 12:13:02 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Thu, 1 Mar 2007 12:12:58 +1030 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2424579.2sQUaeOuOM"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200703011212.59136.doconnor@gsoft.com.au> X-Spam-Score: -3.165 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Subject: PCI slave performance (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 02:22:32 -0000 --nextPart2424579.2sQUaeOuOM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, We make a custom PCI card used for transferring data from our radar system= =20 acquisition chassis to a PC. It is rather old and we are looking at updatin= g=20 it but I would like to try and squeeze out as much performance as possible = to=20 satisfy our existing customers. It is a PCI slave only device using a PLX-9051 to read data from a FIFO. Th= is=20 means that we can't use prefetch or bursting because the PLX chip can throw= =20 data away in these circumstances :( Anecdotal evidence suggests that the maximum sustainable speed has dropped= =20 when we switched from 4.x to 6.x, but we also changed from i386 to amd64 an= d=20 used different motherboard chipsets so it's difficult to know where the=20 problem really lies. I plan on doing some tests to try and determine what is causing the slow do= wn=20 but I would appreciate any suggestions people may have :) One idea I did have was to get a dual core CPU and then one core would spen= d=20 all its time reading from the PCI bus while the other did data processing,= =20 etc.. Any suggestions gratefully received! =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 --nextPart2424579.2sQUaeOuOM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBF5i+j5ZPcIHs/zowRAgrQAJ90VVA8WmgIdDkPGca5VuCH4ozLSQCdHMIy po2kNp8jtfXB06c3TT/aY4s= =s+T9 -----END PGP SIGNATURE----- --nextPart2424579.2sQUaeOuOM-- From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 05:38:58 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59C2E16A402 for ; Thu, 1 Mar 2007 05:38:58 +0000 (UTC) (envelope-from netslists@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 E095813C428 for ; Thu, 1 Mar 2007 05:38:57 +0000 (UTC) (envelope-from netslists@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so290052ugh for ; Wed, 28 Feb 2007 21:38:57 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Gga+nURMcnWK/F6ONvWVmfVaQpkzHzcXm4xwk3at3s2yx1nEepRnxmPoe6jijicGsFYGiyNxmVlUr//czUuHldNK21hddvcT+T5a+qS//8+zfkLnmEPwFrzUsrsFWF6tVBvFnVKeeoJvuVfVoEcUD1+OtwFJFMEHI1/aHsh9Eb8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=KqKHa4524h58bRUpEub2Y9v9GcOORW+gZge8hDLJKAudm1auMows87qvlGePYvzUrOSpqwrN06VbxPiV5w4eahJgLjml65y4dkrD5lAqwuze6PPea4dJwSO5QxKMIXs5qOcJCSsRGlT1lzWtjpi9D5m6yxzIkVwDF9sHh+5L0TU= Received: by 10.67.119.13 with SMTP id w13mr1720222ugm.1172725976059; Wed, 28 Feb 2007 21:12:56 -0800 (PST) Received: from ?192.168.11.11? ( [85.164.1.86]) by mx.google.com with ESMTP id s1sm1151795uge.2007.02.28.21.12.54; Wed, 28 Feb 2007 21:12:55 -0800 (PST) Message-ID: <45E660CE.6010600@gmail.com> Date: Thu, 01 Mar 2007 06:12:46 +0100 From: Sten Daniel Soersdal User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: "Jim C. Nasby" References: <20070224213111.GB41434@xor.obsecurity.org> <20070227182511.GD29041@decibel.org> <20070227205951.GA56651@xor.obsecurity.org> <20070227221252.GD51916@decibel.org> In-Reply-To: <20070227221252.GD51916@decibel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: smp@FreeBSD.org, hackers@FreeBSD.org, current@FreeBSD.org, Kris Kennaway Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 05:38:58 -0000 Jim C. Nasby wrote: > On Tue, Feb 27, 2007 at 03:59:52PM -0500, Kris Kennaway wrote: >> On Tue, Feb 27, 2007 at 12:25:11PM -0600, Jim C. Nasby wrote: >>> On Sat, Feb 24, 2007 at 04:31:11PM -0500, Kris Kennaway wrote: >>>> Now that the goals of the SMPng project are complete, for the past >>>> year or more several of us have been working hard on profiling FreeBSD >>>> in various multiprocessor workloads, and looking for performance >>>> bottlenecks to be optimized. >>>> >>>> We have recently made significant progress on optimizing for MySQL >>>> running on an 8-core amd64 system. The graph of results may be found >>>> here: >>> I do *not* want to start a database war here, but I'm wondering if any >>> testing has been done with PostgreSQL? The reason I'm asking is that >>> there are some benchmarks that show MySQL falling off drastically with >>> increased concurrency: >>> >>> http://www.mysqlperformanceblog.com/2006/11/30/interesting-mysql-and-postgresql-benchmarks/ >>> >>> It would be interesting to see how the changes you've made stack up >>> using PostgreSQL as the benchmark. >> I've mentioned this a couple of times, but postgresql didn't scale >> well [on freebsd at least] when I tried it last year. I hope to >> revisit when I get time. > > Let me know if you need help when you get to that point. Keep in mind > that PostgreSQL's out-of-the-box configuration is pretty conservative, > so you won't get good numbers that way. Just a me 2 for postgresql tests: I would be interrested in postgresql numbers too as i have servers with 2 x dual core (xeon, dell 2850ies) currently running 6.1. I'm basically looking for something like a benchmark which would justify upgrading (or even experiment with 7.x) to my boss. I am aware that it's not your job to spend your valuable time doing obscure tests for us, so consider this rant as another "vote" for postgresql performance benchmarks. -- Sten Daniel Soersdal From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 07:05:58 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF24416A402; Thu, 1 Mar 2007 07:05:58 +0000 (UTC) (envelope-from w0lfie@clear.net.nz) Received: from smtp4.clear.net.nz (smtp4.clear.net.nz [203.97.37.64]) by mx1.freebsd.org (Postfix) with ESMTP id B934213C4A7; Thu, 1 Mar 2007 07:05:58 +0000 (UTC) (envelope-from w0lfie@clear.net.nz) Received: from clear.net.nz (lb1-srcnat.clear.net.nz [203.97.32.236]) by smtp4.clear.net.nz (CLEAR Net Mail) with SMTP id <0JE7008UGPOSCH00@smtp4.clear.net.nz>; Thu, 01 Mar 2007 19:50:52 +1300 (NZDT) Date: Thu, 01 Mar 2007 19:50:52 +1300 From: Sam Banks Sender: w0lfie@clear.net.nz To: freebsd-hackers@freebsd.org Message-id: <45e677cc.33a.543d.28521@clear.net.nz> X-Mailer: CLEAR Net WebMail; webmail.clear.net.nz; user: w0lfie; ip: 121.73.22.121 Priority: normal Cc: freebsd-usb@freebsd.org Subject: 0x03 (ErrorUndefined) issues with ukbd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: w0lfie@clear.net.nz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 07:05:59 -0000 Hey all, I'm running 6.2R and have been having problems with the ukbd driver not functioning correctly with my keyboard. I have boiled it down to an issue in the buffer ks_ndata (holds new keystrokes). Every write to ks_ndata fills the first element with 0x03 (ErrorUndefined). Normally control keys like ctrl/alt/shift would fill the first element. Has anyone had any similar issues with other keyboards? If so, do you have any insights I may have missed? Cheers, Sam. From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 07:12:45 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C2D3316A401; Thu, 1 Mar 2007 07:12:45 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from sumo.dreamhost.com (sumo.dreamhost.com [66.33.216.29]) by mx1.freebsd.org (Postfix) with ESMTP id A5FAF13C46B; Thu, 1 Mar 2007 07:12:45 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from spunkymail-a19.g.dreamhost.com (sd-green-bigip-74.dreamhost.com [208.97.132.74]) by sumo.dreamhost.com (Postfix) with ESMTP id 0F73117DC7D; Wed, 28 Feb 2007 22:50:03 -0800 (PST) Received: from [10.0.1.2] (68-184-120-224.dhcp.smyr.ga.charter.com [68.184.120.224]) by spunkymail-a19.g.dreamhost.com (Postfix) with ESMTP id D18E711552; Wed, 28 Feb 2007 22:50:02 -0800 (PST) Message-ID: <45E67796.4090906@cyberwang.net> Date: Thu, 01 Mar 2007 01:49:58 -0500 From: Sean Bryant User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: youshi10@u.washington.edu References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org Subject: Re: portupgrade O(n^m)? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 07:12:45 -0000 youshi10@u.washington.edu wrote: > On Thu, 15 Feb 2007, Michel Talon wrote: > >>> Give me a few weeks, and if I can band together with a few people I >>> wanted to try and port sections of portupgrade and its related tools to >>> C++ (and maybe do some code tweaks along the way). Most of the ruby >>> files are over 400 lines long, sparsely commented, and I don't know ruby >>> enough to port right now, but I've been making some headway lately so >>> I'll try porting some stuff soon. >> >> I think that porting portupgrade to C++ would be time spent in vain. In >> my opinion, some of the basic ideas of portupgrade are deeply flawed, >> and as much as one polishes the algorithms it will not gain much. The >> idea of keeping state in databases is deeply flawed, it is constantly >> broken, and doesn't help in speed at all. This was one of the >> motivations of portmaster, get rid of database dependencies. In my >> opinion, upgrading progressiveley, that is, port by port, is deeply >> flawed. There is 90% chance that something will go wrong in the middle >> and you will be stuck with an half upgraded system. >> >> So in my opinion, what is needed is thinking radically new about the >> problem, write a prototype in a scripting language to experiment with >> the solutions, and then code it in C++. Personnally i have done that, i >> have written a python script, which can be found here: >> http://www.lpthe.jussieu.fr/~talon/pkgupgrade >> (it needs the companion >> http://www.lpthe.jussieu.fr/~talon/save_pkg.py). >> For the time being, i still have bugs, that i am working on, but at >> least these bugs show that the problem is vastly more complicated that >> one can imagine at first. >> >> Why python? because it is much more readable than perl or ruby, and much >> more performant than ruby. In may opinion ruby is vastly hyperhyped, it >> is much closer to rubish than anything else. >> What ideas? Don't use any database, database connector, do everything >> in memory, recompute needed information on the fly. It works very well, >> one can count on something of the order of 1mn to 2mn to perform the >> necessary analysis for 700 ports. Second, download as much precompiled >> packages as possible, at full speed, that is with the same connection to >> the ftp server. This works very well, if you have a good internet >> connection, in 15 mn to 20 mn you have your packages. >> >> Why packages? >> because packages don't break when compiling. Compiling from source is >> asking for problems. If you minimise the number of compilations you >> minimise the risk of breakage. Moreover simultaneously with downloading >> one can backup old packages, and so, gain time. By contrast, for every >> packages, portupgrade first does dependency analysis that could be done >> once, then does backup, then fetches the binary package or compiles, >> then installs it, then discards backup. Al this is terrible loss of >> time. >> >> Finally my script produces a shell script able to do the upgrade. So you >> can look in written form to *exactly* what will be removed, what will be >> installed by binary packages, and what will be compiled. All necessary >> packages for installation are already present on the machine. There is >> absolutely no element of surprise, you can evaluate the risk soundly. >> These are the ideas i have explored. >> >> Now, performance wise, when you run the shell script it takes around 2 >> hours. This is entirely time spent by pkg_delete ( roughly 15 mn) and >> pkg_add (roughly 1h45mn) for around 500 ports replaced. This is very >> long, sure, but it can be optimized only by working on pkg_delete and >> pkg_add. No amount of work on portupgrade or a replacement will help in >> any way. >> >> As for the remaining bugs i have, they are entirely due to the crappy >> complexity that FreeBSD port developers introduce by constantly >> modifying the origins of the ports. So for a given program, i can have 3 >> different origins, one when the port was previously installed on the >> machine, another one when the last RELEASE was produced, and the last >> one if i compile now the port on the machine with the present state of >> the ports tree. These 3 origins may be different, i have examples. >> These morons are *constantly* modifying the names, as an exercice in >> bikeshed painting. For example pan -> pan2 -> pan, etc. Cycles don't >> worry them at all! >> Of course, for a given software, you may have all combinations, such as >> inexistant or existant at the time the machine was installed, at the >> time of the release, or at present. >> >> Compare that to the situation for Debian apt-get. The names are >> conserved. They have strict rules about package naming, they stick to >> them and don't change them arbitrarily. All packages exist in compiled >> form, you don't have to worry about prepackaged or "to be compiled, so >> has 50% chance to break". You have only 2 states to consider instead of >> 3: the state on the machine and the state on the repository. Things are >> vastly simpler. No wonders that apt-get works and portupgrade doesn't. >> This has nothing to do with the fact that apt-get is written in C++ > > (sorry to cross post, but this thread is just as relevant to @ports as > it is to @hackers) > > Well, since you brought up Debian's apt-get system I thought it'd be a > good idea to take a look at the Gentoo Linux emerge / portage system > (patterned after Freebsd): > > ===== > Pros: > ===== > -It's written in python (portable). > -It's a system which focuses on ports compilation from source, not > binary package installation. > -Stores information in a db format (not Berkeley DB, but something > different)for entire system in a common file; stores installed leaf > package information in another simple textfile. > -Has flags for stability reasons, since some packages are alpha or beta > and don't compile under certain architectures. > -Portage files are fetched via rsync. > -Has separate portage files which are phased out over time, in case the > portage maintainers move the files in one release. The maintainers then > create an informative message which describes what's going on while > emerging the package or going through the portage database. If possible > the outdated package is pruned and the newer, more recent dependency is > merged. > > ===== > Cons: > ===== > -It's written in python (not fast). > -Uses rsync. > > ====== > Point: > ====== > Apart from what's listed in the above paragraph, Gentoo's portage may > have several things that are better than FreeBSD's port system: > > -Limited life cycle for versioning, which doesn't force server / desktop > owners to fix a number of machines all at once, but instead gives them a > heads up before a big change occurs and automatically unmerges old > dependencies and emerges new items, if possible. > -One common interface for package / portage management--not 10 little > tools which do basically the same thing, or are specialized for specific > tasks. > -One common file for all installed packages / ports, not a series of > directories and files. > -Separate versioning for files, which doesn't break things nearly as > much as one common ports Makefile for each file. > -A means to search for portage items and their descriptions, without > having to deal with a tool that doesn't really work reliably. > > It's not so much that I'm trying to bash on freebsd, but there's > definitely a revision that needs to be made to the way that ports / > packages are done, because it seems that the commitee in charge of ports > planning and the overall roadmap seem to have let things get a bit off > track, just because of the sheer number of ports items available. > Something can be fixed and should be. I can only do a portion of the > load myself in so much time, since I'm going to work and school right now. > > ======= > In light of previous statement: > ======= > > I wasn't trying to port the pkg_* and port* utils to C++ thinking that I > would magically get more optimized code. Sure, C++ is much better than > ruby at optimizations if done correctly, but C++ is also easier to screw > up than ruby or perl or python, because you have the power to shoot > yourself in the foot easier (not as much as C or ASM, but close). > > The point was that with C++ we could finally get a set of standardized > tools and a common interface for FreeBSD for managing ports / packages > which could be included in the base system, not a bunch of little > specialized tools and packages. > > I'll have to approach this problem from a black box perspective and be > carefully in planning this out, but my goal is to be as backwards > compatible friendly as possible or at least provide migration tools to > ease the move from the old system to the new one. > > Again, if anyone is interested in helping me out, it would be more than > welcome. That way we could ensure that the project gets done in a timely > manner and can reduce bugs and think of better solutions (more people > can help in thinking out of the box, the larger the group). > > Thanks, > -Garrett > > PS Please reply on the @hackers list, if possible. > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" Honestly I'd be more interested in a package building system. Maybe be a little bit more liberal in the default building of ports. It doesn't need to build a package of every port just common ones. That way its easier to get up and running with things. Things like xorg, gnome and KDE take ages to build and would be awesome if there was a decent package fetching system. Something like apt-get where you could add some kind of repository. and you could just pull down a list of packages and choose what you want. This can be emulated in a way using portupgrade -P and changing the pkgtools.conf to have some more mirrors to fetch from a pointyhat macro is there but probably shouldn't be abused as its there to look for problems not build us consumers packages it just a side effect or at least this is how it was explained to me. A neat thing might be a distributed package building project. Where packages are picked apart and pieces are built all over the place get enough places to donate CPU and package building might be a thing of the past, but those are just pipe dreams right now. The slowness affects me after a mass upgrade, after that I'm fine. Maybe someone can look into profiling portupgrade and seeing if its with portupgrade or the pkg_* tools. From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 07:41:25 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8495416A47F for ; Thu, 1 Mar 2007 07:41:25 +0000 (UTC) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.freebsd.org (Postfix) with ESMTP id 0201B13C4B6 for ; Thu, 1 Mar 2007 07:41:24 +0000 (UTC) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.13.6/8.13.6) with ESMTP id l217UEiV067201; Thu, 1 Mar 2007 08:30:14 +0100 (CET) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost) by gwdu60.gwdg.de (8.13.6/8.13.6/Submit) with ESMTP id l217UEFE067198; Thu, 1 Mar 2007 08:30:14 +0100 (CET) (envelope-from kheuer2@gwdg.de) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Thu, 1 Mar 2007 08:30:09 +0100 (CET) From: Konrad Heuer To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Message-ID: <20070301082510.R53317@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: 6.1 & SMP & PERC 3 on PE 2650 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 07:41:25 -0000 Hello everyone, after upgrading from 4.11 to 6.1 on two Dell PE 2650 each with PERC/3 RAID controllers and two Xeon cpus there happen spontaneous reboots on both machines, from time to time a few per day. That's anything else but nice. Disabling SMP seems to help, but that's no solution. Are there any problems known? Best regards and thanks for any reply Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 09:00:27 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C770416A401 for ; Thu, 1 Mar 2007 09:00:27 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 6620813C48E for ; Thu, 1 Mar 2007 09:00:27 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 11297 invoked by uid 399); 1 Mar 2007 09:00:27 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 1 Mar 2007 09:00:27 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45E69624.3030708@FreeBSD.org> Date: Thu, 01 Mar 2007 01:00:20 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Konrad Heuer References: <20070301082510.R53317@gwdu60.gwdg.de> In-Reply-To: <20070301082510.R53317@gwdu60.gwdg.de> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: 6.1 & SMP & PERC 3 on PE 2650 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 09:00:27 -0000 [ For future reference, please don't cross post to -questions and any other list. Thanks. ] Konrad Heuer wrote: > > Hello everyone, > > after upgrading from 4.11 to 6.1 Step one would be to upgrade again to either 6.2-RELEASE or -stable. Lots of good stuff happened between releases. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 10:50:25 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7AC9316A405 for ; Thu, 1 Mar 2007 10:50:25 +0000 (UTC) (envelope-from ah@crypta.net) Received: from mail.crypta.net (mail.crypta.net [83.136.131.3]) by mx1.freebsd.org (Postfix) with ESMTP id 436CD13C4AA for ; Thu, 1 Mar 2007 10:50:25 +0000 (UTC) (envelope-from ah@crypta.net) Received: by mail.crypta.net (cryptobank/eProtect-smtpd, from userid 1001) id 020EAECD477; Thu, 1 Mar 2007 11:50:24 +0100 (CET) Date: Thu, 1 Mar 2007 11:50:23 +0100 From: Andy Hilker To: freebsd-hackers@freebsd.org Message-ID: <20070301105023.GA62748@mail.crypta.net> References: <20070228221612.GA14358@mail.crypta.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070228221612.GA14358@mail.crypta.net> User-Agent: Mutt/1.4.2.2i X-PGP-Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xEC6E1071 X-PGP-Fingerprint: 9B2E 5892 AD93 D5C5 FB8E 3912 35D6 951B EC6E 1071 Organization: cryptobank - Andy Hilker Cc: Colin Percival Subject: Re: freebsd-update ignores /boot/kernel/kernel sometimes!? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 10:50:25 -0000 You (Andy Hilker) wrote: > Hi, > > i have a strange thing here, maybe someone can give me a hint. > > Somehow freebsd-update find /boot/kernel/kernel on some servers and > patches it and on others not. Both kernels are installed from CD > (GENERIC). > > On those servers where it does not display /boot/kernel/kernel, > i can fix this by creating a symlink: ln -s /boot/kernel /boot/GENERIC > Then it will display and patch /boot/GENERIC/kernel. Other ways > to fix it is nextboot or kernel variable in /boot/loader.conf, but > i do not want a workaround on some servers. Any idea why this can > happen? > > Maybe it is related to the way how the "broken" kernel has been installed: > > >From RELEASE CD: > cd kernels > ./install.sh GENERIC > mv /boot/GENERIC /boot/kernel Additional info: it seems that all machines where it does not work, have an SMP-GENERIC (i386) installed. bye, Andy From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 12:57:43 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 73C5B16A403 for ; Thu, 1 Mar 2007 12:57:43 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 33B6713C48E for ; Thu, 1 Mar 2007 12:57:43 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l21Cvgpv040957; Thu, 1 Mar 2007 06:57:42 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45E6CDCA.5070505@freebsd.org> Date: Thu, 01 Mar 2007 06:57:46 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: ghozzy References: <005101c75778$50577770$0901a8c0@TWEETY> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2690/Thu Mar 1 05:11:27 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-hackers@freebsd.org, glarkin@sourcehosting.net Subject: Re: Instruction fault panic while installing 6.2 on VMware Server X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 12:57:43 -0000 On 02/24/07 05:44, ghozzy wrote: > Hi, > > On 2/23/07, Greg Larkin wrote: >> Hi everyone, >> >> I'm creating a standard FreeBSD 6.2 ISO image that I can use to >> perform unattended installations into VMware Server virtual machines. >> I'm using VMServer 1.0.1, and I've hit a roadblock when sysinstall >> attempts to create the root filesystem. >> >> The first thing to mention is that VMServer is running on a CentOS 4.4 >> host OS, and the CPU architecture is a Via C3 Nehemiah. Technically, >> the VMServer software is not supposed to work on the Via C3 line, but >> the Nehemiah apparently supports the CMOV instruction that VMServer >> requires. I've been able to install Fedora Core 6 successfully and >> run it with no problems, so I'm wondering if I just need to find the >> right options to configure FreeBSD 6.2 to get it to work. >> >> Anyway, the VM boots fine, loads the FreeBSD ISO, and launches >> sysinstall, but as soon as newfs is invoked to make the root >> filesystem, I get this: >> >> Making a new root filesystem on /dev/ad0s1a >> Panic: privileged instruction fault >> (auto reboot) >> >> I've tried installing from the standard 6.2 release ISO as well as a >> custom ISO with a recompiled kernel, but I get the same error either >> way. I also tried disabling ACPI during boot with no success. >> >> My custom kernel config is included below. My first thought was that >> if I explicitly set the CPU to I486, that might help avoid the >> instruction fault, but that doesn't work. I didn't see any other >> options that looked like they would fix the fault, but I'm not very >> experienced at kernel configuration either. >> >> Does anyone have an idea how to troubleshoot this problem? Thank you >> for any help! >> >> Regards, >> Greg Larkin > > I have experienced similar problem in VMware Workstation under Windows XP > on Via C3 Nehemiah processor since FreeBSD 5.x. In my case privileged > instruction fault shot somewhere in rc boot process. Tracing down the cause of > fault i found out that it was xstore instruction, which VMware did not emulate. > It turned out to be the merit of new random generator appeared somewhere in > 5.x, which detected the Via processor and tried to use its hardware random > number generator. My workaround was to patch kernel to disable using this Via > processor feature completely. The result was successful booting and running > FreeBSD 5.x and 6.x under VMware on this machine. > > Attached is the patch i use for 6.x kernel. Can you both send me the dmesg of these machines? Eric From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 14:08:15 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6681716A400; Thu, 1 Mar 2007 14:08:15 +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 E9D6B13C441; Thu, 1 Mar 2007 14:08:12 +0000 (UTC) (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 4C403244C19; Thu, 1 Mar 2007 22:42:20 +0900 (JST) Message-ID: <45E6D83C.9030206@freebsd.org> Date: Thu, 01 Mar 2007 22:42:20 +0900 From: Daichi GOTO User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-fs@freebsd.org, rodrigc@crodrigues.org Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: scottl@samsco.org, daichi@freebsd.org, ozawa@ongs.co.jp, kris@obsecurity.org Subject: [ANN] unionfs patchset-18 release, improvements are going step by step X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 14:08:15 -0000 Hi Guys! It is my pleasure and honor to announce the availability of the unionfs patchset-18. p18 is first patchset after its merged of FreeBSD. Our improvements works of unionfs are going step by step. Patchset-18: For 7-current http://people.freebsd.org/~daichi/unionfs/unionfs-p18.diff For 6-stable http://people.freebsd.org/~daichi/unionfs/unionfs6-p18.diff Changes in unionfs-p18.diff - Improve access permission check treatments. - Change it free unneeded memory ASAP. - Added treatments to prevent readdir infinity loop useing with Linux binary compatibility feature. The documents of those unionfs patches: http://people.freebsd.org/~daichi/unionfs/ (English) http://people.freebsd.org/~daichi/unionfs/index-ja.html (Japanese) For unionfs lovers including FreeSBIE developers, ports cluster managers, heavy memory-fs users, and folks use unionfs, could you try p18 please? If p18 works well, please merge it to -current/-stable, rodrigc :) Thanks -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 14:14:14 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A87D316A402; Thu, 1 Mar 2007 14:14:14 +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 3AE7613C471; Thu, 1 Mar 2007 14:14:14 +0000 (UTC) (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 8B236244C31; Thu, 1 Mar 2007 23:14:11 +0900 (JST) Message-ID: <45E6DFB3.5070805@freebsd.org> Date: Thu, 01 Mar 2007 23:14:11 +0900 From: Daichi GOTO User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-fs@freebsd.org, rodrigc@crodrigues.org Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: scottl@samsco.org, daichi@freebsd.org, ozawa@ongs.co.jp, kris@obsecurity.org Subject: [Request for Test] unionfs procfs/vfs_cache support tester we need X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 14:14:14 -0000 Hi Guys! We have patch of unionfs that supports procfs/vfs_cache. With this patch, you can use application that use procfs on unionfs. unionfs patch for procfs/vfs_cache support: document http://people.freebsd.org/~daichi/unionfs/request-for-test.html For 7-current http://people.freebsd.org/~daichi/unionfs/unionfs-procfs-sup.diff For 6-stable http://people.freebsd.org/~daichi/unionfs/unionfs6-procfs-sup.diff The unionfs lovers, would you do test that patch please? If you have no trouble, it'll be merged to common unionfs patch :) Thanks -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 14:21:18 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EBDA16A401; Thu, 1 Mar 2007 14:21:18 +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 8E6B413C428; Thu, 1 Mar 2007 14:21:17 +0000 (UTC) (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 905EB244C19; Thu, 1 Mar 2007 23:21:15 +0900 (JST) Message-ID: <45E6E15B.5000104@freebsd.org> Date: Thu, 01 Mar 2007 23:21:15 +0900 From: Daichi GOTO User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: Ed Schouten References: <45E6D83C.9030206@freebsd.org> <20070301141357.GA41996@hoeg.nl> In-Reply-To: <20070301141357.GA41996@hoeg.nl> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: rodrigc@crodrigues.org, ozawa@ongs.co.jp, FreeBSD Hackers , freebsd-fs@freebsd.org, FreeBSD Current , kris@obsecurity.org Subject: Re: [ANN] unionfs patchset-18 release, improvements are going step by step X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 14:21:18 -0000 Ed Schouten wrote: > * Daichi GOTO wrote: >> It is my pleasure and honor to announce the availability of the >> unionfs patchset-18. p18 is first patchset after its merged of >> FreeBSD. Our improvements works of unionfs are going step by step. > > Are there still plans to add my whiteout policy patch? > > http://g-rave.nl/junk/freebsd-unionfs-prevent-whiteout.diff > > Yours, Yeah, yeah. Sorry of my slow response. We are considering your patch always. We suppose we'll add your patch into our patch in future patchset. The plan: 1. include your patch into our patch 2. release it for unionfs lovers 3. after evaluation of guys 4. we'll give it our justice (IMO, it's good for merge) I,m sorry again of my slow response. It's my sorry. -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 15:19:49 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5670316A400 for ; Thu, 1 Mar 2007 15:19:49 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.227]) by mx1.freebsd.org (Postfix) with ESMTP id 03AF913C4A5 for ; Thu, 1 Mar 2007 15:19:48 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: by wr-out-0506.google.com with SMTP id 55so668769wri for ; Thu, 01 Mar 2007 07:19:48 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HT5GzjRpJqLTOcKLG61s6nelMg52ONi/HKn6VKa0TtPvLxMHQORd7bKSt+n4HOJEwYLv3PY6eVediLhpOYWZ8zDzESvW1gyapjAUdMZe144LM6kYpu70HpVPOxsYWIel8yNPc80yPoV52hWIquOudd24OEaJ/70WiBc8YHT+ZsQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=A8kfAyOYLatDVMcPGAdVmlOkWmwLK3W3IX+AWbcQLGmEedXMYEFU5cEfTS52mYpTmN3Gkh//3If/IUn5//jyRRLRkjuysU2902NkGTncpWuhLHMBAYYogFXLZHu0BgyKjw7Xqdr7Tq4va8VcgAV6XEfhDraxNX6AUJFM8wxQ8XA= Received: by 10.114.157.1 with SMTP id f1mr179214wae.1172762387197; Thu, 01 Mar 2007 07:19:47 -0800 (PST) Received: by 10.115.108.15 with HTTP; Thu, 1 Mar 2007 07:19:46 -0800 (PST) Message-ID: <346a80220703010719k5fcd8d31l94b4dcef3f830a60@mail.gmail.com> Date: Thu, 1 Mar 2007 08:19:46 -0700 From: "Coleman Kane" To: "Sten Daniel Soersdal" In-Reply-To: <45E660CE.6010600@gmail.com> MIME-Version: 1.0 References: <20070224213111.GB41434@xor.obsecurity.org> <20070227182511.GD29041@decibel.org> <20070227205951.GA56651@xor.obsecurity.org> <20070227221252.GD51916@decibel.org> <45E660CE.6010600@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Kris Kennaway , smp@freebsd.org, hackers@freebsd.org, current@freebsd.org, "Jim C. Nasby" Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@cokane.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 15:19:49 -0000 On 2/28/07, Sten Daniel Soersdal wrote: > > Jim C. Nasby wrote: > > On Tue, Feb 27, 2007 at 03:59:52PM -0500, Kris Kennaway wrote: > >> On Tue, Feb 27, 2007 at 12:25:11PM -0600, Jim C. Nasby wrote: > >>> On Sat, Feb 24, 2007 at 04:31:11PM -0500, Kris Kennaway wrote: > >>>> Now that the goals of the SMPng project are complete, for the past > >>>> year or more several of us have been working hard on profiling > FreeBSD > >>>> in various multiprocessor workloads, and looking for performance > >>>> bottlenecks to be optimized. > >>>> > >>>> We have recently made significant progress on optimizing for MySQL > >>>> running on an 8-core amd64 system. The graph of results may be found > >>>> here: > >>> I do *not* want to start a database war here, but I'm wondering if any > >>> testing has been done with PostgreSQL? The reason I'm asking is that > >>> there are some benchmarks that show MySQL falling off drastically with > >>> increased concurrency: > >>> > >>> > http://www.mysqlperformanceblog.com/2006/11/30/interesting-mysql-and-postgresql-benchmarks/ > >>> > >>> It would be interesting to see how the changes you've made stack up > >>> using PostgreSQL as the benchmark. > >> I've mentioned this a couple of times, but postgresql didn't scale > >> well [on freebsd at least] when I tried it last year. I hope to > >> revisit when I get time. > > > > Let me know if you need help when you get to that point. Keep in mind > > that PostgreSQL's out-of-the-box configuration is pretty conservative, > > so you won't get good numbers that way. > > Just a me 2 for postgresql tests: > > I would be interrested in postgresql numbers too as i have servers with > 2 x dual core (xeon, dell 2850ies) currently running 6.1. I'm basically > looking for something like a benchmark which would justify upgrading (or > even experiment with 7.x) to my boss. I am aware that it's not your job > to spend your valuable time doing obscure tests for us, so consider this > rant as another "vote" for postgresql performance benchmarks. > > -- > Sten Daniel Soersdal I wouldn't recommend upgrading your production servers to FreeBSD 7.x yet, no matter what the results say. -- Coleman From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 14:13:58 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDFB516A405; Thu, 1 Mar 2007 14:13:58 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (palm.hoeg.nl [83.98.131.212]) by mx1.freebsd.org (Postfix) with ESMTP id 8FAB813C4A5; Thu, 1 Mar 2007 14:13:58 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id A95EA1CC8E; Thu, 1 Mar 2007 15:13:57 +0100 (CET) Date: Thu, 1 Mar 2007 15:13:57 +0100 From: Ed Schouten To: Daichi GOTO Message-ID: <20070301141357.GA41996@hoeg.nl> References: <45E6D83C.9030206@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <45E6D83C.9030206@freebsd.org> User-Agent: Mutt/1.5.14 (2007-02-12) X-Mailman-Approved-At: Thu, 01 Mar 2007 15:23:09 +0000 Cc: rodrigc@crodrigues.org, ozawa@ongs.co.jp, FreeBSD Hackers , freebsd-fs@freebsd.org, FreeBSD Current , kris@obsecurity.org Subject: Re: [ANN] unionfs patchset-18 release, improvements are going step by step X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 14:13:58 -0000 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Daichi GOTO wrote: > It is my pleasure and honor to announce the availability of the > unionfs patchset-18. p18 is first patchset after its merged of > FreeBSD. Our improvements works of unionfs are going step by step. Are there still plans to add my whiteout policy patch? http://g-rave.nl/junk/freebsd-unionfs-prevent-whiteout.diff Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF5t+l52SDGA2eCwURAhIjAJkBg4PjCZTemfCXoj8lrTxmvkxGiQCcCs6z 13lwZvK38h+WUUo9GHcFMPs= =aBAR -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV-- From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 17:23:17 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDCF816A401 for ; Thu, 1 Mar 2007 17:23:17 +0000 (UTC) (envelope-from zombyfork@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 4F79B13C491 for ; Thu, 1 Mar 2007 17:23:17 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so392312ugh for ; Thu, 01 Mar 2007 09:23:16 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=mAkJhNaoUv2fWOftj/eu48DLypOTNmdyqDg0AH9oB3IkIq6jzC1cMihbicXSmR6+zENltqHVpkR9L7f/9X+GuUJr0vQVciVxqXzGPtgPE06qZQAzLUHqsqoqzZZabPpmNLuJs9KYe6HbRDZBd0ke7nRbMq0bipEMAyUg3G97GyQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=igQ+e9A4Ge+nBbOaVooPNfS2xaRYGnQ/v4SVJ9xkoAY7tjx9HJVmzaXvJFr39r7C+dM3eGjzzViCGPAbxDxJhYc2KsPHrl7qFBQlLqgENa0ma45bpKuxl8a6XVDGg5d7fm/lcxuILKzQp+TIRtzA83Z8xTJ6bTOSeLDl47IYPbg= Received: by 10.114.208.8 with SMTP id f8mr34603wag.1172769780895; Thu, 01 Mar 2007 09:23:00 -0800 (PST) Received: by 10.115.108.15 with HTTP; Thu, 1 Mar 2007 09:23:00 -0800 (PST) Message-ID: <346a80220703010923n483e47fcw1444a84814eca4a4@mail.gmail.com> Date: Thu, 1 Mar 2007 10:23:00 -0700 From: "Coleman Kane" To: "Sean Bryant" In-Reply-To: <45E67796.4090906@cyberwang.net> MIME-Version: 1.0 References: <45E67796.4090906@cyberwang.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, youshi10@u.washington.edu, freebsd-ports@freebsd.org Subject: Re: portupgrade O(n^m)? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@cokane.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 17:23:17 -0000 On 2/28/07, Sean Bryant wrote: > > youshi10@u.washington.edu wrote: > > On Thu, 15 Feb 2007, Michel Talon wrote: > > > >>> Give me a few weeks, and if I can band together with a few people I > >>> wanted to try and port sections of portupgrade and its related tools > to > >>> C++ (and maybe do some code tweaks along the way). Most of the ruby > >>> files are over 400 lines long, sparsely commented, and I don't know > ruby > >>> enough to port right now, but I've been making some headway lately so > >>> I'll try porting some stuff soon. > >> > >> I think that porting portupgrade to C++ would be time spent in vain. In > >> my opinion, some of the basic ideas of portupgrade are deeply flawed, > >> and as much as one polishes the algorithms it will not gain much. The > >> idea of keeping state in databases is deeply flawed, it is constantly > >> broken, and doesn't help in speed at all. This was one of the > >> motivations of portmaster, get rid of database dependencies. In my > >> opinion, upgrading progressiveley, that is, port by port, is deeply > >> flawed. There is 90% chance that something will go wrong in the middle > >> and you will be stuck with an half upgraded system. > >> > >> So in my opinion, what is needed is thinking radically new about the > >> problem, write a prototype in a scripting language to experiment with > >> the solutions, and then code it in C++. Personnally i have done that, i > >> have written a python script, which can be found here: > >> http://www.lpthe.jussieu.fr/~talon/pkgupgrade > >> (it needs the companion > >> http://www.lpthe.jussieu.fr/~talon/save_pkg.py). > >> For the time being, i still have bugs, that i am working on, but at > >> least these bugs show that the problem is vastly more complicated that > >> one can imagine at first. > >> > >> Why python? because it is much more readable than perl or ruby, and > much > >> more performant than ruby. In may opinion ruby is vastly hyperhyped, it > >> is much closer to rubish than anything else. > >> What ideas? Don't use any database, database connector, do everything > >> in memory, recompute needed information on the fly. It works very well, > >> one can count on something of the order of 1mn to 2mn to perform the > >> necessary analysis for 700 ports. Second, download as much precompiled > >> packages as possible, at full speed, that is with the same connection > to > >> the ftp server. This works very well, if you have a good internet > >> connection, in 15 mn to 20 mn you have your packages. > >> > >> Why packages? > >> because packages don't break when compiling. Compiling from source is > >> asking for problems. If you minimise the number of compilations you > >> minimise the risk of breakage. Moreover simultaneously with downloading > >> one can backup old packages, and so, gain time. By contrast, for every > >> packages, portupgrade first does dependency analysis that could be done > >> once, then does backup, then fetches the binary package or compiles, > >> then installs it, then discards backup. Al this is terrible loss of > >> time. > >> > >> Finally my script produces a shell script able to do the upgrade. So > you > >> can look in written form to *exactly* what will be removed, what will > be > >> installed by binary packages, and what will be compiled. All necessary > >> packages for installation are already present on the machine. There is > >> absolutely no element of surprise, you can evaluate the risk soundly. > >> These are the ideas i have explored. > >> > >> Now, performance wise, when you run the shell script it takes around 2 > >> hours. This is entirely time spent by pkg_delete ( roughly 15 mn) and > >> pkg_add (roughly 1h45mn) for around 500 ports replaced. This is very > >> long, sure, but it can be optimized only by working on pkg_delete and > >> pkg_add. No amount of work on portupgrade or a replacement will help in > >> any way. > >> > >> As for the remaining bugs i have, they are entirely due to the crappy > >> complexity that FreeBSD port developers introduce by constantly > >> modifying the origins of the ports. So for a given program, i can have > 3 > >> different origins, one when the port was previously installed on the > >> machine, another one when the last RELEASE was produced, and the last > >> one if i compile now the port on the machine with the present state of > >> the ports tree. These 3 origins may be different, i have examples. > >> These morons are *constantly* modifying the names, as an exercice in > >> bikeshed painting. For example pan -> pan2 -> pan, etc. Cycles don't > >> worry them at all! > >> Of course, for a given software, you may have all combinations, such as > >> inexistant or existant at the time the machine was installed, at the > >> time of the release, or at present. > >> > >> Compare that to the situation for Debian apt-get. The names are > >> conserved. They have strict rules about package naming, they stick to > >> them and don't change them arbitrarily. All packages exist in compiled > >> form, you don't have to worry about prepackaged or "to be compiled, so > >> has 50% chance to break". You have only 2 states to consider instead of > >> 3: the state on the machine and the state on the repository. Things are > >> vastly simpler. No wonders that apt-get works and portupgrade doesn't. > >> This has nothing to do with the fact that apt-get is written in C++ > > > > (sorry to cross post, but this thread is just as relevant to @ports as > > it is to @hackers) > > > > Well, since you brought up Debian's apt-get system I thought it'd be a > > good idea to take a look at the Gentoo Linux emerge / portage system > > (patterned after Freebsd): > > > > ===== > > Pros: > > ===== > > -It's written in python (portable). > > -It's a system which focuses on ports compilation from source, not > > binary package installation. > > -Stores information in a db format (not Berkeley DB, but something > > different)for entire system in a common file; stores installed leaf > > package information in another simple textfile. > > -Has flags for stability reasons, since some packages are alpha or beta > > and don't compile under certain architectures. > > -Portage files are fetched via rsync. > > -Has separate portage files which are phased out over time, in case the > > portage maintainers move the files in one release. The maintainers then > > create an informative message which describes what's going on while > > emerging the package or going through the portage database. If possible > > the outdated package is pruned and the newer, more recent dependency is > > merged. > > > > ===== > > Cons: > > ===== > > -It's written in python (not fast). > > -Uses rsync. > > > > ====== > > Point: > > ====== > > Apart from what's listed in the above paragraph, Gentoo's portage may > > have several things that are better than FreeBSD's port system: > > > > -Limited life cycle for versioning, which doesn't force server / desktop > > owners to fix a number of machines all at once, but instead gives them a > > heads up before a big change occurs and automatically unmerges old > > dependencies and emerges new items, if possible. > > -One common interface for package / portage management--not 10 little > > tools which do basically the same thing, or are specialized for specific > > tasks. > > -One common file for all installed packages / ports, not a series of > > directories and files. > > -Separate versioning for files, which doesn't break things nearly as > > much as one common ports Makefile for each file. > > -A means to search for portage items and their descriptions, without > > having to deal with a tool that doesn't really work reliably. > > > > It's not so much that I'm trying to bash on freebsd, but there's > > definitely a revision that needs to be made to the way that ports / > > packages are done, because it seems that the commitee in charge of ports > > planning and the overall roadmap seem to have let things get a bit off > > track, just because of the sheer number of ports items available. > > Something can be fixed and should be. I can only do a portion of the > > load myself in so much time, since I'm going to work and school right > now. > > > > ======= > > In light of previous statement: > > ======= > > > > I wasn't trying to port the pkg_* and port* utils to C++ thinking that I > > would magically get more optimized code. Sure, C++ is much better than > > ruby at optimizations if done correctly, but C++ is also easier to screw > > up than ruby or perl or python, because you have the power to shoot > > yourself in the foot easier (not as much as C or ASM, but close). > > > > The point was that with C++ we could finally get a set of standardized > > tools and a common interface for FreeBSD for managing ports / packages > > which could be included in the base system, not a bunch of little > > specialized tools and packages. > > > > I'll have to approach this problem from a black box perspective and be > > carefully in planning this out, but my goal is to be as backwards > > compatible friendly as possible or at least provide migration tools to > > ease the move from the old system to the new one. > > > > Again, if anyone is interested in helping me out, it would be more than > > welcome. That way we could ensure that the project gets done in a timely > > manner and can reduce bugs and think of better solutions (more people > > can help in thinking out of the box, the larger the group). > > > > Thanks, > > -Garrett > > > > PS Please reply on the @hackers list, if possible. > > > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to " > freebsd-hackers-unsubscribe@freebsd.org" > Honestly I'd be more interested in a package building system. Maybe be a > little bit more liberal in the default building of ports. It doesn't > need to build a package of every port just common ones. That way its > easier to get up and running with things. Things like xorg, gnome and > KDE take ages to build and would be awesome if there was a decent > package fetching system. Something like apt-get where you could add some > kind of repository. and you could just pull down a list of packages and > choose what you want. This can be emulated in a way using portupgrade -P > and changing the pkgtools.conf to have some more mirrors to fetch from a > pointyhat macro is there but probably shouldn't be abused as its there > to look for problems not build us consumers packages it just a side > effect or at least this is how it was explained to me. A neat thing > might be a distributed package building project. Where packages are > picked apart and pieces are built all over the place get enough places > to donate CPU and package building might be a thing of the past, but > those are just pipe dreams right now. > > The slowness affects me after a mass upgrade, after that I'm fine. Maybe > someone can look into profiling portupgrade and seeing if its with > portupgrade or the pkg_* tools. One of FreeBSD's strengths, from my POV, is the power it affords you from the ports system. One of my biggest beefs w/ Linux has always been the prebuilt-binary-centric package systems. In addition to performance, this was one other thing that drove me to The Beastie. With the newer, faster processors, my personal bottleneck (and I think this is true for many others in this thread) has moved from the compilation stage of ports into the meta-data management. It can be disheartening for a geek to see that the process of "registering package", or updating the "information repository to get/build packages" seems to take significantly longer than the process of actually building and installing the software. I have worked on other projects where "splitting up" the work has been meritorious. I am looking at the pkgdb/portsdb BDB files on my system right now, and I see the following: usr/ports/INDEX-7.db: 36658176 bytes (~35MB) var/db/pkg/pkgdb.db: 34974720 (~33.3MB) What if we were to divide up the pkgdb.db and the INDEX-7.db files into multiple .db files (perhaps one file for each category directory in ports), and then force the package names to be "{category}/{packagename}-{versioninfo}" everywhere they are referenced? I do not know if currently packages record the category name for their dependencies, but it seems that if they did we could reduce the search space down to only the ports in the same category as the port in question. While we're at it, adding some more meta-information to package .tbz files would be nice. I don't know if any of this is packaged up, but it would be useful for FreeBSD binary package distributors to have some of the make environment variables ($CFLAGS, $CC, $CXX, $CPP, etc...) embedded in the package metadata as well as any defined WITH_* option variables or other port-knobs. If it can/has be(en) done, then a package system could take these things into account and perhaps offer the user a screen similar to "make config" for which toggles to get with the desired port-package. Let me know how all of this sounds, if I am on the right track or just blowing smoke. Of course, I have no time, just like everybody else... -- Coleman Kane From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 18:10:55 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F40AC16A403 for ; Thu, 1 Mar 2007 18:10:54 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from sourcehosting.net (sourcehosting.net [204.8.45.67]) by mx1.freebsd.org (Postfix) with ESMTP id 9C39513C4B5 for ; Thu, 1 Mar 2007 18:10:54 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: (qmail 30696 invoked by uid 0); 1 Mar 2007 18:10:53 -0000 Received: from glarkin@sourcehosting.net by patches by uid 2033 with qmail-scanner-1.20rc1 (0.80 Clear:RC:1:. Processed in 0.163413 secs); 01 Mar 2007 18:10:53 -0000 X-Qmail-Scanner-Mail-From: glarkin@sourcehosting.net via patches X-Qmail-Scanner: 1.20rc1 (Clear:RC:1:. Processed in 0.163413 secs) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com (HELO Gregory-Larkins-Computer.local) (68.189.244.97) by 192.168.1.4 with SMTP; 1 Mar 2007 18:10:53 -0000 Received: from TWEETY (tweety.entropy.prv [192.168.1.9]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id 0E4DBDA3557; Thu, 1 Mar 2007 13:10:26 -0500 (EST) From: "Greg Larkin" To: "'Eric Anderson'" Date: Thu, 1 Mar 2007 13:09:57 -0500 Organization: SourceHosting.net, LLC Message-ID: <006f01c75c2c$d65109a0$0901a8c0@TWEETY> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6822 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: <45E6CDCA.5070505@freebsd.org> Importance: Normal Thread-Index: AcdcAXt//nZZaF7/SkKg6mbbM3ccygAKneFw Cc: freebsd-hackers@freebsd.org Subject: RE: Instruction fault panic while installing 6.2 on VMware Server X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@sourcehosting.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 18:10:55 -0000 >=20 >=20 > On 02/24/07 05:44, ghozzy wrote: > > Hi, > >=20 > > On 2/23/07, Greg Larkin wrote: > >> Hi everyone, > >> > >> I'm creating a standard FreeBSD 6.2 ISO image that I can use to > >> perform unattended installations into VMware Server=20 > virtual machines. > >> I'm using VMServer 1.0.1, and I've hit a roadblock when sysinstall > >> attempts to create the root filesystem. > >> > >> The first thing to mention is that VMServer is running on=20 > a CentOS 4.4 > >> host OS, and the CPU architecture is a Via C3 Nehemiah. =20 > Technically, > >> the VMServer software is not supposed to work on the Via=20 > C3 line, but > >> the Nehemiah apparently supports the CMOV instruction that VMServer > >> requires. I've been able to install Fedora Core 6 successfully and > >> run it with no problems, so I'm wondering if I just need=20 > to find the > >> right options to configure FreeBSD 6.2 to get it to work. > >> > >> Anyway, the VM boots fine, loads the FreeBSD ISO, and launches > >> sysinstall, but as soon as newfs is invoked to make the root > >> filesystem, I get this: > >> > >> Making a new root filesystem on /dev/ad0s1a > >> Panic: privileged instruction fault > >> (auto reboot) > >> > >> I've tried installing from the standard 6.2 release ISO as=20 > well as a > >> custom ISO with a recompiled kernel, but I get the same=20 > error either > >> way. I also tried disabling ACPI during boot with no success. > >> > >> My custom kernel config is included below. My first=20 > thought was that > >> if I explicitly set the CPU to I486, that might help avoid the > >> instruction fault, but that doesn't work. I didn't see any other > >> options that looked like they would fix the fault, but I'm not very > >> experienced at kernel configuration either. > >> > >> Does anyone have an idea how to troubleshoot this problem?=20 > Thank you > >> for any help! > >> > >> Regards, > >> Greg Larkin > >=20 > > I have experienced similar problem in VMware Workstation=20 > under Windows XP > > on Via C3 Nehemiah processor since FreeBSD 5.x. In my case=20 > privileged > > instruction fault shot somewhere in rc boot process.=20 > Tracing down the cause of > > fault i found out that it was xstore instruction, which=20 > VMware did not emulate. > > It turned out to be the merit of new random generator=20 > appeared somewhere in > > 5.x, which detected the Via processor and tried to use its=20 > hardware random > > number generator. My workaround was to patch kernel to=20 > disable using this Via > > processor feature completely. The result was successful=20 > booting and running > > FreeBSD 5.x and 6.x under VMware on this machine. > >=20 > > Attached is the patch i use for 6.x kernel. >=20 >=20 > Can you both send me the dmesg of these machines? >=20 >=20 > Eric >=20 >=20 Hi Eric, Here is the dmesg output of the FreeBSD 6.2 virtual machine that has ghozzy's probe.c patch in place. His patch prevents the kernel from using the XSTORE instruction that VMware Server doesn't support. Let me know if you need any other information. I don't remember if I cc'd the list or not a few days ago when I emailed ghozzy, but his patch fixed the installation problem I was having, and I no longer get the instruction fault panic when the root filesystem is built. I haven't put the new VM through any strenuous testing yet, but I will be over the next few weeks, and I'll update the list if the system crashes again. Thank you, Greg Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE-VMWAREC3 #0: Mon Feb 26 22:10:58 UTC 2007 root@vmware-image.entropy.prv:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: VIA C3 Nehemiah+RNG (1000.35-MHz 686-class CPU) Origin =3D "CentaurHauls" Id =3D 0x693 Stepping =3D 3 =20 Features=3D0x380b33d real memory =3D 268435456 (256 MB) avail memory =3D 253083648 (241 MB) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1050-0x105f at device 7.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 7.3 (no driver attached) pci0: at device 15.0 (no driver attached) mpt0: port 0x1080-0x10ff mem 0xec800000-0xec800fff irq 17 at device 16.0 on pci0 mpt0: [GIANT-LOCKED] mpt0: MPI Version=3D1.2.0.0 lnc0: port 0x1400-0x147f irq 18 at device 17.0 on pci0 lnc0: Attaching PCNet/PCI Ethernet adapter lnc0: [GIANT-LOCKED] lnc0: Ethernet address: 00:50:56:84:73:01 lnc0: if_start running deferred for Giant lnc0: PCnet-PCI acpi_acad0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xdc000-0xdffff,0xe0000-0xe3fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1000350707 Hz quality 800 Timecounters tick every 1.000 msec ad0: 4096MB at ata0-master UDMA33 acd0: CDROM at ata1-master UDMA33 Waiting 5 seconds for SCSI devices to settle Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 22:25:53 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B2EC16A400 for ; Thu, 1 Mar 2007 22:25:53 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 20AA113C481 for ; Thu, 1 Mar 2007 22:25:53 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mr4so.prod.shaw.ca (pd3mr4so-qfe3.prod.shaw.ca [10.0.141.180]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JE800IB2U3BSX10@l-daemon> for freebsd-hackers@freebsd.org; Thu, 01 Mar 2007 14:23:35 -0700 (MST) Received: from pn2ml6so.prod.shaw.ca ([10.0.121.150]) by pd3mr4so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JE8005QWU39MX02@pd3mr4so.prod.shaw.ca> for freebsd-hackers@freebsd.org; Thu, 01 Mar 2007 14:23:35 -0700 (MST) Received: from hexahedron.daemonology.net ([24.82.18.31]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JE8009DYTX63UR3@l-daemon> for freebsd-hackers@freebsd.org; Thu, 01 Mar 2007 14:19:55 -0700 (MST) Received: (qmail 1276 invoked from network); Thu, 01 Mar 2007 21:19:37 +0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; Thu, 01 Mar 2007 21:19:37 +0000 Date: Thu, 01 Mar 2007 13:19:36 -0800 From: Colin Percival In-reply-to: <20070301105023.GA62748@mail.crypta.net> To: Andy Hilker Message-id: <45E74368.4010603@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.94.0.0 References: <20070228221612.GA14358@mail.crypta.net> <20070301105023.GA62748@mail.crypta.net> User-Agent: Thunderbird 1.5.0.9 (X11/20061227) Cc: freebsd-hackers@freebsd.org, FreeBSD Stable Subject: Re: freebsd-update ignores /boot/kernel/kernel sometimes!? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 22:25:53 -0000 Andy Hilker wrote: >> Somehow freebsd-update find /boot/kernel/kernel on some servers and >> patches it and on others not. > > Additional info: > it seems that all machines where it does not work, have an SMP-GENERIC > (i386) installed. There's a bug in how FreeBSD Update handles /boot/kernel. Basically, it's supposed to figure out if you're running a GENERIC or SMP kernel, and get the appropriate updates based on that; but I incorrectly assumed that the SMP kernel would identify itself as "SMP". Instead, the i386 SMP kernel identifies itself as "SMP-GENERIC", while the amd64 SMP kernel identifies itself as "GENERIC", with the result that (a) On FreeBSD 6.2 i386 systems running an SMP kernel from /boot/kernel, the kernel will not be updated, and (b) On FreeBSD 6.2 amd64 systems running an SMP kernel from /boot/kernel, the kernel will be replaced with a GENERIC (non-SMP) kernel. I'm working on a patch for this and will be talking to re@ about having an Errata Notice sent out about this. Colin Percival From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 23:43:48 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D2BD16A403; Thu, 1 Mar 2007 23:43:48 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 9723A13C4A8; Thu, 1 Mar 2007 23:43:47 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-24.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003576969.msg; Thu, 01 Mar 2007 23:42:33 +0000 Message-ID: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: , Date: Thu, 1 Mar 2007 23:42:14 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Thu, 01 Mar 2007 23:42:34 +0000 X-MDAV-Processed: multiplay.co.uk, Thu, 01 Mar 2007 23:42:34 +0000 Cc: Subject: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 23:43:48 -0000 I've been repartitioning some of our machines here and found that using the following method sysinstall creates corrupt filesystems. 1. Boot a machine using an nfs mounted /usr 2. Run: sysctl kern.geom.debugflags=16 to enable writing to the disk mbr 3. run sysinstall, Customise -> Label 4. Delete the /usr partition e.g. /dev/da0s1f 5. Create two partitions from the space left as ufs with mount points /usr and /data 6. Write the changes. Now two strange things happen: 1. /usr ends up mounted twice once from nfs and once from the new ufs. This requires umount -f /dev/da0s1f to correct but doesnt always work properly requiring a reboot to restore system functionality. 2. The FS on both partitions is totally corrupt even fsck cant repair them, even after a reboot. So the question is why would sysinstall create two corrupt FS's with this procedure? Fixing is trivial just rerun the newfs commands and all is good but its really odd that they should be corrupt in the first place and caught me out big time when I first did this as I had restored a full dump back onto /usr and rebooted only for it to blow up horribly as the fs was so badly corrupted. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 03:03:45 2007 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E57716A402; Fri, 2 Mar 2007 03:03:45 +0000 (UTC) (envelope-from craig@tobuj.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.freebsd.org (Postfix) with ESMTP id 624ED13C46B; Fri, 2 Mar 2007 03:03:45 +0000 (UTC) (envelope-from craig@tobuj.gank.org) Received: by ion.gank.org (Postfix, from userid 1001) id B843411A7F; Thu, 1 Mar 2007 20:45:35 -0600 (CST) Date: Thu, 1 Mar 2007 20:45:33 -0600 From: Craig Boston To: "Jim C. Nasby" Message-ID: <20070302024533.GA64754@nowhere> Mail-Followup-To: Craig Boston , "Jim C. Nasby" , Kris Kennaway , smp@FreeBSD.org, hackers@FreeBSD.org, current@FreeBSD.org References: <20070224213111.GB41434@xor.obsecurity.org> <20070227182511.GD29041@decibel.org> <20070227205951.GA56651@xor.obsecurity.org> <20070227221252.GD51916@decibel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070227221252.GD51916@decibel.org> User-Agent: Mutt/1.4.2.2i Cc: smp@FreeBSD.org, hackers@FreeBSD.org, current@FreeBSD.org, Kris Kennaway Subject: Re: Progress on scaling of FreeBSD on 8 CPU systems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 03:03:45 -0000 On Tue, Feb 27, 2007 at 04:12:52PM -0600, Jim C. Nasby wrote: > On Tue, Feb 27, 2007 at 03:59:52PM -0500, Kris Kennaway wrote: > > > > I've mentioned this a couple of times, but postgresql didn't scale > > well [on freebsd at least] when I tried it last year. I hope to > > revisit when I get time. > > Let me know if you need help when you get to that point. Keep in mind > that PostgreSQL's out-of-the-box configuration is pretty conservative, > so you won't get good numbers that way. I was kind of wondering that myself, especially as PostgreSQL uses a multi-process model rather than threads. It seems like it would benefit more from optimization of the Sys-V semaphores and shared memory. Craig From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 10:11:23 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95A8C16A400 for ; Fri, 2 Mar 2007 10:11:23 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6742013C4AC for ; Fri, 2 Mar 2007 10:11:23 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.1.43.246] ([130.226.7.91]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l229jmpJ059082 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Mar 2007 01:45:50 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45E7F246.1030805@errno.com> Date: Fri, 02 Mar 2007 01:45:42 -0800 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Steven Hartland References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> In-Reply-To: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com 1356; Body=5 Fuz1=5 Fuz2=5 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 10:11:23 -0000 Steven Hartland wrote: > I've been repartitioning some of our machines here and > found that using the following method sysinstall creates > corrupt filesystems. > > 1. Boot a machine using an nfs mounted /usr > 2. Run: sysctl kern.geom.debugflags=16 to enable writing > to the disk mbr > 3. run sysinstall, Customise -> Label > 4. Delete the /usr partition e.g. /dev/da0s1f > 5. Create two partitions from the space left as ufs with > mount points /usr and /data > 6. Write the changes. > > Now two strange things happen: > 1. /usr ends up mounted twice once from nfs and once > from the new ufs. This requires umount -f /dev/da0s1f to > correct but doesnt always work properly requiring a reboot > to restore system functionality. > 2. The FS on both partitions is totally corrupt even fsck > cant repair them, even after a reboot. > > So the question is why would sysinstall create two corrupt > FS's with this procedure? > > Fixing is trivial just rerun the newfs commands and all > is good but its really odd that they should be corrupt > in the first place and caught me out big time when I first > did this as I had restored a full dump back onto /usr > and rebooted only for it to blow up horribly as the fs > was so badly corrupted. There's a debug flag you can turn on somewhere in the sysinstall menus. It may help diagnose what sysinstall is doing wrong by checking the log msgs. I find sysinstall is best diagnosed inside qemu or vmware so you destructively operate on disk images w/o hosing a real system. Sam From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 13:28:02 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37ABD16A406 for ; Fri, 2 Mar 2007 13:28:02 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 08D1113C4A3 for ; Fri, 2 Mar 2007 13:28:01 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l22DS0dW004452; Fri, 2 Mar 2007 07:28:01 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45E82660.4030107@freebsd.org> Date: Fri, 02 Mar 2007 07:28:00 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: Steven Hartland References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> In-Reply-To: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2697/Fri Mar 2 06:02:13 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 13:28:02 -0000 On 03/01/07 17:42, Steven Hartland wrote: > I've been repartitioning some of our machines here and > found that using the following method sysinstall creates > corrupt filesystems. > > 1. Boot a machine using an nfs mounted /usr > 2. Run: sysctl kern.geom.debugflags=16 to enable writing > to the disk mbr > 3. run sysinstall, Customise -> Label > 4. Delete the /usr partition e.g. /dev/da0s1f > 5. Create two partitions from the space left as ufs with > mount points /usr and /data > 6. Write the changes. > > Now two strange things happen: > 1. /usr ends up mounted twice once from nfs and once > from the new ufs. This requires umount -f /dev/da0s1f to > correct but doesnt always work properly requiring a reboot > to restore system functionality. > 2. The FS on both partitions is totally corrupt even fsck > cant repair them, even after a reboot. > > So the question is why would sysinstall create two corrupt > FS's with this procedure? > > Fixing is trivial just rerun the newfs commands and all > is good but its really odd that they should be corrupt > in the first place and caught me out big time when I first > did this as I had restored a full dump back onto /usr > and rebooted only for it to blow up horribly as the fs > was so badly corrupted. > > Steve I don't know about the fs corruption, but the double mounts is something you asked it to do (maybe unknowingly). When you added that partition, one of the options is to mount it. Eric From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 13:34:11 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96C3916A400; Fri, 2 Mar 2007 13:34:11 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 0B69A13C4B7; Fri, 2 Mar 2007 13:34:10 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-24.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003578340.msg; Fri, 02 Mar 2007 13:33:39 +0000 Message-ID: <005401c75ccf$5d148500$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Sam Leffler" References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E7F246.1030805@errno.com> Date: Fri, 2 Mar 2007 13:33:19 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Fri, 02 Mar 2007 13:33:40 +0000 X-MDAV-Processed: multiplay.co.uk, Fri, 02 Mar 2007 13:33:40 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 13:34:11 -0000 Sam Leffler wrote: > There's a debug flag you can turn on somewhere in the sysinstall > menus. It may help diagnose what sysinstall is doing wrong by > checking the log msgs. I find sysinstall is best diagnosed inside > qemu or vmware so you destructively operate on disk images w/o hosing > a real system. I've got some new machines on order that will need installing so it will be easy to have a play on them. I'll have a dig and let you know what I find. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 13:49:13 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0CF8B16A405; Fri, 2 Mar 2007 13:49:13 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 52B7513C4B3; Fri, 2 Mar 2007 13:49:11 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-24.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003578410.msg; Fri, 02 Mar 2007 13:47:15 +0000 Message-ID: <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Eric Anderson" References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> Date: Fri, 2 Mar 2007 13:46:55 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Fri, 02 Mar 2007 13:47:15 +0000 X-MDAV-Processed: multiplay.co.uk, Fri, 02 Mar 2007 13:47:15 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 13:49:13 -0000 Eric Anderson wrote: > I don't know about the fs corruption, but the double mounts is > something you asked it to do (maybe unknowingly). When you added > that partition, one of the options is to mount it. Clearly an easy work around in that case then but personally I would expect a mount to a directory already in use by another mount point to fail. Taking even further a mount to a directory that is not actually empty should fail. IIRC this is how solaris behaves but its been a while. Checking for an empty target directory certainly makes sence to me is there some case where it would be desirable to allow this to happen? If so maybe a force flag should created without which a mount to a none empty dir would fail. Either way allowing multiple mounts to the same location is bound to cause all manor of confusion and should be prevented. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 14:11:53 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E04E616A400; Fri, 2 Mar 2007 14:11:53 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id AFEEC13C47E; Fri, 2 Mar 2007 14:11:53 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l22EBqq5012516; Fri, 2 Mar 2007 08:11:53 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45E830A8.8020104@freebsd.org> Date: Fri, 02 Mar 2007 08:11:52 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: Steven Hartland References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> In-Reply-To: <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2697/Fri Mar 2 06:02:13 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 14:11:54 -0000 On 03/02/07 07:46, Steven Hartland wrote: > Eric Anderson wrote: >> I don't know about the fs corruption, but the double mounts is >> something you asked it to do (maybe unknowingly). When you added >> that partition, one of the options is to mount it. > > Clearly an easy work around in that case then but personally > I would expect a mount to a directory already in use by another > mount point to fail. Taking even further a mount to a directory > that is not actually empty should fail. IIRC this is how solaris > behaves but its been a while. > > Checking for an empty target directory certainly makes sence to > me is there some case where it would be desirable to allow this > to happen? If so maybe a force flag should created without which > a mount to a none empty dir would fail. Either way allowing > multiple mounts to the same location is bound to cause all manor > of confusion and should be prevented. Mounting an NFS share on top of a skimmed down /usr is very common, and very desirable. You may mount /usr from a small read-only partition (vnode file, etc) and then mount a different partition or NFS over it if you detect the one you want. I think this comes down to: if it hurts, stop doing it. :) Maybe sysinstall should warn you that you are double mounting, but I don't want it to stop letting me do it. Eric From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 14:39:14 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6695E16A401; Fri, 2 Mar 2007 14:39:14 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id AA20913C4B5; Fri, 2 Mar 2007 14:39:13 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-24.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003578541.msg; Fri, 02 Mar 2007 14:37:39 +0000 Message-ID: <00ac01c75cd8$4e5d57e0$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Eric Anderson" References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <45E830A8.8020104@freebsd.org> Date: Fri, 2 Mar 2007 14:37:21 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Fri, 02 Mar 2007 14:37:39 +0000 X-MDAV-Processed: multiplay.co.uk, Fri, 02 Mar 2007 14:37:40 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 14:39:14 -0000 Eric Anderson wrote: > On 03/02/07 07:46, Steven Hartland wrote: > Mounting an NFS share on top of a skimmed down /usr is very common, > and very desirable. You may mount /usr from a small read-only > partition (vnode file, etc) and then mount a different partition or > NFS over it if you detect the one you want. > > I think this comes down to: if it hurts, stop doing it. :) > > Maybe sysinstall should warn you that you are double mounting, but I > don't want it to stop letting me do it. Interesting if that's a valid thing to do why does everything break when its done? Is it ment to be doing a union hence you get the combined contents of both? If so its not working correctly in this case :( Can you provide me with more info on how this is supposed to work eric please. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 14:56:05 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7DE216A40D; Fri, 2 Mar 2007 14:56:05 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 81D2E13C4C6; Fri, 2 Mar 2007 14:56:05 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l22Eu45q020457; Fri, 2 Mar 2007 08:56:04 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45E83B04.2010009@freebsd.org> Date: Fri, 02 Mar 2007 08:56:04 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: Steven Hartland References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <45E830A8.8020104@freebsd.org> <00ac01c75cd8$4e5d57e0$b3db87d4@multiplay.co.uk> In-Reply-To: <00ac01c75cd8$4e5d57e0$b3db87d4@multiplay.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2701/Fri Mar 2 08:16:16 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 14:56:05 -0000 On 03/02/07 08:37, Steven Hartland wrote: > Eric Anderson wrote: >> On 03/02/07 07:46, Steven Hartland wrote: >> Mounting an NFS share on top of a skimmed down /usr is very common, >> and very desirable. You may mount /usr from a small read-only >> partition (vnode file, etc) and then mount a different partition or >> NFS over it if you detect the one you want. >> >> I think this comes down to: if it hurts, stop doing it. :) >> >> Maybe sysinstall should warn you that you are double mounting, but I >> don't want it to stop letting me do it. > > Interesting if that's a valid thing to do why does everything > break when its done? Is it ment to be doing a union hence you get > the combined contents of both? If so its not working correctly in > this case :( Can you provide me with more info on how this is > supposed to work eric please. No, it won't do a union unless you use union. Things break because you mounted an empty /usr on top of a working /usr. That just breaks things, because you probably need binaries in /usr. The OS doesn't know whether you want to mount an empty fs on a populated one, or what. It does exactly what you ask it to do, and in this case, it was a bad thing. Think of a thin client that has just enough stuff in /usr to make it boot and run a few tools. Then, depending on a startup option, it mounts a more populated /usr from NFS (or even a local disk, doesn't really matter) over the previous /usr. The fact is this: you made a new partition, called it /usr, and told sysinstall to mount it. It did. That happened to be a problem for you, which I could imagine it would be. Now, I'm not claiming this is the cause of your file system corruption issues. I'm just saying the duplicate mount is not a bug, it's a feature. Eric From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 14:56:15 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8269F16A411; Fri, 2 Mar 2007 14:56:15 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from alnrmhc15.comcast.net (alnrmhc15.comcast.net [206.18.177.55]) by mx1.freebsd.org (Postfix) with ESMTP id 4AE8513C4A7; Fri, 2 Mar 2007 14:56:15 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-71-198-0-135.hsd1.ca.comcast.net[71.198.0.135]) by comcast.net (alnrmhc15) with ESMTP id <20070302144409b1500scvcme>; Fri, 2 Mar 2007 14:44:10 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 726C71FA03D; Fri, 2 Mar 2007 06:44:09 -0800 (PST) Date: Fri, 2 Mar 2007 06:44:09 -0800 From: Jeremy Chadwick To: Eric Anderson Message-ID: <20070302144409.GA4431@icarus.home.lan> Mail-Followup-To: Eric Anderson , Steven Hartland , freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <45E830A8.8020104@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45E830A8.8020104@freebsd.org> X-PGP-Key: http://jdc.parodius.com/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-hackers@freebsd.org, Steven Hartland , freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 14:56:15 -0000 On Fri, Mar 02, 2007 at 08:11:52AM -0600, Eric Anderson wrote: > Mounting an NFS share on top of a skimmed down /usr is very common, and > very desirable. You may mount /usr from a small read-only partition > (vnode file, etc) and then mount a different partition or NFS over it if > you detect the one you want. > > I think this comes down to: if it hurts, stop doing it. :) > > Maybe sysinstall should warn you that you are double mounting, but I > don't want it to stop letting me do it. Are we absolutely sure overlaying NFS + local UFS filesystems like this is the cause of the filesystem corruption? If Eric's doing it and it's working fine, I'm left wondering if there's maybe sysinstall isn't handling something right. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 15:08:26 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CE9A16A401 for ; Fri, 2 Mar 2007 15:08:26 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id A4CB713C471 for ; Fri, 2 Mar 2007 15:08:25 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 18890 invoked by uid 1001); 2 Mar 2007 15:09:55 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Fri, 02 Mar 2007 10:09:55 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17896.15939.9988.89695@bhuda.mired.org> Date: Fri, 2 Mar 2007 10:09:55 -0500 To: "Steven Hartland" In-Reply-To: <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> X-Mailer: VM 7.17 under 21.4 (patch 20) "Double Solitaire" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Mike Meyer Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Mount on non-empty directories (Was: sysinstall creates corrupt filesystems after repartitioning) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 15:08:26 -0000 In <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk>, Steven Hartland typed: > Eric Anderson wrote: > > I don't know about the fs corruption, but the double mounts is > > something you asked it to do (maybe unknowingly). When you added > > that partition, one of the options is to mount it. > Clearly an easy work around in that case then but personally > I would expect a mount to a directory already in use by another > mount point to fail. Taking even further a mount to a directory > that is not actually empty should fail. IIRC this is how solaris > behaves but its been a while. Yeah, there are some system that have that annoying behavior. I've cursed at them before. Being able to create a skeleton for some mounted file system on the root is a useful thing, and I've done it in a number of cases. Mount has an option (union) specifically designed for such cases. Further, we have at least one file system (unionfs) that is explicitly designed to be mounted on top of non-empty directories that people are actively using and developing. > Either way allowing multiple mounts to the same location is bound to > cause all manor of confusion and should be prevented. This is just a special case of mounting on a non-empty directory. It should work right. The last mounted file system is the one you get (unless you're using a file system that's designed to behave another way). If you unmount the directory, the last mounted device is unmounted. As a general rule, deciding that something is "useless and dangerous" and removing it isn't the Unix way of doing things. Just because you can't see a use for something doesn't mean that no one else will. That's true even if you wrote the code. Someone doing something with your program you never thought of is a sign that you developed a generally useful tool. As for dangerous, Unix users - especially root, and mount is restricted to root by default - are assumed to know what they're doing. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 15:10:02 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F25016A405; Fri, 2 Mar 2007 15:10:02 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6978E13C4A5; Fri, 2 Mar 2007 15:10:02 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l22FA1EG023101; Fri, 2 Mar 2007 09:10:01 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45E83E49.6080808@freebsd.org> Date: Fri, 02 Mar 2007 09:10:01 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: Eric Anderson , Steven Hartland , freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <45E830A8.8020104@freebsd.org> <20070302144409.GA4431@icarus.home.lan> In-Reply-To: <20070302144409.GA4431@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2701/Fri Mar 2 08:16:16 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 15:10:02 -0000 On 03/02/07 08:44, Jeremy Chadwick wrote: > On Fri, Mar 02, 2007 at 08:11:52AM -0600, Eric Anderson wrote: >> Mounting an NFS share on top of a skimmed down /usr is very common, and >> very desirable. You may mount /usr from a small read-only partition >> (vnode file, etc) and then mount a different partition or NFS over it if >> you detect the one you want. >> >> I think this comes down to: if it hurts, stop doing it. :) >> >> Maybe sysinstall should warn you that you are double mounting, but I >> don't want it to stop letting me do it. > > Are we absolutely sure overlaying NFS + local UFS filesystems like > this is the cause of the filesystem corruption? > > If Eric's doing it and it's working fine, I'm left wondering if > there's maybe sysinstall isn't handling something right. > No no no - I don't think there's anything wrong with that at all, and I don't think the two are related. I was merely trying to point out that the doubling of mounts is normal, expected, and a feature. Eric From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 15:39:15 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDC5016A408; Fri, 2 Mar 2007 15:39:15 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 12C4F13C4B2; Fri, 2 Mar 2007 15:39:14 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-24.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003578721.msg; Fri, 02 Mar 2007 15:37:42 +0000 Message-ID: <00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Jeremy Chadwick" , "Eric Anderson" References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <45E830A8.8020104@freebsd.org> <20070302144409.GA4431@icarus.home.lan> Date: Fri, 2 Mar 2007 15:37:21 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Fri, 02 Mar 2007 15:37:43 +0000 X-MDAV-Processed: multiplay.co.uk, Fri, 02 Mar 2007 15:37:43 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 15:39:16 -0000 Jeremy Chadwick wrote: > On Fri, Mar 02, 2007 at 08:11:52AM -0600, Eric Anderson wrote: >> Mounting an NFS share on top of a skimmed down /usr is very common, >> and very desirable. You may mount /usr from a small read-only >> partition (vnode file, etc) and then mount a different partition or >> NFS over it if you detect the one you want. >> >> I think this comes down to: if it hurts, stop doing it. :) >> >> Maybe sysinstall should warn you that you are double mounting, but I >> don't want it to stop letting me do it. > > Are we absolutely sure overlaying NFS + local UFS filesystems like > this is the cause of the filesystem corruption? > > If Eric's doing it and it's working fine, I'm left wondering if > there's maybe sysinstall isn't handling something right. I've rerun the test just to confirm but there are definitely two seperate issues here: 1. The ufs created by sysinstall after a repartition is corrupt. This is totally unrelated to the overlay of /usr as both /usr and /data ( which didnt previously exist ) where corrupted. 2. Once the blank /usr was mounted over the working nfs /usr apps under /usr couldnt be run e.g. vim gave me no such file.. After unmounting the ufs /usr using "umount -f /dev/da0s1f", without -f it gave a error due to use even know nothing was in use on it, the functionaility returned. Now this could be related to the corruption of the underlying ufs partition. If this is the case then solving #1 will also fix #2 Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 15:47:31 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2FFC16A401 for ; Fri, 2 Mar 2007 15:47:31 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id 2AE4D13C441 for ; Fri, 2 Mar 2007 15:47:31 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 19390 invoked by uid 1001); 2 Mar 2007 15:49:01 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Fri, 02 Mar 2007 10:49:00 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17896.18284.528644.992894@bhuda.mired.org> Date: Fri, 2 Mar 2007 10:49:00 -0500 To: "Steven Hartland" In-Reply-To: <00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk> References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <45E830A8.8020104@freebsd.org> <20070302144409.GA4431@icarus.home.lan> <00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk> X-Mailer: VM 7.17 under 21.4 (patch 20) "Double Solitaire" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Mike Meyer Cc: freebsd-hackers@freebsd.org, Jeremy Chadwick , freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 15:47:31 -0000 In <00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk>, Steven Hartland typed: > 2. Once the blank /usr was mounted over the working nfs /usr > apps under /usr couldnt be run e.g. vim gave me no such file.. This is correct behavior. If you want to see the files underneath a mounted file system, you need to use the union option on the mount. sysinstall doesn't expect you to have live file systems mounted, so doesn't do that. > After unmounting the ufs /usr using "umount -f /dev/da0s1f", > without -f it gave a error due to use even know nothing was > in use on it, the functionaility returned. Are you positive nothing was in use on it? In particular, could sysinstall have opened something on it? In any case, unmounting the file system causeing that functionality to return is expected. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 15:59:16 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6882416A401; Fri, 2 Mar 2007 15:59:16 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id A8D3713C48D; Fri, 2 Mar 2007 15:59:15 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-24.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003578793.msg; Fri, 02 Mar 2007 15:57:13 +0000 Message-ID: <010001c75ce3$6983ded0$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Mike Meyer" References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk><45E82660.4030107@freebsd.org><008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <17896.15939.9988.89695@bhuda.mired.org> Date: Fri, 2 Mar 2007 15:56:52 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Fri, 02 Mar 2007 15:57:13 +0000 X-MDAV-Processed: multiplay.co.uk, Fri, 02 Mar 2007 15:57:14 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Mount on non-empty directories (Was: sysinstall creates corruptfilesystems after repartitioning) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 15:59:16 -0000 Mike Meyer wrote: > In <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk>, Steven Hartland > This is just a special case of mounting on a non-empty directory. It > should work right. The last mounted file system is the one you get > (unless you're using a file system that's designed to behave another > way). If you unmount the directory, the last mounted device is > unmounted. This makes sence but is not what happens hence the confusion. If the last mounted FS is the one you get that makes sence but in this case thats not what I observed. > As a general rule, deciding that something is "useless and dangerous" > and removing it isn't the Unix way of doing things. Just because you > can't see a use for something doesn't mean that no one else > will. That's true even if you wrote the code. Someone doing something > with your program you never thought of is a sign that you developed a > generally useful tool. As for dangerous, Unix users - especially root, > and mount is restricted to root by default - are assumed to know what > they're doing. Appreciated but the issue I'm trying to understand is that the result didn't make any sence i.e. ls returned the files but trying to run them didnt work. Result my head started to spin a bit :P As mentioned this seemed to easily resolved by force unmounting the second device but as has been explained this has a clear use for which I was unaware but I'd still like to understand by I saw what I did i.e. ls displayed the files yet running vim didnt. I'm going to investigate this more in an effort to determine why I got these results and report back. Thanks for everyone's feedback so far most appreciated. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 15:59:32 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32F1916A404; Fri, 2 Mar 2007 15:59:32 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 01E4C13C49D; Fri, 2 Mar 2007 15:59:31 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l22FxVVV032190; Fri, 2 Mar 2007 09:59:31 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45E849E3.1080007@freebsd.org> Date: Fri, 02 Mar 2007 09:59:31 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: Steven Hartland References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <45E830A8.8020104@freebsd.org> <20070302144409.GA4431@icarus.home.lan> <00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk> In-Reply-To: <00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2701/Fri Mar 2 08:16:16 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-hackers@freebsd.org, Jeremy Chadwick , freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 15:59:32 -0000 On 03/02/07 09:37, Steven Hartland wrote: > Jeremy Chadwick wrote: >> On Fri, Mar 02, 2007 at 08:11:52AM -0600, Eric Anderson wrote: >>> Mounting an NFS share on top of a skimmed down /usr is very common, >>> and very desirable. You may mount /usr from a small read-only >>> partition (vnode file, etc) and then mount a different partition or >>> NFS over it if you detect the one you want. >>> >>> I think this comes down to: if it hurts, stop doing it. :) >>> >>> Maybe sysinstall should warn you that you are double mounting, but I >>> don't want it to stop letting me do it. >> Are we absolutely sure overlaying NFS + local UFS filesystems like >> this is the cause of the filesystem corruption? >> >> If Eric's doing it and it's working fine, I'm left wondering if >> there's maybe sysinstall isn't handling something right. > > I've rerun the test just to confirm but there are definitely > two seperate issues here: > 1. The ufs created by sysinstall after a repartition is corrupt. > This is totally unrelated to the overlay of /usr as both /usr > and /data ( which didnt previously exist ) where corrupted. > > 2. Once the blank /usr was mounted over the working nfs /usr > apps under /usr couldnt be run e.g. vim gave me no such file.. > After unmounting the ufs /usr using "umount -f /dev/da0s1f", > without -f it gave a error due to use even know nothing was > in use on it, the functionaility returned. Now this could > be related to the corruption of the underlying ufs partition. > If this is the case then solving #1 will also fix #2 So try the same test, with *only* the data partition, without messing with the /usr stuff.. Eric From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 16:02:23 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0752F16A400; Fri, 2 Mar 2007 16:02:23 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id CBE5013C4A8; Fri, 2 Mar 2007 16:02:22 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l22G2M43032797; Fri, 2 Mar 2007 10:02:22 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45E84A8E.6040705@freebsd.org> Date: Fri, 02 Mar 2007 10:02:22 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: Steven Hartland References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk><45E82660.4030107@freebsd.org><008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <17896.15939.9988.89695@bhuda.mired.org> <010001c75ce3$6983ded0$b3db87d4@multiplay.co.uk> In-Reply-To: <010001c75ce3$6983ded0$b3db87d4@multiplay.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2701/Fri Mar 2 08:16:16 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-hackers@freebsd.org, Mike Meyer , freebsd-stable@freebsd.org Subject: Re: Mount on non-empty directories (Was: sysinstall creates corruptfilesystems after repartitioning) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 16:02:23 -0000 On 03/02/07 09:56, Steven Hartland wrote: > Mike Meyer wrote: >> In <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk>, Steven Hartland >> This is just a special case of mounting on a non-empty directory. It >> should work right. The last mounted file system is the one you get >> (unless you're using a file system that's designed to behave another >> way). If you unmount the directory, the last mounted device is >> unmounted. > > This makes sence but is not what happens hence the confusion. If > the last mounted FS is the one you get that makes sence but in > this case thats not what I observed. Are you sure? In your last email, you described the above interaction exactly (you had an NFS mounted /usr, then you made a new empty /usr, and it mounted it on top, then you couldn't execute things in /usr anymore (vim was your example), then you unmounted the last mounted fs (the empty one), and your vim was accessible again.. ? >> As a general rule, deciding that something is "useless and dangerous" >> and removing it isn't the Unix way of doing things. Just because you >> can't see a use for something doesn't mean that no one else >> will. That's true even if you wrote the code. Someone doing something >> with your program you never thought of is a sign that you developed a >> generally useful tool. As for dangerous, Unix users - especially root, >> and mount is restricted to root by default - are assumed to know what >> they're doing. > > Appreciated but the issue I'm trying to understand is that the result > didn't make any sence i.e. ls returned the files but trying to run > them didnt work. Result my head started to spin a bit :P As mentioned > this seemed to easily resolved by force unmounting the second device > but as has been explained this has a clear use for which I was unaware > but I'd still like to understand by I saw what I did i.e. ls > displayed the files yet running vim didnt. > > I'm going to investigate this more in an effort to determine why I > got these results and report back. Thanks for everyone's feedback > so far most appreciated. Ok, at this point, you need to send df, mount, and your ls output between each step. Eric From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 16:10:17 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33C7316A408 for ; Fri, 2 Mar 2007 16:10:17 +0000 (UTC) (envelope-from ghozzy@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.229]) by mx1.freebsd.org (Postfix) with ESMTP id DB11913C4A6 for ; Fri, 2 Mar 2007 16:10:16 +0000 (UTC) (envelope-from ghozzy@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so917046nza for ; Fri, 02 Mar 2007 08:10:16 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=aBgCFx7Xt9mHMBYj+g6wjjh6EswR1JWqpEn7xgtQvRlvB883bRUFD7p+d0qExQcxeo3Oi+muL5g3+KuDNW096AoqYneW1xryeElDgndtWH8uuui+vyl+A8Ymdzbcu4wJg7nL28sAU1KtDpB0UKt4reu4xVVxGtDPXveNozTvMQk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=nLKCp48+d+EGhBHyr1oqssZqqdBZYktf6W/eGwcB9iM9TmoJn3qfQPfFYC/PhtB0tA25Y57LkaElSGN3H/+p9fpDHOhHkWHXyzK6KtCAjc3waqWSlqUZnwY/fISQY5+SkpwcLoFvHwIgpBUm119Gif/EQvi6ZSaRfmWMYxZDcqY= Received: by 10.114.151.13 with SMTP id y13mr286162wad.1172851815949; Fri, 02 Mar 2007 08:10:15 -0800 (PST) Received: by 10.114.158.12 with HTTP; Fri, 2 Mar 2007 08:10:15 -0800 (PST) Message-ID: Date: Fri, 2 Mar 2007 19:10:15 +0300 From: ghozzy To: "Eric Anderson" In-Reply-To: <45E6CDCA.5070505@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_87390_10539608.1172851815622" References: <005101c75778$50577770$0901a8c0@TWEETY> <45E6CDCA.5070505@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Instruction fault panic while installing 6.2 on VMware Server X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 16:10:17 -0000 ------=_Part_87390_10539608.1172851815622 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Eric, On 3/1/07, Eric Anderson wrote: > On 02/24/07 05:44, ghozzy wrote: > > Hi, > > > > On 2/23/07, Greg Larkin wrote: > >> Hi everyone, > >> > >> I'm creating a standard FreeBSD 6.2 ISO image that I can use to > >> perform unattended installations into VMware Server virtual machines. > >> I'm using VMServer 1.0.1, and I've hit a roadblock when sysinstall > >> attempts to create the root filesystem. [snip] > >> Regards, > >> Greg Larkin > > > > I have experienced similar problem in VMware Workstation under Windows XP > > on Via C3 Nehemiah processor since FreeBSD 5.x. In my case privileged > > instruction fault shot somewhere in rc boot process. Tracing down the cause of > > fault i found out that it was xstore instruction, which VMware did not emulate. > > It turned out to be the merit of new random generator appeared somewhere in > > 5.x, which detected the Via processor and tried to use its hardware random > > number generator. My workaround was to patch kernel to disable using this Via > > processor feature completely. The result was successful booting and running > > FreeBSD 5.x and 6.x under VMware on this machine. > > > > Attached is the patch i use for 6.x kernel. > > > Can you both send me the dmesg of these machines? > > > Eric Here are the dmesg's of native boot and under vmware. -- ghozzy ------=_Part_87390_10539608.1172851815622 Content-Type: text/plain; name=dmesg.real.txt; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_eystml56 Content-Disposition: attachment; filename="dmesg.real.txt" Q29weXJpZ2h0IChjKSAxOTkyLTIwMDcgVGhlIEZyZWVCU0QgUHJvamVjdC4KQ29weXJpZ2h0IChj KSAxOTc5LCAxOTgwLCAxOTgzLCAxOTg2LCAxOTg4LCAxOTg5LCAxOTkxLCAxOTkyLCAxOTkzLCAx OTk0CglUaGUgUmVnZW50cyBvZiB0aGUgVW5pdmVyc2l0eSBvZiBDYWxpZm9ybmlhLiBBbGwgcmln aHRzIHJlc2VydmVkLgpGcmVlQlNEIGlzIGEgcmVnaXN0ZXJlZCB0cmFkZW1hcmsgb2YgVGhlIEZy ZWVCU0QgRm91bmRhdGlvbi4KRnJlZUJTRCA2LjItU1RBQkxFICMxOiBXZWQgRmViIDI4IDE4OjU0 OjU3IE1TSyAyMDA3CiAgICBnaG96enlAbmVzdC5sb2NhbG5ldDovdXNyL29iai91c3Ivc3JjL3N5 cy9ST1ZFUi1ESVNLTEVTUwpUaW1lY291bnRlciAiaTgyNTQiIGZyZXF1ZW5jeSAxMTkzMTgyIEh6 IHF1YWxpdHkgMApDUFU6IFZJQSBDMyBOZWhlbWlhaCtSTkcrQUVTICgxMDAwLjQwLU1IeiA2ODYt Y2xhc3MgQ1BVKQogIE9yaWdpbiA9ICJDZW50YXVySGF1bHMiICBJZCA9IDB4Njk4ICBTdGVwcGlu ZyA9IDgKICBGZWF0dXJlcz0weDM4MWIxM2Y8RlBVLFZNRSxERSxQU0UsVFNDLE1TUixDWDgsTVRS UixQR0UsQ01PVixQQVQsTU1YLEZYU1IsU1NFPgpyZWFsIG1lbW9yeSAgPSAyNTE1OTI3MDQgKDIz OSBNQikKYXZhaWwgbWVtb3J5ID0gMjQwOTE0NDMyICgyMjkgTUIpCmFjcGkwOiA8QU1JSU5UIFZJ QV9QNj4gb24gbW90aGVyYm9hcmQKYWNwaTA6IFBvd2VyIEJ1dHRvbiAoZml4ZWQpClRpbWVjb3Vu dGVyICJBQ1BJLWZhc3QiIGZyZXF1ZW5jeSAzNTc5NTQ1IEh6IHF1YWxpdHkgMTAwMAphY3BpX3Rp bWVyMDogPDI0LWJpdCB0aW1lciBhdCAzLjU3OTU0NU1Iej4gcG9ydCAweDgwOC0weDgwYiBvbiBh Y3BpMAphY3BpX2VjMDogPEVtYmVkZGVkIENvbnRyb2xsZXI6IEdQRSAweDE0PiBwb3J0IDB4NjIs MHg2NiBvbiBhY3BpMApjcHUwOiA8QUNQSSBDUFU+IG9uIGFjcGkwCmFjcGlfdGhyb3R0bGUwOiA8 QUNQSSBDUFUgVGhyb3R0bGluZz4gb24gY3B1MAphY3BpX2J1dHRvbjA6IDxQb3dlciBCdXR0b24+ IG9uIGFjcGkwCmFjcGlfbGlkMDogPENvbnRyb2wgTWV0aG9kIExpZCBTd2l0Y2g+IG9uIGFjcGkw CnBjaWIwOiA8QUNQSSBIb3N0LVBDSSBicmlkZ2U+IHBvcnQgMHhjZjgtMHhjZmYgb24gYWNwaTAK cGNpMDogPEFDUEkgUENJIGJ1cz4gb24gcGNpYjAKYWdwMDogPFZJQSA4NjJ4IChDTEUyNjYpIGhv c3QgdG8gUENJIGJyaWRnZT4gbWVtIDB4ZTAwMDAwMDAtMHhlM2ZmZmZmZiBhdCBkZXZpY2UgMC4w IG9uIHBjaTAKcGNpYjE6IDxQQ0ktUENJIGJyaWRnZT4gYXQgZGV2aWNlIDEuMCBvbiBwY2kwCnBj aTE6IDxQQ0kgYnVzPiBvbiBwY2liMQpwY2kxOiA8ZGlzcGxheSwgVkdBPiBhdCBkZXZpY2UgMC4w IChubyBkcml2ZXIgYXR0YWNoZWQpCnBjaTA6IDxzZXJpYWwgYnVzLCBVU0I+IGF0IGRldmljZSAx Ni4wIChubyBkcml2ZXIgYXR0YWNoZWQpCnBjaTA6IDxzZXJpYWwgYnVzLCBVU0I+IGF0IGRldmlj ZSAxNi4xIChubyBkcml2ZXIgYXR0YWNoZWQpCnBjaTA6IDxzZXJpYWwgYnVzLCBVU0I+IGF0IGRl dmljZSAxNi4zIChubyBkcml2ZXIgYXR0YWNoZWQpCnZpYXByb3BtMDogU01CdXMgSS9PIGJhc2Ug YXQgMHg0MDAKdmlhcHJvcG0wOiBTTUJ1cyBJL08gYmFzZSBhdCAweDQwMAp2aWFwcm9wbTA6IDxW SUEgVlQ4MjM1IFBvd2VyIE1hbmFnZW1lbnQgVW5pdD4gcG9ydCAweDQwMC0weDQwZiBhdCBkZXZp Y2UgMTcuMCBvbiBwY2kwCnZpYXByb3BtMDogU01CdXMgcmV2aXNpb24gY29kZSAweDAKc21idXMw OiA8U3lzdGVtIE1hbmFnZW1lbnQgQnVzPiBvbiB2aWFwcm9wbTAKc21iMDogPFNNQnVzIGdlbmVy aWMgSS9PPiBvbiBzbWJ1czAKaXNhMDogPElTQSBidXM+IG9uIHZpYXByb3BtMAphdGFwY2kwOiA8 VklBIDgyMzUgVURNQTEzMyBjb250cm9sbGVyPiBwb3J0IDB4MWYwLTB4MWY3LDB4M2Y2LDB4MTcw LTB4MTc3LDB4Mzc2LDB4ZmMwMC0weGZjMGYgYXQgZGV2aWNlIDE3LjEgb24gcGNpMAphdGEwOiA8 QVRBIGNoYW5uZWwgMD4gb24gYXRhcGNpMAphdGExOiA8QVRBIGNoYW5uZWwgMT4gb24gYXRhcGNp MApwY2kwOiA8bXVsdGltZWRpYSwgYXVkaW8+IGF0IGRldmljZSAxNy41IChubyBkcml2ZXIgYXR0 YWNoZWQpCnBjaTA6IDxzaW1wbGUgY29tbXM+IGF0IGRldmljZSAxNy42IChubyBkcml2ZXIgYXR0 YWNoZWQpCnZyMDogPFZJQSBWVDYxMDIgUmhpbmUgSUkgMTAvMTAwQmFzZVRYPiBwb3J0IDB4ZGMw MC0weGRjZmYgbWVtIDB4ZGZmZmZlMDAtMHhkZmZmZmVmZiBpcnEgMTAgYXQgZGV2aWNlIDE4LjAg b24gcGNpMAptaWlidXMwOiA8TUlJIGJ1cz4gb24gdnIwCnVrcGh5MDogPEdlbmVyaWMgSUVFRSA4 MDIuM3UgbWVkaWEgaW50ZXJmYWNlPiBvbiBtaWlidXMwCnVrcGh5MDogIDEwYmFzZVQsIDEwYmFz ZVQtRkRYLCAxMDBiYXNlVFgsIDEwMGJhc2VUWC1GRFgsIGF1dG8KdnIwOiBFdGhlcm5ldCBhZGRy ZXNzOiAwMDoxMTo1YjoyMDozMTo5YgphdGtiZGMwOiA8S2V5Ym9hcmQgY29udHJvbGxlciAoaTgw NDIpPiBwb3J0IDB4NjAsMHg2NCBpcnEgMSBvbiBhY3BpMAphdGtiZDA6IDxBVCBLZXlib2FyZD4g aXJxIDEgb24gYXRrYmRjMAprYmQwIGF0IGF0a2JkMAphdGtiZDA6IFtHSUFOVC1MT0NLRURdCnBz bTA6IDxQUy8yIE1vdXNlPiBpcnEgMTIgb24gYXRrYmRjMApwc20wOiBbR0lBTlQtTE9DS0VEXQpw c20wOiBtb2RlbCBJbnRlbGxpTW91c2UsIGRldmljZSBJRCAzCnNpbzA6IDwxNjU1MEEtY29tcGF0 aWJsZSBDT00gcG9ydD4gcG9ydCAweDNmOC0weDNmZiBpcnEgNCBmbGFncyAweDEwIG9uIGFjcGkw CnNpbzA6IHR5cGUgMTY1NTBBCmFjcGlfYWNhZDA6IDxBQyBBZGFwdGVyPiBvbiBhY3BpMApiYXR0 ZXJ5MDogPEFDUEkgQ29udHJvbCBNZXRob2QgQmF0dGVyeT4gb24gYWNwaTAKcG10aW1lcjAgb24g aXNhMApzYzA6IDxTeXN0ZW0gY29uc29sZT4gYXQgZmxhZ3MgMHgxMDAgb24gaXNhMApzYzA6IFZH QSA8MTYgdmlydHVhbCBjb25zb2xlcywgZmxhZ3M9MHgzMDA+CnZnYTA6IDxHZW5lcmljIElTQSBW R0E+IGF0IHBvcnQgMHgzYzAtMHgzZGYgaW9tZW0gMHhhMDAwMC0weGJmZmZmIG9uIGlzYTAKc2lv MTogY29uZmlndXJlZCBpcnEgMyBub3QgaW4gYml0bWFwIG9mIHByb2JlZCBpcnFzIDAKc2lvMTog cG9ydCBtYXkgbm90IGJlIGVuYWJsZWQKVGltZWNvdW50ZXIgIlRTQyIgZnJlcXVlbmN5IDEwMDAz OTg3OTAgSHogcXVhbGl0eSA4MDAKVGltZWNvdW50ZXJzIHRpY2sgZXZlcnkgMS4wMDAgbXNlYwpp cGZ3MiAoK2lwdjYpIGluaXRpYWxpemVkLCBkaXZlcnQgbG9hZGFibGUsIHJ1bGUtYmFzZWQgZm9y d2FyZGluZyBlbmFibGVkLCBkZWZhdWx0IHRvIGFjY2VwdCwgbG9nZ2luZyBsaW1pdGVkIHRvIDEw MCBwYWNrZXRzL2VudHJ5IGJ5IGRlZmF1bHQKYWQwOiAxOTA3N01CIDxTZWFnYXRlIFNUOTIwMTFB IDMuMDQ+IGF0IGF0YTAtbWFzdGVyIFVETUExMDAKVHJ5aW5nIHRvIG1vdW50IHJvb3QgZnJvbSBu ZnM6MTkyLjE2OC4wLjIyOi9mcy9yb3ZlcgpORlMgUk9PVDogMTkyLjE2OC4wLjIyOi9mcy9yb3Zl cgo= ------=_Part_87390_10539608.1172851815622 Content-Type: text/plain; name=dmesg.vmware.txt; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_eystnfie Content-Disposition: attachment; filename="dmesg.vmware.txt" Q29weXJpZ2h0IChjKSAxOTkyLTIwMDcgVGhlIEZyZWVCU0QgUHJvamVjdC4KQ29weXJpZ2h0IChj KSAxOTc5LCAxOTgwLCAxOTgzLCAxOTg2LCAxOTg4LCAxOTg5LCAxOTkxLCAxOTkyLCAxOTkzLCAx OTk0CglUaGUgUmVnZW50cyBvZiB0aGUgVW5pdmVyc2l0eSBvZiBDYWxpZm9ybmlhLiBBbGwgcmln aHRzIHJlc2VydmVkLgpGcmVlQlNEIGlzIGEgcmVnaXN0ZXJlZCB0cmFkZW1hcmsgb2YgVGhlIEZy ZWVCU0QgRm91bmRhdGlvbi4KRnJlZUJTRCA2LjItU1RBQkxFICMxOiBXZWQgRmViIDI4IDE4OjU0 OjU3IE1TSyAyMDA3CiAgICBnaG96enlAbmVzdC5sb2NhbG5ldDovdXNyL29iai91c3Ivc3JjL3N5 cy9ST1ZFUi1ESVNLTEVTUwpUaW1lY291bnRlciAiaTgyNTQiIGZyZXF1ZW5jeSAxMTkzMTgyIEh6 IHF1YWxpdHkgMApDUFU6IFZJQSBDMyBOZWhlbWlhaCtSTkcrQUVTICgxMDMxLjE5LU1IeiA2ODYt Y2xhc3MgQ1BVKQogIE9yaWdpbiA9ICJDZW50YXVySGF1bHMiICBJZCA9IDB4Njk4ICBTdGVwcGlu ZyA9IDgKICBGZWF0dXJlcz0weDM4MWIzM2Y8RlBVLFZNRSxERSxQU0UsVFNDLE1TUixDWDgsQVBJ QyxNVFJSLFBHRSxDTU9WLFBBVCxNTVgsRlhTUixTU0U+CnJlYWwgbWVtb3J5ICA9IDEwMDY2MzI5 NiAoOTYgTUIpCmF2YWlsIG1lbW9yeSA9IDkzMDI0MjU2ICg4OCBNQikKYWNwaTA6IDxQVExURCAg IFJTRFQ+IG9uIG1vdGhlcmJvYXJkCmFjcGkwOiBQb3dlciBCdXR0b24gKGZpeGVkKQpUaW1lY291 bnRlciAiQUNQSS1mYXN0IiBmcmVxdWVuY3kgMzU3OTU0NSBIeiBxdWFsaXR5IDEwMDAKYWNwaV90 aW1lcjA6IDwyNC1iaXQgdGltZXIgYXQgMy41Nzk1NDVNSHo+IHBvcnQgMHgxMDA4LTB4MTAwYiBv biBhY3BpMApjcHUwOiA8QUNQSSBDUFU+IG9uIGFjcGkwCmFjcGlfdGhyb3R0bGUwOiA8QUNQSSBD UFUgVGhyb3R0bGluZz4gb24gY3B1MApwY2liMDogPEFDUEkgSG9zdC1QQ0kgYnJpZGdlPiBwb3J0 IDB4Y2Y4LTB4Y2ZmIG9uIGFjcGkwCnBjaTA6IDxBQ1BJIFBDSSBidXM+IG9uIHBjaWIwCmFncDA6 IDxJbnRlbCA4MjQ0M0JYICg0NDAgQlgpIGhvc3QgdG8gUENJIGJyaWRnZT4gbWVtIDB4ZTgwMDAw MDAtMHhlYmZmZmZmZiBhdCBkZXZpY2UgMC4wIG9uIHBjaTAKcGNpYjE6IDxBQ1BJIFBDSS1QQ0kg YnJpZGdlPiBhdCBkZXZpY2UgMS4wIG9uIHBjaTAKcGNpMTogPEFDUEkgUENJIGJ1cz4gb24gcGNp YjEKaXNhYjA6IDxQQ0ktSVNBIGJyaWRnZT4gYXQgZGV2aWNlIDcuMCBvbiBwY2kwCmlzYTA6IDxJ U0EgYnVzPiBvbiBpc2FiMAphdGFwY2kwOiA8SW50ZWwgUElJWDQgVURNQTMzIGNvbnRyb2xsZXI+ IHBvcnQgMHgxZjAtMHgxZjcsMHgzZjYsMHgxNzAtMHgxNzcsMHgzNzYsMHgxMDUwLTB4MTA1ZiBh dCBkZXZpY2UgNy4xIG9uIHBjaTAKYXRhMDogPEFUQSBjaGFubmVsIDA+IG9uIGF0YXBjaTAKYXRh MTogPEFUQSBjaGFubmVsIDE+IG9uIGF0YXBjaTAKcGNpMDogPHNlcmlhbCBidXMsIFVTQj4gYXQg ZGV2aWNlIDcuMiAobm8gZHJpdmVyIGF0dGFjaGVkKQpwY2kwOiA8YnJpZGdlPiBhdCBkZXZpY2Ug Ny4zIChubyBkcml2ZXIgYXR0YWNoZWQpCnBjaTA6IDxkaXNwbGF5LCBWR0E+IGF0IGRldmljZSAx NS4wIChubyBkcml2ZXIgYXR0YWNoZWQpCnBjaTA6IDxtYXNzIHN0b3JhZ2UsIFNDU0k+IGF0IGRl dmljZSAxNi4wIChubyBkcml2ZXIgYXR0YWNoZWQpCmxuYzA6IDxQQ05ldC9QQ0kgRXRoZXJuZXQg YWRhcHRlcj4gcG9ydCAweDEwODAtMHgxMGZmIGlycSAxMCBhdCBkZXZpY2UgMTcuMCBvbiBwY2kw CmxuYzA6IEF0dGFjaGluZyBQQ05ldC9QQ0kgRXRoZXJuZXQgYWRhcHRlcgpsbmMwOiBbR0lBTlQt TE9DS0VEXQpsbmMwOiBFdGhlcm5ldCBhZGRyZXNzOiAwMDowYzoyOTo2OTozMTo0YgpsbmMwOiBp Zl9zdGFydCBydW5uaW5nIGRlZmVycmVkIGZvciBHaWFudApsbmMwOiBQQ25ldC1QQ0kKYWNwaV9h Y2FkMDogPEFDIEFkYXB0ZXI+IG9uIGFjcGkwCmF0a2JkYzA6IDxLZXlib2FyZCBjb250cm9sbGVy IChpODA0Mik+IHBvcnQgMHg2MCwweDY0IGlycSAxIG9uIGFjcGkwCmF0a2JkMDogPEFUIEtleWJv YXJkPiBpcnEgMSBvbiBhdGtiZGMwCmtiZDAgYXQgYXRrYmQwCmF0a2JkMDogW0dJQU5ULUxPQ0tF RF0KcHNtMDogPFBTLzIgTW91c2U+IGlycSAxMiBvbiBhdGtiZGMwCnBzbTA6IFtHSUFOVC1MT0NL RURdCnBzbTA6IG1vZGVsIEludGVsbGlNb3VzZSwgZGV2aWNlIElEIDMKc2lvMDogPDE2NTUwQS1j b21wYXRpYmxlIENPTSBwb3J0PiBwb3J0IDB4M2Y4LTB4M2ZmIGlycSA0IGZsYWdzIDB4MTAgb24g YWNwaTAKc2lvMDogdHlwZSAxNjU1MEEKc2lvMTogPDE2NTUwQS1jb21wYXRpYmxlIENPTSBwb3J0 PiBwb3J0IDB4MmY4LTB4MmZmIGlycSAzIG9uIGFjcGkwCnNpbzE6IHR5cGUgMTY1NTBBCnBtdGlt ZXIwIG9uIGlzYTAKb3JtMDogPElTQSBPcHRpb24gUk9Ncz4gYXQgaW9tZW0gMHhjMDAwMC0weGM3 ZmZmLDB4YzgwMDAtMHhjOGZmZiwweGRjMDAwLTB4ZGZmZmYsMHhlMDAwMC0weGUzZmZmIG9uIGlz YTAKc2MwOiA8U3lzdGVtIGNvbnNvbGU+IGF0IGZsYWdzIDB4MTAwIG9uIGlzYTAKc2MwOiBWR0Eg PDE2IHZpcnR1YWwgY29uc29sZXMsIGZsYWdzPTB4MzAwPgp2Z2EwOiA8R2VuZXJpYyBJU0EgVkdB PiBhdCBwb3J0IDB4M2MwLTB4M2RmIGlvbWVtIDB4YTAwMDAtMHhiZmZmZiBvbiBpc2EwClRpbWVj b3VudGVyICJUU0MiIGZyZXF1ZW5jeSAxMDMxMTg3ODMwIEh6IHF1YWxpdHkgODAwClRpbWVjb3Vu dGVycyB0aWNrIGV2ZXJ5IDEuMDAwIG1zZWMKaXBmdzIgKCtpcHY2KSBpbml0aWFsaXplZCwgZGl2 ZXJ0IGxvYWRhYmxlLCBydWxlLWJhc2VkIGZvcndhcmRpbmcgZW5hYmxlZCwgZGVmYXVsdCB0byBh Y2NlcHQsIGxvZ2dpbmcgbGltaXRlZCB0byAxMDAgcGFja2V0cy9lbnRyeSBieSBkZWZhdWx0CmFk MDogMTkwNzdNQiA8Vk13YXJlIFZpcnR1YWwgSURFIEhhcmQgRHJpdmUgMDAwMDAwMDE+IGF0IGF0 YTAtbWFzdGVyIFVETUEzMwpUcnlpbmcgdG8gbW91bnQgcm9vdCBmcm9tIG5mczoxOTIuMTY4LjAu MjI6L2ZzL3JvdmVyCk5GUyBST09UOiAxOTIuMTY4LjAuMjI6L2ZzL3JvdmVyCg== ------=_Part_87390_10539608.1172851815622-- From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 16:12:59 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BF6016A401 for ; Fri, 2 Mar 2007 16:12:59 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id CE15713C4AA for ; Fri, 2 Mar 2007 16:12:58 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 19757 invoked by uid 1001); 2 Mar 2007 16:14:28 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Fri, 02 Mar 2007 11:14:28 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17896.19812.84680.339102@bhuda.mired.org> Date: Fri, 2 Mar 2007 11:14:28 -0500 To: "Steven Hartland" In-Reply-To: <010001c75ce3$6983ded0$b3db87d4@multiplay.co.uk> References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <17896.15939.9988.89695@bhuda.mired.org> <010001c75ce3$6983ded0$b3db87d4@multiplay.co.uk> X-Mailer: VM 7.17 under 21.4 (patch 20) "Double Solitaire" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Mike Meyer Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Mount on non-empty directories (Was: sysinstall creates corruptfilesystems after repartitioning) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 16:12:59 -0000 In <010001c75ce3$6983ded0$b3db87d4@multiplay.co.uk>, Steven Hartland typed: > Mike Meyer wrote: > > In <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk>, Steven Hartland > > As a general rule, deciding that something is "useless and dangerous" > > and removing it isn't the Unix way of doing things. Just because you > > can't see a use for something doesn't mean that no one else > > will. That's true even if you wrote the code. Someone doing something > > with your program you never thought of is a sign that you developed a > > generally useful tool. As for dangerous, Unix users - especially root, > > and mount is restricted to root by default - are assumed to know what > > they're doing. > Appreciated but the issue I'm trying to understand is that the result > didn't make any sence i.e. ls returned the files but trying to run > them didnt work. You can make that happen: # cd /usr # mount /dev/ /usr # vim vim: not found # ls /usr/bin ls: /usr/bin: No such file or directory # ls bin This will show the contents of /usr/bin before the mount, because it looks in "./bin", and "." is on the original /usr, not the new one. # bin/vim will find bin/vim # pwd This is both true and not true. The current /usr/bin directory is /usr/bin, but you won't get there if you cd to /usr/bin. > Result my head started to spin a bit :P As mentioned > this seemed to easily resolved by force unmounting the second device > but as has been explained this has a clear use for which I was unaware > but I'd still like to understand by I saw what I did i.e. ls > displayed the files yet running vim didnt. Well, without knowing exactly what you did, we can't say how you got those results. But I suspect something like the above. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 16:20:43 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A674416A400; Fri, 2 Mar 2007 16:20:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from alnrmhc14.comcast.net (alnrmhc14.comcast.net [204.127.225.94]) by mx1.freebsd.org (Postfix) with ESMTP id 64A5C13C48E; Fri, 2 Mar 2007 16:20:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-71-198-0-135.hsd1.ca.comcast.net[71.198.0.135]) by comcast.net (alnrmhc14) with ESMTP id <20070302162042b1400nie4je>; Fri, 2 Mar 2007 16:20:43 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 68B091FA03D; Fri, 2 Mar 2007 08:20:42 -0800 (PST) Date: Fri, 2 Mar 2007 08:20:42 -0800 From: Jeremy Chadwick To: Steven Hartland Message-ID: <20070302162042.GA6019@icarus.home.lan> Mail-Followup-To: Steven Hartland , Eric Anderson , freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <45E830A8.8020104@freebsd.org> <20070302144409.GA4431@icarus.home.lan> <00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk> X-PGP-Key: http://jdc.parodius.com/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 16:20:43 -0000 On Fri, Mar 02, 2007 at 03:37:21PM -0000, Steven Hartland wrote: > I've rerun the test just to confirm but there are definitely > two seperate issues here: > 1. The ufs created by sysinstall after a repartition is corrupt. > This is totally unrelated to the overlay of /usr as both /usr > and /data ( which didnt previously exist ) where corrupted. Pardon my ignorance, but can you give me a step-by-step on how to reproduce this? I have a couple VMware FreeBSD sessions up and want to see if I can reproduce it there. I also have an actual FreeBSD testbox at home which I can format and reinstall. (I'm not denying the problem exists, I just want to reproduce it, and I think those steps would be useful to those who can fix the problem too.) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 16:44:18 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0059616A401 for ; Fri, 2 Mar 2007 16:44:17 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 9449013C481 for ; Fri, 2 Mar 2007 16:44:17 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-24.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003578980.msg for ; Fri, 02 Mar 2007 16:43:02 +0000 Message-ID: <015601c75ce9$d0263a10$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: Date: Fri, 2 Mar 2007 16:42:41 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-Spam-Processed: multiplay.co.uk, Fri, 02 Mar 2007 16:43:03 +0000 X-MDAV-Processed: multiplay.co.uk, Fri, 02 Mar 2007 16:43:04 +0000 Subject: NFS based /usr prevents normal startup due to slow net init X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 16:44:18 -0000 Another observation from my recent dealings with using NFS based /usr is that the remote critical mounts via nfs dont always give the network enough time to initialise before running. The first error displayed is: Mounting NFS file systems:mount_nfs: nfs1: hostname nor servname provided, or not known This is particularly noticeable when the machine is connected to Cisco equipment as they take quite a while link to the connected host after initialisation. The result of this is that other services such as ldconfig fail to initialise properly due to the mount not being available until some point later in the boot process once link has been established. Has anyone else experienced this? Should mountcritremote use "mount -a -t nfs" when this appears to return after a short period without said FS's being successfully mounted? Is there a way to ensure that mount doesnt return without success i.e. a missing flag in my fstab or should mountcritremote be updated to test for failure and retry? This was bought up some time ago on the current list but no answers where forth coming: http://lists.freebsd.org/pipermail/freebsd-current/2005-December/058935.html Test details: Network card: bge0 Switch: Cisco 6509 Switch Blade: WS-X6748-GE-TX fstab line: nfs1:/fs/usr /usr nfs rw 0 0 Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 16:49:18 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40ECD16A400; Fri, 2 Mar 2007 16:49:18 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 590CF13C49D; Fri, 2 Mar 2007 16:49:17 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-24.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003578985.msg; Fri, 02 Mar 2007 16:44:33 +0000 Message-ID: <016701c75cea$074b0c50$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Eric Anderson" References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk><45E82660.4030107@freebsd.org><008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk><45E830A8.8020104@freebsd.org><20070302144409.GA4431@icarus.home.lan><00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk> <45E849E3.1080007@freebsd.org> Date: Fri, 2 Mar 2007 16:44:14 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Fri, 02 Mar 2007 16:44:34 +0000 X-MDAV-Processed: multiplay.co.uk, Fri, 02 Mar 2007 16:44:34 +0000 Cc: freebsd-hackers@freebsd.org, Jeremy Chadwick , freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 16:49:18 -0000 Eric Anderson wrote: > So try the same test, with *only* the data partition, without messing > with the /usr stuff.. Will do, will be a little while need to wait for some new machines to come in before I can test again. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 16:54:18 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 53D4016A405; Fri, 2 Mar 2007 16:54:18 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id B566513C4A6; Fri, 2 Mar 2007 16:54:17 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-24.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003579023.msg; Fri, 02 Mar 2007 16:52:21 +0000 Message-ID: <016a01c75ceb$1d784640$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Mike Meyer" References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk><45E82660.4030107@freebsd.org><008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk><17896.15939.9988.89695@bhuda.mired.org><010001c75ce3$6983ded0$b3db87d4@multiplay.co.uk> <17896.19812.84680.339102@bhuda.mired.org> Date: Fri, 2 Mar 2007 16:52:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Fri, 02 Mar 2007 16:52:22 +0000 X-MDAV-Processed: multiplay.co.uk, Fri, 02 Mar 2007 16:52:22 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Mount on non-empty directories (Was: sysinstall createscorruptfilesystems after repartitioning) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 16:54:18 -0000 Mike Meyer wrote: > You can make that happen: > > # cd /usr > # mount /dev/ /usr > # vim > vim: not found > # ls /usr/bin > ls: /usr/bin: No such file or directory > # ls bin This will show the contents of /usr/bin before > the mount, because it looks in "./bin", and > "." is on the original /usr, not the new one. > # bin/vim will find bin/vim > # pwd This is both true and not true. The current > /usr/bin directory is /usr/bin, but you won't get there > if you cd to /usr/bin. Yes indeed this was what happend I was in /usr before I started sysinstall, did the repartition, quit and tried to run vim to edit /etc/fstab. This failed but when I did a straight ls -l ( which was still in /usr ) everything appeared normal. So the behaviour is explained by the fact that the shell still had the handle to the original /usr before the second mount and as such presented the nfs mounts details. Thanks guys for spending the time to explain that. All is clear on this front now just need to determine what is causing the FS corruption now, for which I need to wait for some machines to be delivered so I can try doing the test with just /data hence avoiding any interaction with /usr. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 17:02:46 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4744116A403; Fri, 2 Mar 2007 17:02:46 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 5EE2B13C481; Fri, 2 Mar 2007 17:02:45 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-24.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003579054.msg; Fri, 02 Mar 2007 17:00:44 +0000 Message-ID: <017901c75cec$4a20f6a0$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Jeremy Chadwick" References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <45E830A8.8020104@freebsd.org> <20070302144409.GA4431@icarus.home.lan> <00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk> <20070302162042.GA6019@icarus.home.lan> Date: Fri, 2 Mar 2007 17:00:24 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Fri, 02 Mar 2007 17:00:44 +0000 X-MDAV-Processed: multiplay.co.uk, Fri, 02 Mar 2007 17:00:45 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 17:02:46 -0000 Jeremy Chadwick wrote: > Pardon my ignorance, but can you give me a step-by-step on how to > reproduce this? I have a couple VMware FreeBSD sessions up and > want to see if I can reproduce it there. I also have an actual > FreeBSD testbox at home which I can format and reinstall. > > (I'm not denying the problem exists, I just want to reproduce it, > and I think those steps would be useful to those who can fix the > problem too.) No problem if you have the resources / time to test this now thats great. Here's the steps I used, if you have any questions just shout: 1. Boot a normal 6.2 install 2. dump /usr to remote location 3. restore said dump to a empty directory on the remote machine 4. share this directory over nfs to the test machine 5. edit /etc/fstab to use the nfs /usr instead of the ufs /usr 6. reboot 7. Enable mbr changes on live fs: sysctl kern.geom.debugflags=16 8. run sysinstall 8.1 delete /dev/(da|ad)0s1f ( the /usr partition ) 8.2 create a smaller /usr in the space cleared 8.3 create /data with the remaining space 8.4 Write the changes 9. quit sysinstall 10. umount -f /usr ( to restore the nfs version ) 11. umount /data 12. fsck /dev/(da|ad)0s1(f|g) both will be corrupt. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 17:11:19 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A34F516A400 for ; Fri, 2 Mar 2007 17:11:19 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id 4649813C49D for ; Fri, 2 Mar 2007 17:11:19 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 21141 invoked by uid 1001); 2 Mar 2007 17:12:49 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Fri, 02 Mar 2007 12:12:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17896.23312.980989.68558@bhuda.mired.org> Date: Fri, 2 Mar 2007 12:12:48 -0500 To: "Steven Hartland" In-Reply-To: <015601c75ce9$d0263a10$b3db87d4@multiplay.co.uk> References: <015601c75ce9$d0263a10$b3db87d4@multiplay.co.uk> X-Mailer: VM 7.17 under 21.4 (patch 20) "Double Solitaire" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Mike Meyer Cc: freebsd-hackers@freebsd.org Subject: Re: NFS based /usr prevents normal startup due to slow net init X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 17:11:19 -0000 In <015601c75ce9$d0263a10$b3db87d4@multiplay.co.uk>, Steven Hartland typed: > Another observation from my recent dealings with using > NFS based /usr is that the remote critical mounts via > nfs dont always give the network enough time to > initialise before running. The first error displayed > is: > Mounting NFS file systems:mount_nfs: nfs1: hostname nor servname provided, or not known > > This is particularly noticeable when the machine is > connected to Cisco equipment as they take quite a > while link to the connected host after initialisation. > The result of this is that other services such as > ldconfig fail to initialise properly due to the > mount not being available until some point later > in the boot process once link has been established. > > Has anyone else experienced this? > > Should mountcritremote use "mount -a -t nfs" when this > appears to return after a short period without said FS's > being successfully mounted? Is there a way to ensure that > mount doesnt return without success i.e. a missing flag > in my fstab or should mountcritremote be updated to test > for failure and retry? How about an extra flag in your fstab? The default behavior for mount_nfs is to keep retrying until the mount succeeds. For non-critical file systems, you can specify -b to cause the mount attempt to go into the background, and -R to limit the number of retries. It sounds like you have one of those set. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 17:14:49 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B7A216A401 for ; Fri, 2 Mar 2007 17:14:49 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id E2B3513C4A5 for ; Fri, 2 Mar 2007 17:14:38 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l22HEJYH020744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 2 Mar 2007 11:14:20 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l22HEHst020561; Fri, 2 Mar 2007 11:14:17 -0600 (CST) (envelope-from dan) Date: Fri, 2 Mar 2007 11:14:15 -0600 From: Dan Nelson To: Steven Hartland Message-ID: <20070302171414.GA95861@dan.emsphone.com> References: <015601c75ce9$d0263a10$b3db87d4@multiplay.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <015601c75ce9$d0263a10$b3db87d4@multiplay.co.uk> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-hackers@freebsd.org Subject: Re: NFS based /usr prevents normal startup due to slow net init X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 17:14:49 -0000 In the last episode (Mar 02), Steven Hartland said: > Another observation from my recent dealings with using > NFS based /usr is that the remote critical mounts via > nfs dont always give the network enough time to > initialise before running. The first error displayed > is: > Mounting NFS file systems:mount_nfs: nfs1: hostname nor servname provided, > or not known > > This is particularly noticeable when the machine is > connected to Cisco equipment as they take quite a > while link to the connected host after initialisation. That can usually be fixed by making sure you have portfast enabled on the Cisco for any non-switch ports, btw. Takes the port setup time down from 30 seconds to under 5. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 17:45:51 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A1EA416A400 for ; Fri, 2 Mar 2007 17:45:51 +0000 (UTC) (envelope-from geek.dwells@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 39E5913C4BA for ; Fri, 2 Mar 2007 17:45:51 +0000 (UTC) (envelope-from geek.dwells@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so708101ugh for ; Fri, 02 Mar 2007 09:45:50 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=uNLE6ZeIPw+/AvZbuTN1JqqcWnOCLQnn1UEaW9sZrs/b9nxnWmRHx4a7eWbt+/SuZVdNbx7DgtpWELY8HxZHeEuk/tdl8cj81OcN+YvNGy5mYQYBOTQtJiKdXtYct1PWcS4XMtxP/Ss1ZbiA2GqAw4ep5dJH7g2R9TyN3qCbvUc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=rMpBgYKNbnskVVIKkMNeS1WbxTedu3qYbPddZx07eFuE61FsZbs9hR/4NdAM6PXLPYxO+JRM0qsgBE3MrT/MbuDZGsSSbAmTe6WbmdhBqH3eYdtPVmfSBVcEwJ64et9Sy0saVc2AOBWWBrHegbMyV/mXodXCz+EmdcdDcO35l40= Received: by 10.115.111.1 with SMTP id o1mr321741wam.1172857549182; Fri, 02 Mar 2007 09:45:49 -0800 (PST) Received: by 10.115.17.9 with HTTP; Fri, 2 Mar 2007 09:45:49 -0800 (PST) Message-ID: Date: Fri, 2 Mar 2007 23:15:49 +0530 From: "ajay gopalakrishnan" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Are there any known issues for installing FreeBSD on Vmware on windows XP ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 17:45:51 -0000 Hey all, Are there any known issues for installing FreeBSD on Vmware on windows XP ? I have never tried installiing FreeBSD earlier and i just saw a mail in this mailing list regarding some problems while installing on vmware. Could not make out much. Can someone just elaborate on the issues faced while installing on Vmware. Regards, ajay. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 18:17:54 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74CC816A400 for ; Fri, 2 Mar 2007 18:17:54 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from av7-1-sn3.vrr.skanova.net (av7-1-sn3.vrr.skanova.net [81.228.9.181]) by mx1.freebsd.org (Postfix) with ESMTP id 37FB113C478 for ; Fri, 2 Mar 2007 18:17:54 +0000 (UTC) (envelope-from raggen@passagen.se) Received: by av7-1-sn3.vrr.skanova.net (Postfix, from userid 502) id B32C23827B; Fri, 2 Mar 2007 18:57:40 +0100 (CET) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av7-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 82130382CA; Fri, 2 Mar 2007 18:57:40 +0100 (CET) Received: from [192.168.1.6] (81-231-90-251-no41.tbcn.telia.com [81.231.90.251]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 60B6237E4A; Fri, 2 Mar 2007 18:58:11 +0100 (CET) Message-ID: <45E8662C.6020301@passagen.se> Date: Fri, 02 Mar 2007 19:00:12 +0100 From: Roger Olofsson User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: ajay gopalakrishnan References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Are there any known issues for installing FreeBSD on Vmware on windows XP ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 18:17:54 -0000 Hello ajay, I have FreeBSD4.9 and 6.2 running under vmware. It's been up and about for a long time. No issues at all so far. The installation is pretty straighforward I seem to remember chosing other/other among the OS templates though. Good luck! ajay gopalakrishnan skrev: > Hey all, > > Are there any known issues for installing FreeBSD on Vmware on windows XP ? > I have never tried installiing FreeBSD earlier and i just saw a mail in > this > mailing list regarding some problems while installing on vmware. Could not > make out much. Can someone just elaborate on the issues faced while > installing on Vmware. > > Regards, > ajay. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 18:23:24 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC03316A405 for ; Fri, 2 Mar 2007 18:23:24 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from sourcehosting.net (sourcehosting.net [204.8.45.67]) by mx1.freebsd.org (Postfix) with ESMTP id 871F913C442 for ; Fri, 2 Mar 2007 18:23:24 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: (qmail 1198 invoked by uid 0); 2 Mar 2007 18:23:23 -0000 Received: from glarkin@sourcehosting.net by patches by uid 2033 with qmail-scanner-1.20rc1 (0.80 Clear:RC:1:. Processed in 0.019527 secs); 02 Mar 2007 18:23:23 -0000 X-Qmail-Scanner-Mail-From: glarkin@sourcehosting.net via patches X-Qmail-Scanner: 1.20rc1 (Clear:RC:1:. Processed in 0.019527 secs) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com (HELO Gregory-Larkins-Computer.local) (68.189.244.97) by 192.168.1.4 with SMTP; 2 Mar 2007 18:23:23 -0000 Received: from TWEETY (tweety.entropy.prv [192.168.1.9]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id 4EC22DAC4BB; Fri, 2 Mar 2007 13:22:57 -0500 (EST) From: "Greg Larkin" To: "'ajay gopalakrishnan'" , Date: Fri, 2 Mar 2007 13:22:45 -0500 Organization: SourceHosting.net, LLC Message-ID: <008101c75cf7$c990b550$0901a8c0@TWEETY> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6822 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: Acdc8w7kNoua0JMjQ/GH130FqyJiIgAA2G5g Importance: Normal Cc: Subject: RE: Are there any known issues for installing FreeBSD on Vmware onwindows XP ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@sourcehosting.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 18:23:24 -0000 >=20 > Hey all, >=20 > Are there any known issues for installing FreeBSD on Vmware=20 > on windows XP ? > I have never tried installiing FreeBSD earlier and i just saw=20 > a mail in this > mailing list regarding some problems while installing on=20 > vmware. Could not > make out much. Can someone just elaborate on the issues faced while > installing on Vmware. >=20 > Regards, > ajay. Hi Ajay, I wrote in to the list a little while back about VMware installation problems that I had with FreeBSD 6.2, but the issue was completely related to the CPU architecture (Via C3 Nehemiah) that I was using. VMware doesn't officially support that processor, even though it's supposed to be Intel compatible. Another list member sent me a kernel patch that fixed the problem (thanks ghozzy). I also have a WinXP box with a Celeron processor in it and VMware Server installed, and FreeBSD 4.x and 6.x both install and run with no problems at all. If you have any specific questions, let me know and I'll try to answer them. I'm going to be learning a lot more about VMware Server and FreeBSD in the coming months, as I'm working on redeploying my company's service using those tools as the foundation. I hope to share that knowledge with the list as I proceed. I also found this thread (http://lists.freebsd.org/pipermail/freebsd-questions/2006-October/132 716.html) with some information in it about issues to be aware of while running FreeBSD as a guest OS under VMware. Follow the thread a little way, and you'll see an example kernel config file, too. Best of luck, Greg Larkin From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 18:23:45 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D19816A406 for ; Fri, 2 Mar 2007 18:23:45 +0000 (UTC) (envelope-from r.c.ladan@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 12D9B13C474 for ; Fri, 2 Mar 2007 18:23:44 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1319099nfc for ; Fri, 02 Mar 2007 10:23:43 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=ip0ki3Wr4NELl9GNvhdsZt7hfY1Gut+1M84xGUIoNguucfvoiZhD2NR+SsqHgXxsox86o04K4rjPneuAcTjtEh9rvkM0UWr9duFmWGuZAEbjvfb6ZC4k6T40r6jc8fDPY6okgUpJiTC8D+/ULf5eqEUUVlUP4o7xCAb5+G0sHyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=A7JNMfgI6L5S683/WjrUQRX/QCo8OB82N4nI2Gu18l1AMMnETVcPtpd6RjI0tQnWniuglgEeH9iDoMMdsQBQm50Kjd3WZjqSre9p5qfC6fnjspWYKbLjvgLf0XJf9ciLv+FXe+6DHrdOT+h/Qg2iYdZ9yMF+d4YQcHFRlJH0Ypw= Received: by 10.49.93.19 with SMTP id v19mr8234305nfl.1172859823785; Fri, 02 Mar 2007 10:23:43 -0800 (PST) Received: from ?192.168.123.202? ( [195.241.221.201]) by mx.google.com with ESMTP id b36sm7220673ika.2007.03.02.10.23.42; Fri, 02 Mar 2007 10:23:42 -0800 (PST) Message-ID: <45E86BAC.6030308@gmail.com> Date: Fri, 02 Mar 2007 19:23:40 +0100 From: Rene Ladan User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: ajay gopalakrishnan References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Are there any known issues for installing FreeBSD on Vmware on windows XP ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 18:23:45 -0000 ajay gopalakrishnan schreef: > Hey all, > > Are there any known issues for installing FreeBSD on Vmware on windows XP ? > I have never tried installiing FreeBSD earlier and i just saw a mail in > this > mailing list regarding some problems while installing on vmware. Could not > make out much. Can someone just elaborate on the issues faced while > installing on Vmware. > I once installed FreeBSD 6.1 on Windows XP using qemu, which worked fine basically. Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 18:48:53 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D961F16A402 for ; Fri, 2 Mar 2007 18:48:53 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id AEB2113C441 for ; Fri, 2 Mar 2007 18:48:53 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l22ImqGp063556; Fri, 2 Mar 2007 12:48:52 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45E8718F.3010900@freebsd.org> Date: Fri, 02 Mar 2007 12:48:47 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: glarkin@sourcehosting.net References: <008101c75cf7$c990b550$0901a8c0@TWEETY> In-Reply-To: <008101c75cf7$c990b550$0901a8c0@TWEETY> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2702/Fri Mar 2 09:04:51 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-hackers@freebsd.org, 'ajay gopalakrishnan' Subject: Re: Are there any known issues for installing FreeBSD on Vmware onwindows XP ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 18:48:53 -0000 On 03/02/07 12:22, Greg Larkin wrote: >> Hey all, >> >> Are there any known issues for installing FreeBSD on Vmware >> on windows XP ? >> I have never tried installiing FreeBSD earlier and i just saw >> a mail in this >> mailing list regarding some problems while installing on >> vmware. Could not >> make out much. Can someone just elaborate on the issues faced while >> installing on Vmware. >> >> Regards, >> ajay. > > Hi Ajay, > > I wrote in to the list a little while back about VMware installation > problems that I had with FreeBSD 6.2, but the issue was completely > related to the CPU architecture (Via C3 Nehemiah) that I was using. > VMware doesn't officially support that processor, even though it's > supposed to be Intel compatible. Another list member sent me a kernel > patch that fixed the problem (thanks ghozzy). The issue is not that the C3 is not x86 compatible, because it is completely compatible. The issue here is that vmware is allowing all the CPU features to be advertised to the guest OS, when it does not in fact emulate all those features. The C3 CPU has additional features that Intel processors do not have, like the RNG and AES encryption. Either the guest OS needs to know not to use them, or vmware needs to be smarter and emulate that feature. Eric From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 21:25:08 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE07716A400; Fri, 2 Mar 2007 21:25:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from rwcrmhc15.comcast.net (rwcrmhc15.comcast.net [216.148.227.155]) by mx1.freebsd.org (Postfix) with ESMTP id B166613C4A6; Fri, 2 Mar 2007 21:25:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-71-198-0-135.hsd1.ca.comcast.net[71.198.0.135]) by comcast.net (rwcrmhc15) with ESMTP id <20070302212507m15004ps5ce>; Fri, 2 Mar 2007 21:25:07 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id ED7471FA03D; Fri, 2 Mar 2007 13:25:06 -0800 (PST) Date: Fri, 2 Mar 2007 13:25:06 -0800 From: Jeremy Chadwick To: Steven Hartland Message-ID: <20070302212506.GA9990@icarus.home.lan> Mail-Followup-To: Steven Hartland , freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org, Eric Anderson References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <45E830A8.8020104@freebsd.org> <20070302144409.GA4431@icarus.home.lan> <00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk> <20070302162042.GA6019@icarus.home.lan> <017901c75cec$4a20f6a0$b3db87d4@multiplay.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <017901c75cec$4a20f6a0$b3db87d4@multiplay.co.uk> X-PGP-Key: http://jdc.parodius.com/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 21:25:08 -0000 On Fri, Mar 02, 2007 at 05:00:24PM -0000, Steven Hartland wrote: > No problem if you have the resources / time to test this now > thats great. > > Here's the steps I used, if you have any questions just shout: > 1. Boot a normal 6.2 install Done. Booted CD image #1, did a standard install, chose Minimal as the installation type. Also chose to install the FreeBSD boot manager and the like. > 2. dump /usr to remote location Done. From the machine going to act as an NFS server, I did: icarus# ssh -c blowfish root@192.168.1.193 "/sbin/dump -0 -f- /usr" | dd of=usr.dump bs=65536 DUMP: WARNING: should use -L when dumping live read-write filesystems! DUMP: Date of this level 0 dump: Fri Mar 2 12:49:29 2007 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/ad0s1f (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 106124 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 110621 tape blocks DUMP: finished in 35 seconds, throughput 3160 KBytes/sec DUMP: DUMP IS DONE 1+13937 records in 1+13937 records out 113274880 bytes transferred in 18.691292 secs (6060302 bytes/sec) icarus# ls -l usr.dump -rw-r--r-- 1 root wheel 113274880 Mar 2 12:55 usr.dump > 3. restore said dump to a empty directory on the remote machine Done: icarus# restore -x -f usr.dump You have not read any tapes yet. If you are extracting just a few files, start with the last volume and work towards the first; restore can quickly skip tapes that have no further files to extract. Otherwise, begin with volume 1. Specify next volume #: 1 set owner/mode for '.'? [yn] n icarus# ls -l total 110750 drwxrwxr-x 2 root operator 512 Mar 2 04:40 .snap drwxr-xr-x 2 root wheel 7168 Mar 2 04:40 bin drwxr-xr-x 2 root wheel 512 Mar 2 04:40 compat drwxr-xr-x 2 root wheel 512 Mar 2 04:40 games drwxr-xr-x 47 root wheel 4608 Mar 2 04:40 include drwxr-xr-x 4 root wheel 7168 Mar 2 04:40 lib drwxr-xr-x 5 root wheel 512 Mar 2 04:40 libdata drwxr-xr-x 5 root wheel 1536 Mar 2 04:40 libexec drwxr-xr-x 2 root wheel 512 Jan 11 23:38 local drwxr-xr-x 2 root wheel 512 Mar 2 04:40 obj drwxr-xr-x 2 root wheel 5120 Mar 2 04:40 sbin drwxr-xr-x 27 root wheel 512 Mar 2 04:40 share drwxr-xr-x 2 root wheel 512 Jan 11 23:38 src -rw-r--r-- 1 root wheel 113274880 Mar 2 12:55 usr.dump icarus# ls -ld . drwxr-xr-x 15 root wheel 512 Mar 2 12:58 . > 4. share this directory over nfs to the test machine Done. You know the routine to get NFS to work... ;) My exports: /storage -alldirs -maproot=root -network 192.168.1.0 -mask 255.255.255.0 Verified to be working on test box via: mount -t nfs icarus.home.lan:/storage/nfs /mnt ls -l /mnt umount /mnt Worked OK. > 5. edit /etc/fstab to use the nfs /usr instead of the ufs /usr Done. The test box's /etc/fstab now contains: icarus.home.lan:/storage/nfs /usr nfs rw 0 0 # old /usr, local to filesystem # /dev/ad0s1f /usr nfs rw 2 2 > 6. reboot Done. Rebooted test box. Box came up with an NFS mounted /usr: # df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 507630 36838 430182 8% / devfs 1 1 0 100% /dev /dev/ad0s1e 507630 12 467008 0% /tmp /dev/ad0s1d 1506190 234 1385462 0% /var icarus.home.lan:/storage/nfs 473015558 120242684 314931630 28% /usr > 7. Enable mbr changes on live fs: sysctl kern.geom.debugflags=16 Done. # sysctl kern.geom.debugflags=16 kern.geom.debugflags: 0 -> 16 > 8. run sysinstall > 8.1 delete /dev/(da|ad)0s1f ( the /usr partition ) Done. Prior to deletion: ad0s1f 4645MB * > 8.2 create a smaller /usr in the space cleared > 8.3 create /data with the remaining space Done: ad0s1f /usr 3072MB UFS2+S Y ad0s1g /data 1573MB UFS2+S Y > 8.4 Write the changes Done. However, there were errors: ......................... Message ......................... .Unable to add /dev/ad0s1b as a swap device: Device busy . ..................................................(100%)... . [ OK ] . .................[ Press enter or space ].................. ............................. Message ............................. .Error mounting /dev/ad0s1g on /data : No such file or directory . ..........................................................(100%)... . [ OK ] . .....................[ Press enter or space ]...................... > 9. quit sysinstall Done. Did a df -k just before step 10, just to be sure: # df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 507630 36840 430180 8% / devfs 1 1 0 100% /dev /dev/ad0s1e 507630 12 467008 0% /tmp /dev/ad0s1d 1506190 234 1385462 0% /var icarus.home.lan:/storage/nfs 473015558 120242684 314931630 28% /usr /dev/ad0s1f 4603338 4 4235068 0% /usr > 10. umount -f /usr ( to restore the nfs version ) I did this via umount -f /dev/ad0s1f instead of umount /usr, since I wasn't sure if the NFS mount /usr would get removed or the local filesystem /usr: # umount -f /dev/ad0s1f # df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 507630 36840 430180 8% / devfs 1 1 0 100% /dev /dev/ad0s1e 507630 12 467008 0% /tmp /dev/ad0s1d 1506190 234 1385462 0% /var icarus.home.lan:/storage/nfs 473015558 120242684 314931630 28% /usr > 11. umount /data Can't, because it didn't get created. > 12. fsck /dev/(da|ad)0s1(f|g) both will be corrupt. Doesn't appear to happen for me: # fsck /dev/ad0s1f ** /dev/ad0s1f ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 2 files, 2 used, 2301667 free (27 frags, 287705 blocks, 0.0% fragmentation) Is there something I'm missing? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 22:49:24 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A57B16A400; Fri, 2 Mar 2007 22:49:24 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id A3D9613C478; Fri, 2 Mar 2007 22:49:23 +0000 (UTC) (envelope-from killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-24.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.5 Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.5.4) with ESMTP id md50003579871.msg; Fri, 02 Mar 2007 22:46:34 +0000 Message-ID: <003c01c75d1c$972fd3f0$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Jeremy Chadwick" References: <00cb01c75c5b$4205e390$b3db87d4@multiplay.co.uk> <45E82660.4030107@freebsd.org> <008101c75cd1$42a4df10$b3db87d4@multiplay.co.uk> <45E830A8.8020104@freebsd.org> <20070302144409.GA4431@icarus.home.lan> <00eb01c75ce0$b0430380$b3db87d4@multiplay.co.uk> <20070302162042.GA6019@icarus.home.lan> <017901c75cec$4a20f6a0$b3db87d4@multiplay.co.uk> <20070302212506.GA9990@icarus.home.lan> Date: Fri, 2 Mar 2007 22:46:09 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Fri, 02 Mar 2007 22:46:35 +0000 X-MDAV-Processed: multiplay.co.uk, Fri, 02 Mar 2007 22:46:35 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysinstall creates corrupt filesystems after repartitioning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 22:49:24 -0000 Jeremy Chadwick wrote: ... > Is there something I'm missing? I can't see anything missing there from the reproduction steps. Was ad0s1g also ok? The slight differences I did here where the following but I cant seem them being significant: 1. dump -a0uL -C 32 -f /nfs/usr.dmp /usr 2. restore rf usr.dmp 3. fstab entry: /nfs/usr -maproot=root testbox Other differences which spring to mind: 1. machines where both using areca controllers on RAID6 arrays. 2. This was a real machine and not a VM One other thing of note when I first repaired this I booted from Install Disk #1 and used the same procedure for the sysinstall part from fixit and no corruption occured. As mentioned before I've got two more of these machines coming in over the next few weeks so I'll look at reproducing it on them. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 04:51:29 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29ED916A403 for ; Sat, 3 Mar 2007 04:51:29 +0000 (UTC) (envelope-from geek.dwells@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by mx1.freebsd.org (Postfix) with ESMTP id DF2D513C49D for ; Sat, 3 Mar 2007 04:51:28 +0000 (UTC) (envelope-from geek.dwells@gmail.com) Received: by wr-out-0506.google.com with SMTP id 55so1474942wri for ; Fri, 02 Mar 2007 20:51:28 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=SN1IPqhFZyUquq4TUg+3mFmwYaey8YCYLnyVakzvfbsd1NKYa8rUaHkReUDW0wdAuS5sXJiERKaKD5yeH5Vd81pGChOp12t/lzXaoapmccJX0MqRB5+qy+dd6n39BHZu+HRkKiByHnmsSQUjvgd4A1youpCXZem00LhZGKkkLEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=U2iidEBDDQC9wdAA6l9b+hicL0p15lzPL25YsjNMrCqQQuFyuLhocrJn1t+VD74NgyeXLnLitE24bKn4LDts106t+QdUUA4UrhDLUB9v6hr61d+Ae+GqFxgofR4eE2e5smFsMMggBQThiYfdvsk0jf+vy8B4CLVnUYIl30C8fBk= Received: by 10.114.201.1 with SMTP id y1mr522180waf.1172897487812; Fri, 02 Mar 2007 20:51:27 -0800 (PST) Received: by 10.115.17.9 with HTTP; Fri, 2 Mar 2007 20:51:27 -0800 (PST) Message-ID: Date: Sat, 3 Mar 2007 10:21:27 +0530 From: "ajay gopalakrishnan" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How should i start working on kernel programming? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2007 04:51:29 -0000 Hey all, I have done a bit of system level programming on linux distros like Fedora, RHCE, debian but now i am faced with doing some kernel level network programming on FreeBSD. I had googled for some kernel programming tutorials. But mostly i could find only linux kernel programming guides. I didnt proceed with them since i didnt know if the linux kernel programming tutorials will be useful for FreeBSD kernel programming. I am new to FreeBSD and I would like to know how to start off with kernel level programming. While i was working on linux, i initially faced problems like finding which header packages to use and finding out which system calls where available. Also, the header packages used at the system level code and kernel level code were different. I think i will face similar issues when i start working on FreeBSD too. *So, is there any useful and good resource that would be helpful in starting off and working on kernel network programming stuff?* Thanks in advance, Ajay. From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 09:46:47 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22E8C16A401 for ; Sat, 3 Mar 2007 09:46:47 +0000 (UTC) (envelope-from w0lfie@clear.net.nz) Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mx1.freebsd.org (Postfix) with ESMTP id AD00513C491 for ; Sat, 3 Mar 2007 09:46:46 +0000 (UTC) (envelope-from w0lfie@clear.net.nz) Received: from clear.net.nz (lb1-srcnat.clear.net.nz [203.97.32.236]) by smtp5.clear.net.nz (CLEAR Net Mail) with SMTP id <0JEB00HLEN5XJM20@smtp5.clear.net.nz> for freebsd-hackers@freebsd.org; Sat, 03 Mar 2007 22:46:45 +1300 (NZDT) Date: Sat, 03 Mar 2007 22:46:45 +1300 From: Sam Banks Sender: w0lfie@clear.net.nz To: ajay gopalakrishnan , freebsd-hackers@freebsd.org Message-id: <45e94405.4a.6947.30243@clear.net.nz> X-Mailer: CLEAR Net WebMail; webmail.clear.net.nz; user: w0lfie; ip: 121.73.22.121 Priority: normal Cc: Subject: Re: How should i start working on kernel programming? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: w0lfie@clear.net.nz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2007 09:46:47 -0000 There is the developers handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/). The architecture handbook can be quite good for an overview of how things work (http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/index.html). There is also a bunch of info at http://docs.freebsd.org. Some of the man pages can give you good tutorials as well. Other than that, I'm not too sure. I am also interested any additional information sources. Sam. ----- Original Message Follows ----- > Hey all, > > I have done a bit of system level programming on linux > distros like Fedora, RHCE, debian but now i am faced with > doing some kernel level network programming on FreeBSD. > > I had googled for some kernel programming tutorials. But > mostly i could find only linux kernel programming guides. > I didnt proceed with them since i didnt know if the linux > kernel programming tutorials will be useful for FreeBSD > kernel programming. > > I am new to FreeBSD and I would like to know how to start > off with kernel level programming. While i was working on > linux, i initially faced problems like finding which > header packages to use and finding out which system calls > where available. Also, the header packages used at the > system level code and kernel level code were different. I > think i will face similar issues when i start working on > FreeBSD too. *So, is there any useful and good resource > that would be helpful in starting off and working on > kernel network programming stuff?* > > Thanks in advance, > Ajay. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 10:29:56 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63C3216A401 for ; Sat, 3 Mar 2007 10:29:56 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id E575C13C474 for ; Sat, 3 Mar 2007 10:29:55 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l23ATs9O011667; Sat, 3 Mar 2007 21:29:54 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l23ATst4011666; Sat, 3 Mar 2007 21:29:54 +1100 (EST) (envelope-from peter) Date: Sat, 3 Mar 2007 21:29:54 +1100 From: Peter Jeremy To: ajay gopalakrishnan Message-ID: <20070303102954.GE9421@turion.vk2pj.dyndns.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7gGkHNMELEOhSGF6" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-hackers@freebsd.org Subject: Re: How should i start working on kernel programming? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2007 10:29:56 -0000 --7gGkHNMELEOhSGF6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Mar-03 10:21:27 +0530, ajay gopalakrishnan = wrote: >I am new to FreeBSD and I would like to know how to start off with kernel >level programming. Apart from the links Sam gave you, I'd suggest you look at "The Design and Implementation of the FreeBSD Operating System" by Kirk McKusick and George Neville-Neil. As a general introduction, you might like to look through "The Complete FreeBSD" by Greg Lehey (http://www.lemis.com/grog/Documentation/CFBSD/). > Also, the header packages used at the system level code and >kernel level code were different. Yes. The internal kernel interfaces are defined in the section 9 man pages. --=20 Peter Jeremy --7gGkHNMELEOhSGF6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF6U4i/opHv/APuIcRAgiMAJ9uGh5fRnfpPM7xynz9Hb9KhqxxXgCeLehz UYxDUAxlR6FNlglMdTCMWp4= =bxAP -----END PGP SIGNATURE----- --7gGkHNMELEOhSGF6--