From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 23 02:26:26 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B3E316A408 for ; Sun, 23 Apr 2006 02:26:26 +0000 (UTC) (envelope-from cokane@mail.cokane.org) Received: from smtp3.fuse.net (mail-out3.fuse.net [216.68.8.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ACED43D45 for ; Sun, 23 Apr 2006 02:26:25 +0000 (GMT) (envelope-from cokane@mail.cokane.org) Received: from gx4.fuse.net ([72.49.162.239]) by smtp3.fuse.net (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20060423022624.HQQY14467.smtp3.fuse.net@gx4.fuse.net> for ; Sat, 22 Apr 2006 22:26:24 -0400 Received: from mail.cokane.org ([72.49.162.239]) by gx4.fuse.net (InterMail vG.1.02.00.02 201-2136-104-102-20041210) with ESMTP id <20060423022624.UVNU14894.gx4.fuse.net@mail.cokane.org> for ; Sat, 22 Apr 2006 22:26:24 -0400 Received: (qmail 20919 invoked by uid 1000); 22 Apr 2006 22:29:59 -0400 Date: Sat, 22 Apr 2006 22:29:59 -0400 From: Coleman Kane To: Eric Anderson Message-ID: <20060423022959.GA20915@pint.candc.home> References: <20060419040716.4F26116A45F@hub.freebsd.org> <20060419095207.GC19339@wjv.com> <44462C07.4030903@centtech.com> <444634C1.9080206@centtech.com> <44464BBF.5040801@centtech.com> <32256.194.179.68.110.1145535362.squirrel@webmail.loquefaltaba.com> <4447B876.4010606@centtech.com> <346a80220604202019g3e3aaea5lfe19bcabaaf65c1d@mail.gmail.com> <6498375.1145629932728.JavaMail.pibu@Z1DROPOFF> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6498375.1145629932728.JavaMail.pibu@Z1DROPOFF> User-Agent: Mutt/1.5.11 Cc: freebsd-hackers@freebsd.org Subject: Re: [PATCH] Fancy rc startup style RFC - v6 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, 23 Apr 2006 02:26:26 -0000 On Thu, Apr 20, 2006 at 10:32:33PM -0500, Eric Anderson wrote: > > > This looks good. I only wonder about two things now: > > - Should we also have a line for the actual colors used too? Or is that > going too crazy? > > - Does it meet style(9)? I'm wondering about line lengths now. > > Other than that, do we have general consensus that these do what they > claim? Any outstanding issues that haven't been addressed? > > > Eric > > > It looks like freebsd.org (actually SpamCop) might finally be blocking gmail now :(... I sent the following and it got bounced: There was a small defect in the recent version of this script that caused the line width to be too big on the syscons console. I modified it and posted it at: http://www.cokane.org/files/rc_fancy-cokane3.patch -- coleman kane From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 23 03:24:17 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4569D16A400 for ; Sun, 23 Apr 2006 03:24:17 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69BCA43D49 for ; Sun, 23 Apr 2006 03:24:16 +0000 (GMT) (envelope-from zombyfork@gmail.com) Received: by nproxy.gmail.com with SMTP id x37so591750nfc for ; Sat, 22 Apr 2006 20:24:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=E9Rlq3TyB3IgiqaRlJu4CFU8Z70gNqLHQ4A3N8iXvkQlM2+/sv8B8I4b0pE8ll3YWGV2EayT5HQQvTYovaPoFSjLZyyr3IBlxqW/FtHzL954iDNbGW7EchQhf+Xm3fX8CMFQV0l1SR0FDh6BsHSUKV1ymbYxc1fSew3+pkGVURY= Received: by 10.48.212.9 with SMTP id k9mr1657912nfg; Fri, 21 Apr 2006 13:37:37 -0700 (PDT) Received: by 10.48.217.6 with HTTP; Fri, 21 Apr 2006 13:37:37 -0700 (PDT) Message-ID: <346a80220604211337v2e8480e8na794d21e923b836b@mail.gmail.com> Date: Fri, 21 Apr 2006 16:37:37 -0400 From: "Coleman Kane" To: "David Barbero" In-Reply-To: <26839.194.179.68.110.1145606534.squirrel@webmail.loquefaltaba.com> MIME-Version: 1.0 References: <20060419040716.4F26116A45F@hub.freebsd.org> <20060419095207.GC19339@wjv.com> <44462C07.4030903@centtech.com> <444634C1.9080206@centtech.com> <44464BBF.5040801@centtech.com> <32256.194.179.68.110.1145535362.squirrel@webmail.loquefaltaba.com> <4447B876.4010606@centtech.com> <26839.194.179.68.110.1145606534.squirrel@webmail.loquefaltaba.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: [PATCH] Fancy rc startup style RFC - v6 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, 23 Apr 2006 03:24:17 -0000 On 4/21/06, David Barbero wrote: > > > Eric Anderson escribi=F3: > >> After to apply the patch, so that it works is necessary to put in > >> rc.conf > >> rc_fancy=3D"YES ", when put this single entry, the system gives errors > >> saying that correctly this entry in rc.conf is not correctly defined, > >> adding single rc_fancy_color=3D"YES" gives the same error. > >> If the two entry meetings are added it don't show the error. > >> I believe that serious advisable that these two entry did not depend > the > >> one on the other and worked separately. > > > > Well, obviously the _color option depends on the rc_fancy option being > > enabled, otherwise it doesn't make sense, however you can of course hav= e > > rc_fancy enabled with rc_fancy_color disabled. > > yes, this is obvious, but i say rc_fancy depends on the rc_fancy_color, > disabled or no, in rc.conf, if you don't put a entry for rc_fancy_color i= n > rc.conf, the boot menssage show error. > > > Yep, that's a bug. I think it's fixed in v7, available here: > > > > http://www.googlebit.com/freebsd/patches/rc_fancy.patch-7 > > > > along with a few other suggestions from others. > > Ok, i will probe this patch in a few days and tell you for this. Probably > Sunday can say something, right now I am of business trip and I do not > have my PC of tests here... > > >> Another one of the failures that I have seen is that with this patch > >> they > >> show all the services, they are or not formed to start, I believe that > >> single they would have to appear the services that are formed to start > >> and > >> not all those that can start. > > > > If the service is run on bootup, it shows it. It was still being run > > before, there was just no output previously. It would be pretty easy t= o > > have an option to not print these, maybe an rc_fancy_verbose option. I= s > > this desirable to most? > > I think a _verbose option don't for now, but can will be interesting. > > In any case I talked about that if you don't start a service (Ex: > geli_enable=3D"NO" in rc.conf) at boot time, in your patch this service i= t's > show, and IMHO, if the service don't start at bootup, then don't show > startup. > > >> In addition the services that are not formed to start appear like [ O= K > >> ], > >> in the case of appearing these, I believe that they would have to leav= e > >> with another denomination that is not [ OK ]. > > > > > > I'm not sure what you mean here. Can you give me an example? > > Sorry for my English :) > > Yes, of course. > > in rc.conf: > geli_enable=3D"NO" > inetd_enable=3D"NO" > > And when yo reboot, the bootup menssage show: > > geli service [OK] > inetd service [OK] > > And I believe that this menssage don't show on startup, or in the case of > show the messange, this don't show the [OK], in that case, show [SKIP], > for example. > > >> Another failure that I have seen is that when leaving the message > >> syslogd > >> this sample failure, but this service starts without problems, but > shows > >> it as if it gave failure... > > > > My syslogd looks clean, and doesn't give a false failure. I'm not sure > > how to look into this - can you confirm that it truly is passing, but > > giving the wrong message, or is it that the rc subsystem thinks it's > > failing but appears to work ok? > > My syslogd work properly whitout any error, but give a false positive, I > will be probe the last patch and I will try to see if I locate the > failure, but will have Sunday... > > I see other fail in show the fancy_* when I have activated vidcontrol to > 1024x764, but this is but so that it is pretty that an operation failure, > IMHO is not important... > > > Thanks for all the feedback and testing! > > :) > > > Eric > > Regards There was a small defect in the recent version of this script that caused the line width to be too big on the syscons console. I modified it and posted it at: http://www.cokane.org/files/rc_fancy-cokane3.patch --coleman kane From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 23 04:50:24 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCC9816A401 for ; Sun, 23 Apr 2006 04:50:24 +0000 (UTC) (envelope-from lists-freebsd@silverwraith.com) Received: from pear.silverwraith.com (pear.silverwraith.com [69.12.167.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A23E43D46 for ; Sun, 23 Apr 2006 04:50:24 +0000 (GMT) (envelope-from lists-freebsd@silverwraith.com) Received: from avleen by pear.silverwraith.com with local (Exim 4.52 (FreeBSD)) id 1FXWYC-0006ir-62 for freebsd-hackers@freebsd.org; Sat, 22 Apr 2006 21:50:24 -0700 Date: Sat, 22 Apr 2006 21:50:24 -0700 From: Avleen Vig To: freebsd-hackers@freebsd.org Message-ID: <20060423045024.GJ850@silverwraith.com> References: <20060419040716.4F26116A45F@hub.freebsd.org> <20060419095207.GC19339@wjv.com> <44462C07.4030903@centtech.com> <444634C1.9080206@centtech.com> <44464BBF.5040801@centtech.com> <32256.194.179.68.110.1145535362.squirrel@webmail.loquefaltaba.com> <4447B876.4010606@centtech.com> <346a80220604202019g3e3aaea5lfe19bcabaaf65c1d@mail.gmail.com> <44485251.9050303@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44485251.9050303@centtech.com> User-Agent: Mutt/1.5.11 Subject: Re: [PATCH] Fancy rc startup style RFC - v6 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, 23 Apr 2006 04:50:24 -0000 On Thu, Apr 20, 2006 at 10:32:33PM -0500, Eric Anderson wrote: > Other than that, do we have general consensus that these do what they > claim? Any outstanding issues that haven't been addressed? One request: Please remove the two seperate rc.conf lines, and replace with just one: rc_fancy= YES | NO | COL[O|OU]R So that it works line the sendmail_enable option (YES/NO/NONE) Then include any other tunables in rc_fancy_flags From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 23 07:15:54 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C851716A400 for ; Sun, 23 Apr 2006 07:15:54 +0000 (UTC) (envelope-from sean@gothic.net.au) Received: from visi.gothic.net.au (visi.gothic.net.au [202.182.72.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BB7043D53 for ; Sun, 23 Apr 2006 07:15:53 +0000 (GMT) (envelope-from sean@gothic.net.au) Received: from localhost (localhost [127.0.0.1]) by visi.gothic.net.au (Postfix) with ESMTP id 6BE9F264B4; Sun, 23 Apr 2006 17:15:51 +1000 (EST) X-Virus-Scanned: amavisd-new at gothic.net.au Received: from localhost ([127.0.0.1]) by localhost (visi.gothic.net.au [127.0.0.1]) (amavisd-new, port 10026) with SMTP id Dw6SYIZiHCHQ; Sun, 23 Apr 2006 17:15:47 +1000 (EST) Received: from t22 (home.winn.id.au [202.182.72.30]) by visi.gothic.net.au (Postfix) with ESMTP id 46013264AC; Sun, 23 Apr 2006 17:15:47 +1000 (EST) From: "Sean Winn" To: "'Avleen Vig'" , Date: Sun, 23 Apr 2006 17:15:42 +1000 Message-ID: <001601c666a5$bba24a10$2522630a@t22> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcZmka+oBF90uxXoRuWH/q9gFWWkkgAE5q4g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 In-Reply-To: <20060423045024.GJ850@silverwraith.com> Cc: Subject: RE: [PATCH] Fancy rc startup style RFC - v6 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, 23 Apr 2006 07:15:54 -0000 owner-freebsd-hackers@freebsd.org wrote: > On Thu, Apr 20, 2006 at 10:32:33PM -0500, Eric Anderson wrote: >> Other than that, do we have general consensus that these do what they >> claim? Any outstanding issues that haven't been addressed? > > One request: > > Please remove the two seperate rc.conf lines, and replace with just > one: rc_fancy= YES | NO | COL[O|OU]R > > So that it works line the sendmail_enable option (YES/NO/NONE) > Then include any other tunables in rc_fancy_flags Definitely not a good idea to use that as a model: man rc.sendmail .. sendmail_enable (str) If set to ``YES'', run the sendmail(8) daemon at system boot time. If set to ``NO'', do not run a sendmail(8) daemon to listen for incoming network mail. This does not preclude a sendmail(8) daemon listening on the SMTP port of the loopback interface. The ``NONE'' option is deprecated and should not be used. It will be removed in a future release. .. Yes/no options should just be yes/no. > _______________________________________________ > 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 Sun Apr 23 11:33:47 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29A9F16A400; Sun, 23 Apr 2006 11:33:47 +0000 (UTC) (envelope-from marco@goofy.tols.org) Received: from goofy.tols.org (goofy.demon.nl [83.160.134.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2364B43D45; Sun, 23 Apr 2006 11:33:45 +0000 (GMT) (envelope-from marco@goofy.tols.org) Received: from goofy.tols.org (localhost [127.0.0.1]) by goofy.tols.org (8.13.4/8.13.4) with ESMTP id k3NBXZ6G027454; Sun, 23 Apr 2006 11:33:35 GMT (envelope-from marco@goofy.tols.org) Received: (from marco@localhost) by goofy.tols.org (8.13.4/8.13.4/Submit) id k3NBXZ28027453; Sun, 23 Apr 2006 11:33:35 GMT (envelope-from marco) Date: Sun, 23 Apr 2006 11:33:35 +0000 From: Marco van Tol To: freebsd-hackers@freebsd.org Message-ID: <20060423113335.GA27406@tols.org> Mail-Followup-To: freebsd-hackers@freebsd.org, John Baldwin References: <20060412215021.GB1146@tols.org> <20060417134825.GA47043@tols.org> <20060418221505.GC58081@tols.org> <200604181838.27713.jhb@freebsd.org> <20060419072627.GA66012@tols.org> <20060420224049.GA99399@tols.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060420224049.GA99399@tols.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV 0.88.1/1420/Sun Apr 23 01:02:06 2006 on goofy.tols.org X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=unavailable version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on goofy.tols.org Cc: Subject: Re: Per CPU cpu-statistics under SMP 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, 23 Apr 2006 11:33:47 -0000 On Fri, Apr 21, 2006 at 12:40:49AM +0200, Marco van Tol wrote: > On Wed, Apr 19, 2006 at 07:26:27AM +0000, Marco van Tol wrote: > > On Tue, Apr 18, 2006 at 06:38:26PM -0400, John Baldwin wrote: > > [...] > > > > Ah, hmm. On 6.x we don't have per-thread stat ticks yet, which is > > > probably why it is failing. It also isn't safe to move sched_lock > > > down either on 6.x. You can still apply the rest of the patch by > > > hand, just leave the 'mtx_lock_spin(&sched_lock)' where it is and > > > change all the 'cp_time[FOO]++' to 'PCPU_LAZY_INC(cp_time[FOO])'. > > > > OK, thanks. > > > > What I will do is replace my gentoo partition with a BSD current partition > > so I don't loose my workstation as it were, and use that to work on this. > > > > Will let you know how that goes. Thanks. > > Ha! It succeeded. :) [...] I got it to work in non-client/server mode, and am working on making it also work in client/server mode. (gkrellmd as opposed to gkrellm) Is there anything you can say regarding an estimate on when per-cpu specific stats will hit the official CURRENT and STABLE branches? Are you interested in what I did to gkrellm so far? All that was necessary was a small patch to src/sysdeps/freebsd.c in the gkrellm tree as far as making it work with your patch was concerned. I can send the patch to your email adres, or make it available on my website. :) Marco -- Gisteren is het niet gelukt. From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 23 16:07:44 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1609D16A400 for ; Sun, 23 Apr 2006 16:07:44 +0000 (UTC) (envelope-from mv@thebeastie.org) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9C3E43D45 for ; Sun, 23 Apr 2006 16:07:43 +0000 (GMT) (envelope-from mv@thebeastie.org) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 0AED04D30E; Sun, 23 Apr 2006 16:08:53 +0000 (GMT) Received: from [192.168.0.6] (ppp157-158.static.internode.on.net [150.101.157.158]) by p4.roq.com (Postfix) with ESMTP id 1A7FA4D2F3; Sun, 23 Apr 2006 16:08:50 +0000 (GMT) Message-ID: <444BA648.2050606@thebeastie.org> Date: Mon, 24 Apr 2006 02:07:36 +1000 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060213 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Halliday References: <2dab70a30604201049i41e409e1y8924383843c95980@mail.gmail.com> In-Reply-To: <2dab70a30604201049i41e409e1y8924383843c95980@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: hackers@freebsd.org Subject: Re: Server choice. 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, 23 Apr 2006 16:07:44 -0000 Paul Halliday wrote: >Hi, > >I am in the process of building a new database server and after >pricing up 2 Dell models I thought I would throw this out just to see >which choice would be better suited for FreeBSD. > >The demands on the system will be mostly network -> disk I/O with a >hope of best performance on quickly servicing numerous reads; for >example when reports are generated using the data in the database. > >The 2 choices (we dont have that much money and they have to be Dell) >are a poweredge 1850 and a poweredge 850. > >850 specs. >---------------- >Procsesor: Pentium(Dual Core) 830 @ 3.0GHz/2X1MB Cache 800MHz FSB >Memory: 2GB DDR2, 533MHz (2x1GB) Dual ranked DIMMs >Disks: SATA > >1850 specs. >------------------ >Processors: 2 @ Xeon @ 3.0GHz/2MB Cache 800MHz FSB >Memory: 2GB DDR2, 400MHz (4x512) Single ranked DIMMs >Disks: Ultra 320 > >The pricing is really close. > >Thanks. > > I have yet to buy a SATA based Dell server where the drives were hotswap or even easy to take out. I have mostly Dell 1850s and 2850s, and all are RAID, they all use the amr driver and are hot swap. I don't recall ever trying the hot swap as I am yet to have a bad drive, but I am pretty sure I have tried just pulling out a SCSI drive while the machine was running and putting it back in and it was fine. For the SATA stuff I have bought 750s with SATA RAID 1 and they are fully hardware based, I never dealt with any drivers, I have them on less important services and also have never had to get a HD replaced, if I did the server would have to be shut down. As for IO performance I have never done any real testing, I have noticed that Raid 5 is slower for writes but thats just the standard rule for Raid 5. Mike From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 23 16:47:34 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36C4416A40B for ; Sun, 23 Apr 2006 16:47:34 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7553843D66 for ; Sun, 23 Apr 2006 16:47:17 +0000 (GMT) (envelope-from zombyfork@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so649434nfc for ; Sun, 23 Apr 2006 09:47:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=TVNORt3p6tWpWDk1wSE5wbB/PAOReR7wD4Bj0/QONULQa970a1ivylPlVDbg12gWuZSITkAuS5ptHobZWXLMfozZIVjC/DzxklHttlkqNaevxl0DmjqlDfQ7BcInV+KQpNi/Q9KFD4j3NSzWYkcRubssjCgsVp3liM30sS3U/SU= Received: by 10.49.2.16 with SMTP id e16mr1204689nfi; Sun, 23 Apr 2006 08:49:15 -0700 (PDT) Received: by 10.48.217.6 with HTTP; Sun, 23 Apr 2006 08:49:15 -0700 (PDT) Message-ID: <346a80220604230849r6ac2a56av4acee468f3f9cb68@mail.gmail.com> Date: Sun, 23 Apr 2006 11:49:15 -0400 From: "Coleman Kane" To: "Sean Winn" In-Reply-To: <001601c666a5$bba24a10$2522630a@t22> MIME-Version: 1.0 References: <20060423045024.GJ850@silverwraith.com> <001601c666a5$bba24a10$2522630a@t22> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: [PATCH] Fancy rc startup style RFC - v6 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, 23 Apr 2006 16:47:34 -0000 On 4/23/06, Sean Winn wrote: > > owner-freebsd-hackers@freebsd.org wrote: > > On Thu, Apr 20, 2006 at 10:32:33PM -0500, Eric Anderson wrote: > >> Other than that, do we have general consensus that these do what they > >> claim? Any outstanding issues that haven't been addressed? > > > > One request: > > > > Please remove the two seperate rc.conf lines, and replace with just > > one: rc_fancy=3D YES | NO | COL[O|OU]R > > > > So that it works line the sendmail_enable option (YES/NO/NONE) > > Then include any other tunables in rc_fancy_flags > > Definitely not a good idea to use that as a model: > > man rc.sendmail > > .. > sendmail_enable > (str) If set to ``YES'', run the sendmail(8) daemon at > system > boot time. If set to ``NO'', do not run a sendmail(8) > daemon to > listen for incoming network mail. This does not preclude a > sendmail(8) daemon listening on the SMTP port of the > loopback > interface. The ``NONE'' option is deprecated and should > not be > used. It will be removed in a future release. > .. > > Yes/no options should just be yes/no. Correct, I concur. This is especially true since the 'configuration check' function is checkyesno and looks for YES or NO values. In fact, I think tha= t sendmail was the only one two use this convention. This was brought in to appease those who use qmail (or other mailservers) with an easy method of turning off sendmail's local 'spool' service, to instead use qmail (or whatever else you like...). I remember the convention not being very pleasant for those involved. -- coleman From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 23 19:12:46 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16ABA16A40B; Sun, 23 Apr 2006 19:12:46 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd2mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B50043D46; Sun, 23 Apr 2006 19:12:45 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-qfe3.prod.shaw.ca [10.0.141.177]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IY6006VLW18N490@l-daemon>; Sun, 23 Apr 2006 13:12:45 -0600 (MDT) Received: from pn2ml1so.prod.shaw.ca ([10.0.121.145]) by pd3mr1so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IY600IB5W18CJK0@pd3mr1so.prod.shaw.ca>; Sun, 23 Apr 2006 13:12:44 -0600 (MDT) Received: from [192.168.0.60] ([24.82.18.31]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IY600DWTW18I6B3@l-daemon>; Sun, 23 Apr 2006 13:12:44 -0600 (MDT) Date: Sun, 23 Apr 2006 12:12:44 -0700 From: Colin Percival To: freebsd-security@freebsd.org, freebsd-hackers@freebsd.org Message-id: <444BD1AC.5040807@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 User-Agent: Thunderbird 1.5 (X11/20060416) Cc: Subject: Still Fundraising for FreeBSD security development 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, 23 Apr 2006 19:12:46 -0000 Dear FreeBSD users, On April 4th, I thought that I had reached my donations target for funding my summer of FreeBSD security development, and asked people to stop sending further donations. Sadly, it seems that this assessment was premature, as it relied upon two large pledges, and it now appears that one of them will not be arriving. Fortunately, Pair Networks -- the other large donor -- has sent $6500 US, which now brings me within $2000 of my target. If you were intending to donate when I updated my web page on April 4th to say that I had reached my target, please do so now. I know there were several people in this position, so I'm hoping I can reach my target in the next week. As before, details about the work I plan on doing, how to donate, and a list of the donations I have received, are at http://people.freebsd.org/~cperciva/funding.html Colin Percival From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 23 20:05:53 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2733B16A403 for ; Sun, 23 Apr 2006 20:05:53 +0000 (UTC) (envelope-from mygcc@free.fr) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10AFC43D53 for ; Sun, 23 Apr 2006 20:05:52 +0000 (GMT) (envelope-from mygcc@free.fr) Received: from imp6-g19.free.fr (imp6-g19.free.fr [212.27.42.6]) by smtp4-g19.free.fr (Postfix) with ESMTP id 79D5F5486F; Sun, 23 Apr 2006 22:05:51 +0200 (CEST) Received: by imp6-g19.free.fr (Postfix, from userid 33) id 76FC85D97; Sun, 23 Apr 2006 22:04:35 +0200 (CEST) Received: from 229.91.72-86.rev.gaoland.net (229.91.72-86.rev.gaoland.net [86.72.91.229]) by imp6-g19.free.fr (IMP) with HTTP for ; Sun, 23 Apr 2006 22:04:35 +0200 Message-ID: <1145822675.444bddd364d7c@imp6-g19.free.fr> Date: Sun, 23 Apr 2006 22:04:35 +0200 From: mygcc@free.fr To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 86.72.91.229 X-Mailman-Approved-At: Sun, 23 Apr 2006 20:08:58 +0000 Cc: mygcc@free.fr Subject: Re: automatic checking of source code 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, 23 Apr 2006 20:05:53 -0000 Divacky Roman wrote: > I just found http://mygcc.free.fr/ which is a project for automatic checking of > source code for bugs (memory leaks, unreleased locks, null pointer > dereferences). I recall there was some SoC project to achieve something > similar but this is complete and ready to run... > > it might be of some interest for someone Just a few comments on this. I see that freeBSD already uses Coverity's tool to eliminate different kinds of bugs, so it is useful to briefly compare these two tools. A first difference is that mygcc is a much simpler tool, which means: 1. simpler to use. Every programmer can express his own checks without learning any checking language. 2. less powerful. The bugs detectable with mygcc are clearly a subset of those detectable by Coverity, even if this is a quite significant subset, covering many common bugs. A second difference is that Coverity's tool is (to my knowledge) a standalone checking tool, which means that you would use it from time to time to perform detailed analysis of your code, find many bugs, fix them, and then continue to maintain your code without further support until the next big cleanup (if your license is still valid :)). As opposed to this model, mygcc (is freee and) aims at more modest checks, but performed continuosly, possible at *every* compilation. Thus, the two tools can be seen as complementary. If we had a list of the kinds of bugs that Coverity found, we could tell which of them can be checked continuously by mygcc and which not. Hope that helps, Nic (on behalf of mygcc) From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 24 12:41:13 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D8B416A401 for ; Mon, 24 Apr 2006 12:41:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3044343D5C for ; Mon, 24 Apr 2006 12:41:11 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k3OCf5Qx052454; Mon, 24 Apr 2006 08:41:06 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Marco van Tol Date: Mon, 24 Apr 2006 08:23:48 -0400 User-Agent: KMail/1.8.3 References: <20060412215021.GB1146@tols.org> <20060420224049.GA99399@tols.org> <20060423113335.GA27406@tols.org> In-Reply-To: <20060423113335.GA27406@tols.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200604240823.48948.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1423/Mon Apr 24 04:24:11 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.1 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-hackers@freebsd.org Subject: Re: Per CPU cpu-statistics under SMP 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, 24 Apr 2006 12:41:13 -0000 On Sunday 23 April 2006 07:33 am, Marco van Tol wrote: > On Fri, Apr 21, 2006 at 12:40:49AM +0200, Marco van Tol wrote: > > On Wed, Apr 19, 2006 at 07:26:27AM +0000, Marco van Tol wrote: > > > On Tue, Apr 18, 2006 at 06:38:26PM -0400, John Baldwin wrote: > > > > [...] > > > > > > Ah, hmm. On 6.x we don't have per-thread stat ticks yet, which is > > > > probably why it is failing. It also isn't safe to move sched_lock > > > > down either on 6.x. You can still apply the rest of the patch by > > > > hand, just leave the 'mtx_lock_spin(&sched_lock)' where it is and > > > > change all the 'cp_time[FOO]++' to 'PCPU_LAZY_INC(cp_time[FOO])'. > > > > > > OK, thanks. > > > > > > What I will do is replace my gentoo partition with a BSD current > > > partition so I don't loose my workstation as it were, and use that to > > > work on this. > > > > > > Will let you know how that goes. Thanks. > > > > Ha! It succeeded. :) > > [...] > > I got it to work in non-client/server mode, and am working on making it > also work in client/server mode. (gkrellmd as opposed to gkrellm) > > Is there anything you can say regarding an estimate on when per-cpu > specific stats will hit the official CURRENT and STABLE branches? > > Are you interested in what I did to gkrellm so far? All that was necessa= ry > was a small patch to src/sysdeps/freebsd.c in the gkrellm tree as far as > making it work with your patch was concerned. I can send the patch to yo= ur > email adres, or make it available on my website. :) > > Marco Well, the goal of the patch was to provide a small performance optimization= by=20 holding sched_lock for a shorter period of time. Curiously, it actually=20 resulted in a performance decrease on i386 and amd64 in benchmarks. On a 1= 0=20 cpu sparc64 machine it did result in an improvement. I need to do more=20 research to determine why it would hurt performance for the x86 case (even = on=20 4 cpu boxes) as I don't want to go committing things that hurt performance.= =20 If I can address the performance problems though this is the interface that= =20 would be presented to userland. =2D-=20 John Baldwin =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 24 12:59:01 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73BFB16A401 for ; Mon, 24 Apr 2006 12:59:01 +0000 (UTC) (envelope-from marco@goofy.tols.org) Received: from goofy.tols.org (goofy.demon.nl [83.160.134.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id A82B143D48 for ; Mon, 24 Apr 2006 12:59:00 +0000 (GMT) (envelope-from marco@goofy.tols.org) Received: from goofy.tols.org (localhost [127.0.0.1]) by goofy.tols.org (8.13.4/8.13.4) with ESMTP id k3OCwwS7037359 for ; Mon, 24 Apr 2006 12:58:58 GMT (envelope-from marco@goofy.tols.org) Received: (from marco@localhost) by goofy.tols.org (8.13.4/8.13.4/Submit) id k3OCwvfR037358 for freebsd-hackers@freebsd.org; Mon, 24 Apr 2006 12:58:57 GMT (envelope-from marco) Date: Mon, 24 Apr 2006 12:58:57 +0000 From: Marco van Tol To: freebsd-hackers@freebsd.org Message-ID: <20060424125857.GD36281@tols.org> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20060412215021.GB1146@tols.org> <20060420224049.GA99399@tols.org> <20060423113335.GA27406@tols.org> <200604240823.48948.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200604240823.48948.jhb@freebsd.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV 0.88.1/1423/Mon Apr 24 08:24:11 2006 on goofy.tols.org X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on goofy.tols.org Subject: Re: Per CPU cpu-statistics under SMP 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, 24 Apr 2006 12:59:01 -0000 On Mon, Apr 24, 2006 at 08:23:48AM -0400, John Baldwin wrote: > On Sunday 23 April 2006 07:33 am, Marco van Tol wrote: [...] > > Is there anything you can say regarding an estimate on when per-cpu > > specific stats will hit the official CURRENT and STABLE branches? > > > > Are you interested in what I did to gkrellm so far? All that was necessary > > was a small patch to src/sysdeps/freebsd.c in the gkrellm tree as far as > > making it work with your patch was concerned. I can send the patch to your > > email adres, or make it available on my website. :) > > Well, the goal of the patch was to provide a small performance optimization by > holding sched_lock for a shorter period of time. Curiously, it actually > resulted in a performance decrease on i386 and amd64 in benchmarks. On a 10 > cpu sparc64 machine it did result in an improvement. I need to do more > research to determine why it would hurt performance for the x86 case (even on > 4 cpu boxes) as I don't want to go committing things that hurt performance. I understand and agree for what that's worth. :) > If I can address the performance problems though this is the interface that > would be presented to userland. OK, I'll keep an eye on this list and /usr/src/UPDATES, assuming it will end up in either if it were added. Meanwhile, I'll see if gkrellm likes my changes sufficiently to commit them to their CVS tree after I got things to work in client/server mode as well. If anything should change for whatever reason it should be fairly trivial to make the necessary changes. Thanks a lot, Marco -- Laat wat je niet laten kunt, en doe wat je niet doen kunt, en word miljonair. From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 24 13:39:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA3D716A404 for ; Mon, 24 Apr 2006 13:39:45 +0000 (UTC) (envelope-from liudasb@centras.lt) Received: from wind.delfi.lt (storm.delfi.lt [213.197.128.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 453AD43D5E for ; Mon, 24 Apr 2006 13:39:41 +0000 (GMT) (envelope-from liudasb@centras.lt) Received: by wind.delfi.lt (DELFI Mail, from userid 80) id 4892A61CBD; Mon, 24 Apr 2006 16:39:40 +0300 (EEST) To: freebsd-hackers@freebsd.org Received: from 213.197.169.162 by webmail.delfi.lt via HTTP ; Mon, 24 Apr 2006 16:39:40 +0300 From: "Liudas B." Date: Mon, 24 Apr 2006 16:39:40 +0300 X-Mailer: X-Priority: 3 MIME-Version: 1.0 Content-type: text/plain; charset=windows-1257 Message-Id: <20060424133940.4892A61CBD@wind.delfi.lt> Subject: If_dc media detection routine 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, 24 Apr 2006 13:39:46 -0000 Hi, I writing patch to support ANA-6922 board. Now I have problem with media detection (I think so). So, where I can find media detection routine in if_dc driver? How media detection works (basics)? Thanks -------- Liudas From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 07:32:47 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEDD616A400 for ; Tue, 25 Apr 2006 07:32:47 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA5E143D49 for ; Tue, 25 Apr 2006 07:32:46 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so920277nfc for ; Tue, 25 Apr 2006 00:32:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=XXhj/QLD8DnXqr1SUxfahG4HD2HHtmrNn44Rv+KGShIjhGbdG/XklBdF7OPLpTkJ884K0S9+3FyrigYB2u+Ep9NSWw8OTsZaixsspCx4nw7c33BFmCwPaAWPWzCbKd9HgVYgwAhk4FGfLBrJGDmAjYZGPbCyEOMpCg6TLbCGIEc= Received: by 10.48.217.13 with SMTP id p13mr1053281nfg; Tue, 25 Apr 2006 00:32:46 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.116.59]) by mx.gmail.com with ESMTP id k23sm806000nfc.2006.04.25.00.32.44; Tue, 25 Apr 2006 00:32:45 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k3OLA5vp001358; Mon, 24 Apr 2006 23:10:07 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k3OBuVvH003852; Mon, 24 Apr 2006 13:56:31 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Mon, 24 Apr 2006 13:56:31 +0200 From: Ulrich Spoerlein To: Andrey Simonenko Message-ID: <20060424115631.GE2984@roadrunner.buck.local> Mail-Followup-To: Andrey Simonenko , freebsd-hackers@freebsd.org References: <20060421095610.GA1137@pm513-1.comsys.ntu-kpi.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yH1ZJFh+qWm+VodA" Content-Disposition: inline In-Reply-To: <20060421095610.GA1137@pm513-1.comsys.ntu-kpi.kiev.ua> Cc: freebsd-hackers@freebsd.org Subject: Re: Atomic updates of NFS export lists 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, 25 Apr 2006 07:32:47 -0000 --yH1ZJFh+qWm+VodA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Andrey Simonenko wrote: > [Lots of good stuff] > Now mountd does not work if there is some error in exports file. > I think this is correct behaviour and I'm ready to explain this. Hello Andrey, I hope these 'errors' in the exports file only mean syntactical errors? For example, I have a /vol partition mounted on my NFS server, which is exported via NFS. Now, sometimes /vol is mounted, sometimes it is not mounted (on the server). This will generate some warnings from mountd, as it can't export the /vol filesystem, but mountd still works the same. Once /vol becomes available, I don't even need to restart mountd, it will simply pick up /vol and make it available. I hope these semantics will remain? (No sorry, I didn't not test your patch yet). Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --yH1ZJFh+qWm+VodA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFETLzv524iJyD+6d0RAocBAJ4i+HrSVBuIDDCzJdxAhlmW/a+WSACeLkAR pQ64bAOl6uBzNB/ZhVW6OmM= =tyYt -----END PGP SIGNATURE----- --yH1ZJFh+qWm+VodA-- From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 08:24:51 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AABA16A400 for ; Tue, 25 Apr 2006 08:24:51 +0000 (UTC) (envelope-from marco@goofy.tols.org) Received: from goofy.tols.org (goofy.demon.nl [83.160.134.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAC9D43D46 for ; Tue, 25 Apr 2006 08:24:50 +0000 (GMT) (envelope-from marco@goofy.tols.org) Received: from goofy.tols.org (localhost [127.0.0.1]) by goofy.tols.org (8.13.4/8.13.4) with ESMTP id k3P8Omx1046506 for ; Tue, 25 Apr 2006 08:24:48 GMT (envelope-from marco@goofy.tols.org) Received: (from marco@localhost) by goofy.tols.org (8.13.4/8.13.4/Submit) id k3P8OmLK046505 for freebsd-hackers@freebsd.org; Tue, 25 Apr 2006 08:24:48 GMT (envelope-from marco) Date: Tue, 25 Apr 2006 08:24:48 +0000 From: Marco van Tol To: freebsd-hackers@freebsd.org Message-ID: <20060425082448.GC46240@tols.org> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20060412215021.GB1146@tols.org> <20060420224049.GA99399@tols.org> <20060423113335.GA27406@tols.org> <200604240823.48948.jhb@freebsd.org> <20060424125857.GD36281@tols.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060424125857.GD36281@tols.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV 0.88.1/1424/Mon Apr 24 14:39:06 2006 on goofy.tols.org X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on goofy.tols.org Subject: Re: Per CPU cpu-statistics under SMP 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, 25 Apr 2006 08:24:51 -0000 On Mon, Apr 24, 2006 at 12:58:57PM +0000, Marco van Tol wrote: > On Mon, Apr 24, 2006 at 08:23:48AM -0400, John Baldwin wrote: [...] > > If I can address the performance problems though this is the interface that > > would be presented to userland. > > OK, I'll keep an eye on this list and /usr/src/UPDATES, assuming it will end > up in either if it were added. Meanwhile, I'll see if gkrellm likes my > changes sufficiently to commit them to their CVS tree after I got things to > work in client/server mode as well. If anything should change for whatever > reason it should be fairly trivial to make the necessary changes. The client/server issue got fixed as well. Just needed a recompile. (Doh!) :( Anyway, gkrellm is ready to review/commit my changes as soon as this ends up in the BSD tree. :) Marco -- Gisteren is het niet gelukt. From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 09:49:19 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86F9416A401 for ; Tue, 25 Apr 2006 09:49:19 +0000 (UTC) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (comsys.ntu-kpi.kiev.ua [195.245.194.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61EEF43D45 for ; Tue, 25 Apr 2006 09:49:04 +0000 (GMT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from pm513-1.comsys.ntu-kpi.kiev.ua (pm513-1.comsys.ntu-kpi.kiev.ua [10.18.52.101]) (authenticated bits=0) by comsys.ntu-kpi.kiev.ua (8.13.6/8.13.6) with ESMTP id k3PA3I6F046821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 25 Apr 2006 13:03:18 +0300 (EEST) Received: by pm513-1.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1001) id 4B9A35C023; Tue, 25 Apr 2006 12:49:13 +0300 (EEST) Date: Tue, 25 Apr 2006 12:49:13 +0300 From: Andrey Simonenko To: freebsd-hackers@freebsd.org Message-ID: <20060425094913.GA2041@pm513-1.comsys.ntu-kpi.kiev.ua> References: <20060421095610.GA1137@pm513-1.comsys.ntu-kpi.kiev.ua> <20060424115631.GE2984@roadrunner.buck.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060424115631.GE2984@roadrunner.buck.local> User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,AWL autolearn=unavailable version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on comsys.ntu-kpi.kiev.ua X-Virus-Scanned: ClamAV 0.82/1390/Tue Apr 11 10:32:32 2006 on comsys.ntu-kpi.kiev.ua X-Virus-Status: Clean Subject: Re: Atomic updates of NFS export lists 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, 25 Apr 2006 09:49:19 -0000 On Mon, Apr 24, 2006 at 01:56:31PM +0200, Ulrich Spoerlein wrote: > Andrey Simonenko wrote: > > [Lots of good stuff] > > Now mountd does not work if there is some error in exports file. > > I think this is correct behaviour and I'm ready to explain this. > > Hello Andrey, > > I hope these 'errors' in the exports file only mean syntactical errors? > For example, I have a /vol partition mounted on my NFS server, which is > exported via NFS. Now, sometimes /vol is mounted, sometimes it is not > mounted (on the server). This will generate some warnings from mountd, > as it can't export the /vol filesystem, but mountd still works the same. > Once /vol becomes available, I don't even need to restart mountd, it > will simply pick up /vol and make it available. > > I hope these semantics will remain? (No sorry, I didn't not test your > patch yet). > In general ignoring lines is not safe, since this can give wrong access rights. For example if second line is ignored and /usr/local is in the same filesystem as /usr, then 10.1.2.3 will match 10.1.2.0/24 and will get r/w access for /usr: /usr -network 10.1.2.0/24 /usr/local -ro 10.1.2.3 Output from "mountd -t": Filesystem /usr, type "ufs", fsid 0x43d21dca:0x0225d70c Exported directories: /usr -network 10.1.2.0/24 /usr/local -ro 10.1.2.3 I disallowed duplicated export specifications: /var 10.1.2.3 /var/vol 10.1.2.3 parsing error: exports4:2: duplicated IPv4 address specification 10.1.2.3 was found for /var filesystem But this can be solved with -quiet option as in your case: /var 10.1.2.3 /var/vol -quiet 10.1.2.3 parsing error: exports4:2: duplicated IPv4 address specification 10.1.2.3 was found for /var filesystem parsing error: exports4:2: this line is ignored Filesystem /var, type "ufs", fsid 0x43d21dcb:0x22fc3751 Exported directories: /var 10.1.2.3 When another filesystem is mounted on /var/vol, then: Filesystem /var, type "ufs", fsid 0x43d21dcb:0x22fc3751 Exported directories: /var 10.1.2.3 Filesystem /var/vol, type "ufs", fsid 0x444de7a4:0x96b6cba3 Filesystem options: -quiet Exported directories: /var/vol 10.1.2.3 There is no need to restart mountd as you said, if filesystem is mounted with mount(8), then mount(8) sends SIGHUP signal to mountd and it reloads exports file, so it is self-restarted. From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 12:19:15 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FC5D16A40F; Tue, 25 Apr 2006 12:19: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 4F94043D45; Tue, 25 Apr 2006 12:19:07 +0000 (GMT) (envelope-from daichi@freebsd.org) Received: from [192.168.1.101] (dullmdaler.ongs.co.jp [202.216.232.62]) by natial.ongs.co.jp (Postfix) with ESMTP id DF945244C19; Tue, 25 Apr 2006 21:19:06 +0900 (JST) Message-ID: <444E13BA.8050902@freebsd.org> Date: Tue, 25 Apr 2006 21:19:06 +0900 From: Daichi GOTO User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-fs@freebsd.org References: <43E5D052.3020207@freebsd.org> <43E656C7.8040302@freesbie.org> <43E6D5C8.4050405@freebsd.org> <43E71485.5040901@freesbie.org> <43E73330.8070101@freebsd.org> <43EB4C00.2030101@freebsd.org> <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> In-Reply-To: <4433CA53.5050000@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander@Leidinger.net, Dario Freni , ozawa@ongs.co.jp, freebsd-listen@fabiankeil.de Subject: [ANN] unionfs patchset-11 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: Tue, 25 Apr 2006 12:19:15 -0000 It is my pleasure and honor to announce the availability of the unionfs patchset-11. Patchset-11: For 7-current http://people.freebsd.org/~daichi/unionfs/unionfs-p11.diff For 6.x http://people.freebsd.org/~daichi/unionfs/unionfs6-p11.diff Changes in unionfs-p11.diff - Changed a few implementations around the lock/unlock mechanism. Because of this, you can use both the unionfs and the nullfs together without LK_CANRECURSE. - Fixed a bug that sometimes does not unlock if it cannot create shadow file. The documents of those unionfs patches: http://people.freebsd.org/~daichi/unionfs/ (English) http://people.freebsd.org/~daichi/unionfs/index-ja.html (Japanese) Heads Up: Fabian Keil gave me a good patch to fix my broken English. Above English text is good rather than pre one. Heads Up: Above English text contains some Japanese text. If you are interested in translating the Japanese text into English, please do it and send it to me. ATTENTION: If someone knows the details of vnode's lock status via VOP_GETWRITEMOUNT, Please teach us (daichi, ozawa). We want to know the details. Thanks -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 12:19:24 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77D2C16A428 for ; Tue, 25 Apr 2006 12:19:24 +0000 (UTC) (envelope-from vladimir.terziev@gbservices.biz) Received: from cat.gbservices.biz (cat-mtl.gbservices.biz [213.226.50.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4ED043D73 for ; Tue, 25 Apr 2006 12:19:18 +0000 (GMT) (envelope-from vladimir.terziev@gbservices.biz) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 1FFDE2EDAD5 for ; Tue, 25 Apr 2006 14:19:14 +0200 (CEST) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by cat.gbservices.biz (Postfix) with ESMTP id 385192EDA8D for ; Tue, 25 Apr 2006 14:19:12 +0200 (CEST) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 3D51928504 for ; Tue, 25 Apr 2006 14:19:14 +0200 (CEST) Received: from daemon.gbs.gbdom.com (daemon.gbs.gbdom.com [192.168.2.104]) by fs.gbs.gbdom.com (Postfix) with SMTP id C46F528503 for ; Tue, 25 Apr 2006 14:19:13 +0200 (CEST) Date: Tue, 25 Apr 2006 15:19:13 +0300 From: Vladimir Terziev To: freebsd-hackers@freebsd.org Message-Id: <20060425151913.63f2463f.vlady@gbservices.biz> Organization: GB Services Ltd. X-Mailer: Sylpheed version 2.2.2 (GTK+ 2.6.4; i386-unknown-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GBS-F X-Virus-Scanned: ClamAV GBS-C Subject: gmirror with hot spare 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, 25 Apr 2006 12:19:25 -0000 Hi hackers, is there a way to assign a hot spare disk/partition to a gmirror -ed disks/partitions ? Regards, Vladimir From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 12:54:53 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85DB116A401 for ; Tue, 25 Apr 2006 12:54:53 +0000 (UTC) (envelope-from gpt@tirloni.org) Received: from outbound-mail-13.bluehost.com (outbound-mail-13.bluehost.com [70.96.188.113]) by mx1.FreeBSD.org (Postfix) with SMTP id D81B543D58 for ; Tue, 25 Apr 2006 12:54:52 +0000 (GMT) (envelope-from gpt@tirloni.org) Received: (qmail 20379 invoked by uid 0); 25 Apr 2006 12:54:52 -0000 Received: from unknown (HELO box85.bluehost.com) (70.103.189.85) by mailproxy1.bluehost.com with SMTP; 25 Apr 2006 12:54:52 -0000 Received: from localhost ([127.0.0.1]) by box85.bluehost.com with esmtp (Exim 4.52) id 1FYN47-0006YZ-R8; Tue, 25 Apr 2006 06:54:51 -0600 X-Originating-IP: [208.24.179.208] Date: Tue, 25 Apr 2006 09:54:51 -0300 Received: from 208.24.179.208 ([208.24.179.208]) (SquirrelMail authenticated user gpt@tirloni.org) by 70.103.189.85 with HTTP; Tue, 25 Apr 2006 09:54:51 -0300 (BRT) Message-ID: <47542.208.24.179.208.1145969691.squirrel@70.103.189.85> In-Reply-To: <20060425151913.63f2463f.vlady@gbservices.biz> References: <20060425151913.63f2463f.vlady@gbservices.biz> From: "Giovanni P. Tirloni" To: "Vladimir Terziev" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Identified-User: {566:box85.bluehost.com:tirlonio:tirloni.org} {sentby:program running on server} Cc: freebsd-hackers@freebsd.org Subject: Re: gmirror with hot spare 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, 25 Apr 2006 12:54:53 -0000 On Tue, April 25, 2006 9:19 am, Vladimir Terziev said: > > Hi hackers, > > is there a way to assign a hot spare disk/partition to a gmirror -ed > disks/partitions ? That's a good question. From the man pages there doesn't seem to exist anything to mark a insert disk as "disabled". Atacontrol has a "addspare" option. Just in case, to replace a faulty (SCSI) disk: gmirror remove gm0 da1 camcontrol stop da1 camcontrol rescan all camcontrol rescan all (after inserting replacement) gmirror insert gm0 da1 The same procedure in atacontrol would be similar to: atacontrol detach 3 atacontrol attach 3 atacontrol addspare ar0 ad6 atacontrol rebuild ar0 Good luck, -- Giovanni P. Tirloni http://www.tirloni.org From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 12:56:15 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0045B16A402; Tue, 25 Apr 2006 12:56:14 +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 1437343D7B; Tue, 25 Apr 2006 12:56:03 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 54D5846B1E; Tue, 25 Apr 2006 08:56:02 -0400 (EDT) Date: Tue, 25 Apr 2006 13:56:02 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Daichi GOTO In-Reply-To: <444E13BA.8050902@freebsd.org> Message-ID: <20060425133412.V51337@fledge.watson.org> References: <43E5D052.3020207@freebsd.org> <43E656C7.8040302@freesbie.org> <43E6D5C8.4050405@freebsd.org> <43E71485.5040901@freesbie.org> <43E73330.8070101@freebsd.org> <43EB4C00.2030101@freebsd.org> <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> <444E13BA.8050902@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: ozawa@ongs.co.jp, freebsd-hackers@freebsd.org, freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Alexander@Leidinger.net, Dario Freni Subject: Re: [ANN] unionfs patchset-11 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: Tue, 25 Apr 2006 12:56:15 -0000 On Tue, 25 Apr 2006, Daichi GOTO wrote: > Changes in unionfs-p11.diff > - Changed a few implementations around the lock/unlock > mechanism. Because of this, you can use both the unionfs > and the nullfs together without LK_CANRECURSE. > - Fixed a bug that sometimes does not unlock if it cannot > create shadow file. First off, thanks again for working on this! > If someone knows the details of vnode's lock status via > VOP_GETWRITEMOUNT, Please teach us (daichi, ozawa). We > want to know the details. Basically, file systems supporting full file system snapshots (UFS) provide a mechanism to "lock out" writers before they enter VFS so that they don't end up holding write locks for long periods, leading to deadlock. vn_start_write() is called to notify the file system that a thread is about to enter the file system for a write, and vn_write_finished() is called to notify the file system it is done. In effect, it's a giant reader-writer lock, which allows multiple readers and multipler writers, except during snapshot generation, when it blocks new writers until the snapshot is generated. In general, you'll notice two sorts of logic around calls to vn_start_write(): a first set, where vn_start_write() is called once holding a vnode reference, is acquired, and then things continue as normal, with a final vn_finished_write() call at the end. In this situation, vnode locks are acquired after the vn_start_write() call, but vnode references are held before (since vn_start_write() takes a vnode so that it can find the file system). The other circumstance is where vnode locks may already be held, in which case a non-sleeping acquire is performed, since in effect this is a violation of lock order. If it fails, the vnode lock is released, the reference is acquired, and then the whole operation is restarted so that we can try again to acquire the vnode lock under circumstances where file system snapshot lock can be safely acquired. So basically, it has deadlock detection and recovery logic. The V_XSLEEP lock basically says "Sleep until the snapshot lock would be available, then return", which loops back so we can re-try the acquires. So according to the above, the file system snapshot lock is *before* the vnode locks in the lock order, although in practice we acquire in any order as long as it won't lead to deadlock (in which case we recover). The logic here is a little shaky in practice -- among other things, it looks like potentially the mount point could go away during the call to vn_start_write() once the vnode is released in the deadlock detection code, but in practice this probably never happens. Notice that the above is all couched in terms of a single file system, not stacking. This is probably because it was all written with UFS and not stacking in mind. Robert N M Watson From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 15:48:03 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D599716A439 for ; Tue, 25 Apr 2006 15:48:03 +0000 (UTC) (envelope-from haro@h4.dion.ne.jp) Received: from smtp1.dcns.ne.jp (smtp1.dcns.ne.jp [203.178.100.134]) by mx1.FreeBSD.org (Postfix) with SMTP id 5F64543D8A for ; Tue, 25 Apr 2006 15:47:50 +0000 (GMT) (envelope-from haro@h4.dion.ne.jp) Received: (qmail 381 invoked from network); 26 Apr 2006 00:47:49 +0900 Received: from unknown (HELO localhost) (211.10.184.118) by smtp1.dcns.ne.jp with SMTP; 26 Apr 2006 00:47:49 +0900 Date: Wed, 26 Apr 2006 00:45:55 +0900 (JST) Message-Id: <20060426.004555.21603794.haro@h4.dion.ne.jp> To: daichi@freebsd.org From: Munehiro Matsuda In-Reply-To: <444E13BA.8050902@freebsd.org> References: <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> <444E13BA.8050902@freebsd.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: ozawa@ongs.co.jp, freebsd-hackers@freebsd.org, freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Alexander@Leidinger.net, saturnero@freesbie.org Subject: Re: [ANN] unionfs patchset-11 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: Tue, 25 Apr 2006 15:48:03 -0000 Hi Goto-san, From: Daichi GOTO Date: Tue, 25 Apr 2006 21:19:06 +0900 ::It is my pleasure and honor to announce the availability of ::the unionfs patchset-11. :: Heads Up: Above English text contains some Japanese text. :: If you are interested in translating the Japanese :: text into English, please do it and send it to me. How about this? =-------------------------------------------------------------------------- On creating a hardlink, due to VOP_GETWRITEMOUNT() called right after lookup(), if only files exist in the underlying filesystem, VOP_GETWRITEMOUNT() cannot be process on the vnode for the layer above. Thus creating hardlink fails. A complete fix is to change VOP_GETWRITEMOUNT() to create a shadowfile, but its not possible due to the fact that, locking status of vnode passed as argument to VOP_GETWRITEMOUNT() is not stable. In the current kernel code base, filesystems using vop_stdgetwritemount() simply aquire mount point vnode, thus using vnode for directory above seems to suffice and used for the current implementation. But this logic cannot be considered safe and may cause problems in the future. Also, when mounting a directory containing multiple mount points using unionfs, becomes evil. Thus, it is dangerous to mount directories containing multiple mount points, using the current implementation of unionfs. =-------------------------------------------------------------------------- Hope this helps, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Internet Solution Dept., KGT Inc. /|\ |_| |_|_| 2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0767 Fax: +81-3-3225-0740 Email: haro-at-kgt.co.jp From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 17:56:05 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18A7F16A40E; Tue, 25 Apr 2006 17:56:05 +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 8371B43D6E; Tue, 25 Apr 2006 17:55:54 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 4DCEF1A4E24; Tue, 25 Apr 2006 10:55:54 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9C9AC55A0B; Tue, 25 Apr 2006 13:55:53 -0400 (EDT) Date: Tue, 25 Apr 2006 13:55:53 -0400 From: Kris Kennaway To: Daichi GOTO Message-ID: <20060425175553.GA56011@xor.obsecurity.org> References: <43E5D052.3020207@freebsd.org> <43E656C7.8040302@freesbie.org> <43E6D5C8.4050405@freebsd.org> <43E71485.5040901@freesbie.org> <43E73330.8070101@freebsd.org> <43EB4C00.2030101@freebsd.org> <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> <444E13BA.8050902@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <444E13BA.8050902@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: ozawa@ongs.co.jp, freebsd-hackers@freebsd.org, freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Alexander@Leidinger.net, Dario Freni Subject: Re: [ANN] unionfs patchset-11 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: Tue, 25 Apr 2006 17:56:05 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 09:19:06PM +0900, Daichi GOTO wrote: > It is my pleasure and honor to announce the availability of > the unionfs patchset-11. >=20 > Patchset-11: > For 7-current > http://people.freebsd.org/~daichi/unionfs/unionfs-p11.diff >=20 > For 6.x > http://people.freebsd.org/~daichi/unionfs/unionfs6-p11.diff >=20 > Changes in unionfs-p11.diff > - Changed a few implementations around the lock/unlock > mechanism. Because of this, you can use both the unionfs > and the nullfs together without LK_CANRECURSE. > - Fixed a bug that sometimes does not unlock if it cannot > create shadow file. I still get a panic immediately upon use: KDB: stack backtrace: vfs_badlock(cdef7540,ee22b9c4,c07a60e0,cdef7540,0) at vfs_badlock+0x76 assert_vop_locked(cdef7540,c0765a3d,220,cdef7540,d12ed380) at assert_vop_lo= cked+0x60 VOP_OPEN_APV(c077acc0,ee22ba1c,d0456c28,0,c68a2510) at VOP_OPEN_APV+0x87 union_open(ee22ba74,c0765a3d,ee22bbfc,47ec,cdf1a690) at union_open+0xa2 VOP_OPEN_APV(c077b6a0,ee22ba74,c07a5f60,cdf1a690,1) at VOP_OPEN_APV+0x94 exec_check_permissions(ee22bba8,0,c073c75f,143,d1921000) at exec_check_perm= issions+0x107 kern_execve(c68a2510,ee22bc60,0,bfbfe910,bfbfea0c,e87b9000,e87b9000,e87b903= 8,e87b94e9,e87f9000,3fb17,4,39) at kern_execve+0x214 execve(c68a2510,ee22bd04,c,ee22bd38,3) at execve+0x52 syscall(3b,3b,3b,bfbfe90c,bfbfecc7) at syscall+0x163 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (59, FreeBSD ELF32, execve), eip =3D 0x280d493b, esp =3D 0xbfbf= e37c, ebp =3D 0xbfbfe828 --- VOP_OPEN: 0xcdef7540 is not locked but should be db> show lockedvnods Locked vnodes 0xd0456bd0: tag ufs, type VREG usecount 1, writecount 0, refcount 4 mountedhere 0 flags () v_object 0xcf9c1960 ref 0 pages 5 lock type ufs: EXCL (count 1) by thread 0xc68a2510 (pid 5593)#0 0xc053= 248e at lockmgr+0x573 #1 0xc059f9d4 at vop_stdlock+0x32 #2 0xc071541a at VOP_LOCK_APV+0x76 #3 0xc0681146 at ffs_lock+0x19 #4 0xc071541a at VOP_LOCK_APV+0x76 #5 0xc04ff967 at union_lock+0xda #6 0xc071541a at VOP_LOCK_APV+0x76 #7 0xc05b793a at vn_lock+0x67 #8 0xc05ab84b at vget+0x77 #9 0xc04fab14 at union_nodeget+0x682 #10 0xc04fd98a at union_lookup+0x5e6 #11 0xc0712034 at VOP_LOOKUP_APV+0x76 #12 0xc05a1588 at lookup+0x343 #13 0xc05a21f3 at namei+0x330 #14 0xc0522983 at kern_execve+0x1e4 #15 0xc05236ee at execve+0x52 #16 0xc06fc295 at syscall+0x163 #17 0xc06e5fdf at Xint0x80_syscall+0x1f ino 2805716, on dev da0s1e 0xcdf1a690: tag unionfs, type VREG usecount 1, writecount 0, refcount 1 mountedhere 0 flags (VV_TEXT) v_object 0xcf9544b0 ref 0 pages 5 lock type ufs: EXCL (count 1) by thread 0xc68a2510 (pid 5593)#0 0xc053= 248e at lockmgr+0x573 #1 0xc059f9d4 at vop_stdlock+0x32 #2 0xc071541a at VOP_LOCK_APV+0x76 #3 0xc0681146 at ffs_lock+0x19 #4 0xc071541a at VOP_LOCK_APV+0x76 #5 0xc04ff967 at union_lock+0xda #6 0xc071541a at VOP_LOCK_APV+0x76 #7 0xc05b793a at vn_lock+0x67 #8 0xc05ab84b at vget+0x77 #9 0xc04fab14 at union_nodeget+0x682 #10 0xc04fd98a at union_lookup+0x5e6 #11 0xc0712034 at VOP_LOOKUP_APV+0x76 #12 0xc05a1588 at lookup+0x343 #13 0xc05a21f3 at namei+0x330 #14 0xc0522983 at kern_execve+0x1e4 #15 0xc05236ee at execve+0x52 #16 0xc06fc295 at syscall+0x163 #17 0xc06e5fdf at Xint0x80_syscall+0x1f union_vp=3D0xcdf1a690, uppervp=3D0xd0456bd0, lowervp=3D0xcdef7540 union: upper 0xd0456bd0: tag ufs, type VREG usecount 1, writecount 0, refcount 4 mountedhere 0 flags () v_object 0xcf9c1960 ref 0 pages 5 lock type ufs: EXCL (count 1) by thread 0xc68a2510 (pid 5593)#0 0xc053= 248e at lockmgr+0x573 #1 0xc059f9d4 at vop_stdlock+0x32 #2 0xc071541a at VOP_LOCK_APV+0x76 #3 0xc0681146 at ffs_lock+0x19 #4 0xc071541a at VOP_LOCK_APV+0x76 #5 0xc04ff967 at union_lock+0xda #6 0xc071541a at VOP_LOCK_APV+0x76 #7 0xc05b793a at vn_lock+0x67 #8 0xc05ab84b at vget+0x77 #9 0xc04fab14 at union_nodeget+0x682 #10 0xc04fd98a at union_lookup+0x5e6 #11 0xc0712034 at VOP_LOOKUP_APV+0x76 #12 0xc05a1588 at lookup+0x343 #13 0xc05a21f3 at namei+0x330 #14 0xc0522983 at kern_execve+0x1e4 #15 0xc05236ee at execve+0x52 #16 0xc06fc295 at syscall+0x163 #17 0xc06e5fdf at Xint0x80_syscall+0x1f ino 2805716, on dev da0s1e union: lower 0xcdef7540: tag null, type VREG usecount 1, writecount 0, refcount 1 mountedhere 0 flags () v_object 0xcf9544b0 ref 0 pages 5 #0 0xc053248e at lockmgr+0x573 #1 0xc059f9d4 at vop_stdlock+0x32 #2 0xc071541a at VOP_LOCK_APV+0x76 #3 0xc0681146 at ffs_lock+0x19 #4 0xc071541a at VOP_LOCK_APV+0x76 #5 0xc05b793a at vn_lock+0x67 #6 0xc05ab84b at vget+0x77 #7 0xc059c93c at cache_lookup+0xe7 #8 0xc059d28f at vfs_cache_lookup+0xad #9 0xc0712034 at VOP_LOOKUP_APV+0x76 #10 0xc04f50a1 at null_lookup+0x6c #11 0xc0712034 at VOP_LOOKUP_APV+0x76 #12 0xc04fd762 at union_lookup+0x3be #13 0xc0712034 at VOP_LOOKUP_APV+0x76 #14 0xc05a1588 at lookup+0x343 #15 0xc05a21f3 at namei+0x330 #16 0xc0522983 at kern_execve+0x1e4 #17 0xc05236ee at execve+0x52 vp=3D0xcdef7540, lowervp=3D0xcdef73f0 db> db> show allpcpu Current CPU: 1 cpuid =3D 0 curthread =3D 0xc63caa20: pid 13 "idle: cpu0" curpcb =3D 0xea408d90 fpcurthread =3D none idlethread =3D 0xc63caa20: pid 13 "idle: cpu0" APIC ID =3D 0 currentldt =3D 0x50 spin locks held: cpuid =3D 1 curthread =3D 0xc68a2510: pid 5593 "chroot" curpcb =3D 0xee22bd90 fpcurthread =3D none idlethread =3D 0xc63ca870: pid 12 "idle: cpu1" APIC ID =3D 1 currentldt =3D 0x50 spin locks held: cpuid =3D 2 curthread =3D 0xc63ca6c0: pid 11 "idle: cpu2" curpcb =3D 0xea402d90 fpcurthread =3D none idlethread =3D 0xc63ca6c0: pid 11 "idle: cpu2" APIC ID =3D 2 currentldt =3D 0x50 spin locks held: exclusive spin mutex sio r =3D 0 (0xc080f588) locked @ dev/sio/sio.c:1390 cpuid =3D 3 curthread =3D 0xc63cabd0: pid 14 "swi4: clock sio" curpcb =3D 0xea40bd90 fpcurthread =3D none idlethread =3D 0xc63ca510: pid 10 "idle: cpu3" APIC ID =3D 3 currentldt =3D 0x50 spin locks held: db> Kris --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETmKpWry0BWjoQKURAivQAJ940gnTqBuYuzfztggorUD0wetx5gCg6joJ 4rCS7EnINCZqPVUu4CpfQsc= =u31v -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy-- From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 20:09:06 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A86C416A40E for ; Tue, 25 Apr 2006 20:09:06 +0000 (UTC) (envelope-from cole@opteqint.net) Received: from elektra.opteqint.net (elektra.opteqint.net [209.25.178.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A35443D45 for ; Tue, 25 Apr 2006 20:09:06 +0000 (GMT) (envelope-from cole@opteqint.net) Received: from [196.47.3.44] (helo=deadmind) by elektra.opteqint.net with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.52 (FreeBSD)) id 1FYTtZ-000IJc-OM for freebsd-hackers@freebsd.org; Tue, 25 Apr 2006 13:12:27 -0700 From: "Cole" To: Date: Tue, 25 Apr 2006 22:10:55 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcZopFv2g/gorNnFRs6RXPYzrNKoSQ== Message-Id: <20060425200906.7A35443D45@mx1.FreeBSD.org> Subject: Keyboard Boot Disable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cole@opteqint.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 20:09:08 -0000 Hi. I have a large amount of servers, and the problem is, that when I need to plug a keyboard into them, the keyboard is disabled since they werent booted with a keyboard. I was wondering if anyone has some idea of how to disable the keyboard probe at boot and make it so that the OS thinks that the keyboard is present even if its not plugged in, so that a keyboard can be plugged in at any stage, and will function normally. Im speaking specifically for ps2 keyboards. Is this even possible, or are there architecture problems or something else relating to this that would make this impossible? If this is possible, could someone please point me in the correct direction as to which code I would need to look at to make this possible? Regards /Cole From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 20:13:00 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 887D816A401 for ; Tue, 25 Apr 2006 20:13:00 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34FA143D48 for ; Tue, 25 Apr 2006 20:12:59 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k3PKCxpJ025181; Tue, 25 Apr 2006 13:12:59 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k3PKCxU3025180; Tue, 25 Apr 2006 13:12:59 -0700 Date: Tue, 25 Apr 2006 13:12:59 -0700 From: Brooks Davis To: Cole Message-ID: <20060425201259.GA24568@odin.ac.hmc.edu> References: <20060425200906.7A35443D45@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <20060425200906.7A35443D45@mx1.FreeBSD.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-hackers@freebsd.org Subject: Re: Keyboard Boot Disable 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, 25 Apr 2006 20:13:00 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 10:10:55PM +0200, Cole wrote: > Hi. >=20 > I have a large amount of servers, and the problem is, that when I need > to plug a keyboard into them, the keyboard is disabled since they > werent booted with a keyboard. > > I was wondering if anyone has some idea of how to disable the keyboard > probe at boot and make it so that the OS thinks that the keyboard is > present even if its not plugged in, so that a keyboard can be plugged > in at any stage, and will function normally. > > Im speaking specifically for ps2 keyboards. Is this even possible, or > are there architecture problems or something else relating to this > that would make this impossible? > > If this is possible, could someone please point me in the correct > direction as to which code I would need to look at to make this > possible? What version of FreeBSD are you running? This hasn't been the case by default for ages. As a warning, PS2 keyboards are not electricaly designed to be hotplug so you may blow your machine up by doing this (says someone who does it all the time). -- Brooks --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEToLKXY6L6fI4GtQRAgIVAJ4mzFWJth2nwYbhMti2O12HIkAF9wCg38zG hJJJ1ZRY0o5buF4uTXISsxw= =JnjT -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 20:20:14 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5442316A401 for ; Tue, 25 Apr 2006 20:20:14 +0000 (UTC) (envelope-from cole@opteqint.net) Received: from elektra.opteqint.net (elektra.opteqint.net [209.25.178.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50F9143D75 for ; Tue, 25 Apr 2006 20:20:09 +0000 (GMT) (envelope-from cole@opteqint.net) Received: from [196.47.3.44] (helo=deadmind) by elektra.opteqint.net with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.52 (FreeBSD)) id 1FYU4G-000IKl-Nt; Tue, 25 Apr 2006 13:23:30 -0700 From: "Cole" To: "'Brooks Davis'" Date: Tue, 25 Apr 2006 22:22:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcZopR9C+g666wW5RKymg9hk74q4RgAAKBIA In-Reply-To: <20060425201259.GA24568@odin.ac.hmc.edu> Message-Id: <20060425202009.50F9143D75@mx1.FreeBSD.org> Cc: freebsd-hackers@freebsd.org Subject: RE: Keyboard Boot Disable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cole@opteqint.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 20:20:15 -0000 Hi. I realised I forgot the version after I mailed. Im speaking about FreeBSD 4.11. Also by blowing the machine up, what exactly do you mean? You end up blowing the motherboard? Or the keyboard? Or specifically what? Regards /Cole -----Original Message----- From: Brooks Davis [mailto:brooks@one-eyed-alien.net] Sent: Tuesday, April 25, 2006 10:13 PM To: Cole Cc: freebsd-hackers@freebsd.org Subject: Re: Keyboard Boot Disable On Tue, Apr 25, 2006 at 10:10:55PM +0200, Cole wrote: > Hi. > > I have a large amount of servers, and the problem is, that when I need > to plug a keyboard into them, the keyboard is disabled since they > werent booted with a keyboard. > > I was wondering if anyone has some idea of how to disable the keyboard > probe at boot and make it so that the OS thinks that the keyboard is > present even if its not plugged in, so that a keyboard can be plugged > in at any stage, and will function normally. > > Im speaking specifically for ps2 keyboards. Is this even possible, or > are there architecture problems or something else relating to this > that would make this impossible? > > If this is possible, could someone please point me in the correct > direction as to which code I would need to look at to make this > possible? What version of FreeBSD are you running? This hasn't been the case by default for ages. As a warning, PS2 keyboards are not electricaly designed to be hotplug so you may blow your machine up by doing this (says someone who does it all the time). -- Brooks From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 20:45:12 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E33C316A448 for ; Tue, 25 Apr 2006 20:45:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7CC143D82 for ; Tue, 25 Apr 2006 20:45:05 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k3PKj1B8063652; Tue, 25 Apr 2006 16:45:02 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org, cole@opteqint.net Date: Tue, 25 Apr 2006 16:41:26 -0400 User-Agent: KMail/1.9.1 References: <20060425200906.7A35443D45@mx1.FreeBSD.org> In-Reply-To: <20060425200906.7A35443D45@mx1.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604251641.27767.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1425/Tue Apr 25 08:09:41 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.1 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Subject: Re: Keyboard Boot Disable 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, 25 Apr 2006 20:45:13 -0000 On Tuesday 25 April 2006 16:10, Cole wrote: > Hi. > > I have a large amount of servers, and the problem is, that when I need to plug a keyboard into them, > the keyboard is disabled since they werent booted with a keyboard. > > I was wondering if anyone has some idea of how to disable the keyboard probe at boot and make it so > that the OS thinks that the keyboard is present even if its not plugged in, so that a keyboard can > be plugged in at any stage, and will function normally. > > Im speaking specifically for ps2 keyboards. Is this even possible, or are there architecture > problems or something else relating to this that would make this impossible? > > If this is possible, could someone please point me in the correct direction as to which code I would > need to look at to make this possible? Just take out the 'flags 0x1' part from the 'device atkbd' line in your kernel config line. Alternatively, make sure you have this in /boot/loader.conf: userconfig_script_load="YES" And then put these lines in /boot/kernel.conf: enable atkbd0 irq atkbd0 1 flags atkbd0 0 quit -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 21:06:28 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B85616A403 for ; Tue, 25 Apr 2006 21:06:28 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8048943D45 for ; Tue, 25 Apr 2006 21:06:27 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k3PL6QXJ032711; Tue, 25 Apr 2006 14:06:27 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k3PL6QmS032710; Tue, 25 Apr 2006 14:06:26 -0700 Date: Tue, 25 Apr 2006 14:06:26 -0700 From: Brooks Davis To: Cole Message-ID: <20060425210626.GB24568@odin.ac.hmc.edu> References: <20060425201259.GA24568@odin.ac.hmc.edu> <200604252020.k3PKK9IS007800@multivac.one-eyed-alien.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K8nIJk4ghYZn606h" Content-Disposition: inline In-Reply-To: <200604252020.k3PKK9IS007800@multivac.one-eyed-alien.net> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-hackers@freebsd.org Subject: Re: Keyboard Boot Disable 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, 25 Apr 2006 21:06:28 -0000 --K8nIJk4ghYZn606h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 10:22:01PM +0200, Cole wrote: > I realised I forgot the version after I mailed. Im speaking about > FreeBSD 4.11. Also by blowing the machine up, what exactly do you > mean? You end up blowing the motherboard? Or the keyboard? Or > specifically what? On 4.x you can remove the default flags from they atkbd entry and I think that will do it. See the atkbd(4) manpage for details. Hot plugging or unplugging they keyboard can damage the motherboard or keyboard. -- Brooks >=20 > Regards > /Cole=20 >=20 > -----Original Message----- > From: Brooks Davis [mailto:brooks@one-eyed-alien.net]=20 > Sent: Tuesday, April 25, 2006 10:13 PM > To: Cole > Cc: freebsd-hackers@freebsd.org > Subject: Re: Keyboard Boot Disable >=20 > On Tue, Apr 25, 2006 at 10:10:55PM +0200, Cole wrote: > > Hi. > >=20 > > I have a large amount of servers, and the problem is, that when I need > > to plug a keyboard into them, the keyboard is disabled since they > > werent booted with a keyboard. > > > > I was wondering if anyone has some idea of how to disable the keyboard > > probe at boot and make it so that the OS thinks that the keyboard is > > present even if its not plugged in, so that a keyboard can be plugged > > in at any stage, and will function normally. > > > > Im speaking specifically for ps2 keyboards. Is this even possible, or > > are there architecture problems or something else relating to this > > that would make this impossible? > > > > If this is possible, could someone please point me in the correct > > direction as to which code I would need to look at to make this > > possible? >=20 > What version of FreeBSD are you running? This hasn't been the case by > default for ages. As a warning, PS2 keyboards are not electricaly > designed to be hotplug so you may blow your machine up by doing this > (says someone who does it all the time). >=20 > -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --K8nIJk4ghYZn606h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFETo9SXY6L6fI4GtQRAvSqAJ4picr+sMvdmgIq3YdijSZNZFZzcACgrhwL xgL0dVHJcfEcAkrnA1qKfkg= =GEDR -----END PGP SIGNATURE----- --K8nIJk4ghYZn606h-- From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 21:51:51 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22DA416A42B for ; Tue, 25 Apr 2006 21:51:51 +0000 (UTC) (envelope-from cole@opteqint.net) Received: from elektra.opteqint.net (elektra.opteqint.net [209.25.178.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DEA143D83 for ; Tue, 25 Apr 2006 21:51:44 +0000 (GMT) (envelope-from cole@opteqint.net) Received: from [196.47.3.44] (helo=deadmind) by elektra.opteqint.net with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.52 (FreeBSD)) id 1FYVUt-000IXs-Ru for freebsd-hackers@freebsd.org; Tue, 25 Apr 2006 14:55:05 -0700 From: "Cole" To: Date: Tue, 25 Apr 2006 23:53:37 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20060425210626.GB24568@odin.ac.hmc.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcZorJf5A+uPnfLiTFK5pcv5rSrbRgABgL5w Message-Id: <20060425215144.2DEA143D83@mx1.FreeBSD.org> Subject: RE: Keyboard Boot Disable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cole@opteqint.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 21:51:51 -0000 Hi. Thanks to both you and John Baldwin for the reply. This really does help. Thanks for all the effort. Regards /Cole -----Original Message----- From: Brooks Davis [mailto:brooks@one-eyed-alien.net] Sent: Tuesday, April 25, 2006 11:06 PM To: Cole Cc: 'Brooks Davis'; freebsd-hackers@freebsd.org Subject: Re: Keyboard Boot Disable On Tue, Apr 25, 2006 at 10:22:01PM +0200, Cole wrote: > I realised I forgot the version after I mailed. Im speaking about > FreeBSD 4.11. Also by blowing the machine up, what exactly do you > mean? You end up blowing the motherboard? Or the keyboard? Or > specifically what? On 4.x you can remove the default flags from they atkbd entry and I think that will do it. See the atkbd(4) manpage for details. Hot plugging or unplugging they keyboard can damage the motherboard or keyboard. -- Brooks > > Regards > /Cole > > -----Original Message----- > From: Brooks Davis [mailto:brooks@one-eyed-alien.net] > Sent: Tuesday, April 25, 2006 10:13 PM > To: Cole > Cc: freebsd-hackers@freebsd.org > Subject: Re: Keyboard Boot Disable > > On Tue, Apr 25, 2006 at 10:10:55PM +0200, Cole wrote: > > Hi. > > > > I have a large amount of servers, and the problem is, that when I need > > to plug a keyboard into them, the keyboard is disabled since they > > werent booted with a keyboard. > > > > I was wondering if anyone has some idea of how to disable the keyboard > > probe at boot and make it so that the OS thinks that the keyboard is > > present even if its not plugged in, so that a keyboard can be plugged > > in at any stage, and will function normally. > > > > Im speaking specifically for ps2 keyboards. Is this even possible, or > > are there architecture problems or something else relating to this > > that would make this impossible? > > > > If this is possible, could someone please point me in the correct > > direction as to which code I would need to look at to make this > > possible? > > What version of FreeBSD are you running? This hasn't been the case by > default for ages. As a warning, PS2 keyboards are not electricaly > designed to be hotplug so you may blow your machine up by doing this > (says someone who does it all the time). > > -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 22:27:57 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7474D16A401 for ; Tue, 25 Apr 2006 22:27:57 +0000 (UTC) (envelope-from luke@foolishgames.com) Received: from mail.foolishgames.com (mail.foolishgames.com [206.222.28.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEBBC43D46 for ; Tue, 25 Apr 2006 22:27:56 +0000 (GMT) (envelope-from luke@foolishgames.com) Received: from [192.168.0.150] (24-176-58-245.dhcp.klmz.mi.charter.com [24.176.58.245]) (authenticated bits=0) by mail.foolishgames.com (8.13.6/8.13.3) with ESMTP id k3PMRs7F032863 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Tue, 25 Apr 2006 18:27:55 -0400 (EDT) (envelope-from luke@foolishgames.com) Message-Id: X-Habeas-Swe-6: email in exchange for a license for this Habeas Content-Transfer-Encoding: 7bit X-Habeas-Swe-3: like Habeas SWE (tm) Date: Tue, 25 Apr 2006 18:27:53 -0400 X-Habeas-Swe-8: Message (HCM) and not spam. Please report use of this From: Lucas Holt X-Habeas-Swe-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-Swe-2: brightly anticipated In-Reply-To: <20060425202009.50F9143D75@mx1.FreeBSD.org> References: <20060425202009.50F9143D75@mx1.FreeBSD.org> To: cole@opteqint.net X-Habeas-Swe-7: warrant mark warrants that this is a Habeas Compliant Mime-Version: 1.0 (Apple Message framework v749.3) X-Habeas-Swe-4: Copyright 2002 Habeas (tm) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed X-Habeas-Swe-1: winter into spring X-Habeas-Swe-9: mark in spam to . X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: ClamAV 0.88.1/1425/Tue Apr 25 08:09:41 2006 on mail.foolishgames.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: Keyboard Boot Disable 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, 25 Apr 2006 22:27:57 -0000 I worked with someone once that said they blew out the ps/2 port on the motherboard. As an alternative, maybe you could consider a kvm switch? Luke On Apr 25, 2006, at 4:22 PM, Cole wrote: > Hi. > > I realised I forgot the version after I mailed. Im speaking about > FreeBSD 4.11. Also by blowing the > machine up, what exactly do you mean? You end up blowing the > motherboard? Or the keyboard? Or > specifically what? > > Regards > /Cole > > -----Original Message----- > From: Brooks Davis [mailto:brooks@one-eyed-alien.net] > Sent: Tuesday, April 25, 2006 10:13 PM > To: Cole > Cc: freebsd-hackers@freebsd.org > Subject: Re: Keyboard Boot Disable > > On Tue, Apr 25, 2006 at 10:10:55PM +0200, Cole wrote: >> Hi. >> >> I have a large amount of servers, and the problem is, that when I >> need >> to plug a keyboard into them, the keyboard is disabled since they >> werent booted with a keyboard. >> >> I was wondering if anyone has some idea of how to disable the >> keyboard >> probe at boot and make it so that the OS thinks that the keyboard is >> present even if its not plugged in, so that a keyboard can be plugged >> in at any stage, and will function normally. >> >> Im speaking specifically for ps2 keyboards. Is this even possible, or >> are there architecture problems or something else relating to this >> that would make this impossible? >> >> If this is possible, could someone please point me in the correct >> direction as to which code I would need to look at to make this >> possible? > > What version of FreeBSD are you running? This hasn't been the case by > default for ages. As a warning, PS2 keyboards are not electricaly > designed to be hotplug so you may blow your machine up by doing this > (says someone who does it all the time). > > -- Brooks > > _______________________________________________ > 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" Lucas Holt Luke@FoolishGames.com ________________________________________________________ FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) FoolishGames.net (Enemy Territory site) From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 07:15:32 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2513216A4DA for ; Wed, 26 Apr 2006 07:15:32 +0000 (UTC) (envelope-from ashok.shrestha@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BBC943D48 for ; Wed, 26 Apr 2006 07:15:31 +0000 (GMT) (envelope-from ashok.shrestha@gmail.com) Received: by nproxy.gmail.com with SMTP id x37so1081190nfc for ; Wed, 26 Apr 2006 00:15:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ZCVHICktMMwL7WKOonGmYxgHcOcvIZef5x2/Vpx3DM4fGOBaSKUmkvY/6+XBhcqoA+h6CJZ3ETkZceStr6Ej3rJl7cyMy5JKwtvu+AeL4YRp04pOzvgOATI47XIGBz9hFTiBTYOOp9iZ+aYFy0CCq0JLzc3wniLsUzR6THygCfM= Received: by 10.49.54.8 with SMTP id g8mr3071640nfk; Tue, 25 Apr 2006 17:21:38 -0700 (PDT) Received: by 10.49.93.3 with HTTP; Tue, 25 Apr 2006 17:21:38 -0700 (PDT) Message-ID: <79e2026f0604251721m2582d89bwead20e7e610fea8c@mail.gmail.com> Date: Tue, 25 Apr 2006 20:21:38 -0400 From: "Ashok Shrestha" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: workstation DNS issue 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, 26 Apr 2006 07:15:32 -0000 My BSD workstation can't resolve names fast. It used to work immediately but all of a sudden it slowed down. The Windows machines are able to resolve names fast. >From the looks of "dig", it's not reading in the nameservers from resolv.conf. Help please. I have FreeBSD 6.0-RELEASE. %less /etc/resolv.conf #search 192.168.1.1 nameserver 204.127.202.19 nameserver 216.148.227.79 nameserver 68.87.68.162 # dig ; <<>> DiG 9.3.1 <<>> ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48493 ;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13 ;; QUESTION SECTION: ;. IN NS ;; ANSWER SECTION: . 447965 IN NS a.root-servers.net. . 447965 IN NS h.root-servers.net. . 447965 IN NS c.root-servers.net. . 447965 IN NS g.root-servers.net. . 447965 IN NS f.root-servers.net. . 447965 IN NS b.root-servers.net. . 447965 IN NS j.root-servers.net. . 447965 IN NS k.root-servers.net. . 447965 IN NS l.root-servers.net. . 447965 IN NS m.root-servers.net. . 447965 IN NS i.root-servers.net. . 447965 IN NS e.root-servers.net. . 447965 IN NS d.root-servers.net. ;; ADDITIONAL SECTION: h.root-servers.net. 569691 IN A 128.63.2.53 c.root-servers.net. 569691 IN A 192.33.4.12 g.root-servers.net. 569691 IN A 192.112.36.4 f.root-servers.net. 569691 IN A 192.5.5.241 b.root-servers.net. 569691 IN A 192.228.79.201 j.root-servers.net. 569691 IN A 192.58.128.30 k.root-servers.net. 569691 IN A 193.0.14.129 l.root-servers.net. 569691 IN A 198.32.64.12 m.root-servers.net. 569691 IN A 202.12.27.33 i.root-servers.net. 569691 IN A 192.36.148.17 e.root-servers.net. 569691 IN A 192.203.230.10 d.root-servers.net. 569691 IN A 128.8.10.90 a.root-servers.net. 569691 IN A 198.41.0.4 ;; Query time: 12 msec ;; SERVER: 68.87.68.162#53(68.87.68.162) ;; WHEN: Tue Apr 25 20:21:38 2006 ;; MSG SIZE rcvd: 436 -- Ashok Shrestha From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 07:27:25 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D922516A400 for ; Wed, 26 Apr 2006 07:27:25 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: from smtpgate4.pacific.net.sg (smtpgate4.pacific.net.sg [203.81.36.24]) by mx1.FreeBSD.org (Postfix) with SMTP id D152D43D45 for ; Wed, 26 Apr 2006 07:27:24 +0000 (GMT) (envelope-from oceanare@pacific.net.sg) Received: (qmail 23095 invoked from network); 26 Apr 2006 07:27:22 -0000 Received: from maxwell6.pacific.net.sg (203.120.90.212) by smtpgate4.pacific.net.sg with SMTP; 26 Apr 2006 07:27:22 -0000 Received: from [192.168.0.107] ([210.24.122.33]) by maxwell6.pacific.net.sg with ESMTP id <20060426072722.BWRT1180.maxwell6.pacific.net.sg@[192.168.0.107]>; Wed, 26 Apr 2006 15:27:22 +0800 Message-ID: <444F20B5.5030302@pacific.net.sg> Date: Wed, 26 Apr 2006 15:26:45 +0800 From: Erich Dollansky Organization: oceanare pte ltd User-Agent: Thunderbird 1.5 (X11/20060422) MIME-Version: 1.0 To: Ashok Shrestha References: <79e2026f0604251721m2582d89bwead20e7e610fea8c@mail.gmail.com> In-Reply-To: <79e2026f0604251721m2582d89bwead20e7e610fea8c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: workstation DNS issue 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, 26 Apr 2006 07:27:25 -0000 Hi, Ashok Shrestha wrote: > > %less /etc/resolv.conf > #search 192.168.1.1 > nameserver 204.127.202.19 > nameserver 216.148.227.79 > nameserver 68.87.68.162 > before going deeper. Did you try to change the sequence of these entries? Try it and compare then the results. Erich From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 07:44:10 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D935516A406 for ; Wed, 26 Apr 2006 07:44:10 +0000 (UTC) (envelope-from cristiano.deana@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F1A143D48 for ; Wed, 26 Apr 2006 07:44:10 +0000 (GMT) (envelope-from cristiano.deana@gmail.com) Received: by wproxy.gmail.com with SMTP id i12so1381778wra for ; Wed, 26 Apr 2006 00:44:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j/Cso6Y9nVWV1rsrrWN5v7ncHsCMh4ZSS4HKmrfcSFJbUPkP1tiZbsRWxec5aJIi8q9wosc2t/623IwEIQcLR52mibzEWKkF3j89AEWaELPkaRu3KgxKlc6j+iXrLYUy3WN7W7737J9iycFxDS/xvzmcuGyntRUeh4e2x9T2S64= Received: by 10.54.110.5 with SMTP id i5mr6919635wrc; Wed, 26 Apr 2006 00:38:09 -0700 (PDT) Received: by 10.54.123.11 with HTTP; Wed, 26 Apr 2006 00:38:09 -0700 (PDT) Message-ID: Date: Wed, 26 Apr 2006 09:38:09 +0200 From: "Cristiano Deana" To: freebsd-hackers@freebsd.org In-Reply-To: <79e2026f0604251721m2582d89bwead20e7e610fea8c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <79e2026f0604251721m2582d89bwead20e7e610fea8c@mail.gmail.com> Subject: Re: workstation DNS issue 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, 26 Apr 2006 07:44:10 -0000 2006/4/26, Ashok Shrestha : > #search 192.168.1.1 i know it'commented out, btw: 'search' need a domain name, not an ip addres= s > nameserver 204.127.202.19 > nameserver 216.148.227.79 > nameserver 68.87.68.162 are you sure these are public dns? are you allowed to use them from your network? try: dig @204.127.202.19 www.freebsd.org dig @216.148.227.79 www.freebsd.org dig @68.87.68.162 www.freebsd.org What are the answers? -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/ From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 10:45:25 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3748116A404 for ; Wed, 26 Apr 2006 10:45:25 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA03043D46 for ; Wed, 26 Apr 2006 10:45:24 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id E7F22168; Wed, 26 Apr 2006 05:45:23 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 2C2F361C2B; Wed, 26 Apr 2006 05:45:23 -0500 (CDT) Date: Wed, 26 Apr 2006 05:45:23 -0500 From: "Matthew D. Fuller" To: Lucas Holt Message-ID: <20060426104523.GN4202@over-yonder.net> References: <20060425202009.50F9143D75@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-hackers@freebsd.org Subject: Re: Keyboard Boot Disable 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, 26 Apr 2006 10:45:25 -0000 On Tue, Apr 25, 2006 at 06:27:53PM -0400 I heard the voice of Lucas Holt, and lo! it spake thus: > > I worked with someone once that said they blew out the ps/2 port on > the motherboard. I've seen this happen several times. Some boards were later revived by judicious use of a soldering iron, but not all. These days, I'd think USB keyboards would be easier than KVM switches. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 07:47:58 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABA5A16A40B for ; Wed, 26 Apr 2006 07:47:58 +0000 (UTC) (envelope-from hongz@promisechina.com) Received: from mxdxt7.hichina.com (mxdxt7.hichina.com [218.244.143.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ABDD43D45 for ; Wed, 26 Apr 2006 07:47:55 +0000 (GMT) (envelope-from hongz@promisechina.com) Received: from 222.128.58.137 (HELO hongzhao) (envelope-from hongz@promisechina.com) by mxdxt7.hichina.com (quarkmail-1.2.1) with ESMTP id S5174662AbWDZHrn for freebsd-hackers@freebsd.org; Wed, 26 Apr 2006 15:47:43 +0800 From: To: Date: Wed, 26 Apr 2006 15:47:38 +0800 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 thread-index: AcZpBbBXWUT5eC/0Rhqx5WlSX+/XTg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Message-ID: <1146037663$82118$49670145@hongz@promisechina.com> X-Mailman-Approved-At: Wed, 26 Apr 2006 11:34:14 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Can kldload trigger pci bus rescan? 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, 26 Apr 2006 07:47:59 -0000 Hi guys: I tried to use kldload to load our HBA driver. But the driver's pci probe function can not find the HBA card! Does it mean that kldload can not trigger pci bus rescan? If so, what should I do for triggering pci bus rescan after loading our pci driver? Thank you for your help! Hong From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 12:10:47 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FCA416A415 for ; Wed, 26 Apr 2006 12:10:47 +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 D661743D46 for ; Wed, 26 Apr 2006 12:10:44 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp215-147.lns1.adl2.internode.on.net [203.122.215.147]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k3QCAdXW043562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Apr 2006 21:40:40 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Wed, 26 Apr 2006 21:40:23 +0930 User-Agent: KMail/1.9.1 References: <1146037663$82118$49670145@hongz@promisechina.com> In-Reply-To: <1146037663$82118$49670145@hongz@promisechina.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2222438.ob7xXpjV6P"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200604262140.35941.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: hongz@promisechina.com Subject: Re: Can kldload trigger pci bus rescan? 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, 26 Apr 2006 12:10:47 -0000 --nextPart2222438.ob7xXpjV6P Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 26 April 2006 17:17, hongz@promisechina.com wrote: > I tried to use kldload to load our HBA driver. But the driver's pci probe > function can not find the HBA card! Does it mean that kldload can not > trigger pci bus rescan? If so, what should I do for triggering pci bus > rescan after loading our pci driver? It will reprobe.. Well, all of the probe functions in the kernel will be called again. =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 --nextPart2222438.ob7xXpjV6P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBET2M75ZPcIHs/zowRAiUeAKCHAgk36tiwmZDjRGL+qReBwfa86gCcCAiT wGegtMojweLgEi9sn8gTXZ4= =IK1Z -----END PGP SIGNATURE----- --nextPart2222438.ob7xXpjV6P-- From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 12:23:38 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A3DE16A401; Wed, 26 Apr 2006 12:23:38 +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 7CE9743D6D; Wed, 26 Apr 2006 12:23:28 +0000 (GMT) (envelope-from daichi@freebsd.org) Received: from [192.168.1.101] (dullmdaler.ongs.co.jp [202.216.232.62]) by natial.ongs.co.jp (Postfix) with ESMTP id 45B0A244C19; Wed, 26 Apr 2006 21:23:27 +0900 (JST) Message-ID: <444F663D.9060905@freebsd.org> Date: Wed, 26 Apr 2006 21:23:25 +0900 From: Daichi GOTO User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: Kris Kennaway References: <43E5D052.3020207@freebsd.org> <43E656C7.8040302@freesbie.org> <43E6D5C8.4050405@freebsd.org> <43E71485.5040901@freesbie.org> <43E73330.8070101@freebsd.org> <43EB4C00.2030101@freebsd.org> <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> <444E13BA.8050902@freebsd.org> <20060425175553.GA56011@xor.obsecurity.org> In-Reply-To: <20060425175553.GA56011@xor.obsecurity.org> Content-Type: multipart/mixed; boundary="------------000008020900090004010903" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ozawa@ongs.co.jp, freebsd-hackers@freebsd.org, Daichi GOTO , freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Alexander@Leidinger.net, Dario Freni Subject: Re: [ANN] unionfs patchset-11 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, 26 Apr 2006 12:23:38 -0000 This is a multi-part message in MIME format. --------------000008020900090004010903 Content-Type: text/plain; charset=Shift_JIS Content-Transfer-Encoding: 7bit Kris Kennaway wrote: > I still get a panic immediately upon use: OKey. Maybe we fixed your panic. Please try attached file as /usr/src/sys/fs/unionfs/union_vnops.c :) -- Daichi GOTO, http://people.freebsd.org/~daichi --------------000008020900090004010903-- From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 13:26:46 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9208316A403; Wed, 26 Apr 2006 13:26:46 +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 0246A43D5D; Wed, 26 Apr 2006 13:26:34 +0000 (GMT) (envelope-from daichi@freebsd.org) Received: from [192.168.1.101] (dullmdaler.ongs.co.jp [202.216.232.62]) by natial.ongs.co.jp (Postfix) with ESMTP id BCECF244C19; Wed, 26 Apr 2006 22:26:33 +0900 (JST) Message-ID: <444F7507.5090306@freebsd.org> Date: Wed, 26 Apr 2006 22:26:31 +0900 From: Daichi GOTO User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: Robert Watson References: <43E5D052.3020207@freebsd.org> <43E656C7.8040302@freesbie.org> <43E6D5C8.4050405@freebsd.org> <43E71485.5040901@freesbie.org> <43E73330.8070101@freebsd.org> <43EB4C00.2030101@freebsd.org> <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> <444E13BA.8050902@freebsd.org> <20060425133412.V51337@fledge.watson.org> In-Reply-To: <20060425133412.V51337@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ozawa@ongs.co.jp, freebsd-hackers@freebsd.org, Daichi GOTO , freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Alexander@Leidinger.net, Dario Freni Subject: Re: [ANN] unionfs patchset-11 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, 26 Apr 2006 13:26:47 -0000 Robert Watson wrote: >> If someone knows the details of vnode's lock status via >> VOP_GETWRITEMOUNT, Please teach us (daichi, ozawa). We >> want to know the details. > > Basically, file systems supporting full file system snapshots (UFS) Oh thanks rwatson! It is very useful. Thank you very much :) -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 13:43:11 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C28D716A400; Wed, 26 Apr 2006 13:43:11 +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 388CF43D72; Wed, 26 Apr 2006 13:43:09 +0000 (GMT) (envelope-from daichi@freebsd.org) Received: from [192.168.1.101] (dullmdaler.ongs.co.jp [202.216.232.62]) by natial.ongs.co.jp (Postfix) with ESMTP id D9145244C19; Wed, 26 Apr 2006 22:43:07 +0900 (JST) Message-ID: <444F78E9.5070409@freebsd.org> Date: Wed, 26 Apr 2006 22:43:05 +0900 From: Daichi GOTO User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: Munehiro Matsuda References: <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> <444E13BA.8050902@freebsd.org> <20060426.004555.21603794.haro@h4.dion.ne.jp> In-Reply-To: <20060426.004555.21603794.haro@h4.dion.ne.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ozawa@ongs.co.jp, freebsd-hackers@freebsd.org, daichi@freebsd.org, freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Alexander@Leidinger.net, saturnero@freesbie.org Subject: Re: [ANN] unionfs patchset-11 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, 26 Apr 2006 13:43:11 -0000 Munehiro Matsuda wrote: > How about this? Great! I just updated site. Thanks Matsuda-san :) http://people.freebsd.org/~daichi/unionfs/ -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 14:13:30 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ACB616A401; Wed, 26 Apr 2006 14:13:30 +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 D177343D45; Wed, 26 Apr 2006 14:13:29 +0000 (GMT) (envelope-from daichi@freebsd.org) Received: from [192.168.1.101] (dullmdaler.ongs.co.jp [202.216.232.62]) by natial.ongs.co.jp (Postfix) with ESMTP id D26F9244C19; Wed, 26 Apr 2006 23:13:28 +0900 (JST) Message-ID: <444F8006.6010609@freebsd.org> Date: Wed, 26 Apr 2006 23:13:26 +0900 From: Daichi GOTO User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: Fabian Keil References: <43E5D052.3020207@freebsd.org> <43E656C7.8040302@freesbie.org> <43E6D5C8.4050405@freebsd.org> <43E71485.5040901@freesbie.org> <43E73330.8070101@freebsd.org> <43EB4C00.2030101@freebsd.org> <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> <444E13BA.8050902@freebsd.org> <20060425175553.GA56011@xor.obsecurity.org> <444F663D.9060905@freebsd.org> <20060426151557.3a46dfbd@localhost> In-Reply-To: <20060426151557.3a46dfbd@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ozawa@ongs.co.jp, freebsd-hackers@freebsd.org, Daichi GOTO , freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Kris Kennaway Subject: Re: [ANN] unionfs patchset-11 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, 26 Apr 2006 14:13:30 -0000 Fabian Keil wrote: > Looks like the attachment was filtered. > > I got a different panic on > FreeBSD TP51.local 6.1-RC FreeBSD 6.1-RC #22: Wed Apr 26 13:25:57 CEST 2006 > after mounting an empty directory above /usr/src, > applying a patch and using find's -type f option shortly afterwards > to show the files in the directory on top: Muuuu... We tried as follow, but we could not get the same error :( It looks very fine. # cd /usr/ # mkdir hoge # mount_unionfs -c transparent -o noatime /usr/hoge /usr/src # cd src # find . -type f &; find . -type f &; find . -type f & # cd /usr/ # umount /usr/src # rm -r hoge # mkdir hoge # mount_unionfs -c transparent /usr/hoge /usr/src # cd src # find . -type f &; find . -type f &; find . -type f & What do you make of it? -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 15:04:01 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BFED16A400 for ; Wed, 26 Apr 2006 15:04:00 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3627E43D6B for ; Wed, 26 Apr 2006 15:03:49 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 27181 invoked from network); 26 Apr 2006 15:03:48 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[217.50.131.123]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 26 Apr 2006 15:03:48 -0000 Date: Wed, 26 Apr 2006 17:03:35 +0200 From: Fabian Keil To: Daichi GOTO Message-ID: <20060426170335.40e95f36@localhost> In-Reply-To: <444F8006.6010609@freebsd.org> References: <43E5D052.3020207@freebsd.org> <43E656C7.8040302@freesbie.org> <43E6D5C8.4050405@freebsd.org> <43E71485.5040901@freesbie.org> <43E73330.8070101@freebsd.org> <43EB4C00.2030101@freebsd.org> <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> <444E13BA.8050902@freebsd.org> <20060425175553.GA56011@xor.obsecurity.org> <444F663D.9060905@freebsd.org> <20060426151557.3a46dfbd@localhost> <444F8006.6010609@freebsd.org> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.17; i386-portbld-freebsd6.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2006-08-19.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_68ckTcMHBgdp8QMVSFwD_xx; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, ozawa@ongs.co.jp, Kris Kennaway Subject: Re: [ANN] unionfs patchset-11 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, 26 Apr 2006 15:04:01 -0000 --Sig_68ckTcMHBgdp8QMVSFwD_xx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Daichi GOTO wrote: > Fabian Keil wrote: > > Looks like the attachment was filtered. > >=20 > > I got a different panic on > > FreeBSD TP51.local 6.1-RC FreeBSD 6.1-RC #22: Wed Apr 26 13:25:57 CEST = 2006 > > after mounting an empty directory above /usr/src, > > applying a patch and using find's -type f option shortly afterwards > > to show the files in the directory on top:=20 >=20 > Muuuu... >=20 > We tried as follow, but we could not get the same error :( > It looks very fine. >=20 > # cd /usr/ > # mkdir hoge > # mount_unionfs -c transparent -o noatime /usr/hoge /usr/src > # cd src > # find . -type f &; find . -type f &; find . -type f & > # cd /usr/ > # umount /usr/src > # rm -r hoge > # mkdir hoge > # mount_unionfs -c transparent /usr/hoge /usr/src > # cd src > # find . -type f &; find . -type f &; find . -type f & >=20 > What do you make of it? I didn't give you enough information, sorry. What I'm doing is: fk@TP51 ~ $mkdir /tmp/unionfs-src/ fk@TP51 ~ $mount_unionfs /tmp/unionfs-src /usr/src fk@TP51 ~ $cd /usr/src fk@TP51 /usr/src $patch -p1 < ~/test/combi.patch fk@TP51 /usr/src $find /tmp/unionfs-src/ -type f [Panic] ~/test/combi.patch changes about twenty files. I'm not sure if it's important, but /usr was mounted readonly and /tmp is a different file system. My kernel has options WITNESS enabled. The last step doesn't seem to be the only way to get a problem, I tried the first four steps again and umount /usr/src resulted in a reboot. I was running Xorg and didn't get a panic, but I'll try again without Xorg, to see if it's the same problem. Fabian --=20 http://www.fabiankeil.de/ --Sig_68ckTcMHBgdp8QMVSFwD_xx Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFET4vRjV8GA4rMKUQRAnwOAJ9qyZQbtmBmoo6z1flOh0NCFC1AgQCeJwAk 1B43U7YoKn8xeCe/pyrXpM8= =T+GK -----END PGP SIGNATURE----- --Sig_68ckTcMHBgdp8QMVSFwD_xx-- From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 15:46:11 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C05316A408 for ; Wed, 26 Apr 2006 15:46:11 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DCFB43D4C for ; Wed, 26 Apr 2006 15:46:07 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 12094 invoked from network); 26 Apr 2006 15:46:05 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[217.50.131.123]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 26 Apr 2006 15:46:05 -0000 Date: Wed, 26 Apr 2006 17:45:53 +0200 From: Fabian Keil To: Daichi GOTO Message-ID: <20060426174553.43863486@localhost> In-Reply-To: <20060426170335.40e95f36@localhost> References: <43E5D052.3020207@freebsd.org> <43E656C7.8040302@freesbie.org> <43E6D5C8.4050405@freebsd.org> <43E71485.5040901@freesbie.org> <43E73330.8070101@freebsd.org> <43EB4C00.2030101@freebsd.org> <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> <444E13BA.8050902@freebsd.org> <20060425175553.GA56011@xor.obsecurity.org> <444F663D.9060905@freebsd.org> <20060426151557.3a46dfbd@localhost> <444F8006.6010609@freebsd.org> <20060426170335.40e95f36@localhost> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.17; i386-portbld-freebsd6.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2006-08-19.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_QW2V0/lsfWnLa0mc26Lg1+/"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, ozawa@ongs.co.jp, Kris Kennaway Subject: Re: [ANN] unionfs patchset-11 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, 26 Apr 2006 15:46:11 -0000 --Sig_QW2V0/lsfWnLa0mc26Lg1+/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Fabian Keil wrote: > Daichi GOTO wrote: >=20 > > Fabian Keil wrote: > > > I got a different panic on > > > FreeBSD TP51.local 6.1-RC FreeBSD 6.1-RC #22: Wed Apr 26 13:25:57 CES= T 2006 > > > after mounting an empty directory above /usr/src, > > > applying a patch and using find's -type f option shortly afterwards > > > to show the files in the directory on top:=20 > > We tried as follow, but we could not get the same error :( > > It looks very fine. > I didn't give you enough information, sorry. >=20 > What I'm doing is: >=20 > fk@TP51 ~ $mkdir /tmp/unionfs-src/ > fk@TP51 ~ $mount_unionfs /tmp/unionfs-src /usr/src > fk@TP51 ~ $cd /usr/src > fk@TP51 /usr/src $patch -p1 < ~/test/combi.patch > fk@TP51 /usr/src $find /tmp/unionfs-src/ -type f > [Panic] >=20 > ~/test/combi.patch changes about twenty files. >=20 > I'm not sure if it's important, but /usr was mounted > readonly and /tmp is a different file system. >=20 > My kernel has options WITNESS enabled. >=20 > The last step doesn't seem to be the only way to > get a problem, I tried the first four steps again > and umount /usr/src resulted in a reboot. >=20 > I was running Xorg and didn't get a panic, but I'll > try again without Xorg, to see if it's the same problem. OK, I guess it's the same problem: panic: initiate_write_filepage: dir inum 0 !=3D new 8482 KDB: enter: panic Locked vnodes 0xc359ddd0: tag syncer, type VNON usecount 1, writecount 0, refcount 2 mountedhere 0 flags () lock type syncer: EXCL (count 1) by thread 0xc334ec00 (pid 41) 0xc393a880: tag ufs, type VDIR =20 usecount 1, writecount 0, refcount 3 mountedhere 0 flags () =20 v_object 0xc3746e70 ref 0 pages 0 lock type ufs: EXCL (count 1) by thread 0xc334ec00 (pid 41) ino 8469, on dev ad0s3e exclusive sleep mutex Softdep Lock r =3D 0 (0xc07839c0) locked @ /usr/src/s= ys/ufs/ffs/ffs_softdep.c:3730 exclusive sleep mutex Giant r =3D 0 (0xc072f640) locked @ /usr/src/sys/kern= /vfs_subr.c:1608 Locked vnodes 0xc359ddd0: tag syncer, type VNON usecount 1, writecount 0, refcount 2 mountedhere 0 flags () lock type syncer: EXCL (count 1) by thread 0xc334ec00 (pid 41) 0xc393a880: tag ufs, type VDIR usecount 1, writecount 0, refcount 3 mountedhere 0 flags () v_object 0xc3746e70 ref 0 pages 0 lock type ufs: EXCL (count 1) by thread 0xc334ec00 (pid 41) ino 8469, on dev ad0s3e panic: from debugger Uptime: 2m14s Dumping 511 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 511MB (130656 pages) 495 479 463 447 431 415 399 383 367 351 335= 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h (kgdb) where #0 doadump () at pcpu.h:165 #1 0xc054a865 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:4= 02 #2 0xc054ab27 in panic (fmt=3D0xc06c9423 "from debugger") at /usr/src/sys/= kern/kern_shutdown.c:558 #3 0xc047f523 in db_panic (addr=3D-1068086451, have_addr=3D0, count=3D-1, = modif=3D0xd564b8d8 "") at /usr/src/sys/ddb/db_command.c:438 #4 0xc047f49c in db_command (last_cmdp=3D0xc072b3e4, cmd_table=3D0x0, aux_= cmd_tablep=3D0xc06f28c4, aux_cmd_tablep_end=3D0xc06f28c8) at /usr/src/sys/ddb/db_command.c:350 #5 0xc047f58d in db_command_loop () at /usr/src/sys/ddb/db_command.c:458 #6 0xc048143d in db_trap (type=3D3, code=3D0) at /usr/src/sys/ddb/db_main.= c:221 #7 0xc0564dd7 in kdb_trap (type=3D0, code=3D0, tf=3D0xd564ba24) at /usr/sr= c/sys/kern/subr_kdb.c:473 #8 0xc069e4d2 in trap (frame=3D {tf_fs =3D -1066532856, tf_es =3D 40, tf_ds =3D -714866648, tf_edi = =3D 1, tf_esi =3D -1066511478, tf_ebp =3D -714818964, tf_isp =3D -714818992= , tf_ebx =3D -714818908, tf_edx =3D 0, tf_ecx =3D -1056878592, tf_eax =3D 1= 8, tf_trapno =3D 3, tf_err =3D 0, tf_eip =3D -1068086451, tf_cs =3D 32, tf_= eflags =3D 642, tf_esp =3D -1066558175, tf_ss =3D -1066564882}) at /usr/src= /sys/i386/i386/trap.c:593 #9 0xc068feda in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #10 0xc0564b4d in kdb_enter (msg=3D0x12
) at cp= ufunc.h:60 #11 0xc054aabf in panic (fmt=3D0xc06e538a "%s: dir inum %d !=3D new %d") at= /usr/src/sys/kern/kern_shutdown.c:542 #12 0xc0634021 in initiate_write_filepage (pagedep=3D0xc354bc00, bp=3D0xcd8= 38268) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3834 #13 0xc0633d1c in softdep_disk_io_initiation (bp=3D0xcd838268) at /usr/src/= sys/ufs/ffs/ffs_softdep.c:3740 #14 0xc063c8c4 in ffs_geom_strategy (bo=3D0xc358aa50, bp=3D0xcd838268) at b= uf.h:422 #15 0xc0648db7 in ufs_strategy (ap=3D0x12) at /usr/src/sys/ufs/ufs/ufs_vnop= s.c:1942 #16 0xc06b47c8 in VOP_STRATEGY_APV (vop=3D0xc0719380, a=3D0xd564bb68) at vn= ode_if.c:1796 #17 0xc059965c in bufstrategy (bo=3D0xc393a940, bp=3D0x12) at vnode_if.h:928 #18 0xc05946e6 in bufwrite (bp=3D0xcd838268) at buf.h:415 #19 0xc0594c31 in bawrite (bp=3D0x12) at buf.h:399 #20 0xc063cb82 in ffs_syncvnode (vp=3D0xc393a880, waitfor=3D3) at /usr/src/= sys/ufs/ffs/ffs_vnops.c:256 #21 0xc063b753 in ffs_sync (mp=3D0xc352b400, waitfor=3D3, td=3D0xc334ec00) = at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1143 #22 0xc05a7f42 in sync_fsync (ap=3D0x0) at /usr/src/sys/kern/vfs_subr.c:3086 #23 0xc06b416c in VOP_FSYNC_APV (vop=3D0x12, a=3D0x0) at vnode_if.c:1020 #24 0xc05a59d6 in sync_vnode (bo=3D0xc359de90, td=3D0xc334ec00) at vnode_if= .h:537 #25 0xc05a5cbf in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1676 Before I got the panic I unmounted the layer above /usr/src and used mount to show the result. There were perhaps 5 seconds between umount /usr/src and the panic. Another thing which could be significant or not: After my last mail I closed Xorg and tried to reproduce the panic two times, but couldn't. After a reboot the panic occurred right after the first attempt. Fabian --=20 http://www.fabiankeil.de/ --Sig_QW2V0/lsfWnLa0mc26Lg1+/ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFET5W6jV8GA4rMKUQRAruaAKCjsOc7d6OMCUYtNpGVW4gUFq/9ewCg0G/c Efjt0etLidIbQQH4bSgQJLg= =2VXm -----END PGP SIGNATURE----- --Sig_QW2V0/lsfWnLa0mc26Lg1+/-- From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 16:36:08 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDF7316A402 for ; Wed, 26 Apr 2006 16:36:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id B637343D4C for ; Wed, 26 Apr 2006 16:36:07 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k3QGYanU038886; Wed, 26 Apr 2006 10:34:37 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 26 Apr 2006 10:34:50 -0600 (MDT) Message-Id: <20060426.103450.46658198.imp@bsdimp.com> To: hongz@promisechina.com From: "M. Warner Losh" In-Reply-To: <1146037663$82118$49670145@hongz@promisechina.com> References: <1146037663$82118$49670145@hongz@promisechina.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Can kldload trigger pci bus rescan? 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, 26 Apr 2006 16:36:08 -0000 In message: <1146037663$82118$49670145@hongz@promisechina.com> writes: : I tried to use kldload to load our HBA driver. But the driver's pci probe : function can not find the HBA card! Does it mean that kldload can not : trigger pci bus rescan? If so, what should I do for triggering pci bus : rescan after loading our pci driver? kldload of a driver with a pci attachment will cause all pci busses to reprobe/attach their unattached children automatically. When you say that the driver's probe function can not find the HBA card, what do you mean? That none of the devices presented to it are accepted? Warner From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 16:40:51 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0EF616A401 for ; Wed, 26 Apr 2006 16:40:50 +0000 (UTC) (envelope-from ast@marabu.ch) Received: from oneplusone.ch (oneplusone.ch [212.55.208.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7332743D5A for ; Wed, 26 Apr 2006 16:40:49 +0000 (GMT) (envelope-from ast@marabu.ch) Received: from localhost (localhost [127.0.0.1]) by oneplusone.ch (8.13.6/8.13.6) with ESMTP id k3QGekrx049154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Apr 2006 18:40:47 +0200 (CEST) (envelope-from ast@marabu.ch) Date: Wed, 26 Apr 2006 18:40:46 +0200 (CEST) From: Adrian Steinmann X-X-Sender: ast@one To: freebsd-hackers@freebsd.org Message-ID: <20060426182420.S48837@one> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (oneplusone.ch [127.0.0.1]); Wed, 26 Apr 2006 18:40:47 +0200 (CEST) X-Mailfilter: egfilter version 1.14; Archiver [msg.WlKUxJfn] (oneplusone.ch [127.0.0.1]); Wed, 26 Apr 2006 18:40:47 +0200 (CEST) X-AntiVirus: checked by AntiVir Milter (version: 1.1.2-1; AVE: 6.34.1.27; VDF: 6.34.1.12; host: oneplusone.ch) Subject: Need some help on a pivot_root() syscall implementation 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, 26 Apr 2006 16:40:51 -0000 I have been working on an implementation of pivot_root() system call which should be a clone of the same linux system call. Description from my code (and linux/fs/namespace.c): * pivot_root Semantics: * Moves the root file system of the current process to the directory put_old, * makes new_root as the new root file system of the current process, and sets * root/cwd of all processes which had them on the current root to new_root. * * Restrictions: * The new_root must be a mountpoint and not the current root; put_old must be * under new_root and no other file system may be mounted on put_old. I have gotton as far as swapping, say, a hierarchy "/a" whith "/". The problem appears in the second part - having moved "/" to "/a/mnt" (which becomes "/mnt") when part of the fs does not work correctly. I have had versions where 'df' looks ok after pivot_root but 'ls /mnt' showed nothing, i.e. the mountpoint /mnt with the old root wasn't really there (or not visible). Now, I think I have a better version, but it panics when I do 'ls /mnt' (see below) # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/md0 7054 5284 1770 75% / devfs 1 1 0 100% /dev /dev/ad0s1a 30856 14666 13722 52% /mnt /dev/md1 7054 5282 1772 75% /a devfs 1 1 0 100% /a/dev # usage: pivot_root new_root put_old # pivot_root /a /a/mnt pivot_root: enter pivot_root: ok, put_old has no mount points pivot_root(/a, /a/mnt): locked Giant pivot_root: start lookup new_root '/a' pivot_root: start lookup put_old '/a/mnt' pivot_root: rootvnode 0xc221cc30; put_vp 0xc2253208 new_vp 0xc222d618 pivot_root: new_mp removed and reinserted in head of mountlist pivot_root: new root adjusted pivot_root: f_mntonname /a => / pivot_root: old root mountpoint adjusted pivot_root: f_mntonname / => /mnt pivot_root: mountpoint /dev under old root adjusted pivot_root: f_mntonname /dev => /mnt/dev pivot_root: mountpoint /mnt under old root adjusted pivot_root: f_mntonname /mnt => /mnt/mnt pivot_root: mountpoint /a/dev under new root adjusted pivot_root: f_mntonname /a/dev => /dev pivot_root: mountlist adjustments done pivot_root: put_vp done pivot_root: new_vp done pivot_root: leaving, error = 0 # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/md1 7054 5282 1772 75% / /dev/md0 7054 5284 1770 75% /mnt devfs 1 1 0 100% /mnt/dev /dev/ad0s1a 30856 14666 13722 52% /mnt/mnt devfs 1 1 0 100% /dev # ls /mnt panic: userret: Returning with 1 locks held. cpuid = 0 KDB: enter: panic [thread pid 70 tid 100040 ] Stopped at kdb_enter+0x2b: nop db> show lockedvnods Locked vnodes 0xc222d618: tag ufs, type VDIR usecount 10, writecount 0, refcount 12 mountedhere 0 flags (VV_ROOT) lock type ufs: EXCL (count 1) by thread 0xc2207360 (pid 70) ino 2, on dev md1 Does anyone have an idea what could be causing this and in which direction I should look? I can supply a patch against -current to anyone who is interested in investigatig this further together with me, just drop me an Email! Adrian From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 18:13:12 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CB3A16A400 for ; Wed, 26 Apr 2006 18:13:12 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 6BF8B43D49 for ; Wed, 26 Apr 2006 18:13:09 +0000 (GMT) (envelope-from rick@kiwi-computer.com) Received: (qmail 64789 invoked by uid 2001); 26 Apr 2006 18:13:08 -0000 Date: Wed, 26 Apr 2006 13:13:08 -0500 From: "Rick C. Petty" To: Lucas Holt Message-ID: <20060426181308.GA64085@megan.kiwi-computer.com> References: <20060425202009.50F9143D75@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: Keyboard Boot Disable 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, 26 Apr 2006 18:13:12 -0000 On Tue, Apr 25, 2006 at 06:27:53PM -0400, Lucas Holt wrote: > I worked with someone once that said they blew out the ps/2 port on > the motherboard. As an alternative, maybe you could consider a kvm > switch? Maybe on an ancient motherboard?? Most motherboards have overvoltage/overcurrent protection circuitry. A PS/2 port is just a glorified serial port: 5v signals vs. +/- 7.5v. The only problem I've ever had with hot-swapping PS/2 is tricking the OS to reinitialize the device. FreeBSD seems to handle this better than most. Smart KVMs work much better because they keep the virtual device connected, and they keep keyboard initialization state so they can reinitialize the keyboard when it's plugged in again. Even dumb KVMs seem to handle hot-swapping better; likely the onboard logic behaves better than the onboard keyboard controllers. USB works much better because it guarantees power & ground connection is established before the data pins. Many KVMs buffer the keyboard I/O so it can wait until power & ground are established before trying to send/recv data. I've never blown out a PS/2 port or device, and I hot swap much more than I should... -- Rick C. Petty From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 18:45:07 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 947B216A408 for ; Wed, 26 Apr 2006 18:45:07 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AF2743D53 for ; Wed, 26 Apr 2006 18:45:04 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 15345 invoked from network); 26 Apr 2006 18:45:03 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[217.50.131.123]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 26 Apr 2006 18:45:03 -0000 Date: Wed, 26 Apr 2006 20:44:54 +0200 From: Fabian Keil To: Fabian Keil Message-ID: <20060426204454.4e926292@localhost> In-Reply-To: <20060426174553.43863486@localhost> References: <43E5D052.3020207@freebsd.org> <43E656C7.8040302@freesbie.org> <43E6D5C8.4050405@freebsd.org> <43E71485.5040901@freesbie.org> <43E73330.8070101@freebsd.org> <43EB4C00.2030101@freebsd.org> <4417DD8D.3050201@freebsd.org> <4433CA53.5050000@freebsd.org> <444E13BA.8050902@freebsd.org> <20060425175553.GA56011@xor.obsecurity.org> <444F663D.9060905@freebsd.org> <20060426151557.3a46dfbd@localhost> <444F8006.6010609@freebsd.org> <20060426170335.40e95f36@localhost> <20060426174553.43863486@localhost> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.17; i386-portbld-freebsd6.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2006-08-19.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_+6blnOzM4wl3.EtN=RIxFUU"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org, Daichi GOTO , ozawa@ongs.co.jp, freebsd-current@freebsd.org Subject: Re: [ANN] unionfs patchset-11 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, 26 Apr 2006 18:45:07 -0000 --Sig_+6blnOzM4wl3.EtN=RIxFUU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Fabian Keil wrote: > Fabian Keil wrote: >=20 > > Daichi GOTO wrote: > >=20 > > > Fabian Keil wrote: > > What I'm doing is: > >=20 > > fk@TP51 ~ $mkdir /tmp/unionfs-src/ > > fk@TP51 ~ $mount_unionfs /tmp/unionfs-src /usr/src > > fk@TP51 ~ $cd /usr/src > > fk@TP51 /usr/src $patch -p1 < ~/test/combi.patch > > fk@TP51 /usr/src $find /tmp/unionfs-src/ -type f > > [Panic] > >=20 > > ~/test/combi.patch changes about twenty files. Not exactly: fk@TP51 ~ $grep +++ ~/test/combi.patch | wc -l 38 > > I'm not sure if it's important, but /usr was mounted > > readonly and /tmp is a different file system. I got the same panic with /usr mounted rewritable and both directories on the same file system this time. Running patch -p1 < ~/test/combi.patch seems to be enough to trigger the panic. I tried three runs with a smaller patch (unionfs6-p11.diff) without panic, I then took the bigger patch again and a few seconds later the system panicked. > Another thing which could be significant or not: > After my last mail I closed Xorg and tried to reproduce the > panic two times, but couldn't. After a reboot the panic > occurred right after the first attempt. I'm not sure anymore if I used the same patch the first times. Fabian --=20 http://www.fabiankeil.de/ --Sig_+6blnOzM4wl3.EtN=RIxFUU Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFET7+sjV8GA4rMKUQRAvwxAJ0e5jY/tZQnCSenZ91Q1TdDxxfb8wCghCg4 DMj+PiofG4OaarA0XK01SbI= =8YLQ -----END PGP SIGNATURE----- --Sig_+6blnOzM4wl3.EtN=RIxFUU-- From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 20:35:50 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB30C16A400 for ; Wed, 26 Apr 2006 20:35:50 +0000 (UTC) (envelope-from darren.pilgrim@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88AE443D48 for ; Wed, 26 Apr 2006 20:35:50 +0000 (GMT) (envelope-from darren.pilgrim@bitfreak.org) Received: from [127.0.0.1] (mail.bitfreak.org [65.75.198.146]) by mail.bitfreak.org (Postfix) with ESMTP id 837C419F2C; Wed, 26 Apr 2006 13:35:49 -0700 (PDT) Message-ID: <444FD9A2.7070602@bitfreak.org> Date: Wed, 26 Apr 2006 13:35:46 -0700 From: Darren Pilgrim User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: hongz@promisechina.com References: <1146037663$82118$49670145@hongz@promisechina.com> In-Reply-To: <1146037663$82118$49670145@hongz@promisechina.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Can kldload trigger pci bus rescan? 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, 26 Apr 2006 20:35:50 -0000 hongz@promisechina.com wrote: > I tried to use kldload to load our HBA driver. But the driver's pci probe > function can not find the HBA card! By this do you mean that when you have the card in the system, FreeBSD booted and you kldload the driver, you don't see kernel messages showing the appropriate attach messages? Is anything printed? > Does it mean that kldload can not > trigger pci bus rescan? If so, what should I do for triggering pci bus > rescan after loading our pci driver? As Daniel and Warner already stated, the PCI rescan is automatic. This is more likely an identification or driver mismatch problem. Please provide the following: - The exact make and model of the HBA card. - The exact version of FreeBSD you're using. - Which driver you're trying to use. This information will allow us to nail down possible reasons why the attach is not occuring. From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 21:43:17 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8719C16A403 for ; Wed, 26 Apr 2006 21:43:17 +0000 (UTC) (envelope-from ahebert@pubnix.net) Received: from mail.pubnix.net (Mail.pubnix.net [192.172.250.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id F402543D49 for ; Wed, 26 Apr 2006 21:43:16 +0000 (GMT) (envelope-from ahebert@pubnix.net) Received: from [10.0.1.2] (aal.pubnix.net [64.235.216.13]) (authenticated bits=0) by mail.pubnix.net (8.13.6/8.13.6) with ESMTP id k3QLhF63031669 for ; Wed, 26 Apr 2006 17:43:15 -0400 (EDT) (envelope-from ahebert@pubnix.net) Message-ID: <444FE975.7@pubnix.net> Date: Wed, 26 Apr 2006 17:43:17 -0400 From: Alain Hebert Organization: PubNIX, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060130 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: freebsd-hackers@freebsd.org References: <20060425202009.50F9143D75@mx1.FreeBSD.org> <20060426181308.GA64085@megan.kiwi-computer.com> In-Reply-To: <20060426181308.GA64085@megan.kiwi-computer.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Intel 6300ESB SATA - Now Tyan B5350G20S2H-LC suggestion X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ahebert@pubnix.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 21:43:17 -0000 Well, $6k later... and the only SATA interface available are on a Adaptec AIC-8110 / HostRAID. (And the nightmare continue... I hate what Adaptec is doing with their SATA line... never worked right for me) The 6300ESB is there but its not providing SATA. Those are pricey paper weights. I'll see what I can make work with it... -- Alain Hebert ahebert@pubnix.net PubNIX Inc. P.O. Box 175 Beaconsfield, Quebec H9W 5T7 tel 514-990-5911 http://www.pubnix.net fax 514-990-9443 From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 22:32:51 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CA6E16A401 for ; Wed, 26 Apr 2006 22:32:51 +0000 (UTC) (envelope-from spork@bway.net) Received: from mail.bway.net (xena.bway.net [216.220.96.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5BBF43D45 for ; Wed, 26 Apr 2006 22:32:50 +0000 (GMT) (envelope-from spork@bway.net) Received: (qmail 45201 invoked by uid 0); 26 Apr 2006 22:32:50 -0000 Received: from unknown (HELO office-dhcp-26.bway.net) (spork@bway.net@216.220.107.26) by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 26 Apr 2006 22:32:50 -0000 Date: Wed, 26 Apr 2006 18:23:59 -0400 (EDT) From: Charles Sprickman To: hackers@freebsd.org Message-ID: <20060426182348.O4513@sporker.bway.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Jail Quotas - quota.user hard link 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, 26 Apr 2006 22:32:51 -0000 Hello all, I have a question about using quotas in a jail with FreeBSD 6.x. So far I have had no problems on a test box with setting quotas from the host using a numeric UID (ie: edquota -u 20000 where UID 20000 is a user that only exists in a jail). That seems to "just work". The problem comes when I want the jailed users to be able to see what their current usage is. I have a few jails on one partition, so the problem is that the quota.user file is outside the jail. Making a hard link to /jails/quota.user from /jails/jailX/quota.user starts to solve the problem. Only one jail actually needs this capability. Is there any problem with this technique of making a hard link to the real quota.user? One other note... I do null mount ports into two jails from another jail that is used strictly for package building (all on the same filesystem). Are there any weird nullfs/quota interactions to be aware of? Thanks, Charles ___ Charles Sprickman NetEng/SysAdmin Bway.net - New York's Best Internet - www.bway.net spork@bway.net - 212.655.9344 From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 21:27:32 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AF8316A401 for ; Wed, 26 Apr 2006 21:27:32 +0000 (UTC) (envelope-from Vijay.Singh@netapp.com) Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA9B443D45 for ; Wed, 26 Apr 2006 21:27:31 +0000 (GMT) (envelope-from Vijay.Singh@netapp.com) Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2.netapp.com with ESMTP; 26 Apr 2006 14:27:32 -0700 X-IronPort-AV: i="4.04,159,1144047600"; d="scan'208"; a="376877081:sNHT115181956" Received: from svlexc02.hq.netapp.com (svlexc02.corp.netapp.com [10.57.157.136]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id k3QLRVmS025462 for ; Wed, 26 Apr 2006 14:27:31 -0700 (PDT) Received: from exsvlrb02.hq.netapp.com ([10.56.8.63]) by svlexc02.hq.netapp.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 26 Apr 2006 14:27:30 -0700 Received: from magenta.hq.netapp.com ([10.56.11.84]) by exsvlrb02.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 26 Apr 2006 14:27:30 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 26 Apr 2006 14:27:30 -0700 Message-ID: <637A278D8D0DBC438EA5E75C6E1818B908F43BE3@magenta.hq.netapp.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Disabling Tx intrerrupts in bge Thread-Index: AcZpeDkFNLOD86HtQa+PmQzXRBFlZw== From: "Singh, Vijay" To: X-OriginalArrivalTime: 26 Apr 2006 21:27:30.0746 (UTC) FILETIME=[3972E1A0:01C66978] X-Mailman-Approved-At: Wed, 26 Apr 2006 23:34:16 +0000 Cc: Subject: Disabling Tx intrerrupts in bge 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, 26 Apr 2006 21:27:32 -0000 Hi hackers, how do I disable Tx interrupts in the bge driver? I guess it should be by changing some bit in this mask: #define BGE_MBX_IRQ0_LO 0x0204 Any help is appreciated. wbr Vijay Singh NetApp=20 From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 01:36:23 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3745816A409; Thu, 27 Apr 2006 01:36:23 +0000 (UTC) (envelope-from ahebert@pubnix.net) Received: from mail.pubnix.net (Mail.pubnix.net [192.172.250.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B360243D48; Thu, 27 Apr 2006 01:36:22 +0000 (GMT) (envelope-from ahebert@pubnix.net) Received: from [10.0.1.2] (aal.pubnix.net [64.235.216.13]) (authenticated bits=0) by mail.pubnix.net (8.13.6/8.13.6) with ESMTP id k3R1aLnS009324; Wed, 26 Apr 2006 21:36:21 -0400 (EDT) (envelope-from ahebert@pubnix.net) Message-ID: <44502017.5070801@pubnix.net> Date: Wed, 26 Apr 2006 21:36:23 -0400 From: Alain Hebert Organization: PubNIX, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20060425202009.50F9143D75@mx1.FreeBSD.org> <20060426181308.GA64085@megan.kiwi-computer.com> In-Reply-To: <20060426181308.GA64085@megan.kiwi-computer.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Intel 6300ESB SATA - Now Tyan B5350G20S2H-LC X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ahebert@pubnix.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 01:36:23 -0000 Well, Good and bad news... 6.1-RC works to install (thanks Soren) But BTX halt on boot: ----- int=0000000d err=00000000 efl=00030002 eip=000010ce eax=000c0002 ebx=00000000 ecx=00000005 edx=00000100 esi=000000b6 edi=000003f0 ebp=00003778 esp=00003754 cs=c800 ds=c800 es=1400 fs=0000 gs=9880 ss=9880 cs:eip=2e 0f 01 1e 1d 11 2e 0f-01 16 23 11 0f 20 c0 66 25 ff ff ff 7f 0c 01 0f-22 c0 eb 00 0f 01 e0 a8 ss:esp=46 02 09 0e 00 00 00 00-b6 00 80 98 88 36 f0 03 b6 00 78 37 72 37 00 00-00 01 05 00 00 00 00 00 BTX halted ----- FYI: I failed to find the code at cs:eip in the boot0, boot1, boot2 and loader file. Looks like a bad jump to me. I've try everything... (I know of) . Upgrade the BIOS (can't find a way to upgrade the Tyan M8110 board) . Boot on array (failed) . Boot on a spare drive outside the array (failed) . Booted install, used the LiveCD and the filesystems are fine... boot files checksum matches . Changed fs from 4GB=swap, 232GB=/ to 256MB=/boot, 222GB=/, 4GB=swap (failed) Going to try booting the kernel from PXE and then mounting /dev/ar0s1a... If anybody has a hint (or Hints) let me know... -- Alain Hebert ahebert@pubnix.net PubNIX Inc. P.O. Box 175 Beaconsfield, Quebec H9W 5T7 tel 514-990-5911 http://www.pubnix.net fax 514-990-9443 From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 04:10:44 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 628DB16A403 for ; Thu, 27 Apr 2006 04:10:44 +0000 (UTC) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (manor.msen.com [148.59.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66F7B43D46 for ; Thu, 27 Apr 2006 04:10:43 +0000 (GMT) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (localhost [127.0.0.1]) by manor.msen.com (8.12.11/8.12.11) with ESMTP id k3R4AgUT073586 for ; Thu, 27 Apr 2006 00:10:42 -0400 (EDT) (envelope-from wayne@manor.msen.com) Received: (from wayne@localhost) by manor.msen.com (8.12.11/8.12.11/Submit) id k3R4AfJQ073585 for hackers@freebsd.org; Thu, 27 Apr 2006 00:10:41 -0400 (EDT) (envelope-from wayne) Date: Thu, 27 Apr 2006 00:10:41 -0400 From: "Michael R. Wayne" To: hackers@freebsd.org Message-ID: <20060427041041.GM20420@manor.msen.com> Mail-Followup-To: hackers@freebsd.org References: <20060426182348.O4513@sporker.bway.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060426182348.O4513@sporker.bway.net> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: Jail Quotas - quota.user hard link 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, 27 Apr 2006 04:10:44 -0000 On Wed, Apr 26, 2006 at 06:23:59PM -0400, Charles Sprickman wrote: > > I have a question about using quotas in a jail with FreeBSD 6.x. So far I > have had no problems on a test box with setting quotas from the host using > a numeric UID (ie: edquota -u 20000 where UID 20000 is a user that only > exists in a jail). That seems to "just work". Just a heads up: quotas in jails on FreeBSD 6 are pretty broken. I'll include some workarounds. Basic operation can be done by specifying a filename, available in the jail, which contains the quotas. So, on the base system, /etc/fstab contains: /dev/twed0s2f /usr/jails/foo.bar.com ufs rw,userquota=/usr/jails/foo.bar.com/usr/quotas/shell.root 2 2 and on the foo.bar.com jail, /etc/fstab contains: /dev/twed0s2f / ufs rw,userquota=/usr/quotas/shell.root,noauto 2 2 Now the problems begin. You either do chmod a+r /usr/quotas/shell.root which permits everyone on the machine to read all quotas (both quota and repquota) or chmod o-r /usr/quotas/shell.root which permits ONLY root to read any quotas. Normal users can not see their own quotas (I filed a PR on this quite some time back, nobody seems interested). This seems to be new breakage since 4.x Also, if you edquota from within the jail, it does not really take effect. You can stick an hourly cron script on the base system containing quotaoff -a quotacheck -a quotaon -a which will "fixup" the mess. Alternately, you can only use edquota from the base system which seems to mostly work. ISTR that there was something else that was odd but I'm sure somebody else will jump in and mention it. /\/\ \/\/ From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 04:51:15 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F80216A401 for ; Thu, 27 Apr 2006 04:51:15 +0000 (UTC) (envelope-from spork@bway.net) Received: from mail.bway.net (xena.bway.net [216.220.96.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id D252643D48 for ; Thu, 27 Apr 2006 04:51:13 +0000 (GMT) (envelope-from spork@bway.net) Received: (qmail 43085 invoked by uid 0); 27 Apr 2006 04:51:12 -0000 Received: from unknown (HELO gee5.nat.fasttrackmonkey.com) (216.220.116.154) by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 27 Apr 2006 04:51:12 -0000 Date: Thu, 27 Apr 2006 00:51:12 -0400 (EDT) From: Charles Sprickman X-X-Sender: spork@gee5.nat.fasttrackmonkey.com To: "Michael R. Wayne" In-Reply-To: <20060427041041.GM20420@manor.msen.com> Message-ID: References: <20060426182348.O4513@sporker.bway.net> <20060427041041.GM20420@manor.msen.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: hackers@freebsd.org Subject: Re: Jail Quotas - quota.user hard link 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, 27 Apr 2006 04:51:15 -0000 On Thu, 27 Apr 2006, Michael R. Wayne wrote: > On Wed, Apr 26, 2006 at 06:23:59PM -0400, Charles Sprickman wrote: >> >> I have a question about using quotas in a jail with FreeBSD 6.x. So far I >> have had no problems on a test box with setting quotas from the host using >> a numeric UID (ie: edquota -u 20000 where UID 20000 is a user that only >> exists in a jail). That seems to "just work". > > Just a heads up: quotas in jails on FreeBSD 6 are pretty broken. I'll > include some workarounds. > > Basic operation can be done by specifying a filename, available in the jail, > which contains the quotas. So, on the base system, /etc/fstab contains: > > /dev/twed0s2f /usr/jails/foo.bar.com ufs rw,userquota=/usr/jails/foo.bar.com/usr/quotas/shell.root 2 2 > > and on the foo.bar.com jail, /etc/fstab contains: > > /dev/twed0s2f / ufs rw,userquota=/usr/quotas/shell.root,noauto 2 2 That's pretty nifty. "man fstab" confirms (at least the first part). I'm still curious if there's any harm in the symlink solution. > Now the problems begin. > > You either do > chmod a+r /usr/quotas/shell.root > which permits everyone on the machine to read all quotas (both > quota and repquota) or > chmod o-r /usr/quotas/shell.root > which permits ONLY root to read any quotas. Normal users can > not see their own quotas (I filed a PR on this quite some time back, > nobody seems interested). This seems to be new breakage since 4.x See, now back in 6.0, I could have sworn that I saw this. Even with the quota command setuid root inside the jail, I was getting "permission denied" errors. I'm now running a 6.1-RC from late last week and this seems to be working now. I'm not sure where to look in the kernel source to find if something changed, but my guess is someone did "fix" it. > Also, if you edquota from within the jail, it does not really take > effect. You can stick an hourly cron script on the base system containing > quotaoff -a > quotacheck -a > quotaon -a > which will "fixup" the mess. Alternately, you can only use edquota > from the base system which seems to mostly work. That's fine, I plan to do most work from the host and only become root in the jail when necessary. > ISTR that there was something else that was odd but I'm sure somebody > else will jump in and mention it. The above was the main stumbling block for me. I know keeping UIDs unique across the host and all jails is probably a royal pain for some, but my use here (shell server inside a jail) really doesn't have any issues with that. Thanks, Charles > /\/\ \/\/ > > _______________________________________________ > 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 Thu Apr 27 05:51:49 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A240116A402 for ; Thu, 27 Apr 2006 05:51:49 +0000 (UTC) (envelope-from darren.pilgrim@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A0743D49 for ; Thu, 27 Apr 2006 05:51:49 +0000 (GMT) (envelope-from darren.pilgrim@bitfreak.org) Received: from [127.0.0.1] (mail.bitfreak.org [65.75.198.146]) by mail.bitfreak.org (Postfix) with ESMTP id 5D1FE19F2C; Wed, 26 Apr 2006 22:51:48 -0700 (PDT) Message-ID: <44505BF1.80806@bitfreak.org> Date: Wed, 26 Apr 2006 22:51:45 -0700 From: Darren Pilgrim User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: hongz@promisechina.com References: <1146110516$75164$50215385@hongz@promisechina.com> In-Reply-To: <1146110516$75164$50215385@hongz@promisechina.com> Content-Type: multipart/mixed; boundary="------------000201020006050802060608" Cc: freebsd-hackers@freebsd.org Subject: Re: Can kldload trigger pci bus rescan? 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, 27 Apr 2006 05:51:49 -0000 This is a multi-part message in MIME format. --------------000201020006050802060608 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit hongz@promisechina.com wrote: > Hi guys: > > My situation is: > (1) We are porting our HBA driver (Promise FastTrak TX4310 SoftRaid5) from > Linux to FreeBSD(6.0). Our HBA driver can work normally under Linux. > (2) At this time, I just wrote a sample driver code (see sr5.c in the > attached file) to check the driver's probe function in FreeBSD. > (3) After I successfully compiled the codes, I run "make load" (see Makefile > and load.info in the attached file) for testing. > (4) Our probe function was called indeed, but no matching pci device was > found! (Yes, I have plugged our HBA card in the system). > (5) Our HBA card information can be found by running pciconf (see > pciconf.info in the attached file). The only two storage devices in the pciconf output are: atapci0@pci0:7:1: class=0x01018a card=0x74411022 chip=0x74411022 rev=0x04 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-768 EIDE Controller' class = mass storage subclass = ATA atapci1@pci2:4:0: class=0x010400 card=0x3515105a chip=0x3515105a rev=0x02 hdr=0x00 vendor = 'Promise Technology Inc' class = mass storage subclass = RAID The first looks like the ATA controller on the motherboard. The second is your Promise ATA RAID card. Both devices are already attached by FreeBSD's ATA framework. You will need to patch FreeBSD's ATA framework to not detect your card. The attached patch should do the trick (it removes the corresponding PCI ID for your card). I tested the patch to the point that it compiles, but I can't guarantee this will prevent the attach or even result in a bootable kernel, so test carefully. To apply the patch, do the following with root privileges: cd /usr/src # Replace /usr/src with the base of your src tree. patch X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5A3116A400 for ; Thu, 27 Apr 2006 10:13:20 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.19.101.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E82443D45 for ; Thu, 27 Apr 2006 10:13:20 +0000 (GMT) (envelope-from hugo@barafranca.com) Received: from localhost (localhost [127.0.0.1]) by mail.barafranca.com (Postfix) with ESMTP id C9D49C388E for ; Thu, 27 Apr 2006 10:20:31 +0000 (UTC) Received: from mail.barafranca.com ([67.19.101.164]) by localhost (mail.barafranca.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95276-06 for ; Thu, 27 Apr 2006 10:20:30 +0000 (UTC) Received: from [192.168.0.1] (unknown [81.84.174.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTP id 3B418C3884 for ; Thu, 27 Apr 2006 10:20:30 +0000 (UTC) Message-ID: <44509949.9000702@barafranca.com> Date: Thu, 27 Apr 2006 11:13:29 +0100 From: Hugo Silva User-Agent: Thunderbird 1.5 (X11/20060318) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at barafranca.com Subject: Panic on 6.0-RELEASE-p4 - Fatal trap 12 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, 27 Apr 2006 10:13:21 -0000 Hello list, I've experienced a panic on a heavily loaded webserver running FreeBSD 6.0-RELEASE-p4, just some minutes ago. Just incase it's a new problem, I'm posting it here. # kgdb ./kernel.debug ./vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xac fault code = supervisor write, page not present instruction pointer = 0x20:0x806675ea stack pointer = 0x28:0xe30d2c18 frame pointer = 0x28:0xe30d2c44 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 86 (swi4: clock sio) trap number = 12 panic: page fault cpuid = 0 Uptime: 49d16h55m25s Dumping 2047 MB (3 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 2046MB (523760 pages) 2030 2014 1998 1982 1966 1950 1934 1918 1902 1886 1870 1854 1838 1822 1806 1790 1774 1758 1742 1726 1710 1694 1678 1662 1646 1630 1614 1598 1582 1566 1550 1534 1518 1502 1486 1470 1454 1438 1422 1406 1390 1374 1358 1342 1326 1310 1294 1278 1262 1246 1230 1214 1198 1182 1166 1150 1134 1118 1102 1086 1070 1054 1038 1022 1006 990 974 958 942 926 910 894 878 862 846 830 814 798 782 766 750 734 718 702 686 670 654 638 622 606 590 574 558 542 526 510 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14 ... ok chunk 2: 1MB (128 pages) #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h (kgdb) backtrace #0 doadump () at pcpu.h:165 #1 0x805aef82 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0x805af374 in panic (fmt=0x80777163 "%s") at /usr/src/sys/kern/kern_shutdown.c:555 #3 0x8075107c in trap_fatal (frame=0xe30d2bd8, eva=0) at /usr/src/sys/i386/i386/trap.c:831 #4 0x80750d2f in trap_pfault (frame=0xe30d2bd8, usermode=0, eva=172) at /usr/src/sys/i386/i386/trap.c:742 #5 0x807508bd in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = -2130444248, tf_edi = 0, tf_esi = 4, tf_ebp = -485675964, tf_isp = -485676028, tf_ebx = -1970586144, tf_edx = -2130424216, tf_ecx = -2091403008, tf_eax = 4, tf_trapno = 12, tf_err = 2, tf_eip = -2140768790, tf_cs = 32, tf_eflags = 66195, tf_esp = -1970586144, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:432 #6 0x8073a2fa in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0x806675ea in tcp_timer_2msl_tw (reuse=0) at atomic.h:149 #8 0x80666f7c in tcp_slowtimo () at /usr/src/sys/netinet/tcp_timer.c:136 #9 0x805f3589 in pfslowtimo (arg=0x0) at /usr/src/sys/kern/uipc_domain.c:475 #10 0x805bec76 in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:290 #11 0x80592ea8 in ithread_loop (arg=0x83522e80) at /usr/src/sys/kern/kern_intr.c:547 #12 0x80591ae0 in fork_exit (callout=0x80592cf0 , arg=0x4, frame=0x4) at /usr/src/sys/kern/kern_fork.c:789 #13 0x8073a35c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208 I've got a dozen more webservers (most on -p5, tho) that have been up for a couple of months now, and none experienced this. All this server does is running apache and ssh. The /tmp partition is mounted as md, if it matters. If this seems interesting and more information is needed, let me know. From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 10:56:14 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC8C716A401 for ; Thu, 27 Apr 2006 10:56:14 +0000 (UTC) (envelope-from kpielorz@tdx.co.uk) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [62.13.130.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34AC643D55 for ; Thu, 27 Apr 2006 10:56:13 +0000 (GMT) (envelope-from kpielorz@tdx.co.uk) Received: from unsupported (thebrick.dmpriest.net.uk [62.13.130.30]) by caladan.tdx.co.uk (8.13.6/8.13.6/Kp) with ESMTP id k3RAuC54032107 for ; Thu, 27 Apr 2006 11:56:12 +0100 (BST) Date: Thu, 27 Apr 2006 11:57:41 +0100 From: Karl Pielorz To: freebsd-hackers@freebsd.org Message-ID: X-Mailer: Mulberry/4.0.4 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Keyboard 'fails' in ddb on HP Proliant DL380 under 6.1-RC1 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, 27 Apr 2006 10:56:14 -0000 Hi All, We've recently started using HP Proliant DL360's / 380's - and we're also moving our new machines to FreeBSD 6.1 I've found a problem with ddb - no matter what I do, I can't get the keyboard on the server to work, when it's dropped into ddb. I've tried HP's iLO management (virtual console / keyboard) - and, thinking maybe that was messing up - plugging in a real keyboard and monitor into the server, and avoiding iLO. No matter how you end up in ddb (through a console command, a real 'panic', NMI, 'break' or Ctrl-Alt-Esc) - once you're there - the keyboard is dead. I've checked the manpage for 'atkbd' - but can't see anything obvious. These machines running 5.3/4 work fine - it's just under 6.x the problem appears. You can find a verbose boot output at: http://www.tdx.com/verbose_6.1rc1.txt Anyone got any suggestions? - We've also found a potential problem with the ciss driver, but I can't even start to look at that until ddb is useable :( Cheers, -Karl From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 12:34:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2734116A400 for ; Thu, 27 Apr 2006 12:34:45 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mgat.rdu.kirov.ru (mgat.rdu.kirov.ru [85.93.37.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDE7043D45 for ; Thu, 27 Apr 2006 12:34:43 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from kirov.so-cdu.ru (kirov [172.21.81.1]) by mail.rdu.kirov.ru (Postfix) with ESMTP id 021AC33B8C for ; Thu, 27 Apr 2006 16:34:41 +0400 (MSD) Received: from kirov.so-cdu.ru (localhost [127.0.0.1]) by rdu.kirov.ru (Postfix) with SMTP id EEADF15441 for ; Thu, 27 Apr 2006 16:34:40 +0400 (MSD) Received: by rdu.kirov.ru (Postfix, from userid 1014) id D07A715440; Thu, 27 Apr 2006 16:34:40 +0400 (MSD) Received: from [172.21.81.52] (elsukov.kirov.so-cdu.ru [172.21.81.52]) by rdu.kirov.ru (Postfix) with ESMTP id BDF3F1543C for ; Thu, 27 Apr 2006 16:34:40 +0400 (MSD) Message-ID: <4450BA60.1070801@yandex.ru> Date: Thu, 27 Apr 2006 16:34:40 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Keyboard 'fails' in ddb on HP Proliant DL380 under 6.1-RC1 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, 27 Apr 2006 12:34:45 -0000 Karl Pielorz wrote: > I've found a problem with ddb - no matter what I do, I can't get the > keyboard on the server to work, when it's dropped into ddb. Try to boot in safe mode: http://docs.freebsd.org/cgi/mid.cgi?4437E1AD.7000303 -- WBR, Andrey V. Elsukov From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 13:17:37 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A421D16A407 for ; Thu, 27 Apr 2006 13:17:37 +0000 (UTC) (envelope-from kpielorz@tdx.co.uk) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [62.13.130.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DCCD43D66 for ; Thu, 27 Apr 2006 13:17:31 +0000 (GMT) (envelope-from kpielorz@tdx.co.uk) Received: from unsupported (thebrick.dmpriest.net.uk [62.13.130.30]) by caladan.tdx.co.uk (8.13.6/8.13.6/Kp) with ESMTP id k3RDHU0m033042 for ; Thu, 27 Apr 2006 14:17:30 +0100 (BST) Date: Thu, 27 Apr 2006 14:18:59 +0100 From: Karl Pielorz To: freebsd-hackers@freebsd.org Message-ID: <29474FDFED799307FD7E33BE@unsupported> X-Mailer: Mulberry/4.0.4 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; FORMAT=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: Keyboard 'fails' in ddb on HP Proliant DL380 under 6.1-RC1 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, 27 Apr 2006 13:17:37 -0000 --On 27 April 2006 16:34 +0400 "Andrey V. Elsukov" wrote: > Karl Pielorz wrote: >> I've found a problem with ddb - no matter what I do, I can't get the >> keyboard on the server to work, when it's dropped into ddb. > > Try to boot in safe mode: > http://docs.freebsd.org/cgi/mid.cgi?4437E1AD.7000303 > Yup, pfft - no idea how I managed to miss finding that post :( - It wasn't for want of looking... Oh well, one problem kind of down, one to go :) Thanks, -Karl From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 16:08:59 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D82E016A401 for ; Thu, 27 Apr 2006 16:08:59 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 646AB43D48 for ; Thu, 27 Apr 2006 16:08:59 +0000 (GMT) (envelope-from zbeeble@gmail.com) Received: by pproxy.gmail.com with SMTP id t32so1955036pyc for ; Thu, 27 Apr 2006 09:08:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=pklxI5oXjO/3nbulPx34U02+xme0/vDci9qrH3IE6peF7KKZev5X6qbl12oTT4mo0SztemI+DnXjW2TaDXgNi8bhFEOuLdjmoVEcAwVJj0MbWHMzIByD7QhRSa5DS0kD+QyY0pILXIxg6kxpTbSMfSUJsOVy5rSURa67ACUFmJg= Received: by 10.35.101.9 with SMTP id d9mr1157076pym; Thu, 27 Apr 2006 09:08:58 -0700 (PDT) Received: by 10.35.135.3 with HTTP; Thu, 27 Apr 2006 09:08:58 -0700 (PDT) Message-ID: <5f67a8c40604270908j54fb2c8bh5f0732d857155142@mail.gmail.com> Date: Thu, 27 Apr 2006 12:08:58 -0400 From: "Zaphod Beeblebrox" To: freebsd-hackers@freebsd.org In-Reply-To: <5f67a8c40604270908h4fcd2c42p87b1d4bb78a4459c@mail.gmail.com> MIME-Version: 1.0 References: <44505BF1.80806@bitfreak.org> <5f67a8c40604270908h4fcd2c42p87b1d4bb78a4459c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fwd: Can kldload trigger pci bus rescan? 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, 27 Apr 2006 16:08:59 -0000 It would be cool if pccard and usb also reprobed when kldload ran. The usb case is slightly more complex --- having (say) uscanner claim something tha= t ugen is currently claiming. From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 16:30:36 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E6AA16A412 for ; Thu, 27 Apr 2006 16:30:36 +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 A1D1E43D75 for ; Thu, 27 Apr 2006 16:30:10 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id ABCCA46B9D; Thu, 27 Apr 2006 12:30:09 -0400 (EDT) Date: Thu, 27 Apr 2006 17:30:09 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Michael R. Wayne" In-Reply-To: <20060427041041.GM20420@manor.msen.com> Message-ID: <20060427172449.M92771@fledge.watson.org> References: <20060426182348.O4513@sporker.bway.net> <20060427041041.GM20420@manor.msen.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: hackers@freebsd.org Subject: Re: Jail Quotas - quota.user hard link 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, 27 Apr 2006 16:30:37 -0000 On Thu, 27 Apr 2006, Michael R. Wayne wrote: > On Wed, Apr 26, 2006 at 06:23:59PM -0400, Charles Sprickman wrote: >> >> I have a question about using quotas in a jail with FreeBSD 6.x. So far I >> have had no problems on a test box with setting quotas from the host using >> a numeric UID (ie: edquota -u 20000 where UID 20000 is a user that only >> exists in a jail). That seems to "just work". > > Just a heads up: quotas in jails on FreeBSD 6 are pretty broken. I'll > include some workarounds. > > Basic operation can be done by specifying a filename, available in the jail, > which contains the quotas. So, on the base system, /etc/fstab contains: > > /dev/twed0s2f /usr/jails/foo.bar.com ufs > rw,userquota=/usr/jails/foo.bar.com/usr/quotas/shell.root 2 2 > > and on the foo.bar.com jail, /etc/fstab contains: > > /dev/twed0s2f / ufs rw,userquota=/usr/quotas/shell.root,noauto 2 2 I'm loosely under the impression that it should be possible to both query and manage quota data on live file systems without ever touching the quota backing file (which is an error-prone mechanism because live quota data is cached in the kernel without constantly refering back to the quota file, so writing to the file runs into cache coherency problems). In particular, you can set security.bsd.unprivileged_get_quota to 1 to allow a user to query another user's quota using the syscall interface. It could be that we don't allow these syscalls to work from within a jail though, or that they look at /etc/fstab to decide if they should use the syscall, which should be fixable. Robert N M Watson > > > Now the problems begin. > > You either do > chmod a+r /usr/quotas/shell.root > which permits everyone on the machine to read all quotas (both > quota and repquota) or > chmod o-r /usr/quotas/shell.root > which permits ONLY root to read any quotas. Normal users can > not see their own quotas (I filed a PR on this quite some time back, > nobody seems interested). This seems to be new breakage since 4.x > > Also, if you edquota from within the jail, it does not really take > effect. You can stick an hourly cron script on the base system containing > quotaoff -a > quotacheck -a > quotaon -a > which will "fixup" the mess. Alternately, you can only use edquota > from the base system which seems to mostly work. > > ISTR that there was something else that was odd but I'm sure somebody > else will jump in and mention it. > > /\/\ \/\/ > > _______________________________________________ > 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 Thu Apr 27 17:26:29 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B36A16A406 for ; Thu, 27 Apr 2006 17:26:29 +0000 (UTC) (envelope-from msaad@datapipe.com) Received: from exchewr01.datapipe-corp.net (exchewr01.datapipe-corp.net [64.106.130.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id C695A43D69 for ; Thu, 27 Apr 2006 17:26:28 +0000 (GMT) (envelope-from msaad@datapipe.com) Received: from [192.168.81.31] ([192.168.81.31]) by exchewr01.datapipe-corp.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 27 Apr 2006 13:26:26 -0400 Message-ID: <4450FEC1.2090504@datapipe.com> Date: Thu, 27 Apr 2006 13:26:25 -0400 From: Mark Saad User-Agent: Thunderbird 1.5 (X11/20060309) MIME-Version: 1.0 To: Karl Pielorz , freebsd-hackers@freebsd.org References: <29474FDFED799307FD7E33BE@unsupported> In-Reply-To: <29474FDFED799307FD7E33BE@unsupported> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Apr 2006 17:26:26.0223 (UTC) FILETIME=[B65593F0:01C66A1F] Cc: Subject: Re: Keyboard 'fails' in ddb on HP Proliant DL380 under 6.1-RC1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: msaad@datapipe.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 17:26:29 -0000 Karl, What Generation of DL380 do you have. I am currently Running 6.0 and 6.1-RC on DL380 G3's and G4's as well as the DL360 G3 & G4 . I have not run in to that issue before and I would suspect bad hardware . -- Mark Saad msaad@datapipe.com DataPipe Support Team 1.201.792.4847 (international) 1.888.749.5821 (toll free) From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 17:30:43 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16E5916A401; Thu, 27 Apr 2006 17:30:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D1AD43D45; Thu, 27 Apr 2006 17:30:41 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k3RHUa9h084093; Thu, 27 Apr 2006 13:30:36 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org, ahebert@pubnix.net Date: Thu, 27 Apr 2006 10:48:51 -0400 User-Agent: KMail/1.9.1 References: <20060425202009.50F9143D75@mx1.FreeBSD.org> <20060426181308.GA64085@megan.kiwi-computer.com> <44502017.5070801@pubnix.net> In-Reply-To: <44502017.5070801@pubnix.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604271048.53347.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1426/Wed Apr 26 14:03:01 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.1 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-hackers@freebsd.org Subject: Re: Intel 6300ESB SATA - Now Tyan B5350G20S2H-LC 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, 27 Apr 2006 17:30:43 -0000 On Wednesday 26 April 2006 21:36, Alain Hebert wrote: > Well, > > Good and bad news... > > 6.1-RC works to install (thanks Soren) > > But BTX halt on boot: > > ----- > int=0000000d err=00000000 efl=00030002 eip=000010ce > eax=000c0002 ebx=00000000 ecx=00000005 edx=00000100 > esi=000000b6 edi=000003f0 ebp=00003778 esp=00003754 > cs=c800 ds=c800 es=1400 fs=0000 gs=9880 ss=9880 > cs:eip=2e 0f 01 1e 1d 11 2e 0f-01 16 23 11 0f 20 c0 66 > 25 ff ff ff 7f 0c 01 0f-22 c0 eb 00 0f 01 e0 a8 > ss:esp=46 02 09 0e 00 00 00 00-b6 00 80 98 88 36 f0 03 > b6 00 78 37 72 37 00 00-00 01 05 00 00 00 00 00 > BTX halted It's in your BIOS (cs=0xc800) 00000000 2E0F011E1D11 lidt [cs:0x111d] 00000006 2E0F01162311 lgdt [cs:0x1123] 0000000C 0F20C0 mov eax,cr0 0000000F 6625FFFFFF7F and eax,0x7fffffff 00000015 0C01 or al,0x1 00000017 0F22C0 mov cr0,eax 0000001A EB00 jmp short 0x1c 0000001C 0F01E0 smsw ax Your BIOS is trying to enter protected mode. Try turning off support for DMA in your BIOS. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 18:00:20 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E791A16A41A; Thu, 27 Apr 2006 18:00:19 +0000 (UTC) (envelope-from ahebert@pubnix.net) Received: from mail.pubnix.net (Mail.pubnix.net [192.172.250.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E44543D49; Thu, 27 Apr 2006 18:00:18 +0000 (GMT) (envelope-from ahebert@pubnix.net) Received: from [10.0.1.2] (aal.pubnix.net [64.235.216.13]) (authenticated bits=0) by mail.pubnix.net (8.13.6/8.13.6) with ESMTP id k3RI0HSK004703; Thu, 27 Apr 2006 14:00:18 -0400 (EDT) (envelope-from ahebert@pubnix.net) Message-ID: <445106B1.8070002@pubnix.net> Date: Thu, 27 Apr 2006 14:00:17 -0400 From: Alain Hebert Organization: PubNIX, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20060425202009.50F9143D75@mx1.FreeBSD.org> <20060426181308.GA64085@megan.kiwi-computer.com> <44502017.5070801@pubnix.net> <200604271048.53347.jhb@freebsd.org> In-Reply-To: <200604271048.53347.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Intel 6300ESB SATA - Now Tyan B5350G20S2H-LC X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ahebert@pubnix.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 18:00:20 -0000 Hi, Yeap, I fired up my MS-DOS 6.22 with debug.exe this morning. Its the M8110 SO-DIMM RAID card ROM that does it. And there is no control for that in the BIOS or Adaptec Menu. That motherboard also has a ATA_I6300ESB_R1 RAID 1 card ... on which BTX works but 6.1-RC dont recognize the MetaData. So I'm working around the issue while I wait for Tyan to tell me how to upgrade the M8110 ROM. FYI: I dont see the lidt / ligt opcode in the new version of that ROM. I'll let you guys know. John Baldwin wrote: >On Wednesday 26 April 2006 21:36, Alain Hebert wrote: > > >> Well, >> >>Good and bad news... >> >> 6.1-RC works to install (thanks Soren) >> >> But BTX halt on boot: >> >>----- >>int=0000000d err=00000000 efl=00030002 eip=000010ce >>eax=000c0002 ebx=00000000 ecx=00000005 edx=00000100 >>esi=000000b6 edi=000003f0 ebp=00003778 esp=00003754 >>cs=c800 ds=c800 es=1400 fs=0000 gs=9880 ss=9880 >>cs:eip=2e 0f 01 1e 1d 11 2e 0f-01 16 23 11 0f 20 c0 66 >> 25 ff ff ff 7f 0c 01 0f-22 c0 eb 00 0f 01 e0 a8 >>ss:esp=46 02 09 0e 00 00 00 00-b6 00 80 98 88 36 f0 03 >> b6 00 78 37 72 37 00 00-00 01 05 00 00 00 00 00 >>BTX halted >> >> > >It's in your BIOS (cs=0xc800) > >00000000 2E0F011E1D11 lidt [cs:0x111d]/2 >00000006 2E0F01162311 lgdt [cs:0x1123] >0000000C 0F20C0 mov eax,cr0 >0000000F 6625FFFFFF7F and eax,0x7fffffff >00000015 0C01 or al,0x1 >00000017 0F22C0 mov cr0,eax >0000001A EB00 jmp short 0x1c >0000001C 0F01E0 smsw ax > >Your BIOS is trying to enter protected mode. Try turning off support >for DMA in your BIOS. > > > -- Alain Hebert ahebert@pubnix.net PubNIX Inc. P.O. Box 175 Beaconsfield, Quebec H9W 5T7 tel 514-990-5911 http://www.pubnix.net fax 514-990-9443 From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 18:06:34 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44C1116A46C for ; Thu, 27 Apr 2006 18:06:34 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78AD043D72 for ; Thu, 27 Apr 2006 18:06:33 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k3RI3eRG062586; Thu, 27 Apr 2006 12:03:41 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 27 Apr 2006 12:03:57 -0600 (MDT) Message-Id: <20060427.120357.45157617.imp@bsdimp.com> To: zbeeble@gmail.com From: "M. Warner Losh" In-Reply-To: <5f67a8c40604270908j54fb2c8bh5f0732d857155142@mail.gmail.com> References: <44505BF1.80806@bitfreak.org> <5f67a8c40604270908h4fcd2c42p87b1d4bb78a4459c@mail.gmail.com> <5f67a8c40604270908j54fb2c8bh5f0732d857155142@mail.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Can kldload trigger pci bus rescan? 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, 27 Apr 2006 18:06:34 -0000 In message: <5f67a8c40604270908j54fb2c8bh5f0732d857155142@mail.gmail.com> "Zaphod Beeblebrox" writes: : It would be cool if pccard and usb also reprobed when kldload ran. The usb : case is slightly more complex --- having (say) uscanner claim something that : ugen is currently claiming. PC Card has done so for years, OLDCARD and NEWCARD. In fact, you can even load and unload the bridge driver (cbb today, pcic in yesteryear) and the pccard bus driver. pccard works very hard to make sure that these things work. usb does also, but not in a manner that's useful. It does work with usb for simple devices when ugen isn't loaded into the kernel. However, the brain dead way that usb dollops out subdevices makes fixing it to work like rest of the system difficult... The port from NetBSD didn't take the time to make the device model match FreeBSD, but rather just shoe-horned it into the system. Warner From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 27 21:16:13 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D95A116A40B for ; Thu, 27 Apr 2006 21:16:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FF8643D45 for ; Thu, 27 Apr 2006 21:16:08 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k3RLG3EX085354; Thu, 27 Apr 2006 17:16:03 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org, msaad@datapipe.com Date: Thu, 27 Apr 2006 17:15:35 -0400 User-Agent: KMail/1.9.1 References: <29474FDFED799307FD7E33BE@unsupported> <4450FEC1.2090504@datapipe.com> In-Reply-To: <4450FEC1.2090504@datapipe.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604271715.37375.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1428/Thu Apr 27 14:39:31 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.1 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Subject: Re: Keyboard 'fails' in ddb on HP Proliant DL380 under 6.1-RC1 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, 27 Apr 2006 21:16:13 -0000 On Thursday 27 April 2006 13:26, Mark Saad wrote: > Karl, > What Generation of DL380 do you have. I am currently Running 6.0 and > 6.1-RC on DL380 G3's and G4's as well as the DL360 G3 & G4 . I have not > run in to that issue before and I would suspect bad hardware . You have to have 'device kbdmux' enabled to hit the issue. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 29 00:38:35 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F41016A412 for ; Sat, 29 Apr 2006 00:38:35 +0000 (UTC) (envelope-from saturnero@freesbie.org) Received: from jail1-fbsd4.consiagnet.it (jail1-fbsd4.consiagnet.it [83.149.128.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id F160F43D49 for ; Sat, 29 Apr 2006 00:38:32 +0000 (GMT) (envelope-from saturnero@freesbie.org) Received: from jail1-fbsd4.consiagnet.it (jail1-fbsd4.consiagnet.it [83.149.128.151]) by jail1-fbsd4.consiagnet.it (Postfix) with ESMTP id 8107B574F; Sat, 29 Apr 2006 02:49:50 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on cvs.freesbie.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.0 Received: from [192.168.99.16] (host129-150.pool875.interbusiness.it [87.5.150.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jail1-fbsd4.consiagnet.it (Postfix) with ESMTP; Sat, 29 Apr 2006 02:49:50 +0200 (CEST) Message-ID: <4452B591.6050707@freesbie.org> Date: Sat, 29 Apr 2006 02:38:41 +0200 From: Dario Freni User-Agent: Mozilla Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: Brooks Davis References: <4420AF56.60106@freesbie.org> <20060322165445.GA19647@odin.ac.hmc.edu> In-Reply-To: <20060322165445.GA19647@odin.ac.hmc.edu> X-Enigmail-Version: 0.94.0.0 OpenPGP: url=http://www.saturnero.net/saturnero.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD9675FE557E2F598AE5F4C6F" X-Virus-Scanned: ClamAV using ClamSMTP Cc: hackers@freebsd.org Subject: Re: Installation from USB pen 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, 29 Apr 2006 00:38:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD9675FE557E2F598AE5F4C6F Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Brooks Davis ha scritto: > On Wed, Mar 22, 2006 at 02:58:46AM +0100, Dario Freni wrote: >> Hi everybody, >> attached a tiny script to convert a FreeBSD install iso image to a >> binary ufs image ready to be flashed e.g. on an USB pendrive. >> >> The size of the ufs image is calculated from the iso one. The usage fo= r >> the script is quite simple: >> >> ./fbsd-install-iso2img.sh iso-path img-path >> >> Once you're done, you can dd the img directly to an USB pen. If you al= so >> want to make a serial-console install image just set the serial variab= le >> on top of the script to 1. >> >> This script is derived from another similar one that I made for the >> pfSense project. It was requested for those kind of systems which have= >> an usb port booting-capable and a serial console. >> >> I hope you'll find it useful. Bye, >=20 > Way cool! We've to tons of boxes that are a complete pain is the ass t= o > install on via CD, this will save tons of time. Obviously, it would be= > better it we made one of these as part of the release build and put it > on the ftp site, but this is a hugh step in the right direction. >=20 > One minor nit, you might want to put a check that the user is root at t= he > top of the script since that is a requirement. >=20 >> P.S.: beer-ware license >=20 > Are you going to be at BSDCan. :) Hey! Thanks to Dan Langille and BSDCan I'm going to be there! :) I definitely want my beer! :P --=20 Dario Freni (saturnero@freesbie.org) FreeSBIE developer (http://www.freesbie.org) GPG Public key at http://www.saturnero.net/saturnero.asc --------------enigD9675FE557E2F598AE5F4C6F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEUrWUymi72IiShysRAkd6AKDp/hJknV2UfonxVF0jFfi1Y97b0gCeJan7 0jrn/TjlDDk5gKLd88Dq8W0= =AUP+ -----END PGP SIGNATURE----- --------------enigD9675FE557E2F598AE5F4C6F-- From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 29 02:58:17 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89F9F16A404 for ; Sat, 29 Apr 2006 02:58:17 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32A3A43D45 for ; Sat, 29 Apr 2006 02:58:17 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k3T2wGFN004729; Fri, 28 Apr 2006 19:58:16 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k3T2wG4x004728; Fri, 28 Apr 2006 19:58:16 -0700 Date: Fri, 28 Apr 2006 19:58:16 -0700 From: Brooks Davis To: Dario Freni Message-ID: <20060429025816.GA26982@odin.ac.hmc.edu> References: <4420AF56.60106@freesbie.org> <20060322165445.GA19647@odin.ac.hmc.edu> <4452B591.6050707@freesbie.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: <4452B591.6050707@freesbie.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: hackers@freebsd.org Subject: Re: Installation from USB pen 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, 29 Apr 2006 02:58:17 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 29, 2006 at 02:38:41AM +0200, Dario Freni wrote: > Brooks Davis ha scritto: > > On Wed, Mar 22, 2006 at 02:58:46AM +0100, Dario Freni wrote: > >> Hi everybody, > >> attached a tiny script to convert a FreeBSD install iso image to a > >> binary ufs image ready to be flashed e.g. on an USB pendrive. > >> > >> The size of the ufs image is calculated from the iso one. The usage for > >> the script is quite simple: > >> > >> ./fbsd-install-iso2img.sh iso-path img-path > >> > >> Once you're done, you can dd the img directly to an USB pen. If you al= so > >> want to make a serial-console install image just set the serial variab= le > >> on top of the script to 1. > >> > >> This script is derived from another similar one that I made for the > >> pfSense project. It was requested for those kind of systems which have > >> an usb port booting-capable and a serial console. > >> > >> I hope you'll find it useful. Bye, > >=20 > > Way cool! We've to tons of boxes that are a complete pain is the ass to > > install on via CD, this will save tons of time. Obviously, it would be > > better it we made one of these as part of the release build and put it > > on the ftp site, but this is a hugh step in the right direction. > >=20 > > One minor nit, you might want to put a check that the user is root at t= he > > top of the script since that is a requirement. > >=20 > >> P.S.: beer-ware license > >=20 > > Are you going to be at BSDCan. :) >=20 > Hey! Thanks to Dan Langille and BSDCan I'm going to be there! :) I > definitely want my beer! :P No problem. :) -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEUtZHXY6L6fI4GtQRAnExAKCmDG6vlZ2DDsO1wmxYTOQ1JWODTwCdEzH9 VUbeXsJ6ZdCEhnmHIaffcSs= =N9eP -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--