From owner-freebsd-stable@FreeBSD.ORG Sun Mar 20 06:49:12 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00CF4106566C for ; Sun, 20 Mar 2011 06:49:12 +0000 (UTC) (envelope-from gua.chunglim@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B06A68FC0A for ; Sun, 20 Mar 2011 06:49:11 +0000 (UTC) Received: by iyj12 with SMTP id 12so6426716iyj.13 for ; Sat, 19 Mar 2011 23:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:x-operating-system; bh=/iRSZjvqGCFd/JVqomSmGdpkWBRW+rLPiKEc9Ew+5Us=; b=VTsMhurHew0iaJgXqk80EhzEOqSOzcN8aYRkz4iEvdVneDAOIac64bafSzGngn9jLC nyrkVK3BoCaYFccBAbcCfjEXKOP5tVd4AheaqaF3WDQuJhR4NEQllmwW6VDoxj5+nSJE z/6qs/F99ME1pg43p9lfWKxAVVdRsjQPlzCjo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-operating-system; b=r8rKDUjFvbQOSTKTwNPp/02FvY1Rw4nLcL8MYKfeU0aTzCWpJ1Yf4vSobDA7DpDf6V +3zGZobf7315kWpkys0yNQTx+8Tusp5EO618Cc/gtpw+BbqQsgv90w5PERb3DgO5Snoq N7xuH0yQpApXfGBV4nTVaHSQGFKhSYPh11dkY= Received: by 10.231.200.85 with SMTP id ev21mr2738992ibb.138.1300603751164; Sat, 19 Mar 2011 23:49:11 -0700 (PDT) Received: from gmail.com (125.27.95.62.adsl.dynamic.totbb.net [125.27.95.62]) by mx.google.com with ESMTPS id 19sm2780313ibx.18.2011.03.19.23.49.07 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Mar 2011 23:49:10 -0700 (PDT) Date: Sun, 20 Mar 2011 13:48:42 +0700 From: Gua Chung Lim To: "J.R. Oldroyd" Message-ID: <20110320064842.GA1335@gmail.com> Mail-Followup-To: "J.R. Oldroyd" , freebsd-stable , "Sergey V. Dyatko" , Steve Polyack , Jeremy Chadwick , David Demelier References: <20110317142559.GA1576@gmail.com> <20110318193153.56dee965@shibato.opal.com> <20110319144153.GA1370@gmail.com> <20110319132750.7edc62b3@shibato.opal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110319132750.7edc62b3@shibato.opal.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD/8.2-RELEASE (i386) Cc: David Demelier , "Sergey V. Dyatko" , freebsd-stable , Steve Polyack , Jeremy Chadwick Subject: Re: FBSD 8.2R does not probe sound card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2011 06:49:12 -0000 Hi, > So you need to reprogram your HDAC. You have four speaker possibilities, > nids 21, 22, 28 and 30. I can't tell which one is the one you want, so > you'll need to try all four until you find it. Use config in your > /boot/loader.conf.local like this: > Correction... > > Your output association is as=1. So you want: > > hint.hdac.0.cad0.nid21.config="as=1 seq=0" > hint.hdac.0.cad0.nid27.config="as=1 seq=15" # cat /boot/loader.conf.local hint.hdac.0.cad0.nid30.config="as=1 seq=0 device=Speaker conn=Fixed" hint.hdac.0.cad0.nid27.config="as=1 seq=15" I have tried with and without ``device=Speaker conn=Fixed'', for all nid21, 22, 28 and 30 (reboot 8 times). And each time mixer(8) does not mute the speaker. But the speakers are still quiet. Please do not suspect my speakers, they work well on win7 on the other partition/slice. Thank you very much. -- Gua Chung Lim Please help donate to Japan. -- for earthquake, tsunami and nuclear radiation reliefs (2011) From owner-freebsd-stable@FreeBSD.ORG Sun Mar 20 11:19:25 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B3F41065672 for ; Sun, 20 Mar 2011 11:19:25 +0000 (UTC) (envelope-from denny@denny-schierz.de) Received: from mail.4lin.net (mail.4lin.net [46.4.210.97]) by mx1.freebsd.org (Postfix) with ESMTP id DFEBC8FC18 for ; Sun, 20 Mar 2011 11:19:24 +0000 (UTC) Received: from localhost (angelica.4lin.net [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id 0E3902B53D for ; Sun, 20 Mar 2011 12:06:21 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7gMGcckZ4-E7 for ; Sun, 20 Mar 2011 12:06:14 +0100 (CET) Received: from [192.168.3.38] (ip-92-50-80-192.unitymediagroup.de [92.50.80.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id ED4AD20F00 for ; Sun, 20 Mar 2011 12:06:13 +0100 (CET) From: Denny Schierz To: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" Date: Sun, 20 Mar 2011 12:02:39 +0100 Message-ID: <1300618959.2191.5.camel@netti> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: SAS HBA LSI 9200-8e supported under 8.2? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2011 11:19:25 -0000 hi, I'm new to BSD and I want to know, if the SAS HBA LSI 9200-8e is supported under FreeBSD 8.2. We installed FreeBSD on SATA disks, but I can't see any devices through the SAS HBA, so maybe I have to load the driver first. cu denny From owner-freebsd-stable@FreeBSD.ORG Sun Mar 20 18:09:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E6401065672 for ; Sun, 20 Mar 2011 18:09:34 +0000 (UTC) (envelope-from telbizov@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id B989C8FC1C for ; Sun, 20 Mar 2011 18:09:33 +0000 (UTC) Received: by qyk35 with SMTP id 35so1783357qyk.13 for ; Sun, 20 Mar 2011 11:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=FckFWpUNlSgCMDPbeLI784JtLl1CO3nvHX8pbqOdEVU=; b=H6z2/TJT1/k0F5LhukfOTxTwFVoCb5rygM0INXUBi3Vadev9cnzfylSaGhqqfhL5Z9 uwL2txyce/UwvDV8PYk7XU20faCD+EBLw/c+AiTQgYn+aPI36Ae+khkVLh9So1eQLOyT 8SGq5ngDPY0AskSXLzqxpTvFEPEw18QXg+Cms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=j7N7v6YCLpcwPntJN4ig1ZYc88qoa836OJFVvlxeTPoyvjniOuq/J0KIvrryCd0oPO zPTYJUdFrMXVv2BVqM7ecqQlVm4KM5aY2Ny9JR1X1n6+R0CptjhWii9KkZIzlsa+1g5a 1+qRkDSfPPcr4CslHhiWH/txF62TFAdbrQD0o= MIME-Version: 1.0 Received: by 10.229.71.77 with SMTP id g13mr2538498qcj.116.1300644572830; Sun, 20 Mar 2011 11:09:32 -0700 (PDT) Received: by 10.229.225.4 with HTTP; Sun, 20 Mar 2011 11:09:32 -0700 (PDT) In-Reply-To: <1300618959.2191.5.camel@netti> References: <1300618959.2191.5.camel@netti> Date: Sun, 20 Mar 2011 11:09:32 -0700 Message-ID: From: Rumen Telbizov To: Denny Schierz Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: SAS HBA LSI 9200-8e supported under 8.2? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2011 18:09:34 -0000 Denny, LSI 9200-8e is based on the SAS2008 chip and the driver for that chip (mps) has recently been merged from current into stable but before 8.2-RELEASE. Therefore if you're using 8.2-RELEASE iso image to install FreeBSD on a SAS2008 system - you won't see any disks whatsoever. Unfortunately I can't find an 8.2-STABLE snapshot on the ftp.freebsd.orgeither which would have contained the mps driver. I hope someone who's capable of doing this can build one. Now in the meantime what I suggest is that you do the following (that's what I do): 1. Install 8.2-RELEASE on a system that uses another, supported, controller. 2. Upgrade it to latest STABLE and recompile world and kernel. Make sure you have device mps in the kernel configuration. 3. Download http://mfsbsd.vx.sk/iso/mfsbsd-8.2-amd64.iso which is a small ram live system. Still it doesn't have mps. I wrote an email to Martin Matuska requesting a build against stable but he didn't reply. 4. Replace the kernel in the mfsbsd with the kernel that you've built. Copy zfs.ko and opensolaris.ko too 5. Boot mfsbsd from PXE (easiest) and install the system as per http://wiki.freebsd.org/RootOnZFS#head-378d1d7d308d71637a3466a4f98f845aaeaa116a if you're planning on using ZFS root. Improvisation in the above process is strongly suggested ;) I hope this helps a bit. Cheers, Rumen Telbizov On Sun, Mar 20, 2011 at 4:02 AM, Denny Schierz wrote: > hi, > > I'm new to BSD and I want to know, if the SAS HBA LSI 9200-8e is > supported under FreeBSD 8.2. > We installed FreeBSD on SATA disks, but I can't see any devices through > the SAS HBA, so maybe I have to load the driver first. > > cu denny > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Rumen Telbizov http://telbizov.com From owner-freebsd-stable@FreeBSD.ORG Mon Mar 21 05:35:06 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4370F1065670 for ; Mon, 21 Mar 2011 05:35:06 +0000 (UTC) (envelope-from gua.chunglim@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5D5C28FC13 for ; Mon, 21 Mar 2011 05:35:05 +0000 (UTC) Received: by iwn33 with SMTP id 33so7173424iwn.13 for ; Sun, 20 Mar 2011 22:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent:x-operating-system; bh=b9aAG+Oc5BrqFk9OjeKx0SOkoCqXDI/+pO88aDKtVCs=; b=ZYFLM+nBgfK3XlEY8AeUuujK2QuDWGYjOyeUdEgjOzhEG9Q3ZYqZSqz8vLRoiHF2+W NlpsP2PkPSoKB7wGNRJqYYrOsPIHI1iGXbt0gsyzeIlMWxDW5Uisp4t+wRLtt74L9zT0 TU+9RxZJAc1Mz2LUB7X0t11d0ec91MGiaxcrI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent:x-operating-system; b=CGdNMhspjczbOlxK04htqIw8g52X5dj+LA71RaGX/I2KVAPsAlJgdj54K3LS/yh2e/ yfvFuNfaUB5ru8DfiKt3w3GW06SyKs9iLtrgp4+cALZDDHcJTySsgFzy5elP3EkOPL58 N5zdO2qwdALoQCYuecGJbEvYwk2KD2xcVRGdM= Received: by 10.42.230.199 with SMTP id jn7mr820339icb.114.1300685704568; Sun, 20 Mar 2011 22:35:04 -0700 (PDT) Received: from gmail.com ([182.52.59.252]) by mx.google.com with ESMTPS id c1sm3475599ibe.66.2011.03.20.22.35.00 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 Mar 2011 22:35:02 -0700 (PDT) Date: Mon, 21 Mar 2011 12:34:36 +0700 From: Gua Chung Lim To: "J.R. Oldroyd" Message-ID: <20110321053436.GA1483@gmail.com> Mail-Followup-To: "J.R. Oldroyd" , freebsd-stable References: <20110317142559.GA1576@gmail.com> <20110318193153.56dee965@shibato.opal.com> <20110319144153.GA1370@gmail.com> <20110319132750.7edc62b3@shibato.opal.com> <20110320064842.GA1335@gmail.com> <20110320145751.193fb06e@shibato.opal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20110320145751.193fb06e@shibato.opal.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD/8.2-RELEASE (i386) Cc: freebsd-stable Subject: Re: FBSD 8.2R does not probe sound card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 05:35:06 -0000 Hi, Thank you very much for your kind response. > The reprogramming I gave you was for pcm0. Your pcm1 is showing > with the HDMI digital chip pins. >=20 > Make sure that your "cat /dev/sndstat" is showing pcm0 as "default". > (Use the sysctl hw.snd.default_unit to set it.) Previously my sysctl hw.snd.default_unit was 1. So its default was set to pcm1. Therefore I change it to 0. By the way my configuration files got changed from time to time for each suggestion I received. So I would summarize my current config as follows. guacl@bsdhost:~% tail -n 1 /etc/sysctl.conf hw.snd.default_unit=3D0 guacl@bsdhost:~% cat /boot/loader.conf atapicam_load=3D"YES" snd_hda_load=3D"YES" guacl@bsdhost:~% cat /boot/loader.conf.local hint.hdac.0.cad0.nid30.config=3D"as=3D1 seq=3D0 device=3DSpeaker conn=3DFix= ed" hint.hdac.0.cad0.nid27.config=3D"as=3D1 seq=3D15" (I have tried nid21, 22, 28 and 30.) =46rom my current configurations, my speakers are still quiet. mixer(8) does not even show "speaker" or "volume" guacl@bsdhost:~% mixer Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer rec is currently set to 75:75 Mixer monitor is currently set to 75:75 Recording source: mic Anythings divert from your suggestion, please tell me. > Also, I am guessing from your verbose info that pcm0 also shows > "Analog" and "play" too? You need these for the speaker output. > If you, in fact, have pcm0, pcm1 on Analog and then a pcm2 on HDMI, > we will need to try other settings. Or if pcm0 does not show "play" > by it. Perhaps send me the /dev/sndstat info if it is not > pcm0: Analog...play and pcm1: HDMI. guacl@bsdhost:~% cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: (rec) default pcm1: (play) No, pcm0 shows "Analog" but pcm1 shows "play". > You might also want to try explicitly adding statements to program > your input device. I notice that in your verbose info, your output > devices are listed on the input association. Try this: >=20 > hint.hdac.0.cad0.nidXX.config=3D"as=3D1 seq=3D0" > hint.hdac.0.cad0.nid27.config=3D"as=3D1 seq=3D15" > hint.hdac.0.cad0.nid24.config=3D"as=3D3 seq=3D0" > hint.hdac.0.cad0.nid25.config=3D"as=3D3 seq=3D1" > hint.hdac.0.cad0.nid26.config=3D"as=3D3 seq=3D15" Shall I fix pcm first, then try this later? I think that I tried reboot 30 times for the last couple days. :-( Thank you very much. --=20 Gua Chung Lim =20 Please help donate to Japan. -- for earthquake, tsunami and nuclear radiation reliefs (2011) From owner-freebsd-stable@FreeBSD.ORG Mon Mar 21 07:43:32 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60BCE106566B for ; Mon, 21 Mar 2011 07:43:32 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 14F4A8FC1C for ; Mon, 21 Mar 2011 07:43:31 +0000 (UTC) Received: from outgoing.leidinger.net (p5B155C3B.dip.t-dialin.net [91.21.92.59]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id ABEED844015; Mon, 21 Mar 2011 08:26:38 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 4C0E0108B; Mon, 21 Mar 2011 08:26:35 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p2L7QJrP052723; Mon, 21 Mar 2011 08:26:19 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 21 Mar 2011 08:26:19 +0100 Message-ID: <20110321082619.97716qmve56zukdw@webmail.leidinger.net> Date: Mon, 21 Mar 2011 08:26:19 +0100 From: Alexander Leidinger To: David Demelier References: <4D85AE1B.7010407@gmail.com> <20110320173157.00002024@unknown> <4D86EA62.9060506@gmail.com> In-Reply-To: <4D86EA62.9060506@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: ABEED844015.A3AE2 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=0.077, required 6, autolearn=disabled, TW_IB 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1301297201.15828@MkBcW6hE280wrquulVpxCw X-EBL-Spam-Status: No Cc: stable@freebsd.org, freebsd-current@freebsd.org Subject: Re: WITHOUT_JAIL and make delete-old{,-libs} X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 07:43:32 -0000 Quoting David Demelier (from Mon, 21 Mar 2011 07:04:18 +0100): > On 20/03/2011 17:31, Alexander Leidinger wrote: >> On Sun, 20 Mar 2011 08:34:51 +0100 David Demelier >> wrote: >> >>> Hello, >>> >>> I was surprised to see there is no ${MK_JAIL} conditional to remove >>> old files on 8.2-RELEASE so I started to write it without watching if >>> -CURRENT already make it in >>> /usr/src/tools/build/mk/OptionalObsoleteFiles.inc. >>> >>> .if ${MK_JAIL} == no >>> I think they should be removed too, thus can you merge it to -STABLE >>> if it's not already done? (sorry I'm not used to the cvs web >>> interface and I don't have -STABLE right now) > No I understood why, that's because a lot of userland programs that > can handle jails processes are linked to the libjail such as top, > ifconfig, ... So it's just about merging to 8-stable. I made a diff between -current and 8-stable, and there are a lot of differences. Instead of merging just the entries for the jails, it would be better to merge nearly everything. The problem is that this requires a lot of testing (delete old files, installworld, check if files reappear -> need to be removed from the list to remove with delete-old/-libs) and the libs need to be checked for the correct version number too. Anyone out there willing to take the stuff in /usr/src/tools/build/mk/OptionalObsoleteFiles.inc from current for his favourite WITHOUT_xxx option and test it in the above described way? I do not have the resources (time/machine) to do it, but I would be willing to commit tested parts. Bye, Alexander. -- This login session: .99, but for you .88 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-stable@FreeBSD.ORG Mon Mar 21 08:49:24 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F27A1065670 for ; Mon, 21 Mar 2011 08:49:24 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [46.4.210.97]) by mx1.freebsd.org (Postfix) with ESMTP id 494518FC15 for ; Mon, 21 Mar 2011 08:49:24 +0000 (UTC) Received: from localhost (angelica.4lin.net [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id 6C0DD25BFC for ; Mon, 21 Mar 2011 09:35:21 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DMcmtmmW7Ydo for ; Mon, 21 Mar 2011 09:35:18 +0100 (CET) Received: from [130.83.160.152] (pcdenny.rbg.informatik.tu-darmstadt.de [130.83.160.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id 36788225DF for ; Mon, 21 Mar 2011 09:35:18 +0100 (CET) From: Denny Schierz To: freebsd-stable@freebsd.org In-Reply-To: References: <1300618959.2191.5.camel@netti> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-mfEPLcYwQ/sJjaT/XlQG" Date: Mon, 21 Mar 2011 09:33:05 +0100 Message-ID: <1300696385.16912.5.camel@pcdenny> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Subject: Re: SAS HBA LSI 9200-8e supported under 8.2? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 08:49:24 -0000 --=-mfEPLcYwQ/sJjaT/XlQG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hi Rumen, Am Sonntag, den 20.03.2011, 11:09 -0700 schrieb Rumen Telbizov: > Denny, >=20 > LSI 9200-8e is based on the SAS2008 chip and the driver for that chip (mp= s) > has recently been merged > from current into stable but before 8.2-RELEASE. Therefore if you're usin= g > 8.2-RELEASE iso image to > install FreeBSD on a SAS2008 system - you won't see any disks whatsoever. > Unfortunately I can't find an 8.2-STABLE snapshot on the > ftp.freebsd.orgeither which would have > contained the mps driver. I hope someone who's capable of doing this can > build one. thanks a lot for this way, but we don't need to install BSD on the SAS disks :-) For the system itself we have to SATA disk (Raid1 gmirror or raidz, if it isn't to complicated) and the SAS we need only for ISCSI with ZFS. So maybe we need only to recompile the kernel or modules to get it running. cu denny --=-mfEPLcYwQ/sJjaT/XlQG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk2HDT8ACgkQKlzhkqt9P+B4ZACff66LdCIdK0X2pXlnI8wVw/uc URoAn1YGqylbocIo+rADwPM0UCmG3OMy =DrLR -----END PGP SIGNATURE----- --=-mfEPLcYwQ/sJjaT/XlQG-- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 21 09:47:17 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36612106566C for ; Mon, 21 Mar 2011 09:47:17 +0000 (UTC) (envelope-from srg.gavrilov@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id EE6AA8FC19 for ; Mon, 21 Mar 2011 09:47:16 +0000 (UTC) Received: by iwn33 with SMTP id 33so7346820iwn.13 for ; Mon, 21 Mar 2011 02:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=uVj1AHGg3pCLFxpjIpOPwFoNkthTYz1oVt2N2K0VEq0=; b=pLGR2q1YFrcdQskmcTJy4BcHb7MG8UqMlztNZQZbvrleWgg3C2C8G2GT0WJn9Qm83W y+mVCYQ8Zf8f7IM6tmjGp5g1OOXby6y6IdNjviqE+8Qpz4MaDd7p7ZbYURAS2DhaE4JH Qr7k4odSrpQMUU9pcFsRQ4jsBOMP66w6kDJq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=I+flGcF4wbLFOsrT4CAZfHJswHUhCTf47/ggb10FmDsUsZHX4lTU89f63nhUcDVgFb GcQzPLuuhY4cvZjN2vnSlMB0dvspk7bP1yu1DPMnWk+u/faHvZk76AvRa5w+ji4Q/BAA LcQg92HLONliQWfwuwjIqtyahP3e1TwsYk5Ak= MIME-Version: 1.0 Received: by 10.43.59.207 with SMTP id wp15mr4157232icb.163.1300700836347; Mon, 21 Mar 2011 02:47:16 -0700 (PDT) Received: by 10.42.217.66 with HTTP; Mon, 21 Mar 2011 02:47:16 -0700 (PDT) In-Reply-To: References: <4D660909.6090202@my.gd> <20110224075517.GA18146@icarus.home.lan> Date: Mon, 21 Mar 2011 12:47:16 +0300 Message-ID: From: Sergey Gavrilov To: Paul Mather Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: ZFS - abysmal performance with samba since upgrade to 8.2-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 09:47:17 -0000 Yes, I know. But I have a lot of memory and I want it to be used if it improves performance. I tried to test whole system not just fs. And I surprised in why vfs.zfs.prefetch_disable="1" affects so much. 2011/3/18 Paul Mather > > On Mar 18, 2011, at 5:53 AM, Sergey Gavrilov wrote: > > > vfs.zfs.prefetch_disable="1" causes much slow read on sequence data in my > > case. > > > > with vfs.zfs.prefetch_disable="1": > > > > dd if=/pool1/test/idisk1 of=/dev/null bs=1m count=500 > > 524288000 bytes transferred in 18.347177 secs (28575949 bytes/sec) > > > > with vfs.zfs.prefetch_disable="0": > > > > dd if=/pool1/test/idisk1 of=/dev/null bs=1m count=500 > > 524288000 bytes transferred in 3.331806 secs (157358504 bytes/sec) > > > > after few seconds: > > dd if=/pool1/test/idisk1 of=/dev/null bs=1m count=500 > > 524288000 bytes transferred in 0.107767 secs (4865009592 bytes/sec) > > The last dd performance figures are undoubtedly reflecting a read from data > cached in RAM. You should do your test on a file that is bigger than your > RAM size, or at least bigger than the amount of RAM you are dedicating to > ARC. > > Other than that, ZFS prefetching *is* supposed to speed up sequential > accesses, so it's no surprise you notice a speedup in such cases. :-) > > Cheers, > > Paul. > > -- Best regards, Sergey Gavrilov From owner-freebsd-stable@FreeBSD.ORG Mon Mar 21 11:41:38 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CC1B106566B for ; Mon, 21 Mar 2011 11:41:38 +0000 (UTC) (envelope-from O.Seibert@cs.ru.nl) Received: from rustug.science.ru.nl (rustug.science.ru.nl [131.174.16.158]) by mx1.freebsd.org (Postfix) with ESMTP id 04B268FC15 for ; Mon, 21 Mar 2011 11:41:36 +0000 (UTC) Received: from kookpunt.science.ru.nl (kookpunt.science.ru.nl [131.174.30.61]) by rustug.science.ru.nl (8.13.7/5.31) with ESMTP id p2LBNSqY009026 for ; Mon, 21 Mar 2011 12:23:28 +0100 (MET) Received: from twoquid.cs.ru.nl (twoquid.cs.ru.nl [131.174.142.38]) by kookpunt.science.ru.nl (8.13.7/5.31) with ESMTP id p2LBNMAM008839; Mon, 21 Mar 2011 12:23:22 +0100 (MET) Received: by twoquid.cs.ru.nl (Postfix, from userid 4100) id 52EA12E048; Mon, 21 Mar 2011 12:23:22 +0100 (CET) Date: Mon, 21 Mar 2011 12:23:22 +0100 From: Olaf Seibert To: freebsd-stable@freebsd.org Message-ID: <20110321112322.GA6733@twoquid.cs.ru.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-Spam-Score: -1.799 () ALL_TRUSTED,BAYES_50 X-Scanned-By: MIMEDefang 2.63 on 131.174.30.61 Subject: .zfs directory: snapshot: Bad file descriptor X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 11:41:38 -0000 On my production system (still 8.1, I haven't had time yet to upgrade to 8.2) I have a ZFS. Nightly I make snapshots of each filesystem in it. Suddenly, one of the file systems has no snapshots any more: $ ls -l /tank/vol-fourquid-1/.zfs ls: snapshot: Bad file descriptor total 0 $ ls -l /tank/vol-fourquid-1/.zfs/snapshot ls: /tank/vol-fourquid-1/.zfs/snapshot: Bad file descriptor Snapshots in other file systems seem ok, for example: $ ls -l /home/local/.zfs total 0 dr-xr-xr-x 9 root wheel 9 Oct 21 2009 snapshot/ $ ls -l /home/local/.zfs/snapshot/ total 32 drwxr-xr-x 48 root vb 48 Apr 19 2010 friday/ drwxr-xr-x 48 root vb 48 Apr 19 2010 monday/ drwxr-xr-x 48 root vb 48 Apr 19 2010 saturday/ drwxr-xr-x 48 root vb 48 Apr 19 2010 sunday/ drwxr-xr-x 48 root vb 48 Apr 19 2010 thursday/ drwxr-xr-x 48 root vb 48 Apr 19 2010 tuesday/ drwxr-xr-x 48 root vb 48 Apr 19 2010 wednesday/ zpool status thinks all is ok: $ zpool status pool: tank state: ONLINE status: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using 'zpool upgrade'. Once this is done, the pool will no longer be accessible on older software versions. scrub: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz2 ONLINE 0 0 0 da0 ONLINE 0 0 0 da1 ONLINE 0 0 0 da2 ONLINE 0 0 0 da3 ONLINE 0 0 0 da4 ONLINE 0 0 0 da5 ONLINE 0 0 0 errors: No known data errors How worried should I be about corruption anyway, say if I unmount and remount the affected file system? -Olaf. -- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 21 18:10:32 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA3F81065670; Mon, 21 Mar 2011 18:10:32 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id 4EE728FC1C; Mon, 21 Mar 2011 18:10:31 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id p2LHrjYV074633; Mon, 21 Mar 2011 18:53:45 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id BD082BA9C; Mon, 21 Mar 2011 18:53:44 +0100 (CET) Date: Mon, 21 Mar 2011 18:53:44 +0100 From: Roland Smith To: Alexander Leidinger Message-ID: <20110321175344.GA41347@slackbox.erewhon.net> References: <4D85AE1B.7010407@gmail.com> <20110320173157.00002024@unknown> <4D86EA62.9060506@gmail.com> <20110321082619.97716qmve56zukdw@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <20110321082619.97716qmve56zukdw@webmail.leidinger.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: David Demelier , stable@freebsd.org, freebsd-current@freebsd.org Subject: Re: WITHOUT_JAIL and make delete-old{,-libs} X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 18:10:32 -0000 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 21, 2011 at 08:26:19AM +0100, Alexander Leidinger wrote: >=20 > Quoting David Demelier (from Mon, 21 Mar =20 > 2011 07:04:18 +0100): >=20 > > On 20/03/2011 17:31, Alexander Leidinger wrote: > >> On Sun, 20 Mar 2011 08:34:51 +0100 David Demelier > >> wrote: > >> > >>> Hello, > >>> > >>> I was surprised to see there is no ${MK_JAIL} conditional to remove > >>> old files on 8.2-RELEASE so I started to write it without watching if > >>> -CURRENT already make it in > >>> /usr/src/tools/build/mk/OptionalObsoleteFiles.inc. > >>> > >>> .if ${MK_JAIL} =3D=3D no >=20 > >>> I think they should be removed too, thus can you merge it to -STABLE > >>> if it's not already done? (sorry I'm not used to the cvs web > >>> interface and I don't have -STABLE right now) >=20 > > No I understood why, that's because a lot of userland programs that =20 > > can handle jails processes are linked to the libjail such as top, =20 > > ifconfig, ... >=20 > So it's just about merging to 8-stable. >=20 > I made a diff between -current and 8-stable, and there are a lot of =20 > differences. Instead of merging just the entries for the jails, it =20 > would be better to merge nearly everything. The problem is that this =20 > requires a lot of testing (delete old files, installworld, check if =20 > files reappear -> need to be removed from the list to remove with =20 > delete-old/-libs) and the libs need to be checked for the correct =20 > version number too. Some months ago, I submitted an PR with an update for tools/build/mk/OptionalObsoleteFiles.inc;=20 http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dmisc/149360 I added stuff to it by looking at the options in src.conf(5) and running 'm= ake -n install' in the relevant kernel directory and noting what was installed. The original file I started from (1.20.2.2.2.1 from 2010/06/14) = was 1162 lines. My enhanced version is 2610 lines. Maybe you can use this? Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2HkKgACgkQEnfvsMMhpyUoswCgnMHJ4LNVRo9dLJb//A9Hoe4a vaAAn3D3GwYEsE3IFa6QwOQZnEYJI5ZF =fj82 -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+-- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 21 23:10:55 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C8AE1065672 for ; Mon, 21 Mar 2011 23:10:55 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id AD5178FC17 for ; Mon, 21 Mar 2011 23:10:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.4/8.14.4) with ESMTP id p2LNApjK041437; Tue, 22 Mar 2011 02:10:51 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Tue, 22 Mar 2011 02:10:51 +0300 (MSK) From: Dmitry Morozovsky To: Denny Schierz In-Reply-To: <1300696385.16912.5.camel@pcdenny> Message-ID: References: <1300618959.2191.5.camel@netti> <1300696385.16912.5.camel@pcdenny> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (woozle.rinet.ru [0.0.0.0]); Tue, 22 Mar 2011 02:10:51 +0300 (MSK) Cc: freebsd-stable@freebsd.org Subject: Re: SAS HBA LSI 9200-8e supported under 8.2? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 23:10:55 -0000 On Mon, 21 Mar 2011, Denny Schierz wrote: DS> > LSI 9200-8e is based on the SAS2008 chip and the driver for that chip (mps) DS> > has recently been merged DS> > from current into stable but before 8.2-RELEASE. Therefore if you're using DS> > 8.2-RELEASE iso image to DS> > install FreeBSD on a SAS2008 system - you won't see any disks whatsoever. DS> > Unfortunately I can't find an 8.2-STABLE snapshot on the DS> > ftp.freebsd.orgeither which would have DS> > contained the mps driver. I hope someone who's capable of doing this can DS> > build one. DS> DS> thanks a lot for this way, but we don't need to install BSD on the SAS DS> disks :-) For the system itself we have to SATA disk (Raid1 gmirror or DS> raidz, if it isn't to complicated) and the SAS we need only for ISCSI DS> with ZFS. DS> DS> So maybe we need only to recompile the kernel or modules to get it DS> running. FWIW, (and you can find info about it in mailing list archives) I just built and about to out it into day-to-day use 8.2-stable system, working as big-just-in-case archive with sources from Mar1 based on SuperMicro case/mobo with LSI SAS2008 + LSI expander + 24 SATA RE4 disk bays. For now (and array is only half filled with disks) I'm very glad to have one-thread 500 MBps+ read stream from raidz2 array ;) Booting from mps (while I had to set up gmirror, as only 12 disks are exported to BIOS, hence very large raidz's are not allowed to boot from) was not a problem either. -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 00:05:24 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C53EB1065679 for ; Tue, 22 Mar 2011 00:05:24 +0000 (UTC) (envelope-from telbizov@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 752DB8FC0A for ; Tue, 22 Mar 2011 00:05:24 +0000 (UTC) Received: by qwc9 with SMTP id 9so5045815qwc.13 for ; Mon, 21 Mar 2011 17:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jNyse6UsAKQ670tL/dtr1XxhtagPv1WGZ+Oqs/aGKX4=; b=j2V7L/QTI8mudwIBk6Nx9kvbLDX08pxrhgdMwV4daq/73xRtsnwTn9nlWrCJWcFbm7 gaaB5cWTOEeGbzmlYi2qnaOvukxTdNXGEpbOvr6k23iVB4WMsqjC3SqKyyh51dU3DosP 9qte2E50iuo/L02Pw4+R9nCF1zsVKXvc1gzrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PyEWGAQSAKvDx6BZoACDBGvHZ2ItdUp1XZqwM2Iq8LZzCN8OJk75wpUQL6GG0/EtUs uw0GO/mzRxftrnwagD6iAmcGScpAQ8gR9N+66WM0ltEgizlcGe9kv7XOxGw9YoVEEDum wqrY2G2NkSOrg+y7O2zzxn+6RXcLBYjtQTPKw= MIME-Version: 1.0 Received: by 10.229.119.151 with SMTP id z23mr3979975qcq.2.1300752323094; Mon, 21 Mar 2011 17:05:23 -0700 (PDT) Received: by 10.229.225.4 with HTTP; Mon, 21 Mar 2011 17:05:23 -0700 (PDT) In-Reply-To: References: <1300618959.2191.5.camel@netti> <1300696385.16912.5.camel@pcdenny> Date: Mon, 21 Mar 2011 17:05:23 -0700 Message-ID: From: Rumen Telbizov To: Dmitry Morozovsky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: SAS HBA LSI 9200-8e supported under 8.2? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 00:05:24 -0000 > > Booting from mps (while I had to set up gmirror, as only 12 disks are > exported > to BIOS, hence very large raidz's are not allowed to boot from) was not a > problem either. What I did into my 48 disk machine was - create a separate 'zroot' pool comprising of 20G gpt partitions carved of off 8 of those 48 disks in mirror (yeah paranoia!!!) and boot of them. It works nice since I don't waste too much space since it's a partition and gives me a lot of redundancy. What I have is simply the first vdev consisting of partitions that are 20G smaller compared to the rest of the vdevs. All those were organized in raidz2 = 6 x 8disks. Anyway ... something to consider in the cases when you don't have or you don't want to have a dedicated bunch of disks for the operating system. Cheers -- Rumen Telbizov http://telbizov.com From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 01:13:54 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4908E106566B for ; Tue, 22 Mar 2011 01:13:54 +0000 (UTC) (envelope-from jhsu802701@jasonhsu.com) Received: from meso.stormserver1.net (meso.stormserver1.net [72.52.153.36]) by mx1.freebsd.org (Postfix) with ESMTP id 279EE8FC0A for ; Tue, 22 Mar 2011 01:13:53 +0000 (UTC) Received: from mn-74-5-64-201.dhcp.embarqhsd.net ([74.5.64.201]:24326 helo=localhost) by meso.stormserver1.net with smtp (Exim 4.69) (envelope-from ) id 1Q1pVk-00041q-E0 for freebsd-stable@freebsd.org; Mon, 21 Mar 2011 19:31:48 -0500 Date: Mon, 21 Mar 2011 19:31:26 -0500 From: Jason Hsu To: freebsd-stable@freebsd.org Message-Id: <20110321193126.006fd02c.jhsu802701@jasonhsu.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - meso.stormserver1.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jasonhsu.com X-Source: X-Source-Args: X-Source-Dir: Subject: WANTED: good server tutorial X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 01:13:54 -0000 I'm looking for a good step-by-step quick-and-dirty FreeBSD server tutorial for the current stable version. Most of the tutorials I've seen are for outdated versions of FreeBSD. My setup is: Internet -> Modem -> Firewall/server computer -> Ethernet switch -> Other computers For an example of what I'd like to see, check out my tutorial for setting up Debian Lenny on the server at http://www.jasonhsu.com/linux-server-debian.html . Is there something analogous for FreeBSD version 7.4? -- Jason Hsu From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 03:36:07 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 039F51065670 for ; Tue, 22 Mar 2011 03:36:07 +0000 (UTC) (envelope-from mloftis@wgops.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id BCC7E8FC08 for ; Tue, 22 Mar 2011 03:36:06 +0000 (UTC) Received: by qyk27 with SMTP id 27so5378434qyk.13 for ; Mon, 21 Mar 2011 20:36:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.89.6 with SMTP id c6mr4090948qam.379.1300763213416; Mon, 21 Mar 2011 20:06:53 -0700 (PDT) Received: by 10.52.169.233 with HTTP; Mon, 21 Mar 2011 20:06:53 -0700 (PDT) In-Reply-To: <20110321193126.006fd02c.jhsu802701@jasonhsu.com> References: <20110321193126.006fd02c.jhsu802701@jasonhsu.com> Date: Mon, 21 Mar 2011 21:06:53 -0600 Message-ID: From: Michael Loftis To: Jason Hsu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable Subject: Re: WANTED: good server tutorial X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 03:36:07 -0000 On Mon, Mar 21, 2011 at 6:31 PM, Jason Hsu wrote: > I'm looking for a good step-by-step quick-and-dirty FreeBSD server tutori= al for the current stable version. =A0Most of the tutorials I've seen are f= or outdated versions of FreeBSD. > > My setup is: Internet -> Modem -> Firewall/server computer -> Ethernet sw= itch -> Other computers > > For an example of what I'd like to see, check out my tutorial for setting= up Debian Lenny on the server at http://www.jasonhsu.com/linux-server-debi= an.html . > > Is there something analogous for FreeBSD version 7.4? http://www.freebsd.org/docs.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ etc. From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 09:52:02 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E609A106566C for ; Tue, 22 Mar 2011 09:52:02 +0000 (UTC) (envelope-from erob@gthcfoundation.org) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id C21258FC1E for ; Tue, 22 Mar 2011 09:52:02 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1 Received: from [192.168.0.100] ([184.162.50.38]) by VL-MR-MRZ20.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0LIG006TKE28UXC0@VL-MR-MRZ20.ip.videotron.ca> for freebsd-stable@freebsd.org; Tue, 22 Mar 2011 05:51:44 -0400 (EDT) Message-id: <4D887141.5080201@gthcfoundation.org> Date: Tue, 22 Mar 2011 05:52:01 -0400 From: Etienne Robillard Organization: Green Tea Hackers Club User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110303 Icedove/3.0.11 To: Jason Hsu References: <20110321193126.006fd02c.jhsu802701@jasonhsu.com> In-reply-to: <20110321193126.006fd02c.jhsu802701@jasonhsu.com> X-Enigmail-Version: 1.0.1 Cc: freebsd-stable@freebsd.org Subject: Re: WANTED: good server tutorial X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: erob@gthcfoundation.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 09:52:03 -0000 On 21/03/11 08:31 PM, Jason Hsu wrote: > I'm looking for a good step-by-step quick-and-dirty FreeBSD server tutorial for the current stable version. Most of the tutorials I've seen are for outdated versions of FreeBSD. > > My setup is: Internet -> Modem -> Firewall/server computer -> Ethernet switch -> Other computers > > For an example of what I'd like to see, check out my tutorial for setting up Debian Lenny on the server at http://www.jasonhsu.com/linux-server-debian.html . > > Is there something analogous for FreeBSD version 7.4? > > The handbook documentation is probably what you're looking for. http://www.freebsd.org/doc/handbook/ -- Etienne Robillard Company: Green Tea Hackers Club Occupation: Software Developer (and CEO) E-mail: erob@gthcfoundation.org Work phone: 450-936-2123 Website (Company): https://gthc.org/ Website (Blog): https://gthc.org/blog/ PGP public key fingerprint: F2A9 32EA 8E7C 460F 1728 A1A7 649C 7F17 A086 DDEC During times of universal deceit, telling the truth becomes a revolutionary act. -- George Orwell If a free society cannot help the many who are poor, it cannot save the few who are rich. -- John F. Kennedy From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 15:15:24 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 120A6106566B for ; Tue, 22 Mar 2011 15:15:24 +0000 (UTC) (envelope-from gua.chunglim@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C4B988FC0A for ; Tue, 22 Mar 2011 15:15:23 +0000 (UTC) Received: by iwn33 with SMTP id 33so9006906iwn.13 for ; Tue, 22 Mar 2011 08:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:x-operating-system; bh=n3qcfNA7ytOBl7HKcB/FKHlgOkUXDJuoXpnBlSddGF4=; b=xU39zhe5Iixt6+3SBH1vliazWd6jnyUOLDcJtWpFz39rX2PsOoCzgRbauvPx88Mvqp +fQLkgAvbuXH1pFv7PsXI5yQ9YDvZoThEDYq3/V8J9Ka6QiNPsDEayw68p7TgLTHDZyg kNJhKztZ9hZFiuTRXMSvZmYHGiZKWW1CyF2qM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-operating-system; b=S/ZicAuyfovX1Hl6YU83w8icNbc1bKnD23jkJyH2b1lN3PnL7kqdWEcgp1QF1IPt2P pPUe+PyksT/MfJ9IByPncs3Cc1ezBnsm88aw79VNhP+KGk01HWKq2G2KXubkV22c93DN Rk3u2+CdhWKKL7CqTI3SPFcJ+EcB8eQ0vLB4E= Received: by 10.43.50.5 with SMTP id vc5mr6691912icb.198.1300806921343; Tue, 22 Mar 2011 08:15:21 -0700 (PDT) Received: from gmail.com ([180.180.106.68]) by mx.google.com with ESMTPS id jv9sm4682833icb.13.2011.03.22.08.15.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2011 08:15:19 -0700 (PDT) Date: Tue, 22 Mar 2011 22:14:51 +0700 From: Gua Chung Lim To: "J.R. Oldroyd" Message-ID: <20110322151451.GA1416@gmail.com> Mail-Followup-To: "J.R. Oldroyd" , freebsd-stable References: <20110317142559.GA1576@gmail.com> <20110318193153.56dee965@shibato.opal.com> <20110319144153.GA1370@gmail.com> <20110319132750.7edc62b3@shibato.opal.com> <20110320064842.GA1335@gmail.com> <20110320145751.193fb06e@shibato.opal.com> <20110321053436.GA1483@gmail.com> <20110321171543.2ec0e312@shibato.opal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110321171543.2ec0e312@shibato.opal.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD/8.2-RELEASE (i386) Cc: freebsd-stable Subject: Re: FBSD 8.2R does not probe sound card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 15:15:24 -0000 Hi JR, > > guacl@bsdhost:~% tail -n 1 /etc/sysctl.conf > > hw.snd.default_unit=0 > > This is fine, but 0 is the default value, so you don't actually > need this. You only need it for value of 1, 2, 3... Alright so I can now forget this file. > /boot/loader.conf and /boot/loader.conf.local are used together. > I suggest you leave loader.conf as installed by the system, and place > all your config in loader.conf.local, although that is not so important. Sorry, /boot/loader.conf was blank right after installation. But it doesn't matter anyway. > You need to get the programming so that it shows: > pcm0: (play/rec) default > or perhaps like mine: > pcm0: at cad 3 nid 1 on hdac0 kld snd_hda (1p:6v/1r:1v) default > in this one, 1p=1play, 6v=6voices=6channels (5.1 sound); 1r=1rec with > 1channel. > hint.hdac.0.cad0.nid21.config="as=1 seq=0" # pcm0 out > hint.hdac.0.cad0.nid22.config="as=2 seq=0" # pcm1 out > hint.hdac.0.cad0.nid28.config="as=3 seq=0" # pcm2 out > hint.hdac.0.cad0.nid30.config="as=4 seq=0" # pcm3 out > hint.hdac.0.cad0.nid24.config="as=5 seq=0" # \ > hint.hdac.0.cad0.nid25.config="as=5 seq=1" # pcm0 in > hint.hdac.0.cad0.nid26.config="as=5 seq=15" # /> > Then you can play with output to /dev/dsp0.X etc to see if any work. I have already put them in /boot/loader.conf.local. guacl@bsdhost:~% mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer mix is currently set to 0:0 Mixer rec is currently set to 75:75 Mixer igain is currently set to 0:0 Mixer ogain is currently set to 50:50 Mixer monitor is currently set to 75:75 Recording source: mic guacl@bsdhost:~% cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: (play/rec) default pcm1: (play) Yes, pcm0 is now what we are expecting. Now I can hear sound from the speakers via /dev/dsp0.X using C code fprintf(dsp, "%c%c%c", 7, 7, 7); (I'm only on console.) But how can I hear the sound without redirecting to /dev/dsp? This area is VERY FAR from my knowledge. I think I must completely read sound(4) and snd_hda(4). Thank you very much again. -- Gua Chung Lim Please help donate to Japan. -- for earthquake, tsunami and nuclear radiation reliefs (2011) From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 21:24:42 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78DD7106576C for ; Tue, 22 Mar 2011 21:24:42 +0000 (UTC) (envelope-from jhsu802701@jasonhsu.com) Received: from meso.stormserver1.net (meso.stormserver1.net [72.52.153.36]) by mx1.freebsd.org (Postfix) with ESMTP id 57D988FC1C for ; Tue, 22 Mar 2011 21:24:42 +0000 (UTC) Received: from mn-74-5-70-170.dhcp.embarqhsd.net ([74.5.70.170]:13021 helo=localhost) by meso.stormserver1.net with smtp (Exim 4.69) (envelope-from ) id 1Q294a-0004Tu-CV for freebsd-stable@freebsd.org; Tue, 22 Mar 2011 16:25:04 -0500 Date: Tue, 22 Mar 2011 16:24:35 -0500 From: Jason Hsu To: freebsd-stable@freebsd.org Message-Id: <20110322162435.51028324.jhsu802701@jasonhsu.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.18.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - meso.stormserver1.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jasonhsu.com X-Source: X-Source-Args: X-Source-Dir: Subject: FreeBSD partitioning X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 21:24:42 -0000 How does partitioning work in FreeBSD? GParted recognizes FAT16, FAT32, NTFS, ext2, ext3, ext4, swap, and many other formats but labels the FreeBSD partition as unknown. Then there are the sub-partitions within the main FreeBSD partition. I'm finding it much more difficult to learn BSD than it was to learn Linux. However, I'm sure it will be worth it, as BSD is legendary for stability and is the basis for Mac OS and other proprietary systems. -- Jason Hsu From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 21:41:11 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9364B1065679 for ; Tue, 22 Mar 2011 21:41:11 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF718FC13 for ; Tue, 22 Mar 2011 21:41:11 +0000 (UTC) Received: by qwc9 with SMTP id 9so6096354qwc.13 for ; Tue, 22 Mar 2011 14:41:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cUpHLKMTzGsotquoBrHB0cMkG4dNuwZa/RQ/89NmtKg=; b=FTvyUYVJ8oEy+WQ1QOYsnw9fjO3WG8IVEMd97fs+jmlRuCGgq00ijSGzuqVvfSv57x 43r5fbwq+9yxAv863bPEpuSbo8mHdkk+IShskaF3CzgKnmdzIZYo/A3v38/4CrivMsQh RpH+iOyofzeSbODahXPdH8DFNAe6xkkkGyq1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hrNogZI7Wp1W7M58v/HIelRVNxcV/PgFNzfXM516sEcBAhqH1wwMSG6sL+r1MpXXta Q5vqgm/0Ko8XCwEjBG5drYAtVCjKg4nbwg3l7EUtMTZGJP5apK+emfP/t5ih3+j5xCs0 dWvnIv4bQwmOJWNWGM5aUKbb6mLQ7yj5MQ6uQ= MIME-Version: 1.0 Received: by 10.224.173.141 with SMTP id p13mr5168070qaz.67.1300830070616; Tue, 22 Mar 2011 14:41:10 -0700 (PDT) Received: by 10.224.20.6 with HTTP; Tue, 22 Mar 2011 14:41:10 -0700 (PDT) In-Reply-To: <20110322162435.51028324.jhsu802701@jasonhsu.com> References: <20110322162435.51028324.jhsu802701@jasonhsu.com> Date: Tue, 22 Mar 2011 17:41:10 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Jason Hsu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD partitioning X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 21:41:11 -0000 On Tue, Mar 22, 2011 at 5:24 PM, Jason Hsu wrote: > How does partitioning work in FreeBSD? GParted recognizes FAT16, FAT32, > NTFS, ext2, ext3, ext4, swap, and many other formats but labels the FreeB= SD > partition as unknown. Then there are the sub-partitions within the main > FreeBSD partition. > > I'm finding it much more difficult to learn BSD than it was to learn Linu= x. > However, I'm sure it will be worth it, as BSD is legendary for stability > and is the basis for Mac OS and other proprietary systems. > > -- > Jason Hsu > In Turkish , there is a phrase : =C2=A8Ne seninle , ne sensiz=C2=A8 means : It is not possible to be with you AND it is not possible to be without you . Then , if you learn FreeBSD very well and write a paper about how to use it as a server with respect to the latest releases just like described in your papers about Linux servers , it will be very useful for the other less experienced FreeBSD lovers because preparing a paper like yours from the FreeBSD documentation is not a trivial task ( This is my OPINION evolved over time from starting Version 6.2 without using prior versions ). Your papers about Linux servers are really very good and I will try them to apply . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 21:42:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 452261065678 for ; Tue, 22 Mar 2011 21:42:34 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id F11268FC12 for ; Tue, 22 Mar 2011 21:42:33 +0000 (UTC) Received: by qyk27 with SMTP id 27so6385681qyk.13 for ; Tue, 22 Mar 2011 14:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ke1aUpI5pd944YgaNwN+eyQfgZrYBBBKx3dfpEs8YMQ=; b=qxrFHTdBO/hQqPdz3L5fKUInm3ul3MCQaVC0kWCiswxjjJgApZ3HTVUlYhvCxrqtoI a76uShHNQy/n2WiIJf4YpbNroCGchRbNRIMGzbkQSp8TkHtYgOBWHnZBues07kUSU28q pYIy9+t1Qb9i3/8LZywOjkcO+giTAuWdgQMYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=vxexKwGMfqXAr76MGC5kP38h3Ma80eDO/cgxnNLDmeLbuxBaV+7cyxR5uBk2nm2wBQ bN26LHZ3Gno++vbvKr506ukwIIlazGsWRw3gHxsE3Cocx0ttHTEH0h2+pt0v4+xSe21U d/ioPK0hyIfRDxIu/IpHKfBjMkw7+4grszWuQ= MIME-Version: 1.0 Received: by 10.224.41.11 with SMTP id m11mr5358947qae.155.1300830153313; Tue, 22 Mar 2011 14:42:33 -0700 (PDT) Received: by 10.224.20.19 with HTTP; Tue, 22 Mar 2011 14:42:33 -0700 (PDT) In-Reply-To: <20110322162435.51028324.jhsu802701@jasonhsu.com> References: <20110322162435.51028324.jhsu802701@jasonhsu.com> Date: Tue, 22 Mar 2011 16:42:33 -0500 Message-ID: From: Zhihao Yuan To: Jason Hsu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD partitioning X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 21:42:34 -0000 On Tue, Mar 22, 2011 at 4:24 PM, Jason Hsu wrote: > How does partitioning work in FreeBSD? =C2=A0GParted recognizes FAT16, FA= T32, NTFS, ext2, ext3, ext4, swap, and many other formats but labels the Fr= eeBSD partition as unknown. =C2=A0Then there are the sub-partitions within = the main FreeBSD partition. > Check the manual here: http://www.freebsd.org/doc/handbook/install-steps.html I think the first thing you need to understand is, FreeBSD is a UNIX running on x86, not a UNIX rewrote for x86. So the x86-only concept, such as the partitions, may not apply to FreeBSD. In FreeBSD, the term `slice' refers to a record in MBR or GPT table, aka., a partition in x86 world. In a slice, we can use either bsdlabel to create UFS partitions, or install a ZFS pool. So, may be some day gparted can recognize a freebsd slice, it can never labels UFS partitions. > I'm finding it much more difficult to learn BSD than it was to learn Linu= x. =C2=A0However, I'm sure it will be worth it, as BSD is legendary for sta= bility and is the basis for Mac OS and other proprietary systems. Just ask questions in the mailling lists and forums. We answer your questions for free :) > > -- > Jason Hsu > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > --=20 Zhihao Yuan The best way to predict the future is to invent it. From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 21:45:55 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EA52106564A for ; Tue, 22 Mar 2011 21:45:55 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by mx1.freebsd.org (Postfix) with ESMTP id 794318FC17 for ; Tue, 22 Mar 2011 21:45:55 +0000 (UTC) Received: from omta12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by qmta15.emeryville.ca.mail.comcast.net with comcast id NMWx1g0010x6nqcAFMlvfF; Tue, 22 Mar 2011 21:45:55 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta12.emeryville.ca.mail.comcast.net with comcast id NMlo1g0181t3BNj8YMlsZM; Tue, 22 Mar 2011 21:45:53 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 7155B9B422; Tue, 22 Mar 2011 14:45:48 -0700 (PDT) Date: Tue, 22 Mar 2011 14:45:48 -0700 From: Jeremy Chadwick To: Jason Hsu Message-ID: <20110322214548.GA64528@icarus.home.lan> References: <20110322162435.51028324.jhsu802701@jasonhsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110322162435.51028324.jhsu802701@jasonhsu.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD partitioning X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 21:45:55 -0000 On Tue, Mar 22, 2011 at 04:24:35PM -0500, Jason Hsu wrote: > How does partitioning work in FreeBSD? GParted recognizes FAT16, FAT32, NTFS, ext2, ext3, ext4, swap, and many other formats but labels the FreeBSD partition as unknown. Then there are the sub-partitions within the main FreeBSD partition. > > I'm finding it much more difficult to learn BSD than it was to learn Linux. However, I'm sure it will be worth it, as BSD is legendary for stability and is the basis for Mac OS and other proprietary systems. I think this is the 2nd time you've asked something that is covered in the Handbook. Possibly you haven't gotten to the section yet (it's under Chapter 3): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disk-organization.html Scroll down to "Benefit of a single file system" and read from there. P.S. -- Just because learning BSD is more difficult doesn't mean BSD is better (yes, you read that right). Every operating system has its pros and cons. Please keep that in mind. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 21:46:19 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C55C9106564A for ; Tue, 22 Mar 2011 21:46:19 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward1.mail.yandex.net (forward1.mail.yandex.net [77.88.46.6]) by mx1.freebsd.org (Postfix) with ESMTP id 73C2F8FC15 for ; Tue, 22 Mar 2011 21:46:19 +0000 (UTC) Received: from smtp4.mail.yandex.net (smtp4.mail.yandex.net [77.88.46.104]) by forward1.mail.yandex.net (Yandex) with ESMTP id D3F521240EDA; Wed, 23 Mar 2011 00:46:17 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1300830377; bh=cR933DcZXJTspb6zKdWyHN3xO+AMTUvcbN374ISBhTc=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=DaoWKXI4laiSJ7YQrM5urZkUqMxljVvq3BqyZX5puVJmNnmOBbfhKUCY1642M0yEG b+ccJsWzTMCgcdW/IbHfA+dABbDenC9CeUPuyP9he3AUzWum3b0iDx0+LPFquHdf8R xft/X9qnIOWiFMTLQLr6RA5NZ8AyLUJqgvEaEjaQ= Received: from [178.141.5.47] (dynamic-178-141-5-47.kirov.comstar-r.ru [178.141.5.47]) by smtp4.mail.yandex.net (Yandex) with ESMTPSA id 8E0766498071; Wed, 23 Mar 2011 00:46:17 +0300 (MSK) Message-ID: <4D891894.70204@yandex.ru> Date: Wed, 23 Mar 2011 00:45:56 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Thunderbird/3.1.9 MIME-Version: 1.0 To: Jason Hsu References: <20110322162435.51028324.jhsu802701@jasonhsu.com> In-Reply-To: <20110322162435.51028324.jhsu802701@jasonhsu.com> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig61D4C8FB075279F9873A2588" Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD partitioning X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 21:46:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig61D4C8FB075279F9873A2588 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 23.03.2011 00:24, Jason Hsu wrote: > I'm finding it much more difficult to learn BSD than it was to learn > Linux. However, I'm sure it will be worth it, as BSD is legendary > for stability and is the basis for Mac OS and other proprietary > systems. The FreeBSD documentation is not less legendary. http://www.freebsd.org/doc/handbook/ --=20 WBR, Andrey V. Elsukov --------------enig61D4C8FB075279F9873A2588 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQEcBAEBAgAGBQJNiRiUAAoJEAHF6gQQyKF69gwH/RORt7p9ob1riiT6gB8vEZ9b jf54/qIx1i7y6WCgSM5P9tLCyiy5QDdxyf1jJ1v/KgxWU1snQeDq0qtzxc9iCF7r Y9jWSU1xyhoq5CFIrZLSF2zLawE1w7atwBgudyIUNfeQPxaJ/w3xu6WfD4au/PqZ J/C87zZ85Z4NtrKu5t+JBSMkjtL+2yFjkn9smgb1MUzDj253EiW5ZVrV9/Zd/gsn km89ShK/+WWR5IZ6L87XYHJrJtfZEIKXUTJjSobx5cbxO6ZCjNXSUV78rzsItW4W oAYihMGXMixniAXsW9OemOC1jIm75Yyq4o+LjcyQCH2qjfoNAGICmKKDiUY0SRg= =Iqyp -----END PGP SIGNATURE----- --------------enig61D4C8FB075279F9873A2588-- From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 21:58:50 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7620D1065670 for ; Tue, 22 Mar 2011 21:58:50 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (mail.1command.com [168.103.150.6]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5048FC0C for ; Tue, 22 Mar 2011 21:58:50 +0000 (UTC) Received: from webmail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id p2MLwBGa062191 for ; Tue, 22 Mar 2011 14:58:17 -0700 (PDT) (envelope-from chris#@1command.com) Received: from udns0.ultimatedns.net ([168.103.150.26]) (Local authenticated user inf0s) by webmail.1command.com with HTTP; Tue, 22 Mar 2011 14:58:47 -0700 (PDT) Message-ID: In-Reply-To: <20110322162435.51028324.jhsu802701@jasonhsu.com> References: <20110322162435.51028324.jhsu802701@jasonhsu.com> Date: Tue, 22 Mar 2011 14:58:47 -0700 (PDT) From: "Chris H" To: freebsd-stable@freebsd.org User-Agent: HRC Internet Messaging/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: FreeBSD partitioning X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 21:58:50 -0000 On Tue, March 22, 2011 2:24 pm, Jason Hsu wrote: > How does partitioning work in FreeBSD? GParted recognizes FAT16, FAT32, NTFS, > ext2, ext3, ext4, swap, and many other formats but labels the FreeBSD partition > as unknown. Then there are the sub-partitions within the main FreeBSD > partition. GParted is not a "native" *BSD utility. It is mostly found on Linux recovery/ utility CD/DVD's. It is developed more with Linux in mind, and has always lacked ufs||ffs modules. So is not suitable for use on *BSD systems. It would be fairly trivial to create the modules to provide *BSD native support. But those who use the BSD family of operating systems fave found that sysinstall(8), fdisk(8) and related, are more than adequate to get the job done. There are also some very informative docs related to these tasks installed as part of your system, as well as available from: http://www.freebsd.org/docs.html It's hard to imagine needing anything else -- even if it's ones very first time. --Chris > > I'm finding it much more difficult to learn BSD than it was to learn Linux. > However, I'm sure it will be worth it, as BSD is legendary for stability and is > the basis for Mac OS and other proprietary systems. > > -- > Jason Hsu > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > -- From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 22:12:47 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23772106566B for ; Tue, 22 Mar 2011 22:12:47 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A09AB8FC16 for ; Tue, 22 Mar 2011 22:12:46 +0000 (UTC) Received: by bwz12 with SMTP id 12so7218547bwz.13 for ; Tue, 22 Mar 2011 15:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:in-reply-to:references :content-type:organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=eAc5kn/7VcOgW0Z9CZRqzwBhoLQ0JIfVQcc7xa1EgEQ=; b=FRpCL8WSg61OsnsNAZd5efujhOVa45pR6BgAH9QPCzc1H5r1KllTxnaq/mHcCHRLvw YWP1KB9qnNfoQdZPO7z7UALu8rk0kyyOtGdYz8XIo8gAZfZqxL9oK8DT93r3Bgb6swkF VW2yYS9u8rLG7ePC9OrpqWJK9VLkULI5mbt0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:organization :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=Ksaq7nsWEpSYiFZ/eyVoMrP5iNsQW4QRlafS63SIIf7VauZnGrv6pqqAg2jqOGXTR3 m3x5o9aHivMMXw3SmiByOKGJ6MiMQKmdBoYHOLJoLPOFUUvrsfxgvn7RIQnXpPJKTIWA f6zxPr1Umm4w1NU2tKdfY3NxuYq07QHAA1kXI= Received: by 10.204.73.139 with SMTP id q11mr5494827bkj.18.1300830509349; Tue, 22 Mar 2011 14:48:29 -0700 (PDT) Received: from [10.0.101.2] (254.166.broadband10.iol.cz [90.177.166.254]) by mx.google.com with ESMTPS id k5sm99347bku.16.2011.03.22.14.48.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2011 14:48:28 -0700 (PDT) From: Michal Varga To: Jason Hsu In-Reply-To: <20110322162435.51028324.jhsu802701@jasonhsu.com> References: <20110322162435.51028324.jhsu802701@jasonhsu.com> Content-Type: text/plain; charset="UTF-8" Organization: Stonehenge Date: Tue, 22 Mar 2011 22:48:25 +0100 Message-ID: <1300830505.1471.107.camel@xenon> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD partitioning X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 22:12:47 -0000 On Tue, 2011-03-22 at 16:24 -0500, Jason Hsu wrote: > How does partitioning work in FreeBSD? GParted recognizes FAT16, > FAT32, NTFS, ext2, ext3, ext4, swap, and many other formats but labels > the FreeBSD partition as unknown. Then there are the sub-partitions > within the main FreeBSD partition. > > I'm finding it much more difficult to learn BSD than it was to learn > Linux. However, I'm sure it will be worth it, as BSD is legendary for > stability and is the basis for Mac OS and other proprietary systems. > http://www.freebsd.org/doc/handbook/install-steps.html Note that you don't actually need sysinstall to work with FreeBSD partitions at all (but you need a working FreeBSD for that, obviously). The handbook page will give you a very good step-by-step overview on how freebsd *partitions* and *slices* work and what they generally stand for. In fact, shortly after you get a grip on the basics, you will start hating sysinstall completely (this is guaranteed) and never ever use it again (continue with "man fdisk", "man bsdlabel" after that). But first, read the mentioned handbook section carefuly - from that on, you should find partitioning in FreeBSD very easy and intuitive. m. -- Michal Varga, Stonehenge (Gmail account) From owner-freebsd-stable@FreeBSD.ORG Tue Mar 22 22:18:40 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67591106564A for ; Tue, 22 Mar 2011 22:18:40 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id EA4A48FC0A for ; Tue, 22 Mar 2011 22:18:39 +0000 (UTC) Received: by fxm11 with SMTP id 11so8268280fxm.13 for ; Tue, 22 Mar 2011 15:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=WLALtnr0r1kcHIkBaAVvkg0mcdgiJ/zY3EHrWKFrlbk=; b=ik53fJl6DTCqJVLW1bYoVAh2tjvSOMZjj2l58dgFhdps63cXBax3dXF33LxNYbO2bE Vd2k2Zf5Ra4xxMAjUkpciWaE0YltEFwfSb2Z+kIttULnMsOAe3+1dzcS+G52BQBduXeT EtzkuC82wJ83+ppb8w8S1ULLOpvw5GYtaBE0c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZDeOInbIX7MdUJKFWvgMuqv9Rk+GTT3Z2yjYPvVPY6wFQGowBSGo4IFHWE4V0vT1LX logi8hSsWHRU/Qa7jCtXACWzjzjypioc7H4M+JIjG8HoXikFbBdvSVCCY9dwg29OgWMm pW5VJ2Rtjf5XxscCmFBcnsqq15Z5r2HZKRASQ= MIME-Version: 1.0 Received: by 10.223.75.146 with SMTP id y18mr3391824faj.61.1300832318751; Tue, 22 Mar 2011 15:18:38 -0700 (PDT) Received: by 10.223.59.7 with HTTP; Tue, 22 Mar 2011 15:18:38 -0700 (PDT) In-Reply-To: References: <20110322162435.51028324.jhsu802701@jasonhsu.com> Date: Tue, 22 Mar 2011 17:18:38 -0500 Message-ID: From: Adam Vande More To: Zhihao Yuan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Jason Hsu , freebsd-stable@freebsd.org Subject: Re: FreeBSD partitioning X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 22:18:40 -0000 On Tue, Mar 22, 2011 at 4:42 PM, Zhihao Yuan wrote: > n FreeBSD, the term > `slice' refers to a record in MBR or GPT table, aka., a partition in > x86 world. In a slice, we can use either bsdlabel to create UFS > partitions, or install a ZFS pool. > A GPT partition is not a slice in FreeBSD terms, it is a partition. man gpart(8) -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 02:24:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2CD2106568F for ; Wed, 23 Mar 2011 02:24:34 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 923B98FC17 for ; Wed, 23 Mar 2011 02:24:34 +0000 (UTC) Received: by iwn33 with SMTP id 33so9699810iwn.13 for ; Tue, 22 Mar 2011 19:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:in-reply-to :message-id:references:user-agent:x-openpgp-key-id :x-openpgp-key-fingerprint:mime-version:content-type; bh=etZdgl3etIOSFxsaRrZUjJAkidRUyw/9hjSul1wSScs=; b=wSe47kIq4OTcPAN/66WAnXGgey4WqPO6VSAlFy2gfZiUKk5ZzTlKGyKGHpKrZnRgtR D2NekLS6QL7FUvbcKzAQ1oKsySMGQbh7ZBgREszG0ukCf8Ifi7BNWFnsXoaV7SAYJWbn NuzDpHiPvpcDvWVVLjTQsB8sedqiSKnsI55nw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=W015S3bCuR622OYEhLQiHE2nN3tSFLkiGCC0rhY5OinsmWiBZPc0CSvW3uQ4fEwg6i KqAolfBoihLuBXx4DUXyEDxwCqxZyKdto2j3BV850Ptpqs5jXcVbxj3yVZcRMcAolZBN pGwXf7CqTBAo2oMEXTLWUOfE/DXBWUwmtGp18= Received: by 10.43.46.69 with SMTP id un5mr8833753icb.44.1300847073734; Tue, 22 Mar 2011 19:24:33 -0700 (PDT) Received: from disbatch.dataix.local (adsl-99-181-148-152.dsl.klmzmi.sbcglobal.net [99.181.148.152]) by mx.google.com with ESMTPS id xi12sm4970933icb.6.2011.03.22.19.24.31 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2011 19:24:32 -0700 (PDT) Sender: "J. Hellenthal" Date: Tue, 22 Mar 2011 22:24:26 -0400 From: "J. Hellenthal" To: Etienne Robillard In-Reply-To: <4D887141.5080201@gthcfoundation.org> Message-ID: References: <20110321193126.006fd02c.jhsu802701@jasonhsu.com> <4D887141.5080201@gthcfoundation.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Jason Hsu , FreeBSD Stable Subject: Re: WANTED: good server tutorial X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 02:24:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 22 Mar 2011 05:52, erob@ wrote: > On 21/03/11 08:31 PM, Jason Hsu wrote: >> I'm looking for a good step-by-step quick-and-dirty FreeBSD server tutorial for the current stable version. Most of the tutorials I've seen are for outdated versions of FreeBSD. >> >> My setup is: Internet -> Modem -> Firewall/server computer -> Ethernet switch -> Other computers >> >> For an example of what I'd like to see, check out my tutorial for setting up Debian Lenny on the server at http://www.jasonhsu.com/linux-server-debian.html . >> >> Is there something analogous for FreeBSD version 7.4? >> >> > > The handbook documentation is probably what you're looking for. > > http://www.freebsd.org/doc/handbook/ > Unofficially, http://www.freebsddiary.org Also has some good information. http://www.bsdtips.org has some pretty nifty tips as well. Officially, There has also been some work done on the forums to, check the website for further information. - -- Regards, J. Hellenthal (0x89D8547E) JJH48-ARIN -----BEGIN PGP SIGNATURE----- Comment: THIS SOFTWARE AND/OR CONTENTS IS PROVIDED BY THE AUTHOR ``AS IS'' AND Comment: ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE Comment: IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR Comment: PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY Comment: DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL Comment: DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS Comment: OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) Comment: HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, Comment: STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING Comment: IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE Comment: POSSIBILITY OF SUCH DAMAGE. iQEcBAEBAgAGBQJNiVndAAoJEJBXh4mJ2FR+CDgH+gMYcCv4tkFkHKXSii7oBIr3 9VngYeKEtctwM7BJjSfvgmj1HqrdEgg1UENa8tesy1ixffmKxoarmx7qDVuCo+Ne m8jAomDSkHiKdpt3eTOLRFrjJd7PnuNJKm+ZrgEcbYv7vdZn7hlfsopTDvsdXwuM 56/zTGaET0W7ds4OSg/lMzyhu6Ug3obT9EjZHLNU1TneucWtXpKDBRKaAGa0pDNG HMQwzFRsKy3Rxyj1YcogEoFwp1thwd/WkpMEfTCqHEoHj75mIFGLqeGYjTDKJmME cfaJqod96sNPe+OkUESP9zXTItpYorGP0XuZL0e755W8Tk1EoIgkgR9Nc6LoRZM= =1yWD -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 12:45:22 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B1DF106564A for ; Wed, 23 Mar 2011 12:45:22 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [46.4.210.97]) by mx1.freebsd.org (Postfix) with ESMTP id CAD5C8FC16 for ; Wed, 23 Mar 2011 12:45:20 +0000 (UTC) Received: from localhost (angelica.4lin.net [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id E1F782B8D1 for ; Wed, 23 Mar 2011 13:48:51 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BFzz27QvaU2b for ; Wed, 23 Mar 2011 13:48:48 +0100 (CET) Received: from [130.83.160.152] (pcdenny.rbg.informatik.tu-darmstadt.de [130.83.160.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id C56CF2AE1D for ; Wed, 23 Mar 2011 13:48:48 +0100 (CET) From: Denny Schierz To: freebsd-stable In-Reply-To: References: <1300618959.2191.5.camel@netti> <1300696385.16912.5.camel@pcdenny> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-owc7R/MArzHJTVI8x6oO" Date: Wed, 23 Mar 2011 13:45:12 +0100 Message-ID: <1300884312.5930.4.camel@pcdenny> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Subject: Re: SAS HBA LSI 9200-8e supported under 8.2? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 12:45:22 -0000 --=-owc7R/MArzHJTVI8x6oO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hi, Am Dienstag, den 22.03.2011, 02:10 +0300 schrieb Dmitry Morozovsky: > and about to out it into day-to-day use 8.2-stable system, working as=20 > big-just-in-case archive with sources from Mar1 based on SuperMicro > case/mobo=20 > with LSI SAS2008 + LSI expander + 24 SATA RE4 disk bays.=20 exactly the same to us: LSI SAS Expander switch, with 4 x LSI JBOD630J with 12 x 2TB SAS disks. The internal SATA disks are only for BSD, nothing more :-) So i try to get it working now. cu denny --=-owc7R/MArzHJTVI8x6oO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk2J61UACgkQKlzhkqt9P+C2gQCfSbBtY9sm0dbrw/+bA9WG4VUX vccAnAzqgvnLiEHmf3/XoY/kiJgdzGoD =I/yz -----END PGP SIGNATURE----- --=-owc7R/MArzHJTVI8x6oO-- From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 21:11:30 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CE87106566C for ; Wed, 23 Mar 2011 21:11:30 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (unknown [IPv6:2001:418:3fd::3]) by mx1.freebsd.org (Postfix) with ESMTP id 509DC8FC0A for ; Wed, 23 Mar 2011 21:11:30 +0000 (UTC) Received: from wonderland.m5p.com (wonderland.m5p.com [IPv6:2001:418:3fd::19]) by mailhost.m5p.com (8.14.3/8.14.3) with ESMTP id p2NLBOmJ060768 for ; Wed, 23 Mar 2011 17:11:29 -0400 (EDT) (envelope-from george+freebsd@m5p.com) Message-ID: <4D8A61FC.3050303@m5p.com> Date: Wed, 23 Mar 2011 17:11:24 -0400 From: George Mitchell User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110215 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.799 (**) BAYES_00,TO_NO_BRKTS_DIRECT X-Scanned-By: MIMEDefang 2.67 on IPv6:2001:418:3fd::f7 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Wed, 23 Mar 2011 17:11:29 -0400 (EDT) Subject: Re: Firefox startup impacted by distributed.net client X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 21:11:30 -0000 Original message, from ten months ago: http://lists.freebsd.org/pipermail/freebsd-hackers/2010-May/031915.html Briefly, running the distributed.net client on my FreeBSD 8.0 box made Firefox take forever to start up (90 seconds vs. 2 seconds). The distributed.net client is essentially 100% CPU bound, with occasional file I/O and even more occasional socket I/O, running at nice 20. The problem has persisted since then. So I finally compiled up a kernel using SCHED_4BSD instead of SCHED_ULE. Problem fixed. It still doesn't give me a warm, fuzzy feeling about FreeBSD 8.0, since I still have the awful NFS client performance problem (though not as bad as before the Rick Macklem patch). -- George Mitchell From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 22:20:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B12A5106564A for ; Wed, 23 Mar 2011 22:20:34 +0000 (UTC) (envelope-from mgamsjager@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6B4E38FC1C for ; Wed, 23 Mar 2011 22:20:34 +0000 (UTC) Received: by yxl31 with SMTP id 31so4204475yxl.13 for ; Wed, 23 Mar 2011 15:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=3qht3UD+gh/RVTxUkJhbNDay9KHpdUwVO1YcX917j1E=; b=IpFj+lBe+T/RgVD6L8y++gMA7BSP1vFWAC1KszayGj3h0QqYO/vN25WBCzhZtTaP1O 8JtRFHKEMECYI4HPSCLF6xUKLu7e8ySmplkOxWHs5CokamlneVbnClYeS2Fh49dzJjrZ aw2uGCZWcCgkqUoNTuY3tCHhbUOEnamgiB9wE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=AbX0PcGJ5waz9hz3ADZcs+WJlk3Jy+QNDD10PGZtLbkDCNwVELIBc5RRfiMnWl78f6 Rd479rQo8ocE9EqyZ44u0x8fpYMJN/aSpqWv53pBb/vAiI2xYHH/qYk6NBGO4Cu40MiM tZWpEu6ef6MT79xQnny6H2xLn/xDbFImALNOw= MIME-Version: 1.0 Received: by 10.101.53.17 with SMTP id f17mr3825097ank.142.1300917447204; Wed, 23 Mar 2011 14:57:27 -0700 (PDT) Received: by 10.100.249.14 with HTTP; Wed, 23 Mar 2011 14:57:27 -0700 (PDT) Received: by 10.100.249.14 with HTTP; Wed, 23 Mar 2011 14:57:27 -0700 (PDT) In-Reply-To: <4D8A61FC.3050303@m5p.com> References: <4D8A61FC.3050303@m5p.com> Date: Wed, 23 Mar 2011 22:57:27 +0100 Message-ID: From: Matthias Gamsjager To: George Mitchell Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Firefox startup impacted by distributed.net client X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 22:20:34 -0000 Have you tried 8 stable? On 23 Mar 2011 22:12, "George Mitchell" wrote: > Original message, from ten months ago: > > http://lists.freebsd.org/pipermail/freebsd-hackers/2010-May/031915.html > > Briefly, running the distributed.net client on my FreeBSD 8.0 box > made Firefox take forever to start up (90 seconds vs. 2 seconds). > The distributed.net client is essentially 100% CPU bound, with > occasional file I/O and even more occasional socket I/O, running > at nice 20. The problem has persisted since then. > > So I finally compiled up a kernel using SCHED_4BSD instead of > SCHED_ULE. Problem fixed. > > It still doesn't give me a warm, fuzzy feeling about FreeBSD 8.0, > since I still have the awful NFS client performance problem (though > not as bad as before the Rick Macklem patch). -- George Mitchell > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 22:24:12 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 952E7106564A for ; Wed, 23 Mar 2011 22:24:12 +0000 (UTC) (envelope-from george@m5p.com) Received: from mailhost.m5p.com (unknown [IPv6:2001:418:3fd::3]) by mx1.freebsd.org (Postfix) with ESMTP id 668748FC1A for ; Wed, 23 Mar 2011 22:24:12 +0000 (UTC) Received: from wonderland.m5p.com (wonderland.m5p.com [IPv6:2001:418:3fd::19]) by mailhost.m5p.com (8.14.3/8.14.3) with ESMTP id p2NMO6wO061323 for ; Wed, 23 Mar 2011 18:24:11 -0400 (EDT) (envelope-from george@m5p.com) Message-ID: <4D8A7305.5010805@m5p.com> Date: Wed, 23 Mar 2011 18:24:05 -0400 From: George Mitchell User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110215 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4D8A61FC.3050303@m5p.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.5 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on IPv6:2001:418:3fd::f7 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Wed, 23 Mar 2011 18:24:11 -0400 (EDT) Subject: Re: Firefox startup impacted by distributed.net client X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 22:24:12 -0000 On 03/23/11 17:57, Matthias Gamsjager wrote: > Have you tried 8 stable? The box I tried SCHED_4BSD on was running 8.2_PRERELEASE, which still had the problem described. Has the scheduler changed significantly between 8.2_PRERELEASE and stable? -- George Mitchell > On 23 Mar 2011 22:12, "George Mitchell" wrote: >> Original message, from ten months ago: >> >> http://lists.freebsd.org/pipermail/freebsd-hackers/2010-May/031915.html >> >> Briefly, running the distributed.net client on my FreeBSD 8.0 box >> made Firefox take forever to start up (90 seconds vs. 2 seconds). >> The distributed.net client is essentially 100% CPU bound, with >> occasional file I/O and even more occasional socket I/O, running >> at nice 20. The problem has persisted since then. >> >> So I finally compiled up a kernel using SCHED_4BSD instead of >> SCHED_ULE. Problem fixed. >> >> It still doesn't give me a warm, fuzzy feeling about FreeBSD 8.0, >> since I still have the awful NFS client performance problem (though >> not as bad as before the Rick Macklem patch). -- George Mitchell >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 22:52:24 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21BAA106564A for ; Wed, 23 Mar 2011 22:52:24 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta14.westchester.pa.mail.comcast.net (qmta14.westchester.pa.mail.comcast.net [76.96.59.212]) by mx1.freebsd.org (Postfix) with ESMTP id D56248FC19 for ; Wed, 23 Mar 2011 22:52:23 +0000 (UTC) Received: from omta12.westchester.pa.mail.comcast.net ([76.96.62.44]) by qmta14.westchester.pa.mail.comcast.net with comcast id NmsF1g0030xGWP85EmsQNj; Wed, 23 Mar 2011 22:52:24 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta12.westchester.pa.mail.comcast.net with comcast id NmsN1g02B1t3BNj3YmsPSG; Wed, 23 Mar 2011 22:52:24 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 6229B9B422; Wed, 23 Mar 2011 15:52:21 -0700 (PDT) Date: Wed, 23 Mar 2011 15:52:21 -0700 From: Jeremy Chadwick To: George Mitchell Message-ID: <20110323225221.GA91414@icarus.home.lan> References: <4D8A61FC.3050303@m5p.com> <4D8A7305.5010805@m5p.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D8A7305.5010805@m5p.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: Firefox startup impacted by distributed.net client X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 22:52:24 -0000 On Wed, Mar 23, 2011 at 06:24:05PM -0400, George Mitchell wrote: > On 03/23/11 17:57, Matthias Gamsjager wrote: > >Have you tried 8 stable? > > The box I tried SCHED_4BSD on was running 8.2_PRERELEASE, which still > had the problem described. Has the scheduler changed significantly > between 8.2_PRERELEASE and stable? -- George Mitchell > > >On 23 Mar 2011 22:12, "George Mitchell" wrote: > >>Original message, from ten months ago: > >> > >>http://lists.freebsd.org/pipermail/freebsd-hackers/2010-May/031915.html > >> > >>Briefly, running the distributed.net client on my FreeBSD 8.0 box > >>made Firefox take forever to start up (90 seconds vs. 2 seconds). > >>The distributed.net client is essentially 100% CPU bound, with > >>occasional file I/O and even more occasional socket I/O, running > >>at nice 20. The problem has persisted since then. > >> > >>So I finally compiled up a kernel using SCHED_4BSD instead of > >>SCHED_ULE. Problem fixed. > >> > >>It still doesn't give me a warm, fuzzy feeling about FreeBSD 8.0, > >>since I still have the awful NFS client performance problem (though > >>not as bad as before the Rick Macklem patch). -- George Mitchell No, it hasn't. You didn't provide any hardware details of your system in the link you referenced (post to -hackers). It matters. dmesg output (regardless of what scheduler you're using in the kernel) would be useful. Output from the command "sysctl kern.sched.topology_spec" might also help. So would your kernel configuration file. :-) Focusing solely on the first/main paragraph of your linked post (CPU usage and system responsiveness, not memory usage): There have been discussions in the past of SCHED_ULE not performing well on single-core systems, and lots of discussions of "unfriendly behaviour" caused on multi-core systems (where X is running and audio skips when doing things like moving a window, etc.). I believe one of the workarounds people recommended was to adjust the below sysctl, increasing it from 64 (default) to 224: kern.sched.preempt_thresh=224 I would recommend trying this if possible. It would at least rule out one thing for troubleshooting. The brief discussion (you might have to read/dig around the thread a bit) in question that I remember: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2010-09/msg00155.html http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2010-09/msg00157.html As for the next paragraph of your linked post (memory usage and firefox-bin): I can't explain what "ucond" represents in top. That is to say: I know what the STATE field is about, but I can't tell you code-wise what "ucond" represents functionally; my guess is some condition relating to a kernel mutex (thread lock). The relevant code bits in src/sys/kern/kern_umtx.c are over my head. I'm sure a kernel hacker can explain this, but it probably isn't relevant to your problem. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 23:09:20 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B57B106566C for ; Wed, 23 Mar 2011 23:09:20 +0000 (UTC) (envelope-from george@m5p.com) Received: from mailhost.m5p.com (unknown [IPv6:2001:418:3fd::3]) by mx1.freebsd.org (Postfix) with ESMTP id EC3248FC08 for ; Wed, 23 Mar 2011 23:09:19 +0000 (UTC) Received: from wonderland.m5p.com (wonderland.m5p.com [IPv6:2001:418:3fd::19]) by mailhost.m5p.com (8.14.3/8.14.3) with ESMTP id p2NN9C34061662 for ; Wed, 23 Mar 2011 19:09:17 -0400 (EDT) (envelope-from george@m5p.com) Message-ID: <4D8A7D97.40406@m5p.com> Date: Wed, 23 Mar 2011 19:09:11 -0400 From: George Mitchell User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110215 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4D8A61FC.3050303@m5p.com> <4D8A7305.5010805@m5p.com> <20110323225221.GA91414@icarus.home.lan> In-Reply-To: <20110323225221.GA91414@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.279 () BAYES_00,FRT_ADOBE2 X-Scanned-By: MIMEDefang 2.67 on IPv6:2001:418:3fd::f7 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Wed, 23 Mar 2011 19:09:19 -0400 (EDT) Subject: Re: Firefox startup impacted by distributed.net client X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 23:09:20 -0000 On 03/23/11 18:52, Jeremy Chadwick wrote: > On Wed, Mar 23, 2011 at 06:24:05PM -0400, George Mitchell wrote: >> On 03/23/11 17:57, Matthias Gamsjager wrote: >>> Have you tried 8 stable? >> >> The box I tried SCHED_4BSD on was running 8.2_PRERELEASE, which still >> had the problem described. Has the scheduler changed significantly >> between 8.2_PRERELEASE and stable? -- George Mitchell >> >>> On 23 Mar 2011 22:12, "George Mitchell" wrote: >>>> Original message, from ten months ago: >>>> >>>> http://lists.freebsd.org/pipermail/freebsd-hackers/2010-May/031915.html >>>> >>>> Briefly, running the distributed.net client on my FreeBSD 8.0 box >>>> made Firefox take forever to start up (90 seconds vs. 2 seconds). >>>> The distributed.net client is essentially 100% CPU bound, with >>>> occasional file I/O and even more occasional socket I/O, running >>>> at nice 20. The problem has persisted since then. >>>> >>>> So I finally compiled up a kernel using SCHED_4BSD instead of >>>> SCHED_ULE. Problem fixed. >>>> >>>> It still doesn't give me a warm, fuzzy feeling about FreeBSD 8.0, >>>> since I still have the awful NFS client performance problem (though >>>> not as bad as before the Rick Macklem patch). -- George Mitchell > > No, it hasn't. > > You didn't provide any hardware details of your system in the link you > referenced (post to -hackers). It matters. dmesg output (regardless of > what scheduler you're using in the kernel) would be useful. Copyright (c) 1992-2011 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.2-PRERELEASE #0: Mon Mar 21 16:03:28 EDT 2011 george@scollay.m5p.com:/usr/obj/usr/src/sys/SCOLLAY amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Sempron(tm) 140 Processor (2712.36-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100f62 Family = 10 Model = 6 Stepping = 2 Features=0x78bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37fd TSC: P-state invariant real memory = 2147483648 (2048 MB) avail memory = 1792958464 (1709 MB) ACPI APIC Table: <012810 APIC1758> ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <012810 RSDT1758> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 6ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) isab0: port 0x900-0x9ff at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) pci0: at device 1.2 (no driver attached) ohci0: mem 0xdfffb000-0xdfffbfff irq 21 at device 2.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ehci0: mem 0xdfffac00-0xdfffacff irq 22 at device 2.1 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: on ehci0 pcib1: at device 4.0 on pci0 pci1: on pcib1 hdac0: mem 0xdfff4000-0xdfff7fff irq 23 at device 5.0 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 6.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] nfe0: port 0xe480-0xe487 mem 0xdfff9000-0xdfff9fff irq 20 at device 7.0 on pci0 miibus0: on nfe0 rgephy0: PHY 3 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow nfe0: Ethernet address: 48:5b:39:07:a8:78 nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] atapci1: port 0xe400-0xe407,0xe080-0xe083,0xe000-0xe007,0xdc00-0xdc03,0xd880-0xd88f mem 0xdfff8000-0xdfff8fff irq 21 at device 8.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] atapci2: port 0xd800-0xd807,0xd480-0xd483,0xd400-0xd407,0xd080-0xd083,0xd000-0xd00f mem 0xdffef000-0xdffeffff irq 22 at device 8.1 on pci0 atapci2: [ITHREAD] ata4: on atapci2 ata4: [ITHREAD] ata5: on atapci2 ata5: [ITHREAD] pcib2: at device 9.0 on pci0 pci2: on pcib2 pcib3: at device 11.0 on pci0 pci3: on pcib3 pcib4: at device 12.0 on pci0 pci4: on pcib4 vgapci0: mem 0xde000000-0xdeffffff,0xc0000000-0xcfffffff,0xdd000000-0xddffffff irq 23 at device 13.0 on pci0 acpi_button0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc0: [ITHREAD] ppbus0: on ppc0 ppi0: on ppbus0 plip0: on ppbus0 plip0: [ITHREAD] lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port acpi_hpet0: iomem 0xfed00000-0xfed00fff on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 900 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 hwpstate0: on cpu0 Timecounter "TSC" frequency 2712355748 Hz quality 800 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 ad0: 38172MB at ata0-master UDMA133 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ad1: 152627MB at ata0-slave UDMA100 ad4: 476940MB at ata2-master UDMA100 SATA 1.5Gb/s acd0: DVDR at ata5-master UDMA100 SATA 1.5Gb/s hdac0: HDA Codec #0: Realtek ALC662 pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac0 pcm2: at cad 0 nid 1 on hdac0 uhub0: 10 ports with 10 removable, self powered GEOM: ad1s1: geometry does not match label (255h,63s != 16h,63s). GEOM: ad1s2: geometry does not match label (255h,63s != 16h,63s). Root mount waiting for: usbus1 Root mount waiting for: usbus1 Root mount waiting for: usbus1 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 (probe0:ata5:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:ata5:0:0:0): CAM status: SCSI Status Error (probe0:ata5:0:0:0): SCSI status: Check Condition (probe0:ata5:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed) uhub1: 10 ports with 10 removable, self powered cd0 at ata5 bus 0 scbus2 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 100.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed Trying to mount root from ufs:/dev/ad4s1a vboxnet0: Ethernet address: 0a:00:27:00:00:00 Output from > the command "sysctl kern.sched.topology_spec" might also help. sysctl: unknown oid 'kern.sched.topology_spec' So would > your kernel configuration file. :-) GENERIC > > Focusing solely on the first/main paragraph of your linked post (CPU > usage and system responsiveness, not memory usage): > > There have been discussions in the past of SCHED_ULE not performing well > on single-core systems, and lots of discussions of "unfriendly > behaviour" caused on multi-core systems (where X is running and audio > skips when doing things like moving a window, etc.). > > I believe one of the workarounds people recommended was to adjust the > below sysctl, increasing it from 64 (default) to 224: > > kern.sched.preempt_thresh=224 > > I would recommend trying this if possible. It would at least rule out > one thing for troubleshooting. I'll try this on the SCHED_ULE kernel tomorrow if I get a chance. > > The brief discussion (you might have to read/dig around the thread a > bit) in question that I remember: > > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2010-09/msg00155.html > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2010-09/msg00157.html > > As for the next paragraph of your linked post (memory usage and > firefox-bin): > > I can't explain what "ucond" represents in top. That is to say: I know > what the STATE field is about, but I can't tell you code-wise what > "ucond" represents functionally; my guess is some condition relating to > a kernel mutex (thread lock). The relevant code bits in > src/sys/kern/kern_umtx.c are over my head. I'm sure a kernel hacker can > explain this, but it probably isn't relevant to your problem. > I strongly suspect it was to do with database locking of my $HOME/.mozilla/firefox/.../places.sqlite file. -- George Mitchell From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 23:21:15 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF4BB1065674 for ; Wed, 23 Mar 2011 23:21:15 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0D88FC0A for ; Wed, 23 Mar 2011 23:21:14 +0000 (UTC) Received: from omta20.westchester.pa.mail.comcast.net ([76.96.62.71]) by qmta07.westchester.pa.mail.comcast.net with comcast id NmsT1g0071YDfWL57nMFU2; Wed, 23 Mar 2011 23:21:15 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta20.westchester.pa.mail.comcast.net with comcast id NnMD1g00d1t3BNj3gnME3m; Wed, 23 Mar 2011 23:21:15 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id B25E69B422; Wed, 23 Mar 2011 16:21:12 -0700 (PDT) Date: Wed, 23 Mar 2011 16:21:12 -0700 From: Jeremy Chadwick To: George Mitchell Message-ID: <20110323232112.GA92114@icarus.home.lan> References: <4D8A61FC.3050303@m5p.com> <4D8A7305.5010805@m5p.com> <20110323225221.GA91414@icarus.home.lan> <4D8A7D97.40406@m5p.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D8A7D97.40406@m5p.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: Firefox startup impacted by distributed.net client X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 23:21:16 -0000 On Wed, Mar 23, 2011 at 07:09:11PM -0400, George Mitchell wrote: > On 03/23/11 18:52, Jeremy Chadwick wrote: > >On Wed, Mar 23, 2011 at 06:24:05PM -0400, George Mitchell wrote: > >>On 03/23/11 17:57, Matthias Gamsjager wrote: > >>>Have you tried 8 stable? > >> > >>The box I tried SCHED_4BSD on was running 8.2_PRERELEASE, which still > >>had the problem described. Has the scheduler changed significantly > >>between 8.2_PRERELEASE and stable? -- George Mitchell > >> > >>>On 23 Mar 2011 22:12, "George Mitchell" wrote: > >>>>Original message, from ten months ago: > >>>> > >>>>http://lists.freebsd.org/pipermail/freebsd-hackers/2010-May/031915.html > >>>> > >>>>Briefly, running the distributed.net client on my FreeBSD 8.0 box > >>>>made Firefox take forever to start up (90 seconds vs. 2 seconds). > >>>>The distributed.net client is essentially 100% CPU bound, with > >>>>occasional file I/O and even more occasional socket I/O, running > >>>>at nice 20. The problem has persisted since then. > >>>> > >>>>So I finally compiled up a kernel using SCHED_4BSD instead of > >>>>SCHED_ULE. Problem fixed. > >>>> > >>>>It still doesn't give me a warm, fuzzy feeling about FreeBSD 8.0, > >>>>since I still have the awful NFS client performance problem (though > >>>>not as bad as before the Rick Macklem patch). -- George Mitchell > > > >No, it hasn't. > > > >You didn't provide any hardware details of your system in the link you > >referenced (post to -hackers). It matters. dmesg output (regardless of > >what scheduler you're using in the kernel) would be useful. > > Copyright (c) 1992-2011 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 8.2-PRERELEASE #0: Mon Mar 21 16:03:28 EDT 2011 > george@scollay.m5p.com:/usr/obj/usr/src/sys/SCOLLAY amd64 > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: AMD Sempron(tm) 140 Processor (2712.36-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x100f62 Family = 10 Model = 6 > Stepping = 2 > > Features=0x78bfbff > Features2=0x802009 > AMD Features=0xee500800 > AMD Features2=0x37fd > TSC: P-state invariant > real memory = 2147483648 (2048 MB) > avail memory = 1792958464 (1709 MB) > ACPI APIC Table: <012810 APIC1758> > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: <012810 RSDT1758> on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, 6ff00000 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 > cpu0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pci0: at device 0.0 (no driver attached) > isab0: port 0x900-0x9ff at device 1.0 on pci0 > isa0: on isab0 > pci0: at device 1.1 (no driver attached) > pci0: at device 1.2 (no driver attached) > ohci0: mem > 0xdfffb000-0xdfffbfff irq 21 at device 2.0 on pci0 > ohci0: [ITHREAD] > usbus0: on ohci0 > ehci0: mem > 0xdfffac00-0xdfffacff irq 22 at device 2.1 on pci0 > ehci0: [ITHREAD] > usbus1: EHCI version 1.0 > usbus1: on ehci0 > pcib1: at device 4.0 on pci0 > pci1: on pcib1 > hdac0: mem > 0xdfff4000-0xdfff7fff irq 23 at device 5.0 on pci0 > hdac0: HDA Driver Revision: 20100226_0142 > hdac0: [ITHREAD] > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 6.0 on > pci0 > ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > nfe0: port 0xe480-0xe487 > mem 0xdfff9000-0xdfff9fff irq 20 at device 7.0 on pci0 > miibus0: on nfe0 > rgephy0: PHY 3 on miibus0 > rgephy0: 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, > 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, > 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, > 1000baseT-FDX-flow-master, auto, auto-flow > nfe0: Ethernet address: 48:5b:39:07:a8:78 > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > nfe0: [FILTER] > atapci1: port > 0xe400-0xe407,0xe080-0xe083,0xe000-0xe007,0xdc00-0xdc03,0xd880-0xd88f > mem 0xdfff8000-0xdfff8fff irq 21 at device 8.0 on pci0 > atapci1: [ITHREAD] > ata2: on atapci1 > ata2: [ITHREAD] > ata3: on atapci1 > ata3: [ITHREAD] > atapci2: port > 0xd800-0xd807,0xd480-0xd483,0xd400-0xd407,0xd080-0xd083,0xd000-0xd00f > mem 0xdffef000-0xdffeffff irq 22 at device 8.1 on pci0 > atapci2: [ITHREAD] > ata4: on atapci2 > ata4: [ITHREAD] > ata5: on atapci2 > ata5: [ITHREAD] > pcib2: at device 9.0 on pci0 > pci2: on pcib2 > pcib3: at device 11.0 on pci0 > pci3: on pcib3 > pcib4: at device 12.0 on pci0 > pci4: on pcib4 > vgapci0: mem > 0xde000000-0xdeffffff,0xc0000000-0xcfffffff,0xdd000000-0xddffffff > irq 23 at device 13.0 on pci0 > acpi_button0: on acpi0 > atrtc0: port 0x70-0x71 irq 8 on acpi0 > ppc0: port 0x378-0x37f irq 7 on acpi0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppc0: [ITHREAD] > ppbus0: on ppc0 > ppi0: on ppbus0 > plip0: on ppbus0 > plip0: [ITHREAD] > lpt0: on ppbus0 > lpt0: [ITHREAD] > lpt0: Interrupt-driven port > acpi_hpet0: iomem 0xfed00000-0xfed00fff > on acpi0 > Timecounter "HPET" frequency 25000000 Hz quality 900 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model IntelliMouse, device ID 3 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: [FILTER] > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > hwpstate0: on cpu0 > Timecounter "TSC" frequency 2712355748 Hz quality 800 > Timecounters tick every 1.000 msec > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 480Mbps High Speed USB v2.0 > ad0: 38172MB at ata0-master UDMA133 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > ad1: 152627MB at ata0-slave UDMA100 > ad4: 476940MB at ata2-master UDMA100 > SATA 1.5Gb/s > acd0: DVDR at ata5-master UDMA100 > SATA 1.5Gb/s > hdac0: HDA Codec #0: Realtek ALC662 > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 0 nid 1 on hdac0 > pcm2: at cad 0 nid 1 on hdac0 > uhub0: 10 ports with 10 removable, self powered > GEOM: ad1s1: geometry does not match label (255h,63s != 16h,63s). > GEOM: ad1s2: geometry does not match label (255h,63s != 16h,63s). > Root mount waiting for: usbus1 > Root mount waiting for: usbus1 > Root mount waiting for: usbus1 > acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 > 0x00 0x01 > (probe0:ata5:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:ata5:0:0:0): CAM status: SCSI Status Error > (probe0:ata5:0:0:0): SCSI status: Check Condition > (probe0:ata5:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not > present - tray closed) > uhub1: 10 ports with 10 removable, self powered > cd0 at ata5 bus 0 scbus2 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 100.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not > present - tray closed > Trying to mount root from ufs:/dev/ad4s1a > vboxnet0: Ethernet address: 0a:00:27:00:00:00 You have a single-core (single processor) system. There's no SMP in use either (understandable). As I mentioned, there's been discussions on lists of sub-par performance of ULE on single-core systems. As such, I probably wouldn't bother trying SCHED_ULE on this system. Sticking with SCHED_4BSD is fine in your case. If anyone in the future brings up the possibility of SCHED_4BSD being removed from the kernel base, you should scream quite loudly. :-) > >As for the next paragraph of your linked post (memory usage and > >firefox-bin): > > > >I can't explain what "ucond" represents in top. That is to say: I know > >what the STATE field is about, but I can't tell you code-wise what > >"ucond" represents functionally; my guess is some condition relating to > >a kernel mutex (thread lock). The relevant code bits in > >src/sys/kern/kern_umtx.c are over my head. I'm sure a kernel hacker can > >explain this, but it probably isn't relevant to your problem. > > > > I strongly suspect it was to do with database locking of my > $HOME/.mozilla/firefox/.../places.sqlite file. -- George Mitchell That's a bit of a stretch. truss or ktrace would help here, but it would require someone to dedicate a bit of time to debug this problem for you (firefox is a humongous beast; ktrace/truss output from this program would be gigantic). I'd probably split these two problems (unfriendly CPU time slicing vs. memory and firefox-bin) up into separate discussions (or even separate PRs). -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Thu Mar 24 05:59:20 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B63A106566B for ; Thu, 24 Mar 2011 05:59:20 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 26DAD8FC08 for ; Thu, 24 Mar 2011 05:59:19 +0000 (UTC) Received: by iyj12 with SMTP id 12so11275734iyj.13 for ; Wed, 23 Mar 2011 22:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:in-reply-to :message-id:references:user-agent:x-openpgp-key-id :x-openpgp-key-fingerprint:mime-version:content-type; bh=whrCB5M7r1OX5yUTXmc9DWcNRx1X4crnJgmN8qlS2h4=; b=jYYyVJA9dMpd0NoCVBxFuCNahSfAWMMiENWyIN4aASn3+k/SEBSt0na6c65uGIk2hj q+TdTEgOHRMjLVcoM5I9U33MkgYI2GRyVEDTMtbGM234S9kN81y9gvKQv38UZz40kxmm /jPfckkbkUG83bw1uWZs88xTWSwlun4MH9SYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=xsMCEhXrmo/7Cp9KyRneB3S8ps08Mniv237GijckfKkQ3OF6Pb7IhRk//Yq+gRSm+W g7IShdw+ev11Lwu97BrqQUr70AxXBu2bGwPm2y1qgvQpPyNKrIkoSJuW+DPi3dEqhD4f RHtbnlrQ2DiPNSQEc9NM/PwJ6nOXUNTQ7mLSI= Received: by 10.43.52.69 with SMTP id vl5mr2560798icb.346.1300946359475; Wed, 23 Mar 2011 22:59:19 -0700 (PDT) Received: from disbatch.dataix.local (adsl-99-181-148-152.dsl.klmzmi.sbcglobal.net [99.181.148.152]) by mx.google.com with ESMTPS id i20sm5583304iby.48.2011.03.23.22.59.16 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Mar 2011 22:59:17 -0700 (PDT) Sender: "J. Hellenthal" Date: Thu, 24 Mar 2011 01:59:14 -0400 From: "J. Hellenthal" To: Jeremy Chadwick In-Reply-To: <20110323232112.GA92114@icarus.home.lan> Message-ID: References: <4D8A61FC.3050303@m5p.com> <4D8A7305.5010805@m5p.com> <20110323225221.GA91414@icarus.home.lan> <4D8A7D97.40406@m5p.com> <20110323232112.GA92114@icarus.home.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org, George Mitchell Subject: Re: Firefox startup impacted by distributed.net client X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2011 05:59:20 -0000 On Wed, 23 Mar 2011 19:21, freebsd@ wrote: > On Wed, Mar 23, 2011 at 07:09:11PM -0400, George Mitchell wrote: >> On 03/23/11 18:52, Jeremy Chadwick wrote: >>> On Wed, Mar 23, 2011 at 06:24:05PM -0400, George Mitchell wrote: >>>> On 03/23/11 17:57, Matthias Gamsjager wrote: >>>>> Have you tried 8 stable? >>>> >>>> The box I tried SCHED_4BSD on was running 8.2_PRERELEASE, which still >>>> had the problem described. Has the scheduler changed significantly >>>> between 8.2_PRERELEASE and stable? -- George Mitchell >>>> >>>>> On 23 Mar 2011 22:12, "George Mitchell" wrote: >>>>>> Original message, from ten months ago: >>>>>> >>>>>> http://lists.freebsd.org/pipermail/freebsd-hackers/2010-May/031915.html >>>>>> >>>>>> Briefly, running the distributed.net client on my FreeBSD 8.0 box >>>>>> made Firefox take forever to start up (90 seconds vs. 2 seconds). >>>>>> The distributed.net client is essentially 100% CPU bound, with >>>>>> occasional file I/O and even more occasional socket I/O, running >>>>>> at nice 20. The problem has persisted since then. >>>>>> >>>>>> So I finally compiled up a kernel using SCHED_4BSD instead of >>>>>> SCHED_ULE. Problem fixed. >>>>>> >>>>>> It still doesn't give me a warm, fuzzy feeling about FreeBSD 8.0, >>>>>> since I still have the awful NFS client performance problem (though >>>>>> not as bad as before the Rick Macklem patch). -- George Mitchell >>> >>> No, it hasn't. >>> >>> You didn't provide any hardware details of your system in the link you >>> referenced (post to -hackers). It matters. dmesg output (regardless of >>> what scheduler you're using in the kernel) would be useful. >> >> Copyright (c) 1992-2011 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> The Regents of the University of California. All rights reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 8.2-PRERELEASE #0: Mon Mar 21 16:03:28 EDT 2011 >> george@scollay.m5p.com:/usr/obj/usr/src/sys/SCOLLAY amd64 >> Timecounter "i8254" frequency 1193182 Hz quality 0 >> CPU: AMD Sempron(tm) 140 Processor (2712.36-MHz K8-class CPU) >> Origin = "AuthenticAMD" Id = 0x100f62 Family = 10 Model = 6 >> Stepping = 2 >> >> Features=0x78bfbff >> Features2=0x802009 >> AMD Features=0xee500800 >> AMD Features2=0x37fd >> TSC: P-state invariant >> real memory = 2147483648 (2048 MB) >> avail memory = 1792958464 (1709 MB) >> ACPI APIC Table: <012810 APIC1758> >> ioapic0 irqs 0-23 on motherboard >> kbd1 at kbdmux0 >> acpi0: <012810 RSDT1758> on motherboard >> acpi0: [ITHREAD] >> acpi0: Power Button (fixed) >> acpi0: reservation of 0, a0000 (3) failed >> acpi0: reservation of 100000, 6ff00000 (3) failed >> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 >> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 >> cpu0: on acpi0 >> pcib0: port 0xcf8-0xcff on acpi0 >> pci0: on pcib0 >> pci0: at device 0.0 (no driver attached) >> isab0: port 0x900-0x9ff at device 1.0 on pci0 >> isa0: on isab0 >> pci0: at device 1.1 (no driver attached) >> pci0: at device 1.2 (no driver attached) >> ohci0: mem >> 0xdfffb000-0xdfffbfff irq 21 at device 2.0 on pci0 >> ohci0: [ITHREAD] >> usbus0: on ohci0 >> ehci0: mem >> 0xdfffac00-0xdfffacff irq 22 at device 2.1 on pci0 >> ehci0: [ITHREAD] >> usbus1: EHCI version 1.0 >> usbus1: on ehci0 >> pcib1: at device 4.0 on pci0 >> pci1: on pcib1 >> hdac0: mem >> 0xdfff4000-0xdfff7fff irq 23 at device 5.0 on pci0 >> hdac0: HDA Driver Revision: 20100226_0142 >> hdac0: [ITHREAD] >> atapci0: port >> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 6.0 on >> pci0 >> ata0: on atapci0 >> ata0: [ITHREAD] >> ata1: on atapci0 >> ata1: [ITHREAD] >> nfe0: port 0xe480-0xe487 >> mem 0xdfff9000-0xdfff9fff irq 20 at device 7.0 on pci0 >> miibus0: on nfe0 >> rgephy0: PHY 3 on miibus0 >> rgephy0: 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, >> 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, >> 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, >> 1000baseT-FDX-flow-master, auto, auto-flow >> nfe0: Ethernet address: 48:5b:39:07:a8:78 >> nfe0: [FILTER] >> nfe0: [FILTER] >> nfe0: [FILTER] >> nfe0: [FILTER] >> nfe0: [FILTER] >> nfe0: [FILTER] >> nfe0: [FILTER] >> nfe0: [FILTER] >> atapci1: port >> 0xe400-0xe407,0xe080-0xe083,0xe000-0xe007,0xdc00-0xdc03,0xd880-0xd88f >> mem 0xdfff8000-0xdfff8fff irq 21 at device 8.0 on pci0 >> atapci1: [ITHREAD] >> ata2: on atapci1 >> ata2: [ITHREAD] >> ata3: on atapci1 >> ata3: [ITHREAD] >> atapci2: port >> 0xd800-0xd807,0xd480-0xd483,0xd400-0xd407,0xd080-0xd083,0xd000-0xd00f >> mem 0xdffef000-0xdffeffff irq 22 at device 8.1 on pci0 >> atapci2: [ITHREAD] >> ata4: on atapci2 >> ata4: [ITHREAD] >> ata5: on atapci2 >> ata5: [ITHREAD] >> pcib2: at device 9.0 on pci0 >> pci2: on pcib2 >> pcib3: at device 11.0 on pci0 >> pci3: on pcib3 >> pcib4: at device 12.0 on pci0 >> pci4: on pcib4 >> vgapci0: mem >> 0xde000000-0xdeffffff,0xc0000000-0xcfffffff,0xdd000000-0xddffffff >> irq 23 at device 13.0 on pci0 >> acpi_button0: on acpi0 >> atrtc0: port 0x70-0x71 irq 8 on acpi0 >> ppc0: port 0x378-0x37f irq 7 on acpi0 >> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode >> ppc0: [ITHREAD] >> ppbus0: on ppc0 >> ppi0: on ppbus0 >> plip0: on ppbus0 >> plip0: [ITHREAD] >> lpt0: on ppbus0 >> lpt0: [ITHREAD] >> lpt0: Interrupt-driven port >> acpi_hpet0: iomem 0xfed00000-0xfed00fff >> on acpi0 >> Timecounter "HPET" frequency 25000000 Hz quality 900 >> atkbdc0: port 0x60,0x64 irq 1 on acpi0 >> atkbd0: irq 1 on atkbdc0 >> kbd0 at atkbd0 >> atkbd0: [GIANT-LOCKED] >> atkbd0: [ITHREAD] >> psm0: irq 12 on atkbdc0 >> psm0: [GIANT-LOCKED] >> psm0: [ITHREAD] >> psm0: model IntelliMouse, device ID 3 >> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 >> uart0: [FILTER] >> sc0: at flags 0x100 on isa0 >> sc0: VGA <16 virtual consoles, flags=0x300> >> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >> hwpstate0: on cpu0 >> Timecounter "TSC" frequency 2712355748 Hz quality 800 >> Timecounters tick every 1.000 msec >> usbus0: 12Mbps Full Speed USB v1.0 >> usbus1: 480Mbps High Speed USB v2.0 >> ad0: 38172MB at ata0-master UDMA133 >> ugen0.1: at usbus0 >> uhub0: on usbus0 >> ugen1.1: at usbus1 >> uhub1: on usbus1 >> ad1: 152627MB at ata0-slave UDMA100 >> ad4: 476940MB at ata2-master UDMA100 >> SATA 1.5Gb/s >> acd0: DVDR at ata5-master UDMA100 >> SATA 1.5Gb/s >> hdac0: HDA Codec #0: Realtek ALC662 >> pcm0: at cad 0 nid 1 on hdac0 >> pcm1: at cad 0 nid 1 on hdac0 >> pcm2: at cad 0 nid 1 on hdac0 >> uhub0: 10 ports with 10 removable, self powered >> GEOM: ad1s1: geometry does not match label (255h,63s != 16h,63s). >> GEOM: ad1s2: geometry does not match label (255h,63s != 16h,63s). >> Root mount waiting for: usbus1 >> Root mount waiting for: usbus1 >> Root mount waiting for: usbus1 >> acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 >> 0x00 0x01 >> (probe0:ata5:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 >> (probe0:ata5:0:0:0): CAM status: SCSI Status Error >> (probe0:ata5:0:0:0): SCSI status: Check Condition >> (probe0:ata5:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not >> present - tray closed) >> uhub1: 10 ports with 10 removable, self powered >> cd0 at ata5 bus 0 scbus2 target 0 lun 0 >> cd0: Removable CD-ROM SCSI-0 device >> cd0: 100.000MB/s transfers >> cd0: Attempt to query device size failed: NOT READY, Medium not >> present - tray closed >> Trying to mount root from ufs:/dev/ad4s1a >> vboxnet0: Ethernet address: 0a:00:27:00:00:00 > > You have a single-core (single processor) system. There's no SMP in use > either (understandable). As I mentioned, there's been discussions on > lists of sub-par performance of ULE on single-core systems. > > As such, I probably wouldn't bother trying SCHED_ULE on this system. > Sticking with SCHED_4BSD is fine in your case. If anyone in the future > brings up the possibility of SCHED_4BSD being removed from the kernel > base, you should scream quite loudly. :-) > >>> As for the next paragraph of your linked post (memory usage and >>> firefox-bin): >>> >>> I can't explain what "ucond" represents in top. That is to say: I know >>> what the STATE field is about, but I can't tell you code-wise what >>> "ucond" represents functionally; my guess is some condition relating to >>> a kernel mutex (thread lock). The relevant code bits in >>> src/sys/kern/kern_umtx.c are over my head. I'm sure a kernel hacker can >>> explain this, but it probably isn't relevant to your problem. >>> >> >> I strongly suspect it was to do with database locking of my >> $HOME/.mozilla/firefox/.../places.sqlite file. -- George Mitchell > > That's a bit of a stretch. truss or ktrace would help here, but it > would require someone to dedicate a bit of time to debug this problem > for you (firefox is a humongous beast; ktrace/truss output from this > program would be gigantic). I'd probably split these two problems > (unfriendly CPU time slicing vs. memory and firefox-bin) up into > separate discussions (or even separate PRs). > > Adding a tidbit of information to this that might or might not make a bit of difference to you. Link [1] that has some scheduling changes that were done in HEAD/-CURRENT that were not merged to -STABLE might be able to help you out some \o/. Also, I found in the past adjusting idprio(1) of processes proves to work out quite well for processes you want to just run in the background and not interrupt your day to day momentary work and especially for dnetc works out quite well. Link [2] I have extracted directly from the email out of convenience and applied and compiled directly into my running test kernels already and has no side effects so far with the 2-3 days its been running. 1. http://lists.freebsd.org/pipermail/freebsd-current/2011-January/022270.html 2. http://patches.jhell.googlecode.com/hg/sched-priority.patch -- Regards, J. Hellenthal (0x89D8547E) JJH48-ARIN From owner-freebsd-stable@FreeBSD.ORG Thu Mar 24 14:42:33 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B568D106566C for ; Thu, 24 Mar 2011 14:42:33 +0000 (UTC) (envelope-from mamalos@eng.auth.gr) Received: from vergina.eng.auth.gr (vergina.eng.auth.gr [155.207.18.1]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9BD8FC0C for ; Thu, 24 Mar 2011 14:42:32 +0000 (UTC) Received: from mamalacation.ee.auth.gr (mamalacation.ee.auth.gr [155.207.33.29]) by vergina.eng.auth.gr (8.14.3/8.14.3) with ESMTP id p2OESFZV021905 for ; Thu, 24 Mar 2011 16:28:16 +0200 (EET) (envelope-from mamalos@eng.auth.gr) Message-ID: <4D8B5501.5090802@eng.auth.gr> Date: Thu, 24 Mar 2011 16:28:17 +0200 From: George Mamalakis User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110109 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: nsswitch problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2011 14:42:33 -0000 Hello everybody, In short: nsswitch seems not to honor (fully) the criteria and actions of nsswitch.conf. A detailed analysis of my problem can be found on this thread (it's on freebsd forums, and it hasn't been answered yet): http://forums.freebsd.org/showthread.php?t=22716 Thank you all for your time and help in advance, I hope that somebody will help me realize how nsswitch works, so as to see if and how caching may help me on an nss_ldap authenticated configuration, regards, mamalos -- George Mamalakis IT Officer Electrical and Computer Engineer (Aristotle Un. of Thessaloniki), MSc (Imperial College of London) Department of Electrical and Computer Engineering Faculty of Engineering Aristotle University of Thessaloniki phone number : +30 (2310) 994379 From owner-freebsd-stable@FreeBSD.ORG Thu Mar 24 20:36:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD12F106564A; Thu, 24 Mar 2011 20:36:34 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 62E828FC14; Thu, 24 Mar 2011 20:36:34 +0000 (UTC) Received: by yie12 with SMTP id 12so198233yie.13 for ; Thu, 24 Mar 2011 13:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=GEu1jejOrTUik9GdpGN0Z6dh0xDfYf38cuz4CuVrtQg=; b=PGFf5w9NF+tY2I06FVEmd0ef02Y1x4wx9ixWCs5KhTWeNFYA1mazTtgPTflOOLSj7D oYo6OYBAFBlsx6vemxMQ1wzat1P/k3yjpNKqcVM80n9oGV9s3+0MHl8wkQYZctRoPcOt spNfgvq4NzvzV1/ROh9w8PbcQn15CrDzroo7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=h/pPwYaXpIgTL0vePcbdoQyzrar2v7klZZBDWKn5V0McF4PBe9QEFh49gkdcrJc5Y+ wCIX/Oms/VcHDVuY57Pat2rqRk0sqlSkT7aKhELRyAJhVst7zhb7ZZaYL858082YXaGr R9QELutEwdLPEIxd9E9MwjAev5iueF9MQAbsg= MIME-Version: 1.0 Received: by 10.91.20.12 with SMTP id x12mr7990825agi.100.1300998992801; Thu, 24 Mar 2011 13:36:32 -0700 (PDT) Received: by 10.90.100.10 with HTTP; Thu, 24 Mar 2011 13:36:32 -0700 (PDT) Date: Thu, 24 Mar 2011 13:36:32 -0700 Message-ID: From: Freddie Cash To: FreeBSD-Current Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Filesystems , FreeBSD Stable Subject: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2011 20:36:35 -0000 [Not sure which list is most appropriate since it's using HAST + ZFS on -RELEASE, -STABLE, and -CURRENT. Feel free to trim the CC: on replies.] I'm having a hell of a time making this work on real hardware, and am not ruling out hardware issues as yet, but wanted to get some reassurance that someone out there is using this combination (FreeBSD + HAST + ZFS) successfully, without kernel panics, without core dumps, without deadlocks, without issues, etc. I need to know I'm not chasing a dead rabbit. In tests using VirtualBox and FreeBSD 8-STABLE from when HAST was first MFC'd, everything worked wonderfully. HAST-based pool would come up, data would sync to the slave node, fail-over worked nicely, bringing the other box back online as the slave worked, data synced back, etc. It was a thing of beauty. Now, on real hardware, I cannot get the system to stay online for more than an hour. :( hastd causes kernel panics with "bufwrite: buffer not busy" errors. ZFS pools get corrupted. System deadlocks (no log messages, no onscreen errors, not even NumLock key works) at random points. The hardware is fairly standard fare: - SuperMicro H8DGi-F motherboard - AMD Opteron 6100-series CPU (8-cores @ 2.0 GHz) - 8 GB DDR3 SDRAM - 64 GB Kingston V-Series SSD for the OS install (using ahci(4) and the motherboard SATA controller) - 3x SuperMicro AOC-USAS2-8Li SATA controllers with IT firmware - 6x 1.5 TB Seagate 7200.11 drives (1x raidz2 vdev) - 12x 1.0 TB Seagate 7200.12 drives (2x raidz2 vdev) - 6x 0.5 TB WD RE3 drives (1x raidz2 vdev) The motherboard BIOS is up-to-date. I do not see any way to update the firmware on the SATA controllers. Using the onboard IPMI-based sensors, CPU, motherboard, RAM temps and volatages are in the nominal range. I've tried with FreeBSD 8.2-RELEASE, 8-STABLE, 8-STABLE w/ZFSv28 patches, and 9-CURRENT (after the ZFSv28 commit). Things work well until I start hastd. Then either the system locks up, or hastd causes a kernel panic, or hastd dumps core. Each harddrive is glabel'd as "disk-a1" through "disk-d6". hast.conf has 24 resources listed, one for each glabel'd device. The pool is created using the /dev/hast/* devices with disk-a1 through disk-a6 being one raidz2 vdev, and so on through disk-b*, disk-c*, and disk-d*, for a total of 4 raidz2 vdevs of 6 drives each. A fairly standard setup, I would think. Even using a GENERIC kernel, I can't keep things stable and running. So, please, someone, somewhere, share a success story, where you're using FreeBSD, ZFS, and HAST. Let me know that it does work. I'm starting to lose faith in my abilities here. :( Or point out where I'm doing things wrong so I can correct the issues. Thanks. -- Freddie Cash fjwcash@gmail.com From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 07:47:22 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D11DB106566C; Fri, 25 Mar 2011 07:47:22 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (unknown [IPv6:2001:470:1f09:176e::3]) by mx1.freebsd.org (Postfix) with ESMTP id 805578FC17; Fri, 25 Mar 2011 07:47:22 +0000 (UTC) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ingresso.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q31jm-000IDw-6t; Fri, 25 Mar 2011 07:47:14 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q31jm-0001st-5R; Fri, 25 Mar 2011 07:47:14 +0000 To: fjwcash@gmail.com, freebsd-current@freebsd.org In-Reply-To: Message-Id: From: Pete French Date: Fri, 25 Mar 2011 07:47:14 +0000 Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 07:47:22 -0000 > So, please, someone, somewhere, share a success story, where you're > using FreeBSD, ZFS, and HAST. Let me know that it does work. I'm > starting to lose faith in my abilities here. :( I ran our main database for the old company using ZFS on top of HAST without any problems at all. Had a single HAST disc with a zpool on top of it, and mysql on top of that. All worked perfectly for us. Am not running that currently as the company went under and we lost the hardware. But am working for a new business and am about to deploy the same configuration for the main database as its "tried and tested" as far as I am concerned. Will be slightly different, as I will have a pair of HAST drives and do mirroring over the top with ZFS. But I shall report back how well, or not, it works. -pete. From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 08:18:17 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93C1F106566B for ; Fri, 25 Mar 2011 08:18:17 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 3C3668FC1D for ; Fri, 25 Mar 2011 08:18:17 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id AC11445C9C; Fri, 25 Mar 2011 08:55:52 +0100 (CET) Received: from localhost (58.wheelsystems.com [83.12.187.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6FE7045684; Fri, 25 Mar 2011 08:55:47 +0100 (CET) Date: Fri, 25 Mar 2011 08:55:41 +0100 From: Pawel Jakub Dawidek To: Freddie Cash Message-ID: <20110325075541.GA1742@garage.freebsd.pl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.5 tests=ALL_TRUSTED,BAYES_00, RCVD_IN_SORBS_DUL autolearn=ham version=3.0.4 Cc: FreeBSD Filesystems , FreeBSD-Current , FreeBSD Stable Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 08:18:17 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 24, 2011 at 01:36:32PM -0700, Freddie Cash wrote: > I've tried with FreeBSD 8.2-RELEASE, 8-STABLE, 8-STABLE w/ZFSv28 > patches, and 9-CURRENT (after the ZFSv28 commit). Things work well > until I start hastd. Then either the system locks up, or hastd causes > a kernel panic, or hastd dumps core. The minimum amount of information (as always) would be backtrace from the kernel and also hastd backtrace when it coredumps. There is really decent logging in hast, so I'm also sure it does log something interesting on primary or secondary. Another useful thing would be to turn on debugging in hast (single -d option for hastd). The best you can do is to give me the simplest and quickest procedure to reproduce the issue, eg. configure two hast resources, put ZFS mirror on top, start rsync /usr/src to the file system on top of hast and switch roles. The simpler the better. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk2MSn0ACgkQForvXbEpPzTz3QCgkK7c/o/yMaEma5RD8bgi7dfJ 3RgAnjEplmywJp8+ozatEd4eYu4Ce+Ds =iZuF -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx-- From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 12:23:47 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 295EE106566C for ; Fri, 25 Mar 2011 12:23:47 +0000 (UTC) (envelope-from prvs=1065c2271e=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id B115D8FC08 for ; Fri, 25 Mar 2011 12:23:46 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 25 Mar 2011 12:12:53 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 25 Mar 2011 12:12:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50012651737.msg for ; Fri, 25 Mar 2011 12:12:50 +0000 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=1065c2271e=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-stable@freebsd.org Message-ID: <011E0838F0EC4E80885646C70B34F8AB@multiplay.co.uk> From: "Steven Hartland" To: "Jeremy Chadwick" , "Mike Tancsa" References: <201007182108.o6IL88eG043887@lava.sentex.ca><20100718211415.GA84127@icarus.home.lan><201007182142.o6ILgDQW044046@lava.sentex.ca><20100719023419.GA91006@icarus.home.lan><201007190301.o6J31Hs1045607@lava.sentex.ca><20100719033424.GA92607@icarus.home.lan><201007191237.o6JCbmj7049339@lava.sentex.ca> <20100719203320.GB21088@icarus.home.lan> Date: Fri, 25 Mar 2011 10:29:07 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Cc: freebsd-stable@freebsd.org Subject: Re: deadlock or bad disk ? RELENG_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 12:23:47 -0000 ----- Original Message ----- From: "Jeremy Chadwick" Was there any conclusion from this guys, was there a bad disk causing the issue? Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 12:28:46 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F67E10656AD for ; Fri, 25 Mar 2011 12:28:46 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [46.4.210.97]) by mx1.freebsd.org (Postfix) with ESMTP id 95D208FC0A for ; Fri, 25 Mar 2011 12:28:45 +0000 (UTC) Received: from localhost (angelica.4lin.net [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id 7048F2BB1C for ; Fri, 25 Mar 2011 13:32:20 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pqXjC1DO-lTe for ; Fri, 25 Mar 2011 13:32:14 +0100 (CET) Received: from [130.83.160.152] (pcdenny.rbg.informatik.tu-darmstadt.de [130.83.160.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id 37E852BA7D for ; Fri, 25 Mar 2011 13:32:14 +0100 (CET) From: Denny Schierz To: freebsd-stable In-Reply-To: References: <1300618959.2191.5.camel@netti> <1300887484.5930.72.camel@pcdenny> <8CDBE9B8-4834-4F2C-84B9-2DA371D5B2C3@4lin.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-h9ImzN3X6l9oSbs771gq" Date: Fri, 25 Mar 2011 13:28:35 +0100 Message-ID: <1301056115.21588.103.camel@pcdenny> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Subject: Re: SAS HBA LSI 9200-8e supported under 8.2? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 12:28:46 -0000 --=-h9ImzN3X6l9oSbs771gq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hi everybody, I've got FreeBSD running: FreeBSD foobar.domain 8.2-STABLE FreeBSD 8.2-STABLE with our LSI 9200 SAS :-) thanks to Rumen, Jeremy and you :-)=20 zpool with two raidz: root@iscsihead-m:/[-bash]# zpool create bigPool raidz da0 da1 da2 da3 da4 raidz da6 da7 da8 da9 da10 spare da5 da11 root@iscsihead-m:/[-bash]# zpool status=20 pool: bigPool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM bigPool ONLINE 0 0 0 raidz1 ONLINE 0 0 0 da0 ONLINE 0 0 0 da1 ONLINE 0 0 0 da2 ONLINE 0 0 0 da3 ONLINE 0 0 0 da4 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 da6 ONLINE 0 0 0 da7 ONLINE 0 0 0 da8 ONLINE 0 0 0 da9 ONLINE 0 0 0 da10 ONLINE 0 0 0 spares da5 AVAIL =20 da11 AVAIL =20 errors: No known data errors root@iscsihead-m:/[-bash]# zfs create bigPool/foobar root@iscsihead-m:/[-bash]# cd /bigPool/foobar/ root@iscsihead-m:/bigPool/foobar[-bash]# dd if=3D/dev/zero of=3Dbla bs=3D1m count=3D2048 2048+0 records in 2048+0 records out 2147483648 bytes transferred in 1.923756 secs (1116297239 bytes/sec) round about 800 - 1064 MB/sec Raidz2: root@iscsihead-m:/[-bash]# zpool create bigPool raidz2 da0 da1 da2 da3 da4 da5 raidz2 da6 da7 da8 da9 da10 da11 =20 root@iscsihead-m:/[-bash]# zpool status pool: bigPool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM bigPool ONLINE 0 0 0 raidz2 ONLINE 0 0 0 da0 ONLINE 0 0 0 da1 ONLINE 0 0 0 da2 ONLINE 0 0 0 da3 ONLINE 0 0 0 da4 ONLINE 0 0 0 da5 ONLINE 0 0 0 raidz2 ONLINE 0 0 0 da6 ONLINE 0 0 0 da7 ONLINE 0 0 0 da8 ONLINE 0 0 0 da9 ONLINE 0 0 0 da10 ONLINE 0 0 0 da11 ONLINE 0 0 0 errors: No known data errors root@iscsihead-m:/[-bash]# zfs create bigPool/foobar root@iscsihead-m:/[-bash]# cd /bigPool/foobar/ root@iscsihead-m:/bigPool/foobar[-bash]# dd if=3D/dev/zero of=3Dbla bs=3D1m count=3D2048 2048+0 records in 2048+0 records out 2147483648 bytes transferred in 2.716165 secs (790630759 bytes/sec) root@iscsihead-m:/bigPool/foobar[-bash]# dd if=3D/dev/zero of=3Dbla bs=3D1m count=3D4096 4096+0 records in 4096+0 records out 4294967296 bytes transferred in 5.329954 secs (805816968 bytes/sec) Round about 750 - 770MB/sec :-) So, how complicated is load balancing with two Gb Network cards? :-) Ok, that should be a new thread;-) cu denny --=-h9ImzN3X6l9oSbs771gq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk2MinMACgkQKlzhkqt9P+DwBQCdHpHjmd/AcGG701bNe8l0OOY9 WrsAn1riWSl630RUk0o4CI/nyUeqGGTM =3SDN -----END PGP SIGNATURE----- --=-h9ImzN3X6l9oSbs771gq-- From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 13:12:04 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B29FB106564A for ; Fri, 25 Mar 2011 13:12:04 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 382968FC18 for ; Fri, 25 Mar 2011 13:12:04 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p2PDC0pv035304 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 25 Mar 2011 09:12:01 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4D8C9495.90103@sentex.net> Date: Fri, 25 Mar 2011 09:11:49 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Steven Hartland References: <201007182108.o6IL88eG043887@lava.sentex.ca><20100718211415.GA84127@icarus.home.lan><201007182142.o6ILgDQW044046@lava.sentex.ca><20100719023419.GA91006@icarus.home.lan><201007190301.o6J31Hs1045607@lava.sentex.ca><20100719033424.GA92607@icarus.home.lan><201007191237.o6JCbmj7049339@lava.sentex.ca> <20100719203320.GB21088@icarus.home.lan> <011E0838F0EC4E80885646C70B34F8AB@multiplay.co.uk> In-Reply-To: <011E0838F0EC4E80885646C70B34F8AB@multiplay.co.uk> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: deadlock or bad disk ? RELENG_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 13:12:04 -0000 On 3/25/2011 6:29 AM, Steven Hartland wrote: > ----- Original Message ----- From: "Jeremy Chadwick" > > > Was there any conclusion from this guys, was there a bad disk > causing the issue? You mean this old thread ? http://lists.freebsd.org/pipermail/freebsd-stable/2010-July/057874.html I would say probably the disk mostly. Perhaps a driver or firmware bug on the Areca. Hard to say. The drive totally failed a month or so later. Also, moved to a later firmware on the areaca controller after that and all has been quite stable on the box except for an odd em driver bug. However, version 7.2.2 fixed that. Here is the dmesg of the box right now. Copyright (c) 1992-2011 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.2-PRERELEASE #0: Wed Feb 23 10:00:14 EST 2011 mdtancsa@backup3.sentex.ca:/usr/obj/usr/src/sys/backup amd64 module_register: module pci/em already exists! Module pci/em failed to register: 17 module_register: module pci/lem already exists! Module pci/lem failed to register: 17 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz (3333.31-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x20652 Family = 6 Model = 25 Stepping = 2 Features=0xbfebfbff Features2=0x298e3ff AMD Features=0x28100800 AMD Features2=0x1 TSC: P-state invariant real memory = 8589934592 (8192 MB) avail memory = 8186777600 (7807 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 5 ioapic0 irqs 0-23 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 cryptosoft0: on motherboard aesni0: on motherboard acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 pcib3: at device 2.0 on pci2 pci3: on pcib3 pcib4: at device 3.0 on pci2 pci4: on pcib4 pcib5: at device 0.0 on pci4 pci5: on pcib5 siis0: port 0x3000-0x300f mem 0xb4408000-0xb440807f,0xb4400000-0xb4407fff irq 19 at device 0.0 on pci5 siis0: [ITHREAD] siisch0: at channel 0 on siis0 siisch0: [ITHREAD] siisch1: at channel 1 on siis0 siisch1: [ITHREAD] siisch2: at channel 2 on siis0 siisch2: [ITHREAD] siisch3: at channel 3 on siis0 siisch3: [ITHREAD] pcib6: at device 4.0 on pci2 pci6: on pcib6 bge0: mem 0xb4300000-0xb430ffff irq 16 at device 0.0 on pci6 bge0: CHIP ID 0x00004001; ASIC REV 0x04; CHIP REV 0x40; PCI-E miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: 00:10:18:14:27:d5 bge0: [ITHREAD] pcib7: irq 16 at device 6.0 on pci0 pci7: on pcib7 pcib8: at device 0.0 on pci7 pci8: on pcib8 arcmsr0: mem 0xb4200000-0xb4200fff irq 18 at device 14.0 on pci8 ARECA RAID ADAPTER0: Driver Version 1.20.00.19 2010-11-11 ARECA RAID ADAPTER0: FIRMWARE VERSION V1.44 2008-2-1 arcmsr0: [ITHREAD] pcib9: at device 0.2 on pci7 pci9: on pcib9 em0: port 0x4040-0x405f mem 0xb4500000-0xb451ffff,0xb4525000-0xb4525fff irq 16 at device 25.0 on pci0 em0: Using an MSI interrupt em0: [FILTER] em0: Ethernet address: 00:15:17:ed:68:a5 ehci0: mem 0xb4522000-0xb45223ff irq 21 at device 26.0 on pci0 ehci0: [ITHREAD] usbus0: EHCI version 1.0 usbus0: on ehci0 pcib10: irq 16 at device 28.0 on pci0 pci10: on pcib10 pcib11: irq 16 at device 28.4 on pci0 pci11: on pcib11 em1: port 0x2000-0x201f mem 0xb4100000-0xb411ffff,0xb4120000-0xb4123fff irq 16 at device 0.0 on pci11 em1: Using MSIX interrupts with 3 vectors em1: [ITHREAD] em1: [ITHREAD] em1: [ITHREAD] em1: Ethernet address: 00:15:17:ed:68:a4 pcib12: irq 18 at device 28.6 on pci0 pci12: on pcib12 vgapci0: mem 0xb2000000-0xb2ffffff,0xb3800000-0xb3803fff,0xb3000000-0xb37fffff irq 17 at device 0.0 on pci12 pcib13: irq 19 at device 28.7 on pci0 pci13: on pcib13 3ware device driver for 9000 series storage controllers, version: 3.80.06.003 twa0: <3ware 9000 series Storage Controller> port 0x1000-0x10ff mem 0xb0000000-0xb1ffffff,0xb4000000-0xb4000fff irq 19 at device 0.0 on pci13 twa0: [ITHREAD] twa0: INFO: (0x15: 0x1300): Controller details:: Model 9650SE-2LP, 2 ports, Firmware FE9X 3.08.00.016, BIOS BE9X 3.08.00.004 ehci1: mem 0xb4521000-0xb45213ff irq 23 at device 29.0 on pci0 ehci1: [ITHREAD] usbus1: EHCI version 1.0 usbus1: on ehci1 pcib14: at device 30.0 on pci0 pci14: on pcib14 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x4068-0x406f,0x4074-0x4077,0x4060-0x4067,0x4070-0x4073,0x4020-0x403f mem 0xb4520000-0xb45207ff irq 18 at device 31.2 on pci0 ahci0: [ITHREAD] ahci0: AHCI v1.30 with 6 3Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich0: [ITHREAD] ahcich1: at channel 1 on ahci0 ahcich1: [ITHREAD] ahcich2: at channel 2 on ahci0 ahcich2: [ITHREAD] ahcich3: at channel 3 on ahci0 ahcich3: [ITHREAD] ahcich4: at channel 4 on ahci0 ahcich4: [ITHREAD] ahcich5: at channel 5 on ahci0 ahcich5: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 atrtc0: port 0x70-0x71,0x74-0x77 irq 8 on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart0: console (115200,n,8,1) uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] orm0: at iomem 0xc0000-0xc7fff,0xcb000-0xcffff,0xd0000-0xd1fff,0xd3800-0xd57ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd: unable to get the current command byte value. atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: unable to get the current command byte value. device_attach: acpi_perf1 attach returned 6 device_attach: acpi_perf3 attach returned 6 coretemp0: on cpu0 coretemp0: Tj(target) value 105 does not seem right. est0: on cpu0 p4tcc0: on cpu0 device_attach: acpi_perf1 attach returned 6 coretemp1: on cpu1 coretemp1: Tj(target) value 105 does not seem right. est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 19 device_attach: est1 attach returned 6 p4tcc1: on cpu1 coretemp2: on cpu2 coretemp2: Tj(target) value 105 does not seem right. est2: on cpu2 p4tcc2: on cpu2 device_attach: acpi_perf3 attach returned 6 coretemp3: on cpu3 coretemp3: Tj(target) value 105 does not seem right. est3: on cpu3 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 19 device_attach: est3 attach returned 6 p4tcc3: on cpu3 Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing.(noperiph:siisch0:0:-1:-1): rescan already queued usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 pmp0 at siisch0 bus 0 scbus0 target 15 lun 0 pmp0: ATA-0 device pmp0: 300.000MB/s transfers (SATA 2.x, NONE, PIO 8192bytes) pmp0: 5 fan-out ports uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered ugen0.2: at usbus0 uhub2: on usbus0 ugen1.2: at usbus1 uhub3: on usbus1 uhub2: 6 ports with 6 removable, self powered uhub3: 8 ports with 8 removable, self powered ugen0.3: at usbus0 ugen1.3: at usbus1 ukbd1: on usbus1 kbd2 at ukbd1 ums0: on usbus1 ums0: 3 buttons and [Z] coordinates ID=0 da0 at arcmsr0 bus 0 scbus4 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da0: Command Queueing enabled da0: 76293MB (156249600 512 byte sectors: 255H 63S/T 9726C) da1 at arcmsr0 bus 0 scbus4 target 0 lun 1 da1: Fixed Direct Access SCSI-5 device da1: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da1: Command Queueing enabled da1: 2784728MB (5703123456 512 byte sectors: 255H 63S/T 355003C) ada0 at siisch0 bus 0 scbus0 target 0 lun 0da2 at twa0 bus 0 scbus5 target 0 lun 0 da2: Fixed Direct Access SCSI-5 device da2: 100.000MB/s transfers da2: 66747MB (136697856 512 byte sectors: 255H 63S/T 8509C) ada0: ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) ada1 at siisch0 bus 0 scbus0 target 1 lun 0 ada1: ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) ada2 at siisch0 bus 0 scbus0 target 2 lun 0 ada2: ATA-8 SATA 2.x device ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada2: Command Queueing enabled ada2: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) ada3 at siisch0 bus 0 scbus0 target 3 lun 0 ada3: ATA-8 SATA 2.x device ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada3: Command Queueing enabled ada3: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) ada4 at ahcich0 bus 0 scbus6 target 0 lun 0 ada4: ATA-8 SATA 2.x device ada4: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada4: Command Queueing enabled ada4: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada5 at ahcich1 bus 0 scbus7 target 0 lun 0 ada5: ATA-8 SATA 2.x device ada5: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada5: Command Queueing enabled ada5: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada6 at ahcich2 bus 0 scbus8 target 0 lun 0 ada6: ATA-8 SATA 2.x device ada6: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada6: Command Queueing enabled ada6: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada7 at ahcich5 bus 0 scbus11 target 0 lun 0 ada7: ATA-8 SATA 3.x device ada7: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada7: Command Queueing enabled ada7: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) pass7 at arcmsr0 bus 0 scbus4 target 16 lun 0 pass7: Fixed Processor SCSI-0 device lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! lapic5: Forcing LINT1 to edge trigger SMP: AP CPU #3 Launched! lapic4: Forcing LINT1 to edge trigger SMP: AP CPU #2 Launched! ugen1.4: at usbus1 ukbd0: on usbus1 kbd3 at ukbd0 uhid0: on usbus1 Root mount waiting for: usbus0 Trying to mount root from ufs:/dev/da2s1a ZFS filesystem version 4 ZFS storage pool version 15 em0: link state changed to UP em1: link state changed to UP ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 13:59:11 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 613CD1065673 for ; Fri, 25 Mar 2011 13:59:11 +0000 (UTC) (envelope-from prvs=1065c2271e=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id E6ED08FC15 for ; Fri, 25 Mar 2011 13:59:10 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 25 Mar 2011 13:58:49 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 25 Mar 2011 13:58:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50012656167.msg for ; Fri, 25 Mar 2011 13:58:48 +0000 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=1065c2271e=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-stable@freebsd.org Message-ID: <716F58E43EA845E3A2228F020D85DFBB@multiplay.co.uk> From: "Steven Hartland" To: "Mike Tancsa" References: <201007182108.o6IL88eG043887@lava.sentex.ca><20100718211415.GA84127@icarus.home.lan><201007182142.o6ILgDQW044046@lava.sentex.ca><20100719023419.GA91006@icarus.home.lan><201007190301.o6J31Hs1045607@lava.sentex.ca><20100719033424.GA92607@icarus.home.lan><201007191237.o6JCbmj7049339@lava.sentex.ca> <20100719203320.GB21088@icarus.home.lan> <011E0838F0EC4E80885646C70B34F8AB@multiplay.co.uk> <4D8C9495.90103@sentex.net> Date: Fri, 25 Mar 2011 13:59:01 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Cc: freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: deadlock or bad disk ? RELENG_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 13:59:11 -0000 ----- Original Message ----- From: "Mike Tancsa" > I would say probably the disk mostly. Perhaps a driver or firmware bug > on the Areca. Hard to say. The drive totally failed a month or so > later. Also, moved to a later firmware on the areaca controller after > that and all has been quite stable on the box except for an odd em > driver bug. However, version 7.2.2 fixed that. Thanks for that Mike, been having some problems on a core box here where it would just hang for periods of time during which disk IO would drop to nothing and then it would just suddenly recover. We suspect one of the disks is at fault but as with you said disk hasnt failed so we where just going on the decreased smart values. Confirmation that you had a disk failure soon after is really helpful :) > Copyright (c) 1992-2011 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 8.2-PRERELEASE #0: Wed Feb 23 10:00:14 EST 2011 > mdtancsa@backup3.sentex.ca:/usr/obj/usr/src/sys/backup amd64 > module_register: module pci/em already exists! > Module pci/em failed to register: 17 > module_register: module pci/lem already exists! > Module pci/lem failed to register: 17 Looks like your trying to load an em module when its already compiled into the kernel here, so you many running the driver you think you are ;-) Thanks again. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 14:38:07 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04002106564A for ; Fri, 25 Mar 2011 14:38:07 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id B22788FC08 for ; Fri, 25 Mar 2011 14:38:06 +0000 (UTC) Received: by gxk28 with SMTP id 28so529915gxk.13 for ; Fri, 25 Mar 2011 07:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=m5CGmSgHzAKON7KH/JZJvJiYpa6HWmmo/oHC+shxrng=; b=WJXU5BAbBW66kBr/BIa2fFL0EfM8ld+gy/IF/HgcxU/op+/zJR5IRQEFTHVXRaHtyY +jVcN+FTPATMT4CZAm+WrJnCs1ap5fkUAIRQczkcTzA0rHIzFi1nfbx0BhO2+RFvMdLN bErWMLtO7usPKbJDHD48XJpPniY0Oh5cXdV1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=i7a1QLWiEPqYsrjNvLx4Wb252wehdqRhd0OagC09aYDHAzzyRWfP+owXtZv43GpEXO WTEuTCx3J1eZ6XK1g3jXt7e3FAmt78rt3KJFXFdeyQb0Y8/OR2UVgSfN7PaPLjl/YYrK bHGTGrvw2YnLdRTeMZE4GnE6nMqMjPe6E4HkQ= MIME-Version: 1.0 Received: by 10.90.183.18 with SMTP id g18mr929639agf.73.1301063885796; Fri, 25 Mar 2011 07:38:05 -0700 (PDT) Received: by 10.90.100.10 with HTTP; Fri, 25 Mar 2011 07:38:05 -0700 (PDT) In-Reply-To: <1301056115.21588.103.camel@pcdenny> References: <1300618959.2191.5.camel@netti> <1300887484.5930.72.camel@pcdenny> <8CDBE9B8-4834-4F2C-84B9-2DA371D5B2C3@4lin.net> <1301056115.21588.103.camel@pcdenny> Date: Fri, 25 Mar 2011 07:38:05 -0700 Message-ID: From: Freddie Cash To: Denny Schierz Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable Subject: Re: SAS HBA LSI 9200-8e supported under 8.2? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 14:38:07 -0000 On Fri, Mar 25, 2011 at 5:28 AM, Denny Schierz wrote: > So, how complicated is load balancing with two Gb Network cards? :-) Ok, > that should be a new thread;-) Simple as pie. Read through lagg(4) to see how it's done from the command-line using ifconfig(8). Then you put the settings into /etc/rc.conf like so: cloned_interfaces="lagg0" ifconfig_em0="up" ifconfig_em1="up" ifconfig_lagg0="laggproto round-robin laggport em0 laggport em1 inet 192.168.0.1/24" Change laggproto to suit your needs. -- Freddie Cash fjwcash@gmail.com From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 14:41:27 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DC59106566C for ; Fri, 25 Mar 2011 14:41:27 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by mx1.freebsd.org (Postfix) with ESMTP id D888F8FC08 for ; Fri, 25 Mar 2011 14:41:26 +0000 (UTC) Received: from omta13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA11.westchester.pa.mail.comcast.net with comcast id PSh41g00A17dt5G5BShSFz; Fri, 25 Mar 2011 14:41:26 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta13.westchester.pa.mail.comcast.net with comcast id PShR1g00o1t3BNj3ZShSEj; Fri, 25 Mar 2011 14:41:26 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 4509F9B429; Fri, 25 Mar 2011 07:41:24 -0700 (PDT) Date: Fri, 25 Mar 2011 07:41:24 -0700 From: Jeremy Chadwick To: Steven Hartland Message-ID: <20110325144124.GA29033@icarus.home.lan> References: <20100718211415.GA84127@icarus.home.lan> <201007182142.o6ILgDQW044046@lava.sentex.ca> <20100719023419.GA91006@icarus.home.lan> <201007190301.o6J31Hs1045607@lava.sentex.ca> <20100719033424.GA92607@icarus.home.lan> <201007191237.o6JCbmj7049339@lava.sentex.ca> <20100719203320.GB21088@icarus.home.lan> <011E0838F0EC4E80885646C70B34F8AB@multiplay.co.uk> <4D8C9495.90103@sentex.net> <716F58E43EA845E3A2228F020D85DFBB@multiplay.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <716F58E43EA845E3A2228F020D85DFBB@multiplay.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: deadlock or bad disk ? RELENG_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 14:41:27 -0000 On Fri, Mar 25, 2011 at 01:59:01PM -0000, Steven Hartland wrote: > ----- Original Message ----- From: "Mike Tancsa" > > >I would say probably the disk mostly. Perhaps a driver or firmware bug > >on the Areca. Hard to say. The drive totally failed a month or so > >later. Also, moved to a later firmware on the areaca controller after > >that and all has been quite stable on the box except for an odd em > >driver bug. However, version 7.2.2 fixed that. > > Thanks for that Mike, been having some problems on a core box here where > it would just hang for periods of time during which disk IO would drop > to nothing and then it would just suddenly recover. We suspect one of > the disks is at fault but as with you said disk hasnt failed so we > where just going on the decreased smart values. I apologise in advance if I have already reviewed your situation, but if you could please provide full "smartctl -a" output for the disk, I can review the data to see if anything looks out of place. An example: on some (not all) Western Digital "Green" disks, including enterprise models, Attribute 193 showing an extremely large RAW_VALUE (in the tens of thousands, if not more) indicates the drive is trying to park its actuator arm/heads constantly. The result: abysmal performance. One cannot key off of the firmware version as an indicator (WD does not always increase/change the firmware string). Some users have been able to get WD to admit the problem + provide them a fixed firmware. My point: looking at SMART attributes doesn't help unless you know exactly what to look for, are familiar with all the quirks of drive models, and basically act as an information sponge (subscribe to all sorts of mailing lists, talk to users, help generic non-technical end users out, etc.). It takes up a lot of my time, but I try my best. Sometimes I feel like my brain needs checksumming... -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 15:05:57 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C66F106564A for ; Fri, 25 Mar 2011 15:05:57 +0000 (UTC) (envelope-from attila.bogar@linguamatics.com) Received: from mail.linguamatics.com (mail.linguamatics.com [193.34.186.85]) by mx1.freebsd.org (Postfix) with ESMTP id 36DA58FC15 for ; Fri, 25 Mar 2011 15:05:57 +0000 (UTC) Received: from [10.252.10.91] (dhcp091.linguamatics.com [10.252.10.91]) by mail.linguamatics.com (Postfix) with ESMTPSA id F083FEFB448 for ; Fri, 25 Mar 2011 15:10:25 +0000 (GMT) Message-ID: <4D8CABB2.2000507@linguamatics.com> Date: Fri, 25 Mar 2011 14:50:26 +0000 From: =?ISO-8859-1?Q?Attila_Bog=E1r?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to set tape parameters on freebsd? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 15:05:57 -0000 Dear FreeBSD list, I'm currently using FreeBSD on my backup server (w/ Amanda). I'm wondering if exists out there a utility for setting tape parameters (during boot). Linux had /sbin/stinit and /etc/stinit.def. Is there something similar for FreeBSD? Another problem I'm experiencing is: During power cycling, the controller resets the tape drives the drives eject the tape. If I use 'mt -f /dev/nsa0 comp off' in a boot script it fails with an error tape drive not configured. Is there a pretty solution for this or you just put mt into a loop until it succeeds? Is there a way pushing compression and block size parameters to the sa driver? I've already RTFM sa(8) and checked sysctl settings and I couldn't find the answer. Thanks for your constructive comments in advance, Attila From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 15:28:58 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A560B106566B for ; Fri, 25 Mar 2011 15:28:58 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 303658FC15 for ; Fri, 25 Mar 2011 15:28:57 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.4/8.14.4) with ESMTP id p2PFSrcs002182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Mar 2011 16:28:53 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.4/8.14.4/Submit) with ESMTP id p2PFSrNd002179; Fri, 25 Mar 2011 16:28:53 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Fri, 25 Mar 2011 16:28:53 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: =?ISO-8859-1?Q?Attila_Bog=E1r?= In-Reply-To: <4D8CABB2.2000507@linguamatics.com> Message-ID: References: <4D8CABB2.2000507@linguamatics.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: =?ISO-8859-1?Q?Fagskolen_i_Gj=F8vik?= OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-501752186-1301066933=:99971" X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on mail.fig.ol.no Cc: FreeBSD stable Subject: Re: How to set tape parameters on freebsd? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 15:28:58 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-501752186-1301066933=:99971 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Fri, 25 Mar 2011 14:50-0000, Attila Bogár wrote: > Dear FreeBSD list, > > I'm currently using FreeBSD on my backup server (w/ Amanda). > > I'm wondering if exists out there a utility for setting tape > parameters (during boot). > > Linux had /sbin/stinit and /etc/stinit.def. > Is there something similar for FreeBSD? > > Another problem I'm experiencing is: > During power cycling, the controller resets the tape drives the > drives eject the tape. > If I use 'mt -f /dev/nsa0 comp off' in a boot script it fails with > an error tape drive not configured. > Is there a pretty solution for this or you just put mt into a loop > until it succeeds? Have you tried using /dev/sa0.ctl? E.g.: mt -f /dev/sa0.ctl comp off I run AMANDA using a shell script from cron, and one of the things my shell script does before running amdump is to turn off compression. By the time the shell script runs, a tape cartridge is already loaded in the drive. With the tape cartridge loaded, it's OK to use /dev/nsa0. > Is there a way pushing compression and block size parameters to the > sa driver? I've already RTFM sa(8) and checked sysctl settings and I > couldn't find the answer. > > Thanks for your constructive comments in advance, > > Attila Trond. -- ---------------------------------------------------------------------- Trond Endrestřl | Trond.Endrestol@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 8.1-STABLE & Alpine 2.00 --2055831798-501752186-1301066933=:99971-- From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 15:38:00 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59306106566C for ; Fri, 25 Mar 2011 15:38:00 +0000 (UTC) (envelope-from prvs=1065c2271e=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id DFC698FC08 for ; Fri, 25 Mar 2011 15:37:59 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 25 Mar 2011 15:37:39 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 25 Mar 2011 15:37:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50012657190.msg for ; Fri, 25 Mar 2011 15:37:38 +0000 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=1065c2271e=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-stable@freebsd.org Message-ID: From: "Steven Hartland" To: "Jeremy Chadwick" References: <20100718211415.GA84127@icarus.home.lan> <201007182142.o6ILgDQW044046@lava.sentex.ca> <20100719023419.GA91006@icarus.home.lan> <201007190301.o6J31Hs1045607@lava.sentex.ca> <20100719033424.GA92607@icarus.home.lan> <201007191237.o6JCbmj7049339@lava.sentex.ca> <20100719203320.GB21088@icarus.home.lan> <011E0838F0EC4E80885646C70B34F8AB@multiplay.co.uk> <4D8C9495.90103@sentex.net> <716F58E43EA845E3A2228F020D85DFBB@multiplay.co.uk> <20110325144124.GA29033@icarus.home.lan> Date: Fri, 25 Mar 2011 15:37:55 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Cc: freebsd-stable@freebsd.org Subject: Re: deadlock or bad disk ? RELENG_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 15:38:00 -0000 ----- Original Message ----- From: "Jeremy Chadwick" > I apologise in advance if I have already reviewed your situation, but if > you could please provide full "smartctl -a" output for the disk, I can > review the data to see if anything looks out of place. > > An example: on some (not all) Western Digital "Green" disks, including > enterprise models, Attribute 193 showing an extremely large RAW_VALUE > (in the tens of thousands, if not more) indicates the drive is trying to > park its actuator arm/heads constantly. The result: abysmal > performance. One cannot key off of the firmware version as an indicator > (WD does not always increase/change the firmware string). Some users > have been able to get WD to admit the problem + provide them a fixed > firmware. > > My point: looking at SMART attributes doesn't help unless you know > exactly what to look for, are familiar with all the quirks of drive > models, and basically act as an information sponge (subscribe to all > sorts of mailing lists, talk to users, help generic non-technical > end users out, etc.). It takes up a lot of my time, but I try my best. > Sometimes I feel like my brain needs checksumming... Thanks for the offer Jeremy unfortunately I'm in the same position Mike was as these disks are behind an areca which doesn't show raw values :( I've raised this with their support as an issue with their areca-cli utility so hopefully they will fix. Alternatively maybe smartctl will add support for the areca under freebsd in the future. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 15:47:45 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A325D106564A for ; Fri, 25 Mar 2011 15:47:45 +0000 (UTC) (envelope-from telbizov@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4EE6B8FC0C for ; Fri, 25 Mar 2011 15:47:44 +0000 (UTC) Received: by qwc9 with SMTP id 9so778128qwc.13 for ; Fri, 25 Mar 2011 08:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=K/1q55EZywOTxAeXT5kJDDJHR5odjM0InvSa3xIkSr8=; b=sLAnuEFiruDaHkaKwf4TPhFG+YdCpeHJjy5cOZOic5uVLtqj36VaNf6jNH/hVbA8r5 hKg15QHE+oHM7TJtfdx7RYKhy0YhyfN2El71543WcZ9lD0wyGm2x1hxq2vhBvhm8me2j AFDzYU3BEhSEzYWz44koKvWar9wJCuOqJHmoY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kJ5w/gRcjcFZvLb334lPe4TDzoroPhK+BB4WtQxop4yNKKN6zCGAEjTXbrufeQLYYH ACm3gNjcziX2pGFbzgz+HEuTPVv+bP2AyuScmlw/TKsytlJtr99aNh63d7Zs+edQvz6U mYEFPxKKq6YOvkT+RP5BHChpntjiuVyqXenUs= MIME-Version: 1.0 Received: by 10.229.127.212 with SMTP id h20mr757485qcs.78.1301068064398; Fri, 25 Mar 2011 08:47:44 -0700 (PDT) Received: by 10.229.225.4 with HTTP; Fri, 25 Mar 2011 08:47:44 -0700 (PDT) In-Reply-To: References: <1300618959.2191.5.camel@netti> <1300887484.5930.72.camel@pcdenny> <8CDBE9B8-4834-4F2C-84B9-2DA371D5B2C3@4lin.net> <1301056115.21588.103.camel@pcdenny> Date: Fri, 25 Mar 2011 08:47:44 -0700 Message-ID: From: Rumen Telbizov To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Denny Schierz , freebsd-stable Subject: Re: SAS HBA LSI 9200-8e supported under 8.2? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 15:47:45 -0000 Good job Denny, I am happy to hear you made it work. On Fri, Mar 25, 2011 at 7:38 AM, Freddie Cash wrote: > On Fri, Mar 25, 2011 at 5:28 AM, Denny Schierz wrote: > > So, how complicated is load balancing with two Gb Network cards? :-) Ok, > > that should be a new thread;-) > > Simple as pie. Read through lagg(4) to see how it's done from the > command-line using ifconfig(8). > > ifconfig_lagg0="laggproto round-robin laggport em0 laggport em1 inet > 192.168.0.1/24" > That's actually an interesting problem (although it really belongs to a different thread). Freddie, have you tried this with an HP Procurve (say 2910al) switch. I did and a dual gigabit connection between two machines made the switch cpu utilization to jump from around 1% to 30%. I guess it might be HP specific problem due to the enormous mac address bounce between the two ports. I am curious to know if anybody else has experienced similar problems? It's a really important problem to solve since having zpool's that can achieve a gigabyte a second transfers makes little sense when you are limited by a gigabit (120MB/s) network connection to the rest of the world. Alternative to round-robin is only maybe LACP, but it doesn't really cut it when it comes to transfers between two nodes only due to the hashing that LACP uses. Or maybe 10GbE anyone? Cheers, -- Rumen Telbizov http://telbizov.com From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 16:07:27 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 596431065675 for ; Fri, 25 Mar 2011 16:07:27 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 0E57B8FC1D for ; Fri, 25 Mar 2011 16:07:26 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p2PG7Mdp068231 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 25 Mar 2011 12:07:23 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4D8CBDBD.1000905@sentex.net> Date: Fri, 25 Mar 2011 12:07:25 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Steven Hartland References: <20100718211415.GA84127@icarus.home.lan> <201007182142.o6ILgDQW044046@lava.sentex.ca> <20100719023419.GA91006@icarus.home.lan> <201007190301.o6J31Hs1045607@lava.sentex.ca> <20100719033424.GA92607@icarus.home.lan> <201007191237.o6JCbmj7049339@lava.sentex.ca> <20100719203320.GB21088@icarus.home.lan> <011E0838F0EC4E80885646C70B34F8AB@multiplay.co.uk> <4D8C9495.90103@sentex.net> <716F58E43EA845E3A2228F020D85DFBB@multiplay.co.uk> <20110325144124.GA29033@icarus.home.lan> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: deadlock or bad disk ? RELENG_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 16:07:27 -0000 On 3/25/2011 11:37 AM, Steven Hartland wrote: > I've raised this with their support as an issue with their areca-cli > utility so hopefully they will fix. Alternatively maybe smartctl will > add support for the areca under freebsd in the future. Hopefully smartmontools will eventually work. It can be quite helpful. For example, It flagged one of my Seagate disks having the following issues http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=207931 http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=207951 http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=207957 ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 16:12:37 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CA8F106566C for ; Fri, 25 Mar 2011 16:12:37 +0000 (UTC) (envelope-from attila.bogar@linguamatics.com) Received: from mail.linguamatics.com (mail.linguamatics.com [193.34.186.85]) by mx1.freebsd.org (Postfix) with ESMTP id 34FD78FC0A for ; Fri, 25 Mar 2011 16:12:37 +0000 (UTC) Received: from [10.252.10.91] (dhcp091.linguamatics.com [10.252.10.91]) by mail.linguamatics.com (Postfix) with ESMTPSA id DC86DEFB44E for ; Fri, 25 Mar 2011 16:32:35 +0000 (GMT) Message-ID: <4D8CBEF4.1030505@linguamatics.com> Date: Fri, 25 Mar 2011 16:12:36 +0000 From: =?ISO-8859-1?Q?Attila_Bog=E1r?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4D8CABB2.2000507@linguamatics.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: How to set tape parameters on freebsd? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 16:12:37 -0000 Hi Trond, On 25/03/11 15:28, Trond Endrestřl wrote: > Have you tried using /dev/sa0.ctl? E.g.: mt -f /dev/sa0.ctl comp off Thanks for your answer! I can confirm, that mt -f /dev/sa0.ctl comp off just works without the tape cartdridge loaded. I'm currently using the same approach that you use (mt before amdump), though setting it up only once at boot looks me a cleaner solution (unless the drive resets for some reason (electrocity or sas cable) stuff). Thanks, Attila From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 16:47:51 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A34071065743 for ; Fri, 25 Mar 2011 16:47:51 +0000 (UTC) (envelope-from sclark46@earthlink.net) Received: from elasmtp-mealy.atl.sa.earthlink.net (elasmtp-mealy.atl.sa.earthlink.net [209.86.89.69]) by mx1.freebsd.org (Postfix) with ESMTP id 7B2D48FC1C for ; Fri, 25 Mar 2011 16:47:51 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=AlybG++FdphlUgP+fsfCsD7UkZGF8ufteTrEJGA9TxJzPMc34CxNqVadVu/Gfa/k; h=Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [69.22.83.66] (helo=joker.seclark.com) by elasmtp-mealy.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Q39sc-000613-Ci for freebsd-stable@freebsd.org; Fri, 25 Mar 2011 12:28:54 -0400 Message-ID: <4D8CC2C5.7020508@earthlink.net> Date: Fri, 25 Mar 2011 12:28:53 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 MIME-Version: 1.0 To: FreeBSD Stable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: a437fbc6971e80f61aa676d7e74259b7b3291a7d08dfec79a693bd04203f5ff5ebaae6088067006e350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 69.22.83.66 Subject: SPD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sclark46@earthlink.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 16:47:51 -0000 Hi, If one has multiple entries in the SPD some representing more specific network addresses not to be encrypted and sent over an ipsec tunnel vs more general networks that would be encrypted would this work? In other words say I have a x.x.0.0/16 that should encrypted but in that x.x.0.0/16 I don't want x.x.84.0/23 to be encrypted could I do that? If so is dependent on the order the SPD entries are made? Thanks, Steve From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 17:10:13 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD2EB106566B for ; Fri, 25 Mar 2011 17:10:12 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5FF8FC1A for ; Fri, 25 Mar 2011 17:10:12 +0000 (UTC) Received: by fxm11 with SMTP id 11so1607897fxm.13 for ; Fri, 25 Mar 2011 10:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=MtMGK7xDnRGAIeMOgiPgq4Y8iBtWM/utvg5L85BaycU=; b=pzQjambGtO0a6GvCHN5DNCBXglpPvZiRBVIMQKBdb0MBfOL9bSFOonJrw+ft/RK0pR S9Bjdmh9VoTfPYHDTRPu7kMw61TDV5WOokB8/9NzEuoB2Ca5+UiqP+9zziGdgWPbwkYw hVaWXcQ/jVu7ajO/1NtLPNXFLe7R8OnKtHAvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Uzn9rD4Jqd7HnvyuzKuBW58Z2VE9+ba4TjNavtRk3wbKIy9eeNfx5siVbJdAbll3c5 j8Ir2a/nVmnwnjAWUE0Ot1gfwSKPTjNAwTy1NCUACJEheB96SaPhJ2uXOrtegYdaDrOw 7jx8E1edVQx2NlRCYhV1qRlwnRPNWykU/pSoc= Received: by 10.223.160.5 with SMTP id l5mr1146714fax.85.1301072980882; Fri, 25 Mar 2011 10:09:40 -0700 (PDT) Received: from Groseille.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id p16sm508142fax.21.2011.03.25.10.09.38 (version=SSLv3 cipher=OTHER); Fri, 25 Mar 2011 10:09:39 -0700 (PDT) Message-ID: <4D8CCC6A.50702@gmail.com> Date: Fri, 25 Mar 2011 18:10:02 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110320 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20110321112322.GA6733@twoquid.cs.ru.nl> In-Reply-To: <20110321112322.GA6733@twoquid.cs.ru.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: .zfs directory: snapshot: Bad file descriptor X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 17:10:13 -0000 On 21/03/2011 12:23, Olaf Seibert wrote: > On my production system (still 8.1, I haven't had time yet to upgrade to > 8.2) I have a ZFS. Nightly I make snapshots of each filesystem in it. > Suddenly, one of the file systems has no snapshots any more: > > $ ls -l /tank/vol-fourquid-1/.zfs > ls: snapshot: Bad file descriptor > total 0 > $ ls -l /tank/vol-fourquid-1/.zfs/snapshot > ls: /tank/vol-fourquid-1/.zfs/snapshot: Bad file descriptor > > Snapshots in other file systems seem ok, for example: > > $ ls -l /home/local/.zfs > total 0 > dr-xr-xr-x 9 root wheel 9 Oct 21 2009 snapshot/ > $ ls -l /home/local/.zfs/snapshot/ > total 32 > drwxr-xr-x 48 root vb 48 Apr 19 2010 friday/ > drwxr-xr-x 48 root vb 48 Apr 19 2010 monday/ > drwxr-xr-x 48 root vb 48 Apr 19 2010 saturday/ > drwxr-xr-x 48 root vb 48 Apr 19 2010 sunday/ > drwxr-xr-x 48 root vb 48 Apr 19 2010 thursday/ > drwxr-xr-x 48 root vb 48 Apr 19 2010 tuesday/ > drwxr-xr-x 48 root vb 48 Apr 19 2010 wednesday/ > > zpool status thinks all is ok: > > $ zpool status > pool: tank > state: ONLINE > status: The pool is formatted using an older on-disk format. The pool can > still be used, but some features are unavailable. > action: Upgrade the pool using 'zpool upgrade'. Once this is done, the > pool will no longer be accessible on older software versions. > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > tank ONLINE 0 0 0 > raidz2 ONLINE 0 0 0 > da0 ONLINE 0 0 0 > da1 ONLINE 0 0 0 > da2 ONLINE 0 0 0 > da3 ONLINE 0 0 0 > da4 ONLINE 0 0 0 > da5 ONLINE 0 0 0 > > errors: No known data errors > > How worried should I be about corruption anyway, say if I unmount and > remount the affected file system? > > -Olaf. I don't know how to manage ZFS filesystem but usually on UFS file system when you have a bad file descriptor you must run fsck(8) manually to check up the disk. Cheers, -- David Demelier From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 21:10:16 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E330B106574C for ; Fri, 25 Mar 2011 21:10:16 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2CF778FC17 for ; Fri, 25 Mar 2011 21:10:13 +0000 (UTC) Received: by gwb15 with SMTP id 15so715405gwb.13 for ; Fri, 25 Mar 2011 14:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=DN+ksXSuEDs9qotIpPm8USJMI9cpEiZTJCqeRkJaC0I=; b=CkSJtJdl71ScdbKnPyutuXHss+nl988AQzqYs60cRdV0zDJ2ISkYJg4TRP/Ds4ymK/ PxkTIQfISz2iblYAbrmeXWj1WW974CTtoIlZuphF8zMV+ZiHbGpDQFu5TuZF6wcKVADt qk9YkHmD0FT75wxaKn7slSUu1crER0GRziL5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=u4q2R3dAdIG+N2+4o7TLEzaCllwEAc/p9SjAqxFvos10owXU+AWCEc3DL6w5Mtryv5 raAct+kO3QJy/LOMWMZTZlvn9qZAsRL6gSWTXf5L9WIcu+YVHkOtx2sTDY7JjvAigpRq VKuBwIba7U+ozyH8TNn6vXkO4bdBX+TCd9jZA= MIME-Version: 1.0 Received: by 10.91.20.12 with SMTP id x12mr1329867agi.100.1301087413371; Fri, 25 Mar 2011 14:10:13 -0700 (PDT) Received: by 10.90.100.10 with HTTP; Fri, 25 Mar 2011 14:10:13 -0700 (PDT) In-Reply-To: References: <1300618959.2191.5.camel@netti> <1300887484.5930.72.camel@pcdenny> <8CDBE9B8-4834-4F2C-84B9-2DA371D5B2C3@4lin.net> <1301056115.21588.103.camel@pcdenny> Date: Fri, 25 Mar 2011 14:10:13 -0700 Message-ID: From: Freddie Cash To: Rumen Telbizov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Denny Schierz , freebsd-stable Subject: Re: SAS HBA LSI 9200-8e supported under 8.2? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 21:10:17 -0000 On Fri, Mar 25, 2011 at 8:47 AM, Rumen Telbizov wrote: > On Fri, Mar 25, 2011 at 7:38 AM, Freddie Cash wrote: >> On Fri, Mar 25, 2011 at 5:28 AM, Denny Schierz wrot= e: >> > So, how complicated is load balancing with two Gb Network cards? :-) O= k, >> > that should be a new thread;-) >> >> Simple as pie. =C2=A0Read through lagg(4) to see how it's done from the >> command-line using ifconfig(8). >> >> ifconfig_lagg0=3D"laggproto round-robin laggport em0 laggport em1 inet >> 192.168.0.1/24" > > That's actually an interesting problem (although it really belongs to a > different thread). > Freddie, have you tried this with an HP Procurve (say 2910al) switch. > I did and a dual gigabit connection between two machines made the switch > cpu utilization to jump from around 1% to 30%. I guess it might be HP > specific problem due to the enormous mac address bounce between the two > ports. I am curious to know if anybody else has experienced similar > problems? Yes, using LACP trunking on the switch and lagg(4). I'll have to double-check the exact switch models but I believe one is a 2910 and the other is a 28-something. I've also done it using load-balance and fail-over using unmanaged switch ports. Never used round-robin, though. --=20 Freddie Cash fjwcash@gmail.com From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 21:50:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D596E106566C for ; Fri, 25 Mar 2011 21:50:34 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta13.emeryville.ca.mail.comcast.net (qmta13.emeryville.ca.mail.comcast.net [76.96.27.243]) by mx1.freebsd.org (Postfix) with ESMTP id B83FB8FC13 for ; Fri, 25 Mar 2011 21:50:34 +0000 (UTC) Received: from omta14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by qmta13.emeryville.ca.mail.comcast.net with comcast id PZS01g0031HpZEsADZqaPn; Fri, 25 Mar 2011 21:50:34 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta14.emeryville.ca.mail.comcast.net with comcast id PZqY1g0041t3BNj8aZqZWf; Fri, 25 Mar 2011 21:50:34 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 01A0C9B429; Fri, 25 Mar 2011 14:50:32 -0700 (PDT) Date: Fri, 25 Mar 2011 14:50:31 -0700 From: Jeremy Chadwick To: Steven Hartland Message-ID: <20110325215031.GA36689@icarus.home.lan> References: <20100719023419.GA91006@icarus.home.lan> <201007190301.o6J31Hs1045607@lava.sentex.ca> <20100719033424.GA92607@icarus.home.lan> <201007191237.o6JCbmj7049339@lava.sentex.ca> <20100719203320.GB21088@icarus.home.lan> <011E0838F0EC4E80885646C70B34F8AB@multiplay.co.uk> <4D8C9495.90103@sentex.net> <716F58E43EA845E3A2228F020D85DFBB@multiplay.co.uk> <20110325144124.GA29033@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: deadlock or bad disk ? RELENG_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 21:50:34 -0000 On Fri, Mar 25, 2011 at 03:37:55PM -0000, Steven Hartland wrote: > ----- Original Message ----- From: "Jeremy Chadwick" > > > >I apologise in advance if I have already reviewed your situation, but if > >you could please provide full "smartctl -a" output for the disk, I can > >review the data to see if anything looks out of place. > > > >An example: on some (not all) Western Digital "Green" disks, including > >enterprise models, Attribute 193 showing an extremely large RAW_VALUE > >(in the tens of thousands, if not more) indicates the drive is trying to > >park its actuator arm/heads constantly. The result: abysmal > >performance. One cannot key off of the firmware version as an indicator > >(WD does not always increase/change the firmware string). Some users > >have been able to get WD to admit the problem + provide them a fixed > >firmware. > > > >My point: looking at SMART attributes doesn't help unless you know > >exactly what to look for, are familiar with all the quirks of drive > >models, and basically act as an information sponge (subscribe to all > >sorts of mailing lists, talk to users, help generic non-technical > >end users out, etc.). It takes up a lot of my time, but I try my best. > >Sometimes I feel like my brain needs checksumming... > > Thanks for the offer Jeremy unfortunately I'm in the same position Mike > was as these disks are behind an areca which doesn't show raw values :( > > I've raised this with their support as an issue with their areca-cli > utility so hopefully they will fix. Alternatively maybe smartctl > will > add support for the areca under freebsd in the future. Bummer. Competitor's drivers make use of pass(4) and/or xpt(4), the result being that you can see (and talk to directly) all the disks which are on the RAID card. No need for a CLI utility getting in the way, etc.. It would benefit Areca if they added support for this to their driver. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 00:53:44 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76656106566C for ; Sat, 26 Mar 2011 00:53:44 +0000 (UTC) (envelope-from victor@bsdes.net) Received: from equilibrium.bsdes.net (244.Red-217-126-240.staticIP.rima-tde.net [217.126.240.244]) by mx1.freebsd.org (Postfix) with ESMTP id 80BBF8FC08 for ; Sat, 26 Mar 2011 00:53:43 +0000 (UTC) Received: by equilibrium.bsdes.net (Postfix, from userid 1001) id 4629C39845; Sat, 26 Mar 2011 01:33:48 +0100 (CET) Date: Sat, 26 Mar 2011 01:33:48 +0100 From: Victor Balada Diaz To: stable@freebsd.org Message-ID: <20110326003348.GQ36706@equilibrium.bsdes.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: geli(4) memory leak X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 00:53:44 -0000 Hello, I'm trying to setup a new geli disk and i'm seeing what looks like a memory leak. After initializing the device i've tried to do the dd command from /dev/random like this one: dd if=/dev/random of=/dev/da0p1.eli bs=1m And i can see that wired memory is increasing and never released, using about 1 GB after 500 GB transferred. The HD is a Seagate ST2000DL 003 with 4k sectors. My geli configuration is: magic: GEOM::ELI version: 5 ealgo: AES-XTS keylen: 128 aalgo: HMAC/SHA256 provsize: 2000397868544 sectorsize: 4096 gpt partitions: Geom name: da0 state: OK fwheads: 255 fwsectors: 63 last: 3907029134 first: 34 entries: 128 scheme: GPT Providers: 1. Name: da0p1 Mediasize: 2000397868544 (1.8T) Sectorsize: 512 Mode: r1w1e2 rawuuid: 661ae84d-55a7-11e0-88d5-0013a9f69377 rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b label: backup length: 2000397868544 offset: 1048576 type: freebsd-ufs index: 1 end: 3907029134 start: 2048 Consumers: 1. Name: da0 Mediasize: 2000398934016 (1.8T) Sectorsize: 512 Mode: r1w1e3 Device is connected over USB2 just in case the memory leak is in USB code instead of geli. My FreeBSD version is: 8.2-RC1 amd64 vmstat -m output: Type InUse MemUse HighUse Requests Size(s) kqueue 10 9K - 45 256,512,2048 proc-args 52 4K - 16500 16,32,64,128,256 ithread 70 12K - 70 32,128,256 CAM dev queue 5 1K - 5 128 KTRACE 100 13K - 100 128 linker 275 411K - 336 16,32,64,128,256,512,1024,2048,4096 lockf 26 3K - 102 64,128 entropy 1024 64K - 1024 64 ip6ndp 6 1K - 6 64,128 temp 34 587K - 513343 16,32,64,128,256,512,1024,2048,4096 devbuf 3953 5385K - 10690 16,32,64,128,256,512,1024,2048,4096 cache 1 1K - 1 32 module 426 54K - 426 128 mtx_pool 2 16K - 2 osd 2 1K - 2 16,64 subproc 217 403K - 6562 512,4096 proc 2 16K - 2 session 29 4K - 339 128 pgrp 38 5K - 407 128 cred 74 12K - 57324 64,256 uidinfo 7 3K - 295 128,2048 plimit 14 4K - 4233 256 CAM queue 19 1K - 59 16,32 CAM SIM 5 2K - 5 256 sysctltmp 0 0K - 1680 16,32,64,128,256,4096 sysctloid 4218 208K - 4325 16,32,64,128 sysctl 0 0K - 314942 16,32,64 callout 1 512K - 1 umtx 198 25K - 198 128 p1003.1b 1 1K - 1 16 SWAP 2 549K - 2 64 scsi_da 0 0K - 21 16 bus-sc 83 280K - 3198 16,32,64,128,256,512,1024,2048,4096 bus 1211 104K - 6294 16,32,64,128,256,512,1024 devstat 12 25K - 12 32,4096 eventhandler 83 7K - 83 64,128 scsi_cd 0 0K - 3 16 kobj 300 1200K - 368 4096 Per-cpu 1 1K - 1 32 CAM periph 8 2K - 21 16,32,64,128,256 CAM XPT 47 23K - 85433 32,64,128,256,2048 rman 170 21K - 607 16,32,128 ata_generic 2 2K - 2 1024 sbuf 0 0K - 3430 16,32,64,128,256,512,1024,2048,4096 stack 0 0K - 2 256 taskqueue 17 2K - 17 16,32,128 Unitno 11 1K - 59 32,64 iov 0 0K - 14434 16,32,64,128,256,512 select 51 7K - 51 128 ioctlops 0 0K - 231551 16,32,64,128,256,512,1024,2048,4096 msg 4 30K - 4 2048,4096 sem 4 11K - 4 512,1024 shm 1 20K - 1 tty 22 22K - 25 1024,2048 pts 3 1K - 4 256 mbuf_tag 0 0K - 10 32 ksem 1 8K - 1 shmfd 1 8K - 1 USBdev 122 51K - 830 64,128,512,1024,4096 pcb 18 157K - 42 16,32,128,1024,2048,4096 soname 25 3K - 2811 16,32,64,128 biobuf 1 2K - 8 2048 vfscache 1 1024K - 1 vfs_hash 1 512K - 1 vnodes 2 1K - 2 256 USB 115 184K - 129 16,32,64,128,256,512,2048,4096 vnodemarker 0 0K - 26007 512 mount 137 7K - 305 16,32,64,128,256 BPF 9 10K - 9 128,512,4096 ether_multi 15 1K - 22 16,32,64 ifaddr 264 21K - 265 32,64,128,256,512,4096 ifnet 6 11K - 6 128,2048 ad_driver 1 1K - 1 32 clone 6 24K - 6 4096 arpcom 2 1K - 2 16 fw_com 1 1K - 1 64 lltable 14 6K - 16 256,512 ar_driver 0 0K - 6 512,2048 acd_driver 1 2K - 1 2048 athdev 3 66K - 3 2048 acpidev 67 5K - 67 64 kbdmux 7 10K - 7 16,512,1024,2048,4096 routetbl 24 524K - 124 32,64,128,256,512 80211com 1 8K - 1 80211node 1 1K - 1 1024 80211scan 1 4K - 1 4096 igmp 5 2K - 5 256 in_multi 2 1K - 3 256 sctp_iter 0 0K - 3 256 sctp_ifn 2 1K - 2 128 sctp_ifa 4 1K - 4 128 sctp_vrf 1 1K - 1 64 sctp_a_it 0 0K - 3 16 hostcache 1 28K - 1 syncache 1 96K - 1 ath_hal 3 18K - 4 2048 DEVFS1 140 70K - 149 512 DEVFS3 162 41K - 172 256 in6_multi 12 2K - 12 32,256 mld 5 1K - 5 128 NFS FHA 1 2K - 1 2048 rpc 2 9K - 2 256 audit_evclass 172 6K - 211 32 savedino 0 0K - 136 256 dirrem 0 0K - 866 64 mkdir 0 0K - 16 64 diradd 0 0K - 859 64 freefile 0 0K - 172 64 freeblks 0 0K - 159 256 freefrag 0 0K - 9 64 allocindir 0 0K - 7550 128 indirdep 0 0K - 2282 64 allocdirect 0 0K - 214 256 bmsafemap 0 0K - 1864 128 newblk 1 1K - 7765 64,512 inodedep 1 512K - 1031 256 pagedep 1 128K - 142 128 ufs_dirhash 78 18K - 78 16,32,64,128,256,512 ufs_mount 19 60K - 34 128,256,512,1024,2048,4096 UMAHash 1 1K - 2 512,1024 DEVFS 26 1K - 27 16,128 DEVFSP 3 1K - 711 64 vm_pgdata 2 129K - 2 128 pfs_nodes 70 18K - 70 256 pfs_vncache 1 1K - 1 64 GEOM 145 33K - 847 16,32,64,128,256,512,1024,2048,4096 io_apic 1 2K - 1 2048 memdesc 1 4K - 8 32,4096 pci_link 16 2K - 16 64,128 atkbddev 2 1K - 2 64 acpi_perf 2 1K - 2 128 acpica 1858 184K - 345598 16,32,64,128,256,512,1024,2048 acpipwr 1 1K - 1 64 acpitask 1 2K - 1 2048 isadev 8 1K - 8 128 fw_xfer 0 0K - 1 256 firewire 11 35K - 14 64,128,512,1024,2048,4096 cdev 9 3K - 9 256 acpisem 62 8K - 62 128 sigio 2 1K - 2 64 filedesc 84 43K - 6435 512,1024 kenv 72 11K - 76 16,32,64,128 msi 1 1K - 1 128 nexusdev 4 1K - 4 16 mixer 2 8K - 2 4096 feeder 15 2K - 18 32,128 hdac 10 15K - 10 64,128,256,512,1024,2048 ata_cam 2 2K - 56884 64,256,1024 fdesc_mount 1 1K - 1 16 linux 13 1K - 13 64 crypto 12 4K - 14 64,128,256,512,1024 eli data 4 266K - 3912142 64,256,1024 If you need more information the disk is not in production so i can try whatever is needed. Thanks a lot. Regards. -- La prueba más fehaciente de que existe vida inteligente en otros planetas, es que no han intentado contactar con nosotros. From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 00:58:06 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2978C106566C; Sat, 26 Mar 2011 00:58:06 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy.sentex.ca (freebsd-legacy.sentex.ca [IPv6:2607:f3e0:0:3::6502:9a]) by mx1.freebsd.org (Postfix) with ESMTP id DB0FF8FC0A; Sat, 26 Mar 2011 00:58:05 +0000 (UTC) Received: from freebsd-legacy.sentex.ca (localhost [127.0.0.1]) by freebsd-legacy.sentex.ca (8.14.4/8.14.4) with ESMTP id p2Q0w4ek080179; Sat, 26 Mar 2011 00:58:04 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-legacy.sentex.ca (8.14.4/8.14.4/Submit) id p2Q0w40Z080170; Sat, 26 Mar 2011 00:58:04 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 26 Mar 2011 00:58:04 GMT Message-Id: <201103260058.p2Q0w40Z080170@freebsd-legacy.sentex.ca> X-Authentication-Warning: freebsd-legacy.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_7 tinderbox] failure on i386/pc98 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 00:58:06 -0000 TB --- 2011-03-25 23:28:18 - tinderbox 2.6 running on freebsd-legacy.sentex.ca TB --- 2011-03-25 23:28:18 - starting RELENG_7 tinderbox run for i386/pc98 TB --- 2011-03-25 23:28:18 - cleaning the object tree TB --- 2011-03-25 23:28:30 - cvsupping the source tree TB --- 2011-03-25 23:28:30 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca -s /usr/home/tinderbox/RELENG_7/i386/pc98/supfile TB --- 2011-03-25 23:28:36 - building world TB --- 2011-03-25 23:28:36 - MAKEOBJDIRPREFIX=/obj TB --- 2011-03-25 23:28:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-03-25 23:28:36 - TARGET=pc98 TB --- 2011-03-25 23:28:36 - TARGET_ARCH=i386 TB --- 2011-03-25 23:28:36 - TZ=UTC TB --- 2011-03-25 23:28:36 - __MAKE_CONF=/dev/null TB --- 2011-03-25 23:28:36 - cd /src TB --- 2011-03-25 23:28:36 - /usr/bin/make -B buildworld >>> World build started on Fri Mar 25 23:28:40 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat Mar 26 00:46:51 UTC 2011 TB --- 2011-03-26 00:46:51 - generating LINT kernel config TB --- 2011-03-26 00:46:51 - cd /src/sys/pc98/conf TB --- 2011-03-26 00:46:51 - /usr/bin/make -B LINT TB --- 2011-03-26 00:46:51 - building LINT kernel TB --- 2011-03-26 00:46:51 - MAKEOBJDIRPREFIX=/obj TB --- 2011-03-26 00:46:51 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-03-26 00:46:51 - TARGET=pc98 TB --- 2011-03-26 00:46:51 - TARGET_ARCH=i386 TB --- 2011-03-26 00:46:51 - TZ=UTC TB --- 2011-03-26 00:46:51 - __MAKE_CONF=/dev/null TB --- 2011-03-26 00:46:51 - cd /src TB --- 2011-03-26 00:46:51 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Mar 26 00:46:51 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/kern/kern_sysctl.c: In function 'sysctl_find_oid': /src/sys/kern/kern_sysctl.c:1364: error: 'CTLFLAG_DYING' undeclared (first use in this function) /src/sys/kern/kern_sysctl.c: In function 'sysctl_root': /src/sys/kern/kern_sysctl.c:1450: error: 'struct sysctl_oid' has no member named 'oid_running' /src/sys/kern/kern_sysctl.c:1462: error: 'struct sysctl_oid' has no member named 'oid_running' /src/sys/kern/kern_sysctl.c:1463: error: 'struct sysctl_oid' has no member named 'oid_running' /src/sys/kern/kern_sysctl.c:1463: error: 'CTLFLAG_DYING' undeclared (first use in this function) /src/sys/kern/kern_sysctl.c:1464: error: 'struct sysctl_oid' has no member named 'oid_running' *** Error code 1 Stop in /obj/pc98/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-03-26 00:58:04 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-03-26 00:58:04 - ERROR: failed to build lint kernel TB --- 2011-03-26 00:58:04 - 4122.24 user 721.61 system 5386.34 real http://tinderbox.freebsd.org/tinderbox-releng_7-RELENG_7-i386-pc98.full From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 01:39:53 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1FB3106564A for ; Sat, 26 Mar 2011 01:39:53 +0000 (UTC) (envelope-from prvs=10663a81d7=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 340BD8FC18 for ; Sat, 26 Mar 2011 01:39:52 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Sat, 26 Mar 2011 01:28:41 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Sat, 26 Mar 2011 01:28:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50012663125.msg for ; Sat, 26 Mar 2011 01:28:39 +0000 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=10663a81d7=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-stable@freebsd.org Message-ID: <68501F176ADC4FB1B492C59B34669F95@multiplay.co.uk> From: "Steven Hartland" To: "Jeremy Chadwick" References: <20100719023419.GA91006@icarus.home.lan> <201007190301.o6J31Hs1045607@lava.sentex.ca> <20100719033424.GA92607@icarus.home.lan> <201007191237.o6JCbmj7049339@lava.sentex.ca> <20100719203320.GB21088@icarus.home.lan> <011E0838F0EC4E80885646C70B34F8AB@multiplay.co.uk> <4D8C9495.90103@sentex.net> <716F58E43EA845E3A2228F020D85DFBB@multiplay.co.uk> <20110325144124.GA29033@icarus.home.lan> <20110325215031.GA36689@icarus.home.lan> Date: Sat, 26 Mar 2011 01:28:54 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Cc: freebsd-stable@freebsd.org Subject: Re: deadlock or bad disk ? RELENG_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 01:39:53 -0000 ----- Original Message ----- From: "Jeremy Chadwick" > Bummer. Competitor's drivers make use of pass(4) and/or xpt(4), the > result being that you can see (and talk to directly) all the disks which > are on the RAID card. No need for a CLI utility getting in the way, > etc.. It would benefit Areca if they added support for this to their > driver. Interesting, camcontrol reports the following, so does that indicate it may be possible to do this: camcontrol devlist at scbus0 target 0 lun 0 (da0,pass0) at scbus0 target 16 lun 0 (pass1) The suspected failing disk will be back in the office next week so we'll have a look and see what smart reports and post it. Currently the machine is now stable but its had ram replaced and this disk pulled so its not clear which solved the problem but at least its seems to be stable once again which is what really counts :) Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 01:55:26 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B956106564A for ; Sat, 26 Mar 2011 01:55:26 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 100168FC17 for ; Sat, 26 Mar 2011 01:55:25 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p2Q1tMia048875 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 25 Mar 2011 21:55:22 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4D8D478B.7070504@sentex.net> Date: Fri, 25 Mar 2011 21:55:23 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Steven Hartland References: <20100719023419.GA91006@icarus.home.lan> <201007190301.o6J31Hs1045607@lava.sentex.ca> <20100719033424.GA92607@icarus.home.lan> <201007191237.o6JCbmj7049339@lava.sentex.ca> <20100719203320.GB21088@icarus.home.lan> <011E0838F0EC4E80885646C70B34F8AB@multiplay.co.uk> <4D8C9495.90103@sentex.net> <716F58E43EA845E3A2228F020D85DFBB@multiplay.co.uk> <20110325144124.GA29033@icarus.home.lan> <20110325215031.GA36689@icarus.home.lan> <68501F176ADC4FB1B492C59B34669F95@multiplay.co.uk> In-Reply-To: <68501F176ADC4FB1B492C59B34669F95@multiplay.co.uk> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: deadlock or bad disk ? RELENG_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 01:55:26 -0000 On 3/25/2011 9:28 PM, Steven Hartland wrote: > > Interesting, camcontrol reports the following, so does that indicate it > may be possible to do this: > camcontrol devlist > at scbus0 target 0 lun 0 (da0,pass0) > at scbus0 target 16 lun 0 (pass1) > > The suspected failing disk will be back in the office next week so > we'll have a look and see what smart reports and post it. It does get some info from the controller, but not the individual disks smartctl -a /dev/da0 smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.2-PRERELEASE amd64] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Device: Areca usrvar Version: R001 Serial number: 0000002992326304 Device type: disk Transport protocol: Fibre channel (FCP-2) Local Time is: Fri Mar 25 21:50:19 2011 EDT Device supports SMART and is Enabled Temperature Warning Disabled or Not Supported SMART Health Status: OK Current Drive Temperature: 30 C Drive Trip Temperature: 25 C Manufactured in week 30 of year 2002 Specified cycle count over device lifetime: 4278190080 Accumulated start-stop cycles: 256 Elements in grown defect list: 0 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 0 0 0 0 0.000 0 write: 0 0 0 0 0 0.000 0 Non-medium error count: 0 Device does not support Self Test logging > > Currently the machine is now stable but its had ram replaced and this > disk pulled so its not clear which solved the problem but at least its > seems to be stable once again which is what really counts :) On my card, I found the following firmware versions work quite well. CLI> sys info The System Information =========================================== Main Processor : 500MHz CPU ICache Size : 32KB CPU DCache Size : 32KB CPU SCache Size : 0KB System Memory : 128MB/333MHz/ECC Firmware Version : V1.44 2008-2-1 BOOT ROM Version : V1.44 2008-1-28 Serial Number : Y529CAAGAR000375 Controller Name : ARC-1210 =========================================== GuiErrMsg<0x00>: Success. ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 05:03:48 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C5B510656A6 for ; Sat, 26 Mar 2011 05:03:48 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C0BF28FC15 for ; Sat, 26 Mar 2011 05:03:47 +0000 (UTC) Received: by iyj12 with SMTP id 12so2215397iyj.13 for ; Fri, 25 Mar 2011 22:03:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:in-reply-to :message-id:references:user-agent:x-openpgp-key-id :x-openpgp-key-fingerprint:mime-version:content-type; bh=LEB8In6pJVXo8Mok3HmSOC4zQ2vbr2pCLxPfMXMCneI=; b=IfIURbWzDQFQJn6liGTPzML1tbc2rpmJVUe+dGRMx7auz0f6gQOmUWCmhX+ee/DFa5 /BStM//zA2+ODJzlHy/6QsFiyUvqmRm8JB7FBNAyBI76RrC1WvfxllAHHR8idNWBpVex nPgGR14xiKPKyoStEuAthpqRln7299a/IYuhQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=YepLqTajW7s8W3vMoXSzTrLjBBuhur7TU6FpWIRxrsg9OqFfrlGhsWL2r/eLZt3M6O ylg+Cnrh4+X9sJ8aKeyPrW9b+Y9qCf1/LlkCLPDIYgWXAunW7PyXd8B7wM6hspJx9wF8 /+TJ6Je7vDhn4GFpXFefWOVLK5RgC0GZgGsiI= Received: by 10.231.3.145 with SMTP id 17mr1647225ibn.83.1301115827238; Fri, 25 Mar 2011 22:03:47 -0700 (PDT) Received: from disbatch.dataix.local (adsl-99-181-153-110.dsl.klmzmi.sbcglobal.net [99.181.153.110]) by mx.google.com with ESMTPS id o3sm1125082ibd.27.2011.03.25.22.03.44 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Mar 2011 22:03:45 -0700 (PDT) Sender: "J. Hellenthal" Date: Sat, 26 Mar 2011 01:03:28 -0400 From: "J. Hellenthal" To: David Demelier In-Reply-To: <4D8CCC6A.50702@gmail.com> Message-ID: References: <20110321112322.GA6733@twoquid.cs.ru.nl> <4D8CCC6A.50702@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Stable Subject: Re: .zfs directory: snapshot: Bad file descriptor X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 05:03:48 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 25 Mar 2011 13:10, demelier.david@ wrote: > On 21/03/2011 12:23, Olaf Seibert wrote: >> On my production system (still 8.1, I haven't had time yet to upgrade to >> 8.2) I have a ZFS. Nightly I make snapshots of each filesystem in it. >> Suddenly, one of the file systems has no snapshots any more: >> >> $ ls -l /tank/vol-fourquid-1/.zfs >> ls: snapshot: Bad file descriptor >> total 0 >> $ ls -l /tank/vol-fourquid-1/.zfs/snapshot >> ls: /tank/vol-fourquid-1/.zfs/snapshot: Bad file descriptor >> >> Snapshots in other file systems seem ok, for example: >> >> $ ls -l /home/local/.zfs >> total 0 >> dr-xr-xr-x 9 root wheel 9 Oct 21 2009 snapshot/ >> $ ls -l /home/local/.zfs/snapshot/ >> total 32 >> drwxr-xr-x 48 root vb 48 Apr 19 2010 friday/ >> drwxr-xr-x 48 root vb 48 Apr 19 2010 monday/ >> drwxr-xr-x 48 root vb 48 Apr 19 2010 saturday/ >> drwxr-xr-x 48 root vb 48 Apr 19 2010 sunday/ >> drwxr-xr-x 48 root vb 48 Apr 19 2010 thursday/ >> drwxr-xr-x 48 root vb 48 Apr 19 2010 tuesday/ >> drwxr-xr-x 48 root vb 48 Apr 19 2010 wednesday/ >> >> zpool status thinks all is ok: >> >> $ zpool status >> pool: tank >> state: ONLINE >> status: The pool is formatted using an older on-disk format. The pool can >> still be used, but some features are unavailable. >> action: Upgrade the pool using 'zpool upgrade'. Once this is done, the >> pool will no longer be accessible on older software versions. >> scrub: none requested >> config: >> >> NAME STATE READ WRITE CKSUM >> tank ONLINE 0 0 0 >> raidz2 ONLINE 0 0 0 >> da0 ONLINE 0 0 0 >> da1 ONLINE 0 0 0 >> da2 ONLINE 0 0 0 >> da3 ONLINE 0 0 0 >> da4 ONLINE 0 0 0 >> da5 ONLINE 0 0 0 >> >> errors: No known data errors >> >> How worried should I be about corruption anyway, say if I unmount and >> remount the affected file system? >> At this point I wouldn't be to worried yet, Its for a snapshot directory and as I see you are running cross versions here, not judging that is what is making the difference or the cause of this but can you attempt the following and report back. Provide output from: zfs upgrade ; zpool upgrade ; zdb run: zpool scrub tank And add to the report back the output of: zpool status -v PS: There was a problem with the .zfs directories somewhere around 8.0 & 8.1 that could cause a crash, core dump and this was fixed in stable before 8.2-RELEASE. I would highly suggest you update your system to a kernel from 8.2-RELEASE to test this as the problem may just up and disappear before your eyes. Even if you just have to extract a 8.2 kernel into boot/testkernel it may be well worth it. > > I don't know how to manage ZFS filesystem but usually on UFS file system when > you have a bad file descriptor you must run fsck(8) manually to check up the > disk. > > Cheers, > > - -- Regards, J. Hellenthal (0x89D8547E) JJH48-ARIN -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x89D8547E iQEcBAEBAgAGBQJNjXOpAAoJEJBXh4mJ2FR+uUoH/3kqZ7ff7f4ireFeXEJ5iwwD hK1D6sNxC4oavW54U9Uw/uNrldERxYXOXsKARgs9JR9AMmXYvNGhy29K13vtUP67 9IOI8Q5uhc5ctF4vOFonLdvy8P/JfdDKgYTI2pvPP3JronUigIKqofjWseZZ5vvq Nk9lN5f0GNwUe1j/YVtPwZcntcUoXE2afSiab6QcQPjCfT4K50+VjMMOmzuzqXnE 9/3a4qdr3eCI6gbZrIk/pgZcvhjNuOmElvqZR5qHxo74qO4ZJnZ+5QMwRFKR2bmQ dmLmFC1fGOsonjHDe1o76NpchFmNfkKViBtHSsVubBb+gG1MduET2HL9vhiYuFY= =qbIt -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 05:04:15 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB8CD1065674 for ; Sat, 26 Mar 2011 05:04:15 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id 900788FC24 for ; Sat, 26 Mar 2011 05:04:15 +0000 (UTC) Received: from omta05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by qmta07.emeryville.ca.mail.comcast.net with comcast id PgwB1g0020vp7WLA7h4F9R; Sat, 26 Mar 2011 05:04:15 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta05.emeryville.ca.mail.comcast.net with comcast id Ph4E1g0071t3BNj8Rh4EUF; Sat, 26 Mar 2011 05:04:14 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id DE37A9B429; Fri, 25 Mar 2011 22:04:13 -0700 (PDT) Date: Fri, 25 Mar 2011 22:04:13 -0700 From: Jeremy Chadwick To: Mike Tancsa Message-ID: <20110326050413.GA43300@icarus.home.lan> References: <201007191237.o6JCbmj7049339@lava.sentex.ca> <20100719203320.GB21088@icarus.home.lan> <011E0838F0EC4E80885646C70B34F8AB@multiplay.co.uk> <4D8C9495.90103@sentex.net> <716F58E43EA845E3A2228F020D85DFBB@multiplay.co.uk> <20110325144124.GA29033@icarus.home.lan> <20110325215031.GA36689@icarus.home.lan> <68501F176ADC4FB1B492C59B34669F95@multiplay.co.uk> <4D8D478B.7070504@sentex.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D8D478B.7070504@sentex.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org, Steven Hartland Subject: Re: deadlock or bad disk ? RELENG_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 05:04:15 -0000 On Fri, Mar 25, 2011 at 09:55:23PM -0400, Mike Tancsa wrote: > On 3/25/2011 9:28 PM, Steven Hartland wrote: > > > > Interesting, camcontrol reports the following, so does that indicate it > > may be possible to do this: > > camcontrol devlist > > at scbus0 target 0 lun 0 (da0,pass0) > > at scbus0 target 16 lun 0 (pass1) > > > > The suspected failing disk will be back in the office next week so > > we'll have a look and see what smart reports and post it. > > It does get some info from the controller, but not the individual disks > > smartctl -a /dev/da0 > smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.2-PRERELEASE amd64] (local build) > Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net > > Device: Areca usrvar Version: R001 > Serial number: 0000002992326304 > Device type: disk > Transport protocol: Fibre channel (FCP-2) > Local Time is: Fri Mar 25 21:50:19 2011 EDT > Device supports SMART and is Enabled > Temperature Warning Disabled or Not Supported > SMART Health Status: OK smartmontools here insists the disk is a SCSI disk. I believe the ARC-1220 handles SATA disks. I would say "try smartctl -d ata" or "smartctl -d sat" but I'm willing to bet those throw errors in this situation -- or they might do something like show the drive model string, etc. but not get SMART attributes (yes I've seen this, but on Solaris). -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 13:53:43 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E19A8106564A for ; Sat, 26 Mar 2011 13:53:43 +0000 (UTC) (envelope-from mickael.maillot@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9257B8FC0C for ; Sat, 26 Mar 2011 13:53:43 +0000 (UTC) Received: by qyk27 with SMTP id 27so1365446qyk.13 for ; Sat, 26 Mar 2011 06:53:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=OO6A4ve/z4ceNyUNBvrRm6nM3wvPP4SOfEjKyUxLvQU=; b=wG5iD4bOOzufXKXMvwpWloYjSt7a9SURgzvc6j2eiS1d6WYkGr89MlVNufFiTpqKn+ g07AchbhXRC4klT1miBlzPlttSvcpzo/OM/QOxXA/kK+kTtWn8c2Dw7jrYzIshnztycC zDHHiQR3SlMpY/0GtpghcGoMzyzHFlLDxBBVU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IP1iC6KNUK07Gl8K5oxl5X3rhjKgU7CPf2HIOkSH1BO49d28Yim8/8ppoi3R7xTOEW 6MtRnHdXRmWXtEDaonJAqvy3gRAuNvgkaNyX1buSzTYutgrXUVfsh7JsHPrTnO81NS98 c0JZydOOUhR9eZkWbBppkhIKd6mLPtBZS+ypM= MIME-Version: 1.0 Received: by 10.229.240.72 with SMTP id kz8mr705034qcb.20.1301147622597; Sat, 26 Mar 2011 06:53:42 -0700 (PDT) Received: by 10.229.130.162 with HTTP; Sat, 26 Mar 2011 06:53:42 -0700 (PDT) In-Reply-To: References: Date: Sat, 26 Mar 2011 14:53:42 +0100 Message-ID: From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Filesystems , FreeBSD-Current , FreeBSD Stable Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 13:53:44 -0000 Hi, 2011/3/24 Freddie Cash : > The hardware is fairly standard fare: > =A0- SuperMicro H8DGi-F motherboard > =A0- AMD Opteron 6100-series CPU (8-cores @ 2.0 GHz) > =A0- 8 GB DDR3 SDRAM > =A0- 64 GB Kingston V-Series SSD for the OS install (using ahci(4) and > the motherboard SATA controller) > =A0- 3x SuperMicro AOC-USAS2-8Li SATA controllers with IT firmware > =A0- 6x 1.5 TB Seagate 7200.11 drives (1x raidz2 vdev) > =A0- 12x 1.0 TB Seagate 7200.12 drives (2x raidz2 vdev) > =A0- 6x 0.5 TB WD RE3 drives (1x raidz2 vdev) just for info, sun recommend 1 Gb of RAM per Tera of data. i see here ~ 16 To of available data, so i would recommend 16 Gb for arc_size and 24 or 32 Gb for the host. From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 16:17:53 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCB4D1065676 for ; Sat, 26 Mar 2011 16:17:53 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (smtp.zeninc.net [80.67.176.25]) by mx1.freebsd.org (Postfix) with ESMTP id 9896A8FC19 for ; Sat, 26 Mar 2011 16:17:53 +0000 (UTC) Received: from astro.zen.inc (astro.zen.inc [192.168.1.239]) by smtp.zeninc.net (smtpd) with ESMTP id 296F02798BD for ; Sat, 26 Mar 2011 17:00:35 +0100 (CET) Received: by astro.zen.inc (Postfix, from userid 1000) id 179121702E; Sat, 26 Mar 2011 17:00:35 +0100 (CET) Date: Sat, 26 Mar 2011 17:00:35 +0100 From: VANHULLEBUS Yvan To: FreeBSD Stable Message-ID: <20110326160034.GA62127@zeninc.net> References: <4D8CC2C5.7020508@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D8CC2C5.7020508@earthlink.net> User-Agent: All mail clients suck. This one just sucks less. Subject: Re: SPD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 16:17:53 -0000 On Fri, Mar 25, 2011 at 12:28:53PM -0400, Stephen Clark wrote: > Hi, Hi. > If one has multiple entries in the SPD some representing more specific > network addresses not to be encrypted and sent over an > ipsec tunnel vs more general networks that would be encrypted would this > work? > > In other words say I have a x.x.0.0/16 that should encrypted but in that > x.x.0.0/16 I don't want x.x.84.0/23 > to be encrypted could I do that? If so is dependent on the order the SPD > entries are made? Yes, SPD entries are ordered. Just set up first specific SPD entries for traffic which must not be encrypted, then the tunnel/transport entries for networks. Yvan. From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 17:52:11 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A289106566C; Sat, 26 Mar 2011 17:52:11 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id BE5728FC08; Sat, 26 Mar 2011 17:52:10 +0000 (UTC) Received: by gyg13 with SMTP id 13so903155gyg.13 for ; Sat, 26 Mar 2011 10:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=gFl7RXhTCF8VJI6KIcXXSFCS9Qk5RulCOlbde51Lu/0=; b=LT7Z8b/aTUd8DvcwEg6iyrKfTQvpEe9INway8SFNAa0ZzVqNbqMxWPs42qa/EFFP1H VOfjVxtsigkeBCvTtR6ICEJCF8b/kOWZyYkFaxmKCIZP6mwHixgQYcI5kOj7FzaAvPwT RD20E7zEr6LetwpRoQA1P/5eqfjyt4XoP3rFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PrRNaStGCnBFTshNjJ/LcYL+Ha3OoiTXQbGhN3vTgAfZGf3ZxWA0JDTFB1yiOtv3fM PCtMyFl1T0yFOruccZ+diU9Kp2SPaX1/G98DSQKajmxkaiuSFmw5tpOfiG8zvpB3QoGH nkeEg/yV4nErnRlbnkKab5AtOVJngQyPCSV9w= MIME-Version: 1.0 Received: by 10.91.20.12 with SMTP id x12mr2205661agi.100.1301161928939; Sat, 26 Mar 2011 10:52:08 -0700 (PDT) Received: by 10.90.100.10 with HTTP; Sat, 26 Mar 2011 10:52:08 -0700 (PDT) In-Reply-To: <20110325075541.GA1742@garage.freebsd.pl> References: <20110325075541.GA1742@garage.freebsd.pl> Date: Sat, 26 Mar 2011 10:52:08 -0700 Message-ID: From: Freddie Cash To: Pawel Jakub Dawidek Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Filesystems , FreeBSD-Current , FreeBSD Stable Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 17:52:11 -0000 On Fri, Mar 25, 2011 at 12:55 AM, Pawel Jakub Dawidek wro= te: > On Thu, Mar 24, 2011 at 01:36:32PM -0700, Freddie Cash wrote: >> I've tried with FreeBSD 8.2-RELEASE, 8-STABLE, 8-STABLE w/ZFSv28 >> patches, and 9-CURRENT (after the ZFSv28 commit). =C2=A0Things work well >> until I start hastd. =C2=A0Then either the system locks up, or hastd cau= ses >> a kernel panic, or hastd dumps core. > > The minimum amount of information (as always) would be backtrace from > the kernel and also hastd backtrace when it coredumps. There is really > decent logging in hast, so I'm also sure it does log something > interesting on primary or secondary. Another useful thing would be to > turn on debugging in hast (single -d option for hastd). > > The best you can do is to give me the simplest and quickest procedure to > reproduce the issue, eg. configure two hast resources, put ZFS mirror on > top, start rsync /usr/src to the file system on top of hast and switch > roles. The simpler the better. FreeBSD 8-STABLE r219754 with the ZFSv28 patches applied. hast.conf: resource disk-a1 { local /dev/label/disk-a1 on omegadrive { remote tcp4://10.20.0.102 } on alphadrive { remote tcp4://10.20.0.101 } } resource disk-a2 { local /dev/label/disk-a2 on omegadrive { remote tcp4://10.20.0.102 } on alphadrive { remote tcp4://10.20.0.101 } } Following will crash hastd: service hastd onestart hastctl create disk-a1 hastctl create disk-a2 hastctl role primary all hastd backtrace is here: http://www.sd73.bc.ca/downloads/crash/hast-backtrace.png I'll try running it with -d to see if there's anything interesting there. Sure, running it with -d and -F, output to a log file, everything works well using 2 disks. Hrm, running it with all 24 disks, I can't make it crash now. However, I did change the kernel hz from 100 to 1000. I'll see if I can switch it back to 100 and try the tests again using -dF. The backtrace listed above is with kern.hz=3D100. --=20 Freddie Cash fjwcash@gmail.com