From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 06:50:31 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28A31106568E for ; Sun, 22 Jun 2008 06:50:31 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail15.syd.optusnet.com.au (mail15.syd.optusnet.com.au [211.29.132.196]) by mx1.freebsd.org (Postfix) with ESMTP id C19898FC12 for ; Sun, 22 Jun 2008 06:50:30 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail15.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m5M6oPhA019373 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 22 Jun 2008 16:50:27 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m5M6oLQR022602; Sun, 22 Jun 2008 16:50:21 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m5M6oLI5022601; Sun, 22 Jun 2008 16:50:21 +1000 (EST) (envelope-from peter) Date: Sun, 22 Jun 2008 16:50:20 +1000 From: Peter Jeremy To: John Birrell Message-ID: <20080622065020.GJ13734@server.vk2pj.dyndns.org> References: <20080611051257.GA51683@what-creek.com> <200806211900.29140.max@love2party.net> <485D4510.9070703@telenix.org> <20080621212121.GB46412@what-creek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2E/hm+v6kSLEYT3h" Content-Disposition: inline In-Reply-To: <20080621212121.GB46412@what-creek.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-current@freebsd.org Subject: Re: Getting started with DTrace in FreeBSD-current (a.k.a. 8) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 06:50:31 -0000 --2E/hm+v6kSLEYT3h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Jun-21 21:21:21 +0000, John Birrell wrote: >The fact that uid_t is not being recognised is just a consequence of >dtrace being used without CTF data in the kernel. If you haven't got >CTF data in your kernel, then dtrace is of no use to you. How easy would it be to fix this? IMHO, we should be able to build DTrace-ready applications on a system without DTrace installed. The whole point of the package mechanism is to be able to build on one system and run on another - consider trying to debug problems on a thin client. Ideally (IMHO), we should be able to run a DTrace-enabled application on a non-DTrace kernel (obviously without DTrace). --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --2E/hm+v6kSLEYT3h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhd9iwACgkQ/opHv/APuIepHwCfbM9kJwBcOXPSNtOqMUhd6vGr PJIAnAyUAJ8TMcqMSJi9f35tS92/cj38 =HEgg -----END PGP SIGNATURE----- --2E/hm+v6kSLEYT3h-- From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 08:23:49 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C8991065675 for ; Sun, 22 Jun 2008 08:23:49 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id 7486F8FC1B for ; Sun, 22 Jun 2008 08:23:49 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 5D50673304; Sun, 22 Jun 2008 08:23:48 +0000 (GMT) Date: Sun, 22 Jun 2008 08:23:48 +0000 From: John Birrell To: Peter Jeremy Message-ID: <20080622082348.GA49706@what-creek.com> References: <20080611051257.GA51683@what-creek.com> <200806211900.29140.max@love2party.net> <485D4510.9070703@telenix.org> <20080621212121.GB46412@what-creek.com> <20080622065020.GJ13734@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080622065020.GJ13734@server.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: Getting started with DTrace in FreeBSD-current (a.k.a. 8) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 08:23:49 -0000 On Sun, Jun 22, 2008 at 04:50:20PM +1000, Peter Jeremy wrote: > On 2008-Jun-21 21:21:21 +0000, John Birrell wrote: > >The fact that uid_t is not being recognised is just a consequence of > >dtrace being used without CTF data in the kernel. If you haven't got > >CTF data in your kernel, then dtrace is of no use to you. > > How easy would it be to fix this? The Xorg port shouldn't do things that don't work on FreeBSD. :-) It wasn't a problem before because the Xorg port didn't find a program called 'dtrace' in the path, so it just ignored it. Now that there _is_ a program called 'dtrace' in the path, the Xorg port mistakenly assumes that it can (a) use it; and (b) that it will work the same way that it does on Solaris. It is wrong on at least the first count and quite possibly the second. > > IMHO, we should be able to build DTrace-ready applications on a system > without DTrace installed. The whole point of the package mechanism is > to be able to build on one system and run on another - consider trying > to debug problems on a thin client. Ideally (IMHO), we should be able > to run a DTrace-enabled application on a non-DTrace kernel (obviously > without DTrace). You *can't* build DTrace-ready userland applications with DTrace probes in them without DTrace because you need to use the 'dtrace' application to generate the ELF section that is linked into the application. That is the way that Sun designed it. Of course for them it is simple because they always have the ctf tools, dtrace(1) and CTF data in their kernel. I think you have found an enormous clean-room project to work on. :-D -- John Birrell From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 09:36:52 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBA891065671 for ; Sun, 22 Jun 2008 09:36:52 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.freebsd.org (Postfix) with ESMTP id 8FE1E8FC0C for ; Sun, 22 Jun 2008 09:36:52 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so921028wra.27 for ; Sun, 22 Jun 2008 02:36:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Oe/Iupof1SvP4Gb90Mi70rBSv7o+B+mQ52HYgMps1Gg=; b=co3EA4RXIq3sQJdiHVgq6xkqATWNzy0cR2lospHeGI0L34S0aWjyuv89pEPFoU0Hru X5WQSFXfuZ7adtfO4BKw9c1eJv80ZEFI7mqMro49BXE6G92cU09K91Npy+HGTXIxCT56 JZ7HVlIIuylhzR0Lu4d3mZ2JXAqG1i6va3yjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=d9mYKTv02QGvZjL/gSjMA1ZkRgxA9s4ssU79YrdeplRG0wLH3m+LtjnWXys+jdB+XK kHITROtcAc+hkwnyrrNfp2euYNsmc3qsZFc+eXQHRJBkOKSP3YJO9+UaoUkKEgs/FwOk TM0T+S6QeDTJ6/6h1/qMywJARkXADgLUhHQtc= Received: by 10.90.92.14 with SMTP id p14mr7902334agb.28.1214125923825; Sun, 22 Jun 2008 02:12:03 -0700 (PDT) Received: by 10.90.96.4 with HTTP; Sun, 22 Jun 2008 02:12:03 -0700 (PDT) Message-ID: Date: Sun, 22 Jun 2008 13:12:03 +0400 From: pluknet To: "Ed Schouten" In-Reply-To: <20080620202413.GS93496@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1213986980.3480.16.camel@localhost> <20080620202413.GS93496@hoeg.nl> Cc: Vladimir Grebenschikov , amistry@am-productions.biz, current Subject: Re: fusefs on FreeBSD-8 after recent upgrade - do not work any more X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 09:36:52 -0000 2008/6/21 Ed Schouten : > Hello Vladimir, > > * Vladimir Grebenschikov wrote: >> open("/dev/fuse",O_RDWR,00) ERR#2 'No such file or directory' > > Could you confirm whether a kernel panic occurs when INVARIANTS are > enabled? There should be a kernel panic saying: > > clone_create() on cdevsw without minor numbers Yes, I can. > If so, could you add the attached patch to the files/ dir of the > fusefs-kmod and recompile it? Thanks! I don't see any attached patches :/ From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 11:47:34 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33D521065671 for ; Sun, 22 Jun 2008 11:47:34 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id F158B8FC19 for ; Sun, 22 Jun 2008 11:47:33 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 4EBAF1CCA9; Sun, 22 Jun 2008 13:47:33 +0200 (CEST) Date: Sun, 22 Jun 2008 13:47:33 +0200 From: Ed Schouten To: pluknet Message-ID: <20080622114733.GV93496@hoeg.nl> References: <1213986980.3480.16.camel@localhost> <20080620202413.GS93496@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c1qHkdEbEbCG94PZ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: vova@parallels.com, amistry@am-productions.biz, current@freebsd.org Subject: Re: fusefs on FreeBSD-8 after recent upgrade - do not work any more X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 11:47:34 -0000 --c1qHkdEbEbCG94PZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * pluknet wrote: > I don't see any attached patches :/ It looks like Mailman ate my attachment. Please apply this patch: %%% --- fuse_module/fuse_dev.c +++ fuse_module/fuse_dev.c @@ -52,8 +52,13 @@ .d_read =3D fusedev_read, .d_write =3D fusedev_write, .d_version =3D D_VERSION, +#ifndef D_NEEDMINOR +#define D_NEEDMINOR 0 +#endif #if ! DO_GIANT_MANUALLY - .d_flags =3D D_NEEDGIANT, + .d_flags =3D D_NEEDMINOR|D_NEEDGIANT, +#else + .d_flags =3D D_NEEDMINOR, #endif }; =20 %%% --=20 Ed Schouten WWW: http://80386.nl/ --c1qHkdEbEbCG94PZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkheO9UACgkQ52SDGA2eCwWD9ACeM9OuRLMjO6JeLWnZGzQ9cHlq LAwAn2Lja0M06e9yQ9S22Z6fkaDo6oRX =aiWJ -----END PGP SIGNATURE----- --c1qHkdEbEbCG94PZ-- From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 12:19:09 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B4DF106566B for ; Sun, 22 Jun 2008 12:19:09 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.freebsd.org (Postfix) with ESMTP id BC74E8FC14 for ; Sun, 22 Jun 2008 12:19:08 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so939340wra.27 for ; Sun, 22 Jun 2008 05:19:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0e80UBPDPVBZDyDmU7YUvc0eVml7N6CQOzAVrP/DqEg=; b=cv370RcuflFhVT1X/COg2W7+/iuOudUS5g+hJ4hLtd62DAIWC7kiuxMaOR0G1NVhjk hVP7fmptJ740soU+nmp1bbXmqaBhTNU9jBwI9hoi3vSltKFrDkuBfkjay9iP4crSsUwg d/JSaEljpJnCEEvMCnyoU/5D0n8ZknZLqGZDY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=xUFLKY/NQVDL2OILyCQmmGnUmqkMiDy0e/GQcF7MGq+zm+FbQNy2emsOQYfxe/F99P bIUk+9dR5EKrHA0HzShsMlh9+MbEd4yONrAYs4LGJIuBK7IKBj1fTLIMEQDYOKCwm5Jx l+mFpNnRQJLfpI0Lrt9Zxb6IVMxlP783DSAcQ= Received: by 10.90.98.13 with SMTP id v13mr8108929agb.86.1214137147436; Sun, 22 Jun 2008 05:19:07 -0700 (PDT) Received: by 10.90.96.4 with HTTP; Sun, 22 Jun 2008 05:19:07 -0700 (PDT) Message-ID: Date: Sun, 22 Jun 2008 16:19:07 +0400 From: pluknet To: "Ed Schouten" In-Reply-To: <20080622114733.GV93496@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1213986980.3480.16.camel@localhost> <20080620202413.GS93496@hoeg.nl> <20080622114733.GV93496@hoeg.nl> Cc: vova@parallels.com, amistry@am-productions.biz, current@freebsd.org Subject: Re: fusefs on FreeBSD-8 after recent upgrade - do not work any more X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 12:19:09 -0000 2008/6/22 Ed Schouten : > * pluknet wrote: >> I don't see any attached patches :/ > > It looks like Mailman ate my attachment. Please apply this patch: > > %%% > --- fuse_module/fuse_dev.c > +++ fuse_module/fuse_dev.c > @@ -52,8 +52,13 @@ > .d_read = fusedev_read, > .d_write = fusedev_write, > .d_version = D_VERSION, > +#ifndef D_NEEDMINOR > +#define D_NEEDMINOR 0 > +#endif > #if ! DO_GIANT_MANUALLY > - .d_flags = D_NEEDGIANT, > + .d_flags = D_NEEDMINOR|D_NEEDGIANT, > +#else > + .d_flags = D_NEEDMINOR, > #endif > }; > > %%% [hell, i have already prepared my own patch :)] Thanks, Ed. It does not panics for me now. Though, It always returns "remote host has disconnected" (probably not related to the topic). wbr, pluknet From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 12:58:21 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 253D51065675; Sun, 22 Jun 2008 12:58:21 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from viefep31-int.chello.at (viefep31-int.chello.at [62.179.121.49]) by mx1.freebsd.org (Postfix) with ESMTP id D1E048FC1A; Sun, 22 Jun 2008 12:58:19 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from [89.134.207.231] by viefep31-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20080622125818.NXLM25153.viefep31-int.chello.at@[89.134.207.231]>; Sun, 22 Jun 2008 14:58:18 +0200 Message-ID: <485E4C69.1080805@FreeBSD.org> Date: Sun, 22 Jun 2008 14:58:17 +0200 From: Gabor Kovesdan User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Andrey Chernov References: <48577510.4020007@aueb.gr> <48577BD2.4070205@bluemedia.pl> <20080617102900.GA46479@nagual.pp.ru> <485798C4.2050605@FreeBSD.org> <20080618055851.GA85018@nagual.pp.ru> <86zlpjduew.fsf@ds4.des.no> <20080618083739.GA87100@nagual.pp.ru> <867icndqv5.fsf@ds4.des.no> <4858DBF6.5070001@bluemedia.pl> <86skvbc9gn.fsf@ds4.des.no> <20080618114917.GB89383@nagual.pp.ru> In-Reply-To: <20080618114917.GB89383@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Doug Barton , current@FreeBSD.org, Konrad Jankowski , Diomidis Spinellis , hackers@FreeBSD.org, Dag-Erling Sm??rgrav , "Sean C. Farley" , Max Khon Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 12:58:21 -0000 Andrey Chernov escribió: > On Wed, Jun 18, 2008 at 12:40:24PM +0200, Dag-Erling Sm??rgrav wrote: > >> For grep, I believe it should simply be a matter of calling setlocale(), >> using wide strings, and using a multibyte regex engine (for appropriate >> values of "simply"). >> > > See my prev reply telling more details. Using wide strings is not so easy, > f.e. all ctype BSD grep now uses should be converted to wctype, input > conversion added, etc. > I've started to work on doing this big change, the first step: http://kovesdan.org/patches/grep-i18n.diff It doesn't work though, each file is recognized as binary with this change. Do you have any idea, why this happens? What am I doing wrong? Regards, Gabor From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 13:53:55 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F9851065670; Sun, 22 Jun 2008 13:53:55 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 8EFA18FC1B; Sun, 22 Jun 2008 13:53:54 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.2/8.14.2) with ESMTP id m5MDrhUv073074; Sun, 22 Jun 2008 17:53:43 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1214142823; bh=5S72Ee7gNbUc0lWxQUdiE8E9bTcUASlDNLB/d6h fcx0=; l=982; h=Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=RN5gAGnDGZHHtxgph+dsh8qpV fOdgXn35wqHmEfl1Ge85ygkF+nkQl0ScO+/ly+MPInOS4qK/GHqfAjAomw9j+dkRHwz PGq3hLn7wh65L0uDm05bbuMJJTbgMd/P4/FwWquYuUsM2RMJ4yhPunmYhgh742OuZsf DZaV9gsbIQUk= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id m5MDrhfU073073; Sun, 22 Jun 2008 17:53:43 +0400 (MSD) (envelope-from ache) Date: Sun, 22 Jun 2008 17:53:43 +0400 From: Andrey Chernov To: Gabor Kovesdan Message-ID: <20080622135343.GA72068@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Gabor Kovesdan , Dag-Erling Sm??rgrav , Konrad Jankowski , Diomidis Spinellis , Doug Barton , hackers@FreeBSD.org, current@FreeBSD.org, "Sean C. Farley" , Max Khon References: <20080617102900.GA46479@nagual.pp.ru> <485798C4.2050605@FreeBSD.org> <20080618055851.GA85018@nagual.pp.ru> <86zlpjduew.fsf@ds4.des.no> <20080618083739.GA87100@nagual.pp.ru> <867icndqv5.fsf@ds4.des.no> <4858DBF6.5070001@bluemedia.pl> <86skvbc9gn.fsf@ds4.des.no> <20080618114917.GB89383@nagual.pp.ru> <485E4C69.1080805@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <485E4C69.1080805@FreeBSD.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Doug Barton , current@FreeBSD.org, Konrad Jankowski , Diomidis Spinellis , hackers@FreeBSD.org, Dag-Erling Sm??rgrav , "Sean C. Farley" , Max Khon Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 13:53:55 -0000 On Sun, Jun 22, 2008 at 02:58:17PM +0200, Gabor Kovesdan wrote: > Andrey Chernov escribi?: > > On Wed, Jun 18, 2008 at 12:40:24PM +0200, Dag-Erling Sm??rgrav wrote: > > > >> For grep, I believe it should simply be a matter of calling setlocale(), > >> using wide strings, and using a multibyte regex engine (for appropriate > >> values of "simply"). > >> > > > > See my prev reply telling more details. Using wide strings is not so easy, > > f.e. all ctype BSD grep now uses should be converted to wctype, input > > conversion added, etc. > > > I've started to work on doing this big change, the first step: > http://kovesdan.org/patches/grep-i18n.diff 1) You can't convert just whole buffer after fread() since it can be ended in the middle of multibyte sequence on BUFSIZ edge. Look how GNU utils do it. 2) Better use iswspace and iswcntrl instead of iswctype. 3) util.c needs to be fixed in several places too. -- http://ache.pp.ru/ From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 20:43:11 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 488291065677 for ; Sun, 22 Jun 2008 20:43:11 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 320C68FC12 for ; Sun, 22 Jun 2008 20:43:11 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 21245 invoked from network); 22 Jun 2008 20:43:10 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 22 Jun 2008 20:43:10 -0000 Message-ID: <485EB6BF.6010309@telenix.org> Date: Sun, 22 Jun 2008 16:31:59 -0400 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Error in startup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 20:43:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am seeing this error in starting up: link_elf: symbol callout_reset undefined I haven't even any idea what app this is coming from, much less what it means. Anyone have any idea where it comes from, or maybe what is causing this error? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIXra/z62J6PPcoOkRAgM3AKCYB8qa2Kz1p/2Tx95vAeSbK+MlpACeNIiB tTcwq7bM91l9kZPc80k38Jo= =oQ7C -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 22:01:55 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C56711065707; Sun, 22 Jun 2008 22:01:55 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 82B1D8FC13; Sun, 22 Jun 2008 22:01:55 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KAXd3-0004z5-5y; Mon, 23 Jun 2008 00:01:45 +0200 Message-ID: <485ECBC5.3090002@FreeBSD.org> Date: Mon, 23 Jun 2008 00:01:41 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: Tim Kientzle References: <485A9E7E.6050703@FreeBSD.org> <485B3F08.4010207@freebsd.org> <485B7300.3070405@FreeBSD.org> <485D42C2.2000000@freebsd.org> In-Reply-To: <485D42C2.2000000@freebsd.org> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: Doug Barton , FreeBSD Current Subject: Re: cpio -l fails to revert to copy-mode X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 22:01:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Tim Kientzle wrote: |> |> ~> cpio -dumpl /tmp/ |> |> test |> |> cpio: Can't create '/tmp/test': Cross-device link: Cross-device link |> | |> | Try the following patch ... |> |> .... that doesn't seem to work. |> |> The file is created on the target directory, but it's empty... | | I just committed a fix that seems to fully address | this. Hi, the diff looks OK to me. I was hacking something similar, and trying to understand how to get back to the previous state if set_hardlink / clone failed. To clone the entry is a smart solution :) | Let me know if you see anything else. I'll test and let you know, but it seems fine to me. Thanks! | | Tim - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhey8QACgkQwMJqmJVx944UwACdG5d1bdwITCz8SjknCBaa7swI 3qYAoMlPlqrK67EccS7LbsdtcYmPQZHa =gFvN -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 23:08:12 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6DFB1065684 for ; Sun, 22 Jun 2008 23:08:12 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.232]) by mx1.freebsd.org (Postfix) with ESMTP id 62AAB8FC1F for ; Sun, 22 Jun 2008 23:08:11 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so1018805wra.27 for ; Sun, 22 Jun 2008 16:08:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=rOjz6yLOSMbh/TL0pylv0a6nNs8x5sMMYMG4eDHCnkM=; b=INrq83qhpvAWZxWSUwwb5FoRlMMKaMa6qyjaEPqpWCBXiGp38jCh9IZcjLuKF94G+m ENFa7MGs7LMOcQfHlQJRP2Ji69zm/TQCI1DH7n8ph5hm6ALSIOFcuxmuHOMzRcfcEwhf XN2GKi765jwPRICmy2OJqRfXwYpmDvhYDdppY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=kN6XvKvNggO2LHVTn9S9Ueq3z/aUCG6kbyb45scIb2FavbvFT5a+tqFO00dSVfV7Lc fB2STGz2hSU9OABCX8t2AYYJEPgcw8DfaE1yJUNv/NkR7Yc/zRkXmS7mEwO63FKZY13M yhgL9PWSOEU9ZOs0ml5Kn94qtPnDUH6QYSZ/8= Received: by 10.90.82.8 with SMTP id f8mr8940435agb.2.1214174646143; Sun, 22 Jun 2008 15:44:06 -0700 (PDT) Received: by 10.90.96.4 with HTTP; Sun, 22 Jun 2008 15:44:06 -0700 (PDT) Message-ID: Date: Mon, 23 Jun 2008 02:44:06 +0400 From: pluknet To: "Chuck Robey" In-Reply-To: <485EB6BF.6010309@telenix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <485EB6BF.6010309@telenix.org> Cc: freebsd-current@freebsd.org Subject: Re: Error in startup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 23:08:12 -0000 2008/6/23 Chuck Robey : > I am seeing this error in starting up: > > link_elf: symbol callout_reset undefined > > I haven't even any idea what app this is coming from, much less what it means. > Anyone have any idea where it comes from, or maybe what is causing this error? Probably, you have stale module(s), which calls callout_reset() moved in kern_timeout.c:1.112 hth, pluknet From owner-freebsd-current@FreeBSD.ORG Mon Jun 23 01:17:18 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30AFC1065689; Mon, 23 Jun 2008 01:17:18 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 03A3B8FC2C; Mon, 23 Jun 2008 01:17:18 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from apple.my.domain (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5N1HFU9024005; Mon, 23 Jun 2008 01:17:16 GMT (envelope-from davidxu@freebsd.org) Message-ID: <485EF9FD.2010808@freebsd.org> Date: Mon, 23 Jun 2008 09:18:53 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20080612) MIME-Version: 1.0 To: Ed Schouten References: <485B7FFC.4040509@FreeBSD.org> <485B884A.70006@freebsd.org> <20080621232301.GU93496@hoeg.nl> In-Reply-To: <20080621232301.GU93496@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: execvpe port breakage X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 01:17:18 -0000 Ed Schouten wrote: > David, > > * David Xu wrote: >> Looks like the application defined its own version of execvpe() ? >> I think we should change name execvpe in our header file to something >> else to avoid conflict. > > What do you think about the attached patch? > > Looks good to me. From owner-freebsd-current@FreeBSD.ORG Mon Jun 23 05:24:02 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B44231065677; Mon, 23 Jun 2008 05:24:02 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 738DB8FC14; Mon, 23 Jun 2008 05:24:02 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 648941CC5B; Mon, 23 Jun 2008 07:24:01 +0200 (CEST) Date: Mon, 23 Jun 2008 07:24:01 +0200 From: Ed Schouten To: David Xu Message-ID: <20080623052401.GW93496@hoeg.nl> References: <485B7FFC.4040509@FreeBSD.org> <485B884A.70006@freebsd.org> <20080621232301.GU93496@hoeg.nl> <485EF9FD.2010808@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cDyoBSpeMmeqjtIY" Content-Disposition: inline In-Reply-To: <485EF9FD.2010808@freebsd.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Current Subject: Re: execvpe port breakage X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 05:24:02 -0000 --cDyoBSpeMmeqjtIY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * David Xu wrote: > Looks good to me. Fine. I've committed it with minor changes - there were still some places that mentioned execvpe, such as the Symbol.map. Thanks! --=20 Ed Schouten WWW: http://80386.nl/ --cDyoBSpeMmeqjtIY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkhfM3EACgkQ52SDGA2eCwXAiQCcC9bs3r9NHScQXyoTdwDGkWtv 2TsAn1nOtew/yjVxyd3UtgXDw6WDYM1F =oBNw -----END PGP SIGNATURE----- --cDyoBSpeMmeqjtIY-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 23 07:47:52 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDFFE10656FA for ; Mon, 23 Jun 2008 07:47:52 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id 647868FC12 for ; Mon, 23 Jun 2008 07:47:51 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id m5N7kxlA005434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jun 2008 11:47:00 +0400 (MSD) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KAglO-0000y3-3N; Mon, 23 Jun 2008 11:46:58 +0400 From: Vladimir Grebenschikov To: Ed Schouten In-Reply-To: <20080620202413.GS93496@hoeg.nl> References: <1213986980.3480.16.camel@localhost> <20080620202413.GS93496@hoeg.nl> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Mon, 23 Jun 2008 11:46:57 +0400 Message-Id: <1214207217.1874.83.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov X-Mailman-Approved-At: Mon, 23 Jun 2008 11:22:20 +0000 Cc: amistry@am-productions.biz, current Subject: Re: fusefs on FreeBSD-8 after recent upgrade - do not work any more X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 07:47:53 -0000 On Fri, 2008-06-20 at 22:24 +0200, Ed Schouten wrote: > Hello Vladimir, > > * Vladimir Grebenschikov wrote: > > open("/dev/fuse",O_RDWR,00) ERR#2 'No such file or directory' > > Could you confirm whether a kernel panic occurs when INVARIANTS are > enabled? There should be a kernel panic saying: > > clone_create() on cdevsw without minor numbers > > If so, could you add the attached patch to the files/ dir of the > fusefs-kmod and recompile it? Thanks! I can confirm, it helps. Thank you. -- Vladimir B. Grebenschikov Parallels Inc. vova@parallels.com From owner-freebsd-current@FreeBSD.ORG Mon Jun 23 15:37:58 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 745F41065676 for ; Mon, 23 Jun 2008 15:37:58 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 2274B8FC0C for ; Mon, 23 Jun 2008 15:37:57 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so738315ywe.13 for ; Mon, 23 Jun 2008 08:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SkXU8+ckUImmtiAkdtZTfOmaVZL085UZWfCg+LTtTbc=; b=ns+KVbx+N0JdTyvIQAx1Kf4MkHSnNpXswaEiNyu02YykxW9Boes0tmoXmaBVNc9qcb Ih+3xrmaQkyQRW0EAuAj+zqAgoFLnKVpWniwBtzhkJuk+9mf2v/3VT2jxo1HdCSo87S/ rs6KpTMHfEbOB9gThzTtMY/FbPwelriZGpGis= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jwiwWzc3Ip9ZI6/d3O8Z+a0ZWelSPIPhXgBys5k5HOZk3m1NHETIE+Hw6UjnK7EQFe akSx1pFWM1JL8JmgVSkiHhI4esTBvsBKe8hr8lcRIo3c4HmdO1c6n2pKpEJRrkCORLqm xea4GkVbvkmZ8qhOZ2vKn6SaMHd8zjIef+BJw= Received: by 10.125.88.8 with SMTP id q8mr782155mkl.88.1214235469132; Mon, 23 Jun 2008 08:37:49 -0700 (PDT) Received: by 10.151.51.5 with HTTP; Mon, 23 Jun 2008 08:37:48 -0700 (PDT) Message-ID: Date: Mon, 23 Jun 2008 08:37:48 -0700 From: "Freddie Cash" To: "Chuck Robey" , current@freebsd.org In-Reply-To: <485D7C36.2040206@telenix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080611051257.GA51683@what-creek.com> <200806211900.29140.max@love2party.net> <20080621211844.GA46412@what-creek.com> <485D7C36.2040206@telenix.org> Cc: Subject: Re: Getting started with DTrace in FreeBSD-current (a.k.a. 8) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 15:37:58 -0000 On Sat, Jun 21, 2008 at 3:09 PM, Chuck Robey wrote: > Piece of trivia I once picked up, that as it was orignally released, Windows NT > would reliably hang every 40 days (f it ever lasted that long). Seems that NT > was keeping uptime in terms of milliseconds, with no rollover, which it would do > anyhow every 40 days. That was Windows 95 (or possibly 98). It would hang after 49.3 days of uptime (if you could keep it running for that long). -- Freddie Cash fjwcash@gmail.com From owner-freebsd-current@FreeBSD.ORG Mon Jun 23 18:57:20 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E976106567C for ; Mon, 23 Jun 2008 18:57:20 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 4AA828FC13 for ; Mon, 23 Jun 2008 18:57:20 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id A30D01CC5B; Mon, 23 Jun 2008 20:57:19 +0200 (CEST) Date: Mon, 23 Jun 2008 20:57:19 +0200 From: Ed Schouten To: Vladimir Grebenschikov Message-ID: <20080623185719.GD93496@hoeg.nl> References: <1213986980.3480.16.camel@localhost> <20080620202413.GS93496@hoeg.nl> <1214207217.1874.83.camel@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uVnQoIow9AuRQRua" Content-Disposition: inline In-Reply-To: <1214207217.1874.83.camel@localhost> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: amistry@am-productions.biz, current Subject: Re: fusefs on FreeBSD-8 after recent upgrade - do not work any more X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 18:57:20 -0000 --uVnQoIow9AuRQRua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Vladimir Grebenschikov wrote: > I can confirm, it helps. Thank you. It should be in the tree now. Thanks, everyone. --=20 Ed Schouten WWW: http://80386.nl/ --uVnQoIow9AuRQRua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkhf8g8ACgkQ52SDGA2eCwX25ACdHF8UUCuNEUKfxxJ9vw55j0HV TGEAni9BVfgw9vzq27XzxGM3DUWxjTMy =RCSZ -----END PGP SIGNATURE----- --uVnQoIow9AuRQRua-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 23 21:56:55 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BEC41065680 for ; Mon, 23 Jun 2008 21:56:55 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id AF6C48FC1D for ; Mon, 23 Jun 2008 21:56:54 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: by yx-out-2324.google.com with SMTP id 31so402750yxl.13 for ; Mon, 23 Jun 2008 14:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=KCxnhkmT+BINKtkIUjrcN9yi/MiZOxeycRKURCXgLfA=; b=vEXx/WEGuLWNcSQWyErCYSoST1Cf+OnVzfQ/C/zkFTiklTy6eV3IT+Y8O7EqypFIum 8aBhAcUM3zjwI+j8dEdUIizJqWNgvJWdgPPzY6GJbNGMZ0fWqOEKdos7ecIp8BNy+bfI N83jQMgXrRyYfKKfj2aLJSBbKBeHklUY61TD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=DAjusa8X0wkqk8988oFjZ6OWAA/4ErqSnqHuOQVmOX3fDebmZg29avovl6aAA7T/Ak t4Tl1OPWfBt4vLoH3FYzfTmjDEw4zCHjaZV5EXB6l5oBq33OICH8VIkYZzyisgAAznjk L3yH5sBaSpjQvfunKoWZvElP/n2lpgHg3n04U= Received: by 10.142.47.13 with SMTP id u13mr4636965wfu.38.1214258212631; Mon, 23 Jun 2008 14:56:52 -0700 (PDT) Received: by 10.115.78.5 with HTTP; Mon, 23 Jun 2008 14:56:52 -0700 (PDT) Message-ID: Date: Tue, 24 Jun 2008 01:56:52 +0400 From: "Vladimir Ermakov" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: FAILURE FLUSHCACHE48 time out X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 21:56:55 -0000 Hello description of my trouble: uname =========================================== FreeBSD spectrum 8.0-CURRENT FreeBSD 8.0-CURRENT #8: Sun Jun 22 17:15:01 MSD 2008 root@spectrum:/usr/obj/usr/src/sys/SPECTRUM i386 ============================================ dmesg ============================================ Copyright (c) 1992-2008 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.0-CURRENT #8: Sun Jun 22 17:15:01 MSD 2008 root@spectrum:/usr/obj/usr/src/sys/SPECTRUM Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz (2394.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0x8e3bd> AMD Features=0x20000000 AMD Features2=0x1 Cores per package: 2 real memory = 2129330176 (2030 MB) avail memory = 2071609344 (1975 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or length: 0 102C/0 [20070320] ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7ef00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x2000-0x207f mem 0xd6000000-0xd6ffffff,0xe0000000-0xefffffff,0xd4000000-0xd5ffffff irq 16 at device 0.0 on pci1 acpi_video0: on vgapci0 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] em0: port 0x1840-0x185f mem 0xfe200000-0xfe21ffff,0xfe225000-0xfe225fff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:1c:25:76:92:48 pci0: at device 26.0 (no driver attached) pci0: at device 26.1 (no driver attached) pci0: at device 26.7 (no driver attached) pcm0: mem 0xfe220000-0xfe223fff irq 17 at device 27.0 on pci0 pcm0: [ITHREAD] pcib2: irq 20 at device 28.0 on pci0 pci2: on pcib2 pcib3: irq 21 at device 28.1 on pci0 pci3: on pcib3 iwn0: mem 0xdf2fe000-0xdf2fffff irq 17 at device 0.0 on pci3 iwn0: Reg Domain: MoW2, address 00:1d:e0:9b:ba:89 iwn0: [ITHREAD] iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps iwn0: 11na MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps iwn0: 11ng MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps pcib4: irq 22 at device 28.2 on pci0 pci4: on pcib4 pcib5: irq 23 at device 28.3 on pci0 pci5: on pcib5 pcib6: irq 20 at device 28.4 on pci0 pci13: on pcib6 pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pci0: at device 29.7 (no driver attached) pcib7: at device 30.0 on pci0 pci21: on pcib7 pci21: at device 0.0 (no driver attached) pci21: at device 0.1 (no driver attached) pci21: at device 0.2 (no driver attached) pci21: at device 0.3 (no driver attached) pci21: at device 0.4 (no driver attached) pci21: at device 0.5 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1830-0x183f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x1c48-0x1c4f,0x1c1c-0x1c1f,0x1c40-0x1c47,0x1c18-0x1c1b,0x1c20-0x1c3f mem 0xfe226000-0xfe2267ff irq 16 at device 31.2 on pci0 atapci1: [ITHREAD] atapci1: AHCI Version 01.10 controller with 3 ports PM not supported ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: port not implemented ata3: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 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 Generic PS/2 mouse, device ID 0 battery0: on acpi0 acpi_acad0: on acpi0 acpi_ibm0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcefff,0xe0000-0xeffff pnpid ORM0000 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 Timecounters tick every 1.000 msec ad4: 152627MB at ata2-master SATA150 pcm0: pcm0: unknown: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 unknown: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s1a wlan0: Ethernet address: 00:1d:e0:9b:ba:89 wlan0: link state changed to UP iwn0: need multicast update callback iwn0: need multicast update callback iwn0: need multicast update callback iwn0: need multicast update callback link_elf: symbol dev2unit undefined =========================================== end of system reboot procedure ====================================== ad4: FAILURE FLUSHCACHE48 time out Rebuting ... ====================================== please, any solution? /Vladimir Ermakov From owner-freebsd-current@FreeBSD.ORG Mon Jun 23 21:58:05 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74AA41065674; Mon, 23 Jun 2008 21:58:05 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from gw.sandvine.com (gw.sandvine.com [199.243.201.138]) by mx1.freebsd.org (Postfix) with ESMTP id 182ED8FC1A; Mon, 23 Jun 2008 21:58:04 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from labgw2.phaedrus.sandvine.com ([192.168.3.11]) by gw.sandvine.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 23 Jun 2008 17:46:00 -0400 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 12627) id 65E9A11706; Mon, 23 Jun 2008 17:46:00 -0400 (EDT) Date: Mon, 23 Jun 2008 17:46:00 -0400 From: Ed Maste To: "Bjoern A. Zeeb" Message-ID: <20080623214600.GA51757@sandvine.com> Mail-Followup-To: Ed Maste , "Bjoern A. Zeeb" , John Birrell , FreeBSD current mailing list References: <20080618085948.X83875@maildrop.int.zabbadoz.net> <20080618224531.GA20863@what-creek.com> <20080618225126.V83875@maildrop.int.zabbadoz.net> <20080618230633.GB20863@what-creek.com> <20080619151421.Q83875@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080619151421.Q83875@maildrop.int.zabbadoz.net> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 23 Jun 2008 21:46:00.0616 (UTC) FILETIME=[86E85A80:01C8D57A] Cc: John Birrell , FreeBSD current mailing list Subject: Re: problem: world boot strapping from 7-C to HEAD with CDDL on sparc64? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 21:58:05 -0000 On Thu, Jun 19, 2008 at 03:14:45PM +0000, Bjoern A. Zeeb wrote: > On Wed, 18 Jun 2008, John Birrell wrote: > > >On Wed, Jun 18, 2008 at 10:53:02PM +0000, Bjoern A. Zeeb wrote: > >>On Wed, 18 Jun 2008, John Birrell wrote: > >> > >>>On Wed, Jun 18, 2008 at 09:06:41AM +0000, Bjoern A. Zeeb wrote: > >>>>Hi, > >>>> > >>>>I am having a bootstrapping problem on sparc64 with CDDL but cannot > >>>>find anything in UPDATING for that. > >>>> > >>>>See: > >>>>http://sources.zabbadoz.net/freebsd/tmp/sparc64-compile-world.txt > >>>> > >>>>Should that be documented? > >>> > >>>Is this an up-to-date RELENG_7 system? If so, I think it should have the > >> > >>check the text file references. It has an uname -a in the first line. > >> > >>It is a 7-CURRENT from 2006. UPDATING says we support updating from 6 > >>or newer so something is wrong. Either bootstrapping or UPDATING. I > >>guess it's the former... > > > >I thought our policy was that you had to update to the latest on a RELENG_X > >branch before updating to the next branch or to current. > > UPDATING says: > > 20080123: > To upgrade to -current after this date, you must be running > FreeBSD not older than 6.0-RELEASE. Upgrading to -current > from 5.x now requires a stop over at RELENG_6 or RELENG_7 systems. I agree and think we should document the minimum release required for building CURRENT. At the very least we shouldn't continue to suggest that 6.0-RELEASE is sufficient, if we're not going to address the bootstrapping issue. (I noticed that UPDATING also still has a section "To upgrade in-place from 5.x-stable to current," and many obsolete entries, and so could do with a good cleanup.) All that said, I'd really like to be able to continue building head on RELENG_6. (In my case I have a rather fast RELENG_6 box so I have been doing my pre-commit testing there.) Do the changes we're discussing here involve anything that makes that difficult? Regards, Ed From owner-freebsd-current@FreeBSD.ORG Mon Jun 23 22:41:51 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFE59106567A for ; Mon, 23 Jun 2008 22:41:51 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id 98C558FC13 for ; Mon, 23 Jun 2008 22:41:51 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id AB64C73304; Mon, 23 Jun 2008 22:41:50 +0000 (GMT) Date: Mon, 23 Jun 2008 22:41:50 +0000 From: John Birrell To: Ed Maste , "Bjoern A. Zeeb" , FreeBSD current mailing list Message-ID: <20080623224150.GA63818@what-creek.com> References: <20080618085948.X83875@maildrop.int.zabbadoz.net> <20080618224531.GA20863@what-creek.com> <20080618225126.V83875@maildrop.int.zabbadoz.net> <20080618230633.GB20863@what-creek.com> <20080619151421.Q83875@maildrop.int.zabbadoz.net> <20080623214600.GA51757@sandvine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080623214600.GA51757@sandvine.com> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: problem: world boot strapping from 7-C to HEAD with CDDL on sparc64? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 22:41:52 -0000 On Mon, Jun 23, 2008 at 05:46:00PM -0400, Ed Maste wrote: > All that said, I'd really like to be able to continue building head on > RELENG_6. (In my case I have a rather fast RELENG_6 box so I have been > doing my pre-commit testing there.) Do the changes we're discussing > here involve anything that makes that difficult? Possibly. :-) It depends on whether your RELENG_6 box is up-to-date with respect to the RELENG_6 branch. I think that as current diverges more from 7 it will be harder to keep the tree building on 6. This all stems from the fact that our build process is very attached to wanting to bootstrap itself rather than having a set of build tools that would be updated independently of the buildworld. This is also the thing that makes it difficult for us to build embedded systems. I think I'd like to see us have a separate build tools build. :-) And then just point our buildworld to that tool set. That would help decouple our buildworld from being hosted on a FreeBSD system (which seems to be an issue for some companies with build server arrays that aren't FreeBSD). Doing that would also help decouple us from limiting what versions of FreeBSD we update from (or are compatible for update from). I'm not sure I want to tie the DTrace build support into the whole "let's revise our build system" argument. -- John Birrell From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 03:12:25 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 183261065675 for ; Tue, 24 Jun 2008 03:12:25 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 53B258FC15 for ; Tue, 24 Jun 2008 03:12:23 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1302948fgb.35 for ; Mon, 23 Jun 2008 20:12:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=4kyJVy3+mxch1btwaU3h8YNZSZWtgrsxgbJz3zsOSXQ=; b=jjVhOmwmpAXR3oLQM65GbVHCtM5S3FqMvdytlEzwg4PQONZO09W7ytjG9GKNeznqbM iR1z8S68rhA79sRIkLa63iCqf4TFg+wZcdtCDY+BSo2k26bJeV5bLS4y/8rmZFBbu8sA JfHXHB4Qk6LresvKlU0XW/jEBt9Yq/L11rTjI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=r1SsFRJOWHyNDqYeyHjRuwtNJtt7UnXzqiz41mkvqeCtWkSdks+fDIq51+aNmGPijN S4zBwb1/bXZPFKbZyfK83mmyMe/QlZm37gAUSCqxDF9qU/PbLqmeVXdhoDv4J9nfUOG+ BBYwKtLB3hqfLtkjTAJKMCRGI6jqG19PGRh6w= Received: by 10.86.28.2 with SMTP id b2mr8337984fgb.10.1214277143021; Mon, 23 Jun 2008 20:12:23 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Mon, 23 Jun 2008 20:12:23 -0700 (PDT) Message-ID: <7d6fde3d0806232012r5b207efp15e730f07295ae7b@mail.gmail.com> Date: Mon, 23 Jun 2008 20:12:23 -0700 From: "Garrett Cooper" To: "Vladimir Ermakov" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-current@freebsd.org Subject: Re: FAILURE FLUSHCACHE48 time out X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 03:12:25 -0000 On Mon, Jun 23, 2008 at 2:56 PM, Vladimir Ermakov wrote: > Hello > > description of my trouble: > > > uname > =========================================== > FreeBSD spectrum 8.0-CURRENT FreeBSD 8.0-CURRENT #8: Sun Jun 22 > 17:15:01 MSD 2008 root@spectrum:/usr/obj/usr/src/sys/SPECTRUM > i386 > ============================================ > > > dmesg > ============================================ > Copyright (c) 1992-2008 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.0-CURRENT #8: Sun Jun 22 17:15:01 MSD 2008 > root@spectrum:/usr/obj/usr/src/sys/SPECTRUM > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz (2394.02-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 > Features=0xbfebfbff > Features2=0x8e3bd> > AMD Features=0x20000000 > AMD Features2=0x1 > Cores per package: 2 > real memory = 2129330176 (2030 MB) > avail memory = 2071609344 (1975 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero > address or length: 0 102C/0 [20070320] > ioapic0: Changing APIC ID to 1 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: [ITHREAD] > acpi_ec0: port 0x62,0x66 on acpi0 > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, 7ef00000 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: port 0x2000-0x207f mem > 0xd6000000-0xd6ffffff,0xe0000000-0xefffffff,0xd4000000-0xd5ffffff irq > 16 at device 0.0 on pci1 > acpi_video0: on vgapci0 > nvidia0: on vgapci0 > vgapci0: child nvidia0 requested pci_enable_busmaster > vgapci0: child nvidia0 requested pci_enable_io > nvidia0: [GIANT-LOCKED] > nvidia0: [ITHREAD] > em0: port 0x1840-0x185f > mem 0xfe200000-0xfe21ffff,0xfe225000-0xfe225fff irq 20 at device 25.0 > on pci0 > em0: Using MSI interrupt > em0: [FILTER] > em0: Ethernet address: 00:1c:25:76:92:48 > pci0: at device 26.0 (no driver attached) > pci0: at device 26.1 (no driver attached) > pci0: at device 26.7 (no driver attached) > pcm0: mem > 0xfe220000-0xfe223fff irq 17 at device 27.0 on pci0 > pcm0: [ITHREAD] > pcib2: irq 20 at device 28.0 on pci0 > pci2: on pcib2 > pcib3: irq 21 at device 28.1 on pci0 > pci3: on pcib3 > iwn0: mem 0xdf2fe000-0xdf2fffff irq 17 > at device 0.0 on pci3 > iwn0: Reg Domain: MoW2, address 00:1d:e0:9b:ba:89 > iwn0: [ITHREAD] > iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps > 24Mbps 36Mbps 48Mbps 54Mbps > iwn0: 11na MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps > 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps > iwn0: 11ng MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps > 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps > pcib4: irq 22 at device 28.2 on pci0 > pci4: on pcib4 > pcib5: irq 23 at device 28.3 on pci0 > pci5: on pcib5 > pcib6: irq 20 at device 28.4 on pci0 > pci13: on pcib6 > pci0: at device 29.0 (no driver attached) > pci0: at device 29.1 (no driver attached) > pci0: at device 29.2 (no driver attached) > pci0: at device 29.7 (no driver attached) > pcib7: at device 30.0 on pci0 > pci21: on pcib7 > pci21: at device 0.0 (no driver attached) > pci21: at device 0.1 (no driver attached) > pci21: at device 0.2 (no driver attached) > pci21: at device 0.3 (no driver attached) > pci21: at device 0.4 (no driver attached) > pci21: at device 0.5 (no driver attached) > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1830-0x183f at device 31.1 on > pci0 > ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > atapci1: port > 0x1c48-0x1c4f,0x1c1c-0x1c1f,0x1c40-0x1c47,0x1c18-0x1c1b,0x1c20-0x1c3f > mem 0xfe226000-0xfe2267ff irq 16 at device 31.2 on pci0 > atapci1: [ITHREAD] > atapci1: AHCI Version 01.10 controller with 3 ports PM not supported > ata2: on atapci1 > ata2: [ITHREAD] > ata3: on atapci1 > ata3: port not implemented > ata3: [ITHREAD] > ata4: on atapci1 > ata4: [ITHREAD] > pci0: at device 31.3 (no driver attached) > acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 900 > cpu0: on acpi0 > est0: on cpu0 > p4tcc0: on cpu0 > cpu1: on acpi0 > est1: on cpu1 > p4tcc1: on cpu1 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > acpi_tz0: on acpi0 > acpi_tz1: on acpi0 > atrtc0: port 0x70-0x71 irq 8 on acpi0 > 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 Generic PS/2 mouse, device ID 0 > battery0: on acpi0 > acpi_acad0: on acpi0 > acpi_ibm0: on acpi0 > pmtimer0 on isa0 > orm0: at iomem 0xc0000-0xcefff,0xe0000-0xeffff pnpid > ORM0000 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 > Timecounters tick every 1.000 msec > ad4: 152627MB at ata2-master SATA150 > pcm0: > pcm0: > unknown: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 > unknown: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 > cd0 at ata0 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 3.300MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > SMP: AP CPU #1 Launched! > Trying to mount root from ufs:/dev/ad4s1a > wlan0: Ethernet address: 00:1d:e0:9b:ba:89 > wlan0: link state changed to UP > iwn0: need multicast update callback > iwn0: need multicast update callback > iwn0: need multicast update callback > iwn0: need multicast update callback > link_elf: symbol dev2unit undefined > =========================================== > > > end of system reboot procedure > ====================================== > ad4: FAILURE FLUSHCACHE48 time out > Rebuting ... > ====================================== > > please, any solution? > > /Vladimir Ermakov If you've just recompiled your kernel, I'd also recompile world too. Or were you running the Linux compat by chance? -Garrett From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 06:09:47 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5080F1065670 for ; Tue, 24 Jun 2008 06:09:47 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id C07B38FC16 for ; Tue, 24 Jun 2008 06:09:46 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1324419fgb.35 for ; Mon, 23 Jun 2008 23:09:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=VjkRzVspzLaMvmt6JR9pnXGBhAnbBOcYsb3dLp5+BGM=; b=d8W+XZRm5jl8bfHoE8FQSxZDoS2zRk9eVoJ3ONTZLRHDqZR5z/HzXn3rzAk8b4e4Hd RKZEcx9zShirE+/7EDbY2Z0dF29scf/JEdWwk7zSPu0a1cj5ZurY3AD0aga8gA3QFIhy IJgg1g3JvqfvxkEqnS9ur91qT45e4mcTanJrY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=tSZ+tnWHbtaD3L9vLu5czxg2+l+lRMqhV9768veUeRaafaxa0VlB4eGIx7B+psefHB uUxE6agjpD6rj+o/mdlgvwf4Ft1HYSQlewJaDjxPAg+WH4ZGTRZDER3pAsFZLoK9gGOl zErqxRxB+m93d/IA759k4J1fDRKfrLvqAlax8= Received: by 10.86.83.2 with SMTP id g2mr8497641fgb.54.1214287785462; Mon, 23 Jun 2008 23:09:45 -0700 (PDT) Received: from ?192.168.1.107? ( [213.152.137.38]) by mx.google.com with ESMTPS id 3sm11376267fge.3.2008.06.23.23.09.43 (version=SSLv3 cipher=RC4-MD5); Mon, 23 Jun 2008 23:09:44 -0700 (PDT) Message-ID: <48608F9F.702@gmail.com> Date: Tue, 24 Jun 2008 10:09:35 +0400 From: sam User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Garrett Cooper References: <7d6fde3d0806232012r5b207efp15e730f07295ae7b@mail.gmail.com> In-Reply-To: <7d6fde3d0806232012r5b207efp15e730f07295ae7b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: FAILURE FLUSHCACHE48 time out X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 06:09:47 -0000 Garrett Cooper wrote: > On Mon, Jun 23, 2008 at 2:56 PM, Vladimir Ermakov wrote: > >> >> >> end of system reboot procedure >> ====================================== >> ad4: FAILURE FLUSHCACHE48 time out >> Rebuting ... >> ====================================== >> >> please, any solution? >> >> /Vladimir Ermakov >> > > If you've just recompiled your kernel, I'd also recompile world too. > > Or were you running the Linux compat by chance? > > -Garrett > > Linux compat /Vladimir Ermakov From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 09:00:08 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FA6F1065675 for ; Tue, 24 Jun 2008 09:00:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 18D768FC19 for ; Tue, 24 Jun 2008 09:00:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 0FB7B41C7E2; Tue, 24 Jun 2008 11:00:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 7UfoSC8A8etV; Tue, 24 Jun 2008 11:00:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id B854941C7E1; Tue, 24 Jun 2008 11:00:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id BD22E44487F; Tue, 24 Jun 2008 08:57:54 +0000 (UTC) Date: Tue, 24 Jun 2008 08:57:54 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: John Birrell In-Reply-To: <20080623224150.GA63818@what-creek.com> Message-ID: <20080624085543.S83875@maildrop.int.zabbadoz.net> References: <20080618085948.X83875@maildrop.int.zabbadoz.net> <20080618224531.GA20863@what-creek.com> <20080618225126.V83875@maildrop.int.zabbadoz.net> <20080618230633.GB20863@what-creek.com> <20080619151421.Q83875@maildrop.int.zabbadoz.net> <20080623214600.GA51757@sandvine.com> <20080623224150.GA63818@what-creek.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Ruslan Ermilov , Ed Maste , FreeBSD current mailing list Subject: Re: problem: world boot strapping from 7-C to HEAD with CDDL on sparc64? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 09:00:08 -0000 On Mon, 23 Jun 2008, John Birrell wrote: > On Mon, Jun 23, 2008 at 05:46:00PM -0400, Ed Maste wrote: >> All that said, I'd really like to be able to continue building head on >> RELENG_6. (In my case I have a rather fast RELENG_6 box so I have been >> doing my pre-commit testing there.) Do the changes we're discussing >> here involve anything that makes that difficult? > > Possibly. :-) > > It depends on whether your RELENG_6 box is up-to-date with respect to the > RELENG_6 branch. > > I think that as current diverges more from 7 it will be harder to keep the > tree building on 6. I think the problem here simply is that you are relying on the headers to be installed on the base system instead of in src|obj copies. I do not know if/how we do it for bootstrapping though. /bz -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 20:32:21 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8001F1065672; Tue, 24 Jun 2008 20:32:21 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from viefep32-int.chello.at (viefep32-int.chello.at [62.179.121.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1D78FC0C; Tue, 24 Jun 2008 20:32:20 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from [89.134.207.231] by viefep32-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20080624203218.KLU3605.viefep32-int.chello.at@[89.134.207.231]>; Tue, 24 Jun 2008 22:32:18 +0200 Message-ID: <486159D1.3060704@FreeBSD.org> Date: Tue, 24 Jun 2008 22:32:17 +0200 From: Gabor Kovesdan User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Andrey Chernov References: <20080617102900.GA46479@nagual.pp.ru> <485798C4.2050605@FreeBSD.org> <20080618055851.GA85018@nagual.pp.ru> <86zlpjduew.fsf@ds4.des.no> <20080618083739.GA87100@nagual.pp.ru> <867icndqv5.fsf@ds4.des.no> <4858DBF6.5070001@bluemedia.pl> <86skvbc9gn.fsf@ds4.des.no> <20080618114917.GB89383@nagual.pp.ru> <485E4C69.1080805@FreeBSD.org> <20080622135343.GA72068@nagual.pp.ru> In-Reply-To: <20080622135343.GA72068@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@FreeBSD.org, current@FreeBSD.org Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 20:32:21 -0000 > > 1) You can't convert just whole buffer after fread() since it can be > ended in the middle of multibyte sequence on BUFSIZ edge. Look how GNU > utils do it. > OK, now I haven't thought of this aspect. What about this? #define iswbinary(ch) (!iswspace((ch)) && iswcntrl((ch))) int bin_file(FILE *f) { wint_t ch = L'\0'; size_t i; int ret = 0; if (fseek(f, 0L, SEEK_SET) == -1) return (0); for (i = 0; (i <= BUFSIZ) && (ch != WEOF); i++) { ch = fgetwc(f); if (iswbinary(ch)) { ret = 1; break; } } rewind(f); return (ret); } int mmbin_file(struct mmfile *f) { int i; wchar_t *wbuf; size_t s; if ((s = mbstowcs(NULL, f->base, 0)) == -1) return (0); wbuf = grep_malloc((s + 1) * sizeof(wchar_t)); if (mbstowcs(wbuf, f->base, s) == -1) return (0); /* XXX knows too much about mmf internals */ for (i = 0; i < BUFSIZ && i < f->len; i++) if (iswbinary(wbuf[i])) { free(wbuf); return (1); } free(wbuf); return (0); } This should be ok, right? > 2) Better use iswspace and iswcntrl instead of iswctype. > Ok, changed, thanks. I've also been looking for such functions, but man wctype doesn't mention them. > 3) util.c needs to be fixed in several places too. > Yes, I know, I'm just advancing step by step. The next item will be to fix that word boundary handling. Regards, Gabor From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 21:04:24 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 413CA1065671; Tue, 24 Jun 2008 21:04:24 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id B9CDE8FC15; Tue, 24 Jun 2008 21:04:23 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.2/8.14.2) with ESMTP id m5OL4MBB069125; Wed, 25 Jun 2008 01:04:22 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1214341462; bh=qvVE91Lcwlz5mVIV650aFHv+CvS2+3S03Bqkdp7 Kbbc=; l=470; h=Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=orgW8g7AraRYE9OQcxHeizRu5 qeN4QQrD/Ua9nKjZsnwBrxQ77kpESuHxHfccRPxwDPx8znFnrwQq33wYiAoLKKjXbUw D7A2rX2pQ+OnIlvderASckCmFiBjzVg+zpZMDbbqkSzs4ug+eMYYMOfNs9iqUQm254i 2I5jW8IEOUBs= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id m5OL4LmO069124; Wed, 25 Jun 2008 01:04:21 +0400 (MSD) (envelope-from ache) Date: Wed, 25 Jun 2008 01:04:20 +0400 From: Andrey Chernov To: Gabor Kovesdan Message-ID: <20080624210420.GA43007@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Gabor Kovesdan , hackers@FreeBSD.org, current@FreeBSD.org References: <20080618055851.GA85018@nagual.pp.ru> <86zlpjduew.fsf@ds4.des.no> <20080618083739.GA87100@nagual.pp.ru> <867icndqv5.fsf@ds4.des.no> <4858DBF6.5070001@bluemedia.pl> <86skvbc9gn.fsf@ds4.des.no> <20080618114917.GB89383@nagual.pp.ru> <485E4C69.1080805@FreeBSD.org> <20080622135343.GA72068@nagual.pp.ru> <486159D1.3060704@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <486159D1.3060704@FreeBSD.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: hackers@FreeBSD.org, current@FreeBSD.org Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 21:04:24 -0000 On Tue, Jun 24, 2008 at 10:32:17PM +0200, Gabor Kovesdan wrote: > ch = fgetwc(f); You must clear errno before and handle EILSEQ possible coming after fgetwc() somehow. Perhaps by return ret = 1 (binary), I am not sure. fgetwc() returns WEOF in that case which is not true end of file. > if ((s = mbstowcs(NULL, f->base, 0)) == -1) > return (0); The same here. Check EILSEQ and return 1 -- http://ache.pp.ru/ From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 21:30:22 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C8341065672; Tue, 24 Jun 2008 21:30:22 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 8648E8FC23; Tue, 24 Jun 2008 21:30:21 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.2/8.14.2) with ESMTP id m5OLUKb5071852; Wed, 25 Jun 2008 01:30:20 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1214343020; bh=iFHpIf9h16J1BINZNUZYFajtSgUdxtYiP0IEQMT 9H7k=; l=475; h=Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=ps5MoCJY+bNPt2HZUKfNU9DqV lwRWEdRb3x9Th1haagcae3CiZbGr/2SR3CAHfpdFbtx0gBjcSYZLAT6PwOVfVB06gs1 qDTFkmeiAt1cQH1moeYMd4er1rO3Lg/sp5C6MzJxgbFfNncmmbQ2bkzDBgjLULSD32J XAMz19fMtcBg= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id m5OLUJSO071851; Wed, 25 Jun 2008 01:30:19 +0400 (MSD) (envelope-from ache) Date: Wed, 25 Jun 2008 01:30:18 +0400 From: Andrey Chernov To: Gabor Kovesdan , hackers@FreeBSD.org, current@FreeBSD.org Message-ID: <20080624213018.GA71334@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Gabor Kovesdan , hackers@FreeBSD.org, current@FreeBSD.org References: <86zlpjduew.fsf@ds4.des.no> <20080618083739.GA87100@nagual.pp.ru> <867icndqv5.fsf@ds4.des.no> <4858DBF6.5070001@bluemedia.pl> <86skvbc9gn.fsf@ds4.des.no> <20080618114917.GB89383@nagual.pp.ru> <485E4C69.1080805@FreeBSD.org> <20080622135343.GA72068@nagual.pp.ru> <486159D1.3060704@FreeBSD.org> <20080624210420.GA43007@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080624210420.GA43007@nagual.pp.ru> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 21:30:22 -0000 On Wed, Jun 25, 2008 at 01:04:20AM +0400, Andrey Chernov wrote: > > if ((s = mbstowcs(NULL, f->base, 0)) == -1) > > return (0); > > The same here. Check EILSEQ and return 1 BTW, do you realyze that this code malloc()s _whole_file_ into memory (which not fits for very big files)? Non-localized old code use mmap, so don't actually malloc() it. Doe to that perhaps whole mmfile.c should be not used and removed. -- http://ache.pp.ru/ From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 06:07:03 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9E001065677 for ; Wed, 25 Jun 2008 06:07:03 +0000 (UTC) (envelope-from jamesfrancistoy@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id B17FD8FC20 for ; Wed, 25 Jun 2008 06:07:03 +0000 (UTC) (envelope-from jamesfrancistoy@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so842636ana.13 for ; Tue, 24 Jun 2008 23:07:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:x-google-sender-auth; bh=xbAl+UnjuCU+NgE3TAEn29VpX5zvidGFhRTT8lkglZo=; b=ZaJEayd8iHdAzVYL8In+kQIlkwdySPqCyZ1TGra/lhVg/KPkccFIRQ8pkZ97+VRMFX 6F4jb1dtU8sYXGkvKop2jL+47LLWcAduYkx7NkjbyYEWA3togXRy5TvK2RjYY6rqAxZM ++OT8deWYEWyQipQbzgGK8thJgFQg9oa47XBc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :x-google-sender-auth; b=Jv3vYUHlafsfUTZICnJMzF2fbZ0vwqbeUa/KQgttkLxNLpVRJ4IXwPilZf4/19SgF5 p5GyG4sMHxI1Oa+bVRn1blAA9s143r/soHMKkbp9jES1ml9HeXGWNfOSsVCRc1MLhUT9 DvWva/NF8HYDrSTBuntC1piQdeVQJdjSl3p6A= Received: by 10.100.37.20 with SMTP id k20mr17630692ank.12.1214372383421; Tue, 24 Jun 2008 22:39:43 -0700 (PDT) Received: by 10.100.190.10 with HTTP; Tue, 24 Jun 2008 22:39:43 -0700 (PDT) Message-ID: <9f8af95f0806242239j1e62dfdbt68ddd191e7a71d3a@mail.gmail.com> Date: Wed, 25 Jun 2008 01:39:43 -0400 From: "james toy" Sender: jamesfrancistoy@gmail.com To: "FreeBSD Current" MIME-Version: 1.0 X-Google-Sender-Auth: 69fd383193cd5a89 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: iwn Driver for intel 4965 WLAN adapter X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 06:07:04 -0000 fellow daring -CURRENT members, Firstly we aren't so daring -CURRENT has been perfect for me for around 1 year -- in any event i'm struggling with my intel 4965 and was wondering if i might be able to brainstorm with a few of you -- firstly i have an ibm(lenovo-ack) x61 tablet -- i initially loaded the standard module if_iwn -- and immediatley noted the dmesg cry for help saying to enable the legal.intel_iwn.license_ack=1 in /boot/loader.conf -- once having done that i rebooted my machine so that iwnfw (firmware) could be loaded -- once this was loaded i was under the impression that i would be scott free and go about my "ifconfig iwn0 up scan" or "ifconfig iwn0 up ssid crazylegs" and then dhclient from there. negative -- [ifconfig iwn0 up scan] returns : "ifconfig: unable to get scan results" and [ifconfig iwn0 ssid crazylegs] returns : "ifconfig: SIOCS80211: Invalid argument" i'm completely confused and have done a fair bit of googling on this -- nothing really comes up too definitively -- i've also built this directly into the kernel as well -- both the module and the built in versions of this driver return the exact same thing for me -- any ideas ladies and gents? respectfully -jt From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 06:14:18 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CFDA106564A for ; Wed, 25 Jun 2008 06:14:18 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id EEDFA8FC17 for ; Wed, 25 Jun 2008 06:14:17 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so10494385rvf.43 for ; Tue, 24 Jun 2008 23:14:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=f7vS0SXnbJzkG1aMLAbECEius3+QuvwiIuXGyU3IxQM=; b=Tc0G2hTUKJ8wWR23oBDsIyGxR2oAkIjEN7yy+h9JpZrlTdU1gOXAQrvuNleOVMGU83 QdH209Wd1ntAXIDmsVuIuOZY7E6Z+uxcUZstBPktB1RDwD6QXCFe5n31HrQp2juOV+98 EvnfLng26w4jSOleJ1nC9ZiHqIQQ+GXp7kJgY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=dq7vgIvJW1NpKYPkaZu+13kyhjcid+PmybN7r4FcjjXK+B/8rF2iiEZN5fKNhDcZBw L+C4R2q4vRG8ZY5wmhdO6wCqa4ctunyWp3KvRPf9tPjDNeorrInA/Kfr23o3CPkXodfF BhBChJmbkYli4RbbxEAP7kfzDqA+VvgZXFDNo= Received: by 10.141.75.17 with SMTP id c17mr15941260rvl.212.1214374457418; Tue, 24 Jun 2008 23:14:17 -0700 (PDT) Received: by 10.141.28.19 with HTTP; Tue, 24 Jun 2008 23:14:17 -0700 (PDT) Message-ID: <11167f520806242314l7d8df4ban8817986e3d03e667@mail.gmail.com> Date: Wed, 25 Jun 2008 01:14:17 -0500 From: "Sam Fourman Jr." To: "james toy" In-Reply-To: <9f8af95f0806242239j1e62dfdbt68ddd191e7a71d3a@mail.gmail.com> MIME-Version: 1.0 References: <9f8af95f0806242239j1e62dfdbt68ddd191e7a71d3a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Current Subject: Re: iwn Driver for intel 4965 WLAN adapter X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 06:14:18 -0000 > i rebooted my machine so that iwnfw (firmware) could be loaded -- once this > was loaded i was under the impression that i would be scott free and go > about my "ifconfig iwn0 up scan" or "ifconfig iwn0 up ssid crazylegs" and > then dhclient from there. > -CURRENT has vap committed, did you create a wlan device and dhclient from wlan0? I am using iwn on -current and it is working Sam Fourman Jr. From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 06:41:51 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68486106564A for ; Wed, 25 Jun 2008 06:41:51 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 41DF38FC21 for ; Wed, 25 Jun 2008 06:41:50 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from laptop3.gateway.2wire.net (cauchy.math.missouri.edu [128.206.184.213]) by cauchy.math.missouri.edu (8.14.2/8.14.2) with ESMTP id m5P6fAdv030809; Wed, 25 Jun 2008 01:41:11 -0500 (CDT) (envelope-from stephen@math.missouri.edu) Message-ID: <4861E8AD.4040500@math.missouri.edu> Date: Wed, 25 Jun 2008 01:41:49 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.13) Gecko/20080613 SeaMonkey/1.1.9 MIME-Version: 1.0 To: james toy References: <9f8af95f0806242239j1e62dfdbt68ddd191e7a71d3a@mail.gmail.com> In-Reply-To: <9f8af95f0806242239j1e62dfdbt68ddd191e7a71d3a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: iwn Driver for intel 4965 WLAN adapter X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 06:41:51 -0000 james toy wrote: > fellow daring -CURRENT members, > > Firstly we aren't so daring -CURRENT has been perfect for me for around > 1 year -- in any event i'm struggling with my intel 4965 and was wondering > if i might be able to brainstorm with a few of you -- firstly i have an > ibm(lenovo-ack) x61 tablet -- i initially loaded the standard module if_iwn > -- and immediatley noted the dmesg cry for help saying to enable the > legal.intel_iwn.license_ack=1 in /boot/loader.conf -- once having done that > i rebooted my machine so that iwnfw (firmware) could be loaded -- once this > was loaded i was under the impression that i would be scott free and go > about my "ifconfig iwn0 up scan" or "ifconfig iwn0 up ssid crazylegs" and > then dhclient from there. > > negative -- [ifconfig iwn0 up scan] returns : "ifconfig: unable to get scan > results" and [ifconfig iwn0 ssid crazylegs] returns : "ifconfig: SIOCS80211: > Invalid argument" > > i'm completely confused and have done a fair bit of googling on this -- > nothing really comes up too definitively -- i've also built this directly > into the kernel as well -- both the module and the built in versions of this > driver return the exact same thing for me -- any ideas ladies and gents? > > respectfully > > -jt I was hit with the same thing. In current CURRENT, you have to create these wlan devices. One way is to put lines something like this into rc.conf: wlans_iwn0="wlan0" ifconfig_wlan0="ssid crazylegs DHCP" To be honest, I am still at a loss as to how I managed to figure this out - I guess I got luckier with the googles. "man ifconfig" helps, but you have to read the right parts. "vi /etc/default/rc.conf" also provided some clues. Stephen From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 06:44:13 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2661F1065679 for ; Wed, 25 Jun 2008 06:44:13 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id BA9C08FC0A for ; Wed, 25 Jun 2008 06:44:12 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KBOjf-0003kH-Tl; Wed, 25 Jun 2008 08:44:07 +0200 Message-ID: <4861E936.4000308@FreeBSD.org> Date: Wed, 25 Jun 2008 06:44:06 +0000 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: Stephen Montgomery-Smith References: <9f8af95f0806242239j1e62dfdbt68ddd191e7a71d3a@mail.gmail.com> <4861E8AD.4040500@math.missouri.edu> In-Reply-To: <4861E8AD.4040500@math.missouri.edu> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: FreeBSD Current , james toy Subject: Re: iwn Driver for intel 4965 WLAN adapter X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 06:44:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Stephen Montgomery-Smith wrote: | james toy wrote: |> fellow daring -CURRENT members, |> |> Firstly we aren't so daring -CURRENT has been perfect for me for |> around |> 1 year -- in any event i'm struggling with my intel 4965 and was |> wondering |> if i might be able to brainstorm with a few of you -- firstly i have an |> ibm(lenovo-ack) x61 tablet -- i initially loaded the standard module |> if_iwn |> -- and immediatley noted the dmesg cry for help saying to enable the |> legal.intel_iwn.license_ack=1 in /boot/loader.conf -- once having done |> that |> i rebooted my machine so that iwnfw (firmware) could be loaded -- once |> this |> was loaded i was under the impression that i would be scott free and go |> about my "ifconfig iwn0 up scan" or "ifconfig iwn0 up ssid crazylegs" and |> then dhclient from there. |> |> negative -- [ifconfig iwn0 up scan] returns : "ifconfig: unable to get |> scan |> results" and [ifconfig iwn0 ssid crazylegs] returns : "ifconfig: |> SIOCS80211: |> Invalid argument" |> |> i'm completely confused and have done a fair bit of googling on this -- |> nothing really comes up too definitively -- i've also built this directly |> into the kernel as well -- both the module and the built in versions |> of this |> driver return the exact same thing for me -- any ideas ladies and gents? |> |> respectfully |> |> -jt | | I was hit with the same thing. In current CURRENT, you have to create | these wlan devices. One way is to put lines something like this into | rc.conf: | | wlans_iwn0="wlan0" | ifconfig_wlan0="ssid crazylegs DHCP" | | To be honest, I am still at a loss as to how I managed to figure this | out - I guess I got luckier with the googles. "man ifconfig" helps, but | you have to read the right parts. "vi /etc/default/rc.conf" also | provided some clues. The entry 20080420 in /usr/src/UPDATING does its job as well :) | | Stephen | _______________________________________________ | freebsd-current@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-current | To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhh6TUACgkQwMJqmJVx944eVwCgq3KoKoOmwWqy78vXV5q09zlC nmUAn37ZMlTSMppKZU5oBWHduyy2Kk7w =vFgq -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 14:15:04 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBBA31065672 for ; Wed, 25 Jun 2008 14:15:04 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9E7AE8FC1D for ; Wed, 25 Jun 2008 14:15:03 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KBVm2-0007gN-Hr for freebsd-current@freebsd.org; Wed, 25 Jun 2008 14:15:02 +0000 Received: from mulderlab.f5.com ([205.229.151.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jun 2008 14:15:02 +0000 Received: from atkin901 by mulderlab.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jun 2008 14:15:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Mark Atkinson Followup-To: gmane.comp.kde.freebsd Date: Wed, 25 Jun 2008 07:10:14 -0700 Lines: 47 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mulderlab.f5.com User-Agent: KNode/0.10.5 Sender: news Cc: kde-freebsd@freebsd.kde.org Subject: 8-current/kde3 stty defaults incorrect under konsole X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 14:15:04 -0000 Hi, Is anyone else running freebsd-current with kde3 (and has rebuilt both recently)? I can only suspect this is related to recent changes in current in prep for mpsafe tty, but in konsole, the defaults turn out to be this (note the missing '^' on intr and quit): cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; eol2 = ; erase = ^?; erase2 = ^H; intr = C; kill = ^U; lnext = ^V; min = 1; quit = \; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; xterm and the freebsd console are fine. Maybe related to this commit? ed 2008-06-05 18:06:21 UTC FreeBSD src repository Modified files: sys/sys ttydefaults.h Log: SVN rev 179567 on 2008-06-05 17:44:18Z by ed Fix faulty character to control-character conversion for CTRL(). The CTRL() macro seems to perform character to control-character conversion (i.e. 'A' to 0x01) to lowercase characters. This is actually not valid. If we use lowercase characters, conversions such as CTRL('\\') and CTRL('?') will result to invalid conversions. Because we must still support old source code that uses CTRL() (bad!), we make CTRL() accept both forms. When the character is a lowercase character, we perform the old style conversion. Approved by: philip (mentor) Revision Changes Path 1.20 +23 -16 src/sys/sys/ttydefaults.h -- Mark Atkinson atkin901@yahoo.com (!wired)?(coffee++):(wired); From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 14:34:29 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DCB210656CE for ; Wed, 25 Jun 2008 14:34:29 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 647868FC0C for ; Wed, 25 Jun 2008 14:34:29 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 558031CD13; Wed, 25 Jun 2008 16:34:28 +0200 (CEST) Date: Wed, 25 Jun 2008 16:34:28 +0200 From: Ed Schouten To: Mark Atkinson Message-ID: <20080625143428.GI93496@hoeg.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zfsaV+LVqEQKX7k4" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Current , kde-freebsd@freebsd.kde.org Subject: Re: 8-current/kde3 stty defaults incorrect under konsole X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 14:34:29 -0000 --zfsaV+LVqEQKX7k4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Mark, * Mark Atkinson wrote: > Hi, >=20 > Is anyone else running freebsd-current with kde3 (and has rebuilt both > recently)? I can only suspect this is related to recent changes in > current in prep for mpsafe tty, but in konsole, the defaults turn out to = be > this (note the missing '^' on intr and quit): >=20 > cchars: discard =3D ^O; dsusp =3D ^Y; eof =3D ^D; eol =3D ; > eol2 =3D ; erase =3D ^?; erase2 =3D ^H; intr =3D C; kill = =3D ^U; > lnext =3D ^V; min =3D 1; quit =3D \; reprint =3D ^R; start =3D ^Q; > status =3D ^T; stop =3D ^S; susp =3D ^Z; time =3D 0; werase =3D ^= W; >=20 > xterm and the freebsd console are fine. >=20 > Maybe related to this commit? Blegh. I always hate those applications using non-documented extensions in a non-standard way. ;-) Anyway, could you store this patch in the files/ dir of the kdelibs3 port and see what happens? Thanks! :) %%% --- kdecore/kpty.cpp +++ kdecore/kpty.cpp @@ -128,9 +128,8 @@ #include // locate =20 // not defined on HP-UX for example -#ifndef CTRL -# define CTRL(x) ((x) & 037) -#endif +#undef CTRL +#define CTRL(x) ((x) & 037) =20 #define TTY_GROUP "tty" =20 %%% Yours, --=20 Ed Schouten WWW: http://80386.nl/ --zfsaV+LVqEQKX7k4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkhiV3QACgkQ52SDGA2eCwUxfgCfUBLNiwpiGpHkzBLwux5q2wBZ RxwAniMlOjsYLGoQphrOS60DdQZzuBGg =A0XZ -----END PGP SIGNATURE----- --zfsaV+LVqEQKX7k4-- From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 14:51:10 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06E9D1065671 for ; Wed, 25 Jun 2008 14:51:10 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 8A0138FC18 for ; Wed, 25 Jun 2008 14:51:08 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 61DB0198E2C; Wed, 25 Jun 2008 16:51:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 54DA8198E27; Wed, 25 Jun 2008 16:51:05 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 1EC35198E17; Wed, 25 Jun 2008 16:51:04 +0200 (CEST) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008062516510296-70975 ; Wed, 25 Jun 2008 16:51:02 +0200 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Wed, 25 Jun 2008 16:51:02 +0200 From: "Alexey Shuvaev" Date: Wed, 25 Jun 2008 16:51:02 +0200 To: freebsd-current@freebsd.org Message-ID: <20080625145102.GA65611@wep4017.physik.uni-wuerzburg.de> References: MIME-Version: 1.0 In-Reply-To: Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/25/2008 04:51:03 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/25/2008 04:51:05 PM, Serialize complete at 06/25/2008 04:51:05 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Description: ebase-3.5.8_2ebase-kompmgr-3.5.8_1ehier-1.0_11elibs-nocups-3.5.8_1 X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: kde-freebsd@freebsd.kde.org Subject: Re: 8-current/kde3 stty defaults incorrect under konsole X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 14:51:10 -0000 Hello! On Wed, Jun 25, 2008 at 07:10:14AM -0700, Mark Atkinson wrote: > Hi, > > Is anyone else running freebsd-current with kde3 (and has rebuilt both > recently)? I can only suspect this is related to recent changes in > current in prep for mpsafe tty, but in konsole, the defaults turn out to be > this (note the missing '^' on intr and quit): > > cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; > eol2 = ; erase = ^?; erase2 = ^H; intr = C; kill = ^U; > lnext = ^V; min = 1; quit = \; reprint = ^R; start = ^Q; > status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; > > xterm and the freebsd console are fine. > I have noticed that cursor key (right, forward direction) does not work as expected. By pressing it cancels the current command line and prompts with the empty one again. stty -a from konsole: speed 9600 baud; 24 rows; 80 columns; lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo -extproc iflags: -istrip icrnl -inlcr -igncr -ixon -ixoff ixany imaxbel -ignbrk brkint -inpck -ignpar -parmrk oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; eol2 = ; erase = ^?; erase2 = ^H; intr = C; kill = ^U; lnext = ^V; min = 1; quit = \; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; stty -a from xterm: speed 38400 baud; 24 rows; 80 columns; lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo -extproc iflags: -istrip icrnl -inlcr -igncr ixon -ixoff -ixany -imaxbel -ignbrk -brkint -inpck -ignpar -parmrk oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret cflags: cread cs8 parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; eol2 = ; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; Some version strings: uname -a: FreeBSD wep4020 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun 16 19:27:17 CEST 2008 root@wep4020:/usr/obj/usr/src/sys/GENERIC i386 ls /var/db/pkg/ | grep kde: kde-xdg-env-1.0_3,1 kdebase-3.5.8_2 kdebase-kompmgr-3.5.8_1 kdehier-1.0_11 kdelibs-nocups-3.5.8_1 On Wed, Jun 25, 2008 at 04:34:28PM +0200, Ed Schouten wrote: > Blegh. I always hate those applications using non-documented extensions > in a non-standard way. ;-) > > Anyway, could you store this patch in the files/ dir of the kdelibs3 > port and see what happens? Thanks! :) > > %%% > --- kdecore/kpty.cpp > +++ kdecore/kpty.cpp > @@ -128,9 +128,8 @@ > #include // locate > > // not defined on HP-UX for example > -#ifndef CTRL > -# define CTRL(x) ((x) & 037) > -#endif > +#undef CTRL > +#define CTRL(x) ((x) & 037) > > #define TTY_GROUP "tty" > > %%% > Thanks, I will try this but it takes a while, it is 800MHz Pentium3 :-) Alexey. From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 17:30:07 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC6FD1065673; Wed, 25 Jun 2008 17:30:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 89B478FC21; Wed, 25 Jun 2008 17:30:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id D22CE41C798; Wed, 25 Jun 2008 19:30:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id w7R8rzQzRuPT; Wed, 25 Jun 2008 19:30:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 6E63C41C75D; Wed, 25 Jun 2008 19:30:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 70DE444487F; Wed, 25 Jun 2008 17:28:19 +0000 (UTC) Date: Wed, 25 Jun 2008 17:28:18 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: FreeBSD current mailing list Message-ID: <20080625172417.F83875@maildrop.int.zabbadoz.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Pawel Jakub Dawidek , Poul-Henning Kamp Subject: panic in geom (spindown + eil + journal) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 17:30:07 -0000 Hi, ad0 and ad8 had been spun down. I did a geli attach on ad8 and upon the following gjournal load it went *boom*: [replay] GEOM_ELI: Crypto: software GEOM_JOURNAL: Journal 1861009973: ad8.eli contains data. GEOM_JOURNAL: Journal 1861009973: ad8.eli contains journal. GEOM_JOURNAL: Journal ad8.eli clean. ad0: request while spun down, starting. panic: wrong offset 671299584 for sectorsize 2352 cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a kdb_backtrace() at kdb_backtrace+0x32 panic() at panic+0x1ab g_io_request() at g_io_request+0xdb g_slice_start() at g_slice_start+0x204 g_io_schedule_down() at g_io_schedule_down+0x229 g_down_procbody() at g_down_procbody+0x78 fork_exit() at fork_exit+0x14a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffffff80c65d30, rbp = 0 --- Uptime: 1d18h0m21s Physical memory: 2036 MB Dumping 330 MB:ad8: Idle, spin down ad8: drive spun down. ad0: Idle, spin down ad0: drive spun down. It's been hanging there. I had to break into the debugger and forced another doadump which I'll hopefully find once I reboot. db> call doadump Physical memory: 2036 MB Dumping 330 MB: 315 299 283 267 251 235 219 203 187 171 155 139 123 107 91 75 59 43 27 11 Dump complete = 0xf HEAD from within the last week, amd64. -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 18:22:12 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F338B1065671 for ; Wed, 25 Jun 2008 18:22:11 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B08B78FC18 for ; Wed, 25 Jun 2008 18:22:11 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KBZdB-0001Lw-IB for freebsd-current@freebsd.org; Wed, 25 Jun 2008 18:22:09 +0000 Received: from mulderlab.f5.com ([205.229.151.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jun 2008 18:22:09 +0000 Received: from atkin901 by mulderlab.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jun 2008 18:22:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Mark Atkinson Followup-To: gmane.os.freebsd.current Date: Wed, 25 Jun 2008 11:22:02 -0700 Lines: 50 Message-ID: References: <20080625143428.GI93496@hoeg.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mulderlab.f5.com User-Agent: KNode/0.10.5 Sender: news Cc: kde-freebsd@freebsd.kde.org Subject: Re: 8-current/kde3 stty defaults incorrect under konsole X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 18:22:12 -0000 Ed Schouten wrote: > Hello Mark, > > * Mark Atkinson wrote: >> Hi, >> >> Is anyone else running freebsd-current with kde3 (and has rebuilt both >> recently)? I can only suspect this is related to recent changes in >> current in prep for mpsafe tty, but in konsole, the defaults turn out to >> be this (note the missing '^' on intr and quit): >> >> cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; >> eol2 = ; erase = ^?; erase2 = ^H; intr = C; kill = ^U; >> lnext = ^V; min = 1; quit = \; reprint = ^R; start = ^Q; >> status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; >> >> xterm and the freebsd console are fine. >> >> Maybe related to this commit? > > Blegh. I always hate those applications using non-documented extensions > in a non-standard way. ;-) > > Anyway, could you store this patch in the files/ dir of the kdelibs3 > port and see what happens? Thanks! :) > > %%% > --- kdecore/kpty.cpp > +++ kdecore/kpty.cpp > @@ -128,9 +128,8 @@ > #include // locate > > // not defined on HP-UX for example > -#ifndef CTRL > -# define CTRL(x) ((x) & 037) > -#endif > +#undef CTRL > +#define CTRL(x) ((x) & 037) > > #define TTY_GROUP "tty" > > %%% That appears to work, thanks for the quick reply! -- Mark Atkinson atkin901@yahoo.com (!wired)?(coffee++):(wired); From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 20:55:22 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8F90106564A; Wed, 25 Jun 2008 20:55:22 +0000 (UTC) (envelope-from ru@freebsd.org) Received: from mail.vega.ru (infra.dev.vega.ru [90.156.167.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8E79A8FC16; Wed, 25 Jun 2008 20:55:22 +0000 (UTC) (envelope-from ru@freebsd.org) Received: from [87.242.97.68] (port=64354 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1KBbWf-0006pR-Vx; Wed, 25 Jun 2008 20:23:33 +0000 Date: Thu, 26 Jun 2008 00:23:17 +0400 From: Ruslan Ermilov To: "Bjoern A. Zeeb" Message-ID: <20080625202317.GB69011@edoofus.dev.vega.ru> References: <20080618085948.X83875@maildrop.int.zabbadoz.net> <20080618224531.GA20863@what-creek.com> <20080618225126.V83875@maildrop.int.zabbadoz.net> <20080618230633.GB20863@what-creek.com> <20080619151421.Q83875@maildrop.int.zabbadoz.net> <20080623214600.GA51757@sandvine.com> <20080623224150.GA63818@what-creek.com> <20080624085543.S83875@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080624085543.S83875@maildrop.int.zabbadoz.net> Cc: Ed Maste , John Birrell , FreeBSD current mailing list Subject: Re: problem: world boot strapping from 7-C to HEAD with CDDL on sparc64? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 20:55:22 -0000 On Tue, Jun 24, 2008 at 08:57:54AM +0000, Bjoern A. Zeeb wrote: > On Mon, 23 Jun 2008, John Birrell wrote: > > > On Mon, Jun 23, 2008 at 05:46:00PM -0400, Ed Maste wrote: > >> All that said, I'd really like to be able to continue building head on > >> RELENG_6. (In my case I have a rather fast RELENG_6 box so I have been > >> doing my pre-commit testing there.) Do the changes we're discussing > >> here involve anything that makes that difficult? > > > > Possibly. :-) > > > > It depends on whether your RELENG_6 box is up-to-date with respect to the > > RELENG_6 branch. > > > > I think that as current diverges more from 7 it will be harder to keep the > > tree building on 6. > Are we talking about changing the build-/cross- tools? If not, it shouldn't be affected. > I think the problem here simply is that you are relying on the headers > to be installed on the base system instead of in src|obj copies. I do > not know if/how we do it for bootstrapping though. > If it's about build- and cross-tools, then yes, they rely on the host compiler, headers, etc. because they will be run on _this_ computer, using its CPU and the current kernel. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 21:59:17 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B67751065675 for ; Wed, 25 Jun 2008 21:59:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id 71FDE8FC27 for ; Wed, 25 Jun 2008 21:59:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so1832625pyb.10 for ; Wed, 25 Jun 2008 14:59:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=QUOJD6+Zm1SB6UN6LBJvs4gWixG0fUkSlY/WQdjU9qs=; b=NWPgBRugBmz3NThKSckQ5o8aIMfxFfwvnbu8sktFGiaA/Q1rSzKh7LwH5YCW4UGogK JyzF/CTIqglG5IONe8dX/YG6uDEQQfWbAq8j9VJ9nng+4W7cDeFWRkCijZYe8sGcy2zE rVDmLMnFFbvfs1t/Jvz8a4SA4qzbnjMvtodt0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=AGgLJld0i+83NmvDKlicFp24H2ZD93qgmOUkoYT4Q+2CuTjSnitAbMG0K3psxU70Uu 9YR2aqsRBSCA9jjwNKXT97KELYGNEYoL5zH44/t92eUJZP40et/R5ybPnieBJ4Pe6Jbx 0UqQENCHHNr+5RWamckFpHYW39ugPV9s5qWZQ= Received: by 10.141.164.13 with SMTP id r13mr16829721rvo.150.1214429520900; Wed, 25 Jun 2008 14:32:00 -0700 (PDT) Received: by 10.141.212.9 with HTTP; Wed, 25 Jun 2008 14:32:00 -0700 (PDT) Message-ID: Date: Thu, 26 Jun 2008 05:32:00 +0800 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 45f2c9dd61a98499 Cc: Subject: hwpmc and existing processes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 21:59:17 -0000 I've been looking at hwpmc a little more lately (argh). One of the things which annoys me is that although hwpmc can capture events from existing processes pmcstat doesn't generate summary output for them. If this is still the case (I've not checked -current over my exam period!), the required changes don't look -that- hard. pmc receives events from hwpmc about the exec and mappings for the binary and libraries; I wonder if pmcstat could be taught to "fake" exec/map-in/map-out entries for stats from processes it hasn't seen yet. It'd also be nice if it recorded some kind of timestamp from the file(s) in question so it could notice if the underlying libraries/binaries have changed between gathering and reporting. I sort of need this with Squid so I can profile things after a "burnin period". I can currently fake it by starting squid + hwpmc and removing the first n kernel/user events from the pmcstat data file. This is slightly silly. :) Has anyone else looked into this? adrian From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 22:04:09 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27BC4106566C; Wed, 25 Jun 2008 22:04:09 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id E30D88FC13; Wed, 25 Jun 2008 22:04:08 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 50166170E4; Wed, 25 Jun 2008 22:04:07 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.2/8.14.2) with ESMTP id m5PM46D9091493; Wed, 25 Jun 2008 22:04:06 GMT (envelope-from phk@critter.freebsd.dk) To: "Bjoern A. Zeeb" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 25 Jun 2008 17:28:18 GMT." <20080625172417.F83875@maildrop.int.zabbadoz.net> Date: Wed, 25 Jun 2008 22:04:06 +0000 Message-ID: <91492.1214431446@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Pawel Jakub Dawidek , FreeBSD current mailing list Subject: Re: panic in geom (spindown + eil + journal) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 22:04:09 -0000 In message <20080625172417.F83875@maildrop.int.zabbadoz.net>, "Bjoern A. Zeeb" writes: >Hi, > >ad0 and ad8 had been spun down. > >I did a geli attach on ad8 and upon the following gjournal load >it went *boom*: > >[replay] >GEOM_ELI: Crypto: software >GEOM_JOURNAL: Journal 1861009973: ad8.eli contains data. >GEOM_JOURNAL: Journal 1861009973: ad8.eli contains journal. >GEOM_JOURNAL: Journal ad8.eli clean. >ad0: request while spun down, starting. >panic: wrong offset 671299584 for sectorsize 2352 That's a very interesting sectorsize... Isn't that what an audio-CD uses ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 23:01:48 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21B15106566B; Wed, 25 Jun 2008 23:01:48 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id C63788FC1B; Wed, 25 Jun 2008 23:01:47 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5PN1h85013813; Wed, 25 Jun 2008 19:01:43 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5PN1hqE078441; Wed, 25 Jun 2008 19:01:43 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 038A973039; Wed, 25 Jun 2008 19:01:42 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080625230143.038A973039@freebsd-current.sentex.ca> Date: Wed, 25 Jun 2008 19:01:42 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 23:01:48 -0000 TB --- 2008-06-25 21:52:59 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-25 21:52:59 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2008-06-25 21:52:59 - cleaning the object tree TB --- 2008-06-25 21:53:19 - cvsupping the source tree TB --- 2008-06-25 21:53:19 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2008-06-25 21:53:26 - building world (CFLAGS=-O -pipe) TB --- 2008-06-25 21:53:26 - cd /src TB --- 2008-06-25 21:53:26 - /usr/bin/make -B buildworld >>> World build started on Wed Jun 25 21:53:28 UTC 2008 >>> 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 Wed Jun 25 22:55:16 UTC 2008 TB --- 2008-06-25 22:55:16 - generating LINT kernel config TB --- 2008-06-25 22:55:16 - cd /src/sys/sun4v/conf TB --- 2008-06-25 22:55:16 - /usr/bin/make -B LINT TB --- 2008-06-25 22:55:16 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-25 22:55:16 - cd /src TB --- 2008-06-25 22:55:16 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jun 25 22:55:16 UTC 2008 >>> 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 [...] : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x390): In function `OF_decode_addr': : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x10d4): In function `OF_decode_addr': : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x10d8): more undefined references to `__stack_chk_guard' follow ofw_machdep.o(.text+0x1108): In function `OF_decode_addr': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-25 23:01:42 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-25 23:01:42 - ERROR: failed to build lint kernel TB --- 2008-06-25 23:01:42 - tinderbox aborted TB --- 3192.08 user 393.41 system 4123.09 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 00:53:17 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5A601065673; Thu, 26 Jun 2008 00:53:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 62E828FC17; Thu, 26 Jun 2008 00:53:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q0rE1Q025972; Wed, 25 Jun 2008 20:53:14 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q0rEuk010033; Wed, 25 Jun 2008 20:53:14 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id ED30073039; Wed, 25 Jun 2008 20:53:13 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626005313.ED30073039@freebsd-current.sentex.ca> Date: Wed, 25 Jun 2008 20:53:13 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner1 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 00:53:17 -0000 TB --- 2008-06-25 23:05:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-25 23:05:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-06-25 23:05:00 - cleaning the object tree TB --- 2008-06-25 23:05:54 - cvsupping the source tree TB --- 2008-06-25 23:05:54 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-06-25 23:06:01 - building world (CFLAGS=-O -pipe) TB --- 2008-06-25 23:06:01 - cd /src TB --- 2008-06-25 23:06:01 - /usr/bin/make -B buildworld >>> World build started on Wed Jun 25 23:06:05 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Thu Jun 26 00:43:03 UTC 2008 TB --- 2008-06-26 00:43:03 - generating LINT kernel config TB --- 2008-06-26 00:43:03 - cd /src/sys/amd64/conf TB --- 2008-06-26 00:43:03 - /usr/bin/make -B LINT TB --- 2008-06-26 00:43:03 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 00:43:03 - cd /src TB --- 2008-06-26 00:43:03 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 00:43:04 UTC 2008 >>> 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 [...] subr_ntoskrnl.o(.text+0x63c0): In function `PsCreateSystemThread': : undefined reference to `__stack_chk_fail' subr_pe.o(.text+0x6bb): In function `pe_relocate': : undefined reference to `__stack_chk_guard' subr_pe.o(.text+0x934): In function `pe_relocate': : undefined reference to `__stack_chk_guard' subr_pe.o(.text+0x93b): In function `pe_relocate': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 00:53:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 00:53:13 - ERROR: failed to build lint kernel TB --- 2008-06-26 00:53:13 - tinderbox aborted TB --- 4794.88 user 609.80 system 6492.80 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 00:55:19 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3030106567B; Thu, 26 Jun 2008 00:55:19 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 905AD8FC0C; Thu, 26 Jun 2008 00:55:19 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q0tHU4026197; Wed, 25 Jun 2008 20:55:17 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q0tH1a053857; Wed, 25 Jun 2008 20:55:17 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 1DCFC73039; Wed, 25 Jun 2008 20:55:17 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626005517.1DCFC73039@freebsd-current.sentex.ca> Date: Wed, 25 Jun 2008 20:55:17 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on i386/pc98 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 00:55:20 -0000 TB --- 2008-06-26 00:53:14 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 00:53:14 - starting HEAD tinderbox run for i386/pc98 TB --- 2008-06-26 00:53:14 - cleaning the object tree TB --- 2008-06-26 00:53:41 - cvsupping the source tree TB --- 2008-06-26 00:53:41 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/i386/pc98/supfile TB --- 2008-06-26 00:53:51 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 00:53:51 - cd /src TB --- 2008-06-26 00:53:51 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 00:53:53 UTC 2008 >>> 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 [...] rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> sys/boot/pc98/boot0.5 (cleandir) rm -f boot0.5 boot0.5.bin boot0.5.out start.o boot.o boot0.5.o disk.o selector.o support.o syscons.o putssjis.o rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> sys/boot/pc98/boot2 (cleandir) "/src/sys/boot/pc98/boot2/../../../conf/kern.mk", line 113: Malformed conditional (${MK_SSP} != "no" && ${CC} != "icc" && ${MACHINE_ARCH} != "ia64") "/src/sys/boot/pc98/boot2/../../../conf/kern.mk", line 115: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src/sys/boot/pc98. *** Error code 1 Stop in /src/sys/boot. *** Error code 1 Stop in /src/sys. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 00:55:17 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 00:55:17 - ERROR: failed to build world TB --- 2008-06-26 00:55:17 - tinderbox aborted TB --- 41.91 user 12.37 system 123.00 real http://tinderbox.des.no/tinderbox-head-HEAD-i386-pc98.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 01:26:31 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 076A4106564A; Thu, 26 Jun 2008 01:26:31 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id A79BC8FC0A; Thu, 26 Jun 2008 01:26:30 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q1QSc1029194; Wed, 25 Jun 2008 21:26:28 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q1QS4K026383; Wed, 25 Jun 2008 21:26:28 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 05A1F73039; Wed, 25 Jun 2008 21:26:27 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626012628.05A1F73039@freebsd-current.sentex.ca> Date: Wed, 25 Jun 2008 21:26:27 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 01:26:31 -0000 TB --- 2008-06-26 00:09:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 00:09:00 - starting HEAD tinderbox run for i386/i386 TB --- 2008-06-26 00:09:00 - cleaning the object tree TB --- 2008-06-26 00:09:37 - cvsupping the source tree TB --- 2008-06-26 00:09:37 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/i386/i386/supfile TB --- 2008-06-26 00:09:45 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 00:09:45 - cd /src TB --- 2008-06-26 00:09:45 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 00:09:46 UTC 2008 >>> 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 Thu Jun 26 01:16:16 UTC 2008 TB --- 2008-06-26 01:16:16 - generating LINT kernel config TB --- 2008-06-26 01:16:16 - cd /src/sys/i386/conf TB --- 2008-06-26 01:16:16 - /usr/bin/make -B LINT TB --- 2008-06-26 01:16:16 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 01:16:16 - cd /src TB --- 2008-06-26 01:16:16 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 01:16:16 UTC 2008 >>> 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 [...] vga_isa.o(.text+0x1f7): In function `isavga_probe': : undefined reference to `__stack_chk_fail' xboxfb.o(.text+0xa79): In function `xboxfb_diag': : undefined reference to `__stack_chk_guard' xboxfb.o(.text+0xb03): In function `xboxfb_diag': : undefined reference to `__stack_chk_guard' xboxfb.o(.text+0xb0a): In function `xboxfb_diag': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 01:26:27 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 01:26:27 - ERROR: failed to build lint kernel TB --- 2008-06-26 01:26:27 - tinderbox aborted TB --- 3456.36 user 421.25 system 4647.73 real http://tinderbox.des.no/tinderbox-head-HEAD-i386-i386.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 02:41:05 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1B21106564A; Thu, 26 Jun 2008 02:41:05 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6AC678FC18; Thu, 26 Jun 2008 02:41:05 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q2f3Zx023602; Wed, 25 Jun 2008 22:41:03 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q2f21b084881; Wed, 25 Jun 2008 22:41:03 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id D172D73039; Wed, 25 Jun 2008 22:41:02 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626024102.D172D73039@freebsd-current.sentex.ca> Date: Wed, 25 Jun 2008 22:41:02 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 02:41:05 -0000 TB --- 2008-06-26 01:26:28 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 01:26:28 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-26 01:26:28 - cleaning the object tree TB --- 2008-06-26 01:26:50 - cvsupping the source tree TB --- 2008-06-26 01:26:50 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-26 01:26:57 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 01:26:57 - cd /src TB --- 2008-06-26 01:26:57 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 01:26:59 UTC 2008 >>> 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 Thu Jun 26 02:33:41 UTC 2008 TB --- 2008-06-26 02:33:41 - generating LINT kernel config TB --- 2008-06-26 02:33:41 - cd /src/sys/powerpc/conf TB --- 2008-06-26 02:33:41 - /usr/bin/make -B LINT TB --- 2008-06-26 02:33:41 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 02:33:41 - cd /src TB --- 2008-06-26 02:33:41 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 02:33:41 UTC 2008 >>> 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 [...] intr_machdep.o(.text+0x86): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x302): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x30a): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x318): In function `intr_lookup': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 02:41:02 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 02:41:02 - ERROR: failed to build lint kernel TB --- 2008-06-26 02:41:02 - tinderbox aborted TB --- 3376.21 user 396.80 system 4474.54 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 03:53:18 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0604B1065671; Thu, 26 Jun 2008 03:53:18 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id B98148FC14; Thu, 26 Jun 2008 03:53:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q3rCn7042322; Wed, 25 Jun 2008 23:53:13 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q3rCXa071451; Wed, 25 Jun 2008 23:53:12 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id C05AA73039; Wed, 25 Jun 2008 23:53:12 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626035312.C05AA73039@freebsd-current.sentex.ca> Date: Wed, 25 Jun 2008 23:53:12 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 03:53:18 -0000 TB --- 2008-06-26 02:41:02 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 02:41:02 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2008-06-26 02:41:02 - cleaning the object tree TB --- 2008-06-26 02:41:36 - cvsupping the source tree TB --- 2008-06-26 02:41:36 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2008-06-26 02:41:49 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 02:41:49 - cd /src TB --- 2008-06-26 02:41:49 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 02:41:50 UTC 2008 >>> 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 Thu Jun 26 03:45:06 UTC 2008 TB --- 2008-06-26 03:45:06 - generating LINT kernel config TB --- 2008-06-26 03:45:06 - cd /src/sys/sparc64/conf TB --- 2008-06-26 03:45:06 - /usr/bin/make -B LINT TB --- 2008-06-26 03:45:07 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 03:45:07 - cd /src TB --- 2008-06-26 03:45:07 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 03:45:07 UTC 2008 >>> 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 [...] : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x390): In function `OF_decode_addr': : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x10d4): In function `OF_decode_addr': : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x10d8): more undefined references to `__stack_chk_guard' follow ofw_machdep.o(.text+0x1108): In function `OF_decode_addr': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 03:53:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 03:53:12 - ERROR: failed to build lint kernel TB --- 2008-06-26 03:53:12 - tinderbox aborted TB --- 3205.01 user 398.80 system 4329.60 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 03:55:36 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 032741065670; Thu, 26 Jun 2008 03:55:36 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id B74F88FC19; Thu, 26 Jun 2008 03:55:35 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q3tXh5042476; Wed, 25 Jun 2008 23:55:33 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q3tXgr078034; Wed, 25 Jun 2008 23:55:33 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 6031973039; Wed, 25 Jun 2008 23:55:33 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626035533.6031973039@freebsd-current.sentex.ca> Date: Wed, 25 Jun 2008 23:55:33 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 03:55:36 -0000 TB --- 2008-06-26 02:45:24 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 02:45:24 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2008-06-26 02:45:25 - cleaning the object tree TB --- 2008-06-26 02:45:46 - cvsupping the source tree TB --- 2008-06-26 02:45:46 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2008-06-26 02:45:54 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 02:45:54 - cd /src TB --- 2008-06-26 02:45:54 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 02:45:56 UTC 2008 >>> 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 Thu Jun 26 03:48:09 UTC 2008 TB --- 2008-06-26 03:48:09 - generating LINT kernel config TB --- 2008-06-26 03:48:09 - cd /src/sys/sun4v/conf TB --- 2008-06-26 03:48:09 - /usr/bin/make -B LINT TB --- 2008-06-26 03:48:09 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 03:48:09 - cd /src TB --- 2008-06-26 03:48:09 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 03:48:09 UTC 2008 >>> 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 [...] : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x390): In function `OF_decode_addr': : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x10d4): In function `OF_decode_addr': : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x10d8): more undefined references to `__stack_chk_guard' follow ofw_machdep.o(.text+0x1108): In function `OF_decode_addr': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 03:55:33 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 03:55:33 - ERROR: failed to build lint kernel TB --- 2008-06-26 03:55:33 - tinderbox aborted TB --- 3197.85 user 394.51 system 4208.40 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 05:46:51 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8453E106564A; Thu, 26 Jun 2008 05:46:51 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 294FE8FC28; Thu, 26 Jun 2008 05:46:51 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q5kn00030727; Thu, 26 Jun 2008 01:46:49 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q5kmHI003645; Thu, 26 Jun 2008 01:46:48 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id C6F0573039; Thu, 26 Jun 2008 01:46:48 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626054648.C6F0573039@freebsd-current.sentex.ca> Date: Thu, 26 Jun 2008 01:46:48 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 05:46:51 -0000 TB --- 2008-06-26 04:00:01 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 04:00:01 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-06-26 04:00:01 - cleaning the object tree TB --- 2008-06-26 04:00:46 - cvsupping the source tree TB --- 2008-06-26 04:00:46 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-06-26 04:00:52 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 04:00:52 - cd /src TB --- 2008-06-26 04:00:52 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 04:00:54 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Thu Jun 26 05:36:59 UTC 2008 TB --- 2008-06-26 05:36:59 - generating LINT kernel config TB --- 2008-06-26 05:36:59 - cd /src/sys/amd64/conf TB --- 2008-06-26 05:36:59 - /usr/bin/make -B LINT TB --- 2008-06-26 05:36:59 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 05:36:59 - cd /src TB --- 2008-06-26 05:36:59 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 05:36:59 UTC 2008 >>> 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 [...] subr_ntoskrnl.o(.text+0x63c0): In function `PsCreateSystemThread': : undefined reference to `__stack_chk_fail' subr_pe.o(.text+0x6bb): In function `pe_relocate': : undefined reference to `__stack_chk_guard' subr_pe.o(.text+0x934): In function `pe_relocate': : undefined reference to `__stack_chk_guard' subr_pe.o(.text+0x93b): In function `pe_relocate': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 05:46:48 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 05:46:48 - ERROR: failed to build lint kernel TB --- 2008-06-26 05:46:48 - tinderbox aborted TB --- 4797.90 user 605.09 system 6407.56 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 05:48:31 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3CD01065670; Thu, 26 Jun 2008 05:48:31 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 77E148FC0C; Thu, 26 Jun 2008 05:48:31 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q5mSbk048605; Thu, 26 Jun 2008 01:48:28 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q5mSfR040460; Thu, 26 Jun 2008 01:48:28 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 79A4773039; Thu, 26 Jun 2008 01:48:28 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626054828.79A4773039@freebsd-current.sentex.ca> Date: Thu, 26 Jun 2008 01:48:28 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on i386/pc98 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 05:48:32 -0000 TB --- 2008-06-26 05:46:48 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 05:46:48 - starting HEAD tinderbox run for i386/pc98 TB --- 2008-06-26 05:46:48 - cleaning the object tree TB --- 2008-06-26 05:46:49 - cvsupping the source tree TB --- 2008-06-26 05:46:49 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/i386/pc98/supfile TB --- 2008-06-26 05:46:54 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 05:46:54 - cd /src TB --- 2008-06-26 05:46:54 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 05:46:56 UTC 2008 >>> 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 [...] rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> sys/boot/pc98/boot0.5 (cleandir) rm -f boot0.5 boot0.5.bin boot0.5.out start.o boot.o boot0.5.o disk.o selector.o support.o syscons.o putssjis.o rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> sys/boot/pc98/boot2 (cleandir) "/src/sys/boot/pc98/boot2/../../../conf/kern.mk", line 113: Malformed conditional (${MK_SSP} != "no" && ${CC} != "icc" && ${MACHINE_ARCH} != "ia64") "/src/sys/boot/pc98/boot2/../../../conf/kern.mk", line 115: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src/sys/boot/pc98. *** Error code 1 Stop in /src/sys/boot. *** Error code 1 Stop in /src/sys. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 05:48:28 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 05:48:28 - ERROR: failed to build world TB --- 2008-06-26 05:48:28 - tinderbox aborted TB --- 41.23 user 8.95 system 99.55 real http://tinderbox.des.no/tinderbox-head-HEAD-i386-pc98.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 06:20:45 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCFD71065671; Thu, 26 Jun 2008 06:20:45 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 60CFE8FC0A; Thu, 26 Jun 2008 06:20:45 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q6Khj0049979; Thu, 26 Jun 2008 02:20:43 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q6KhgY016248; Thu, 26 Jun 2008 02:20:43 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 19D1073039; Thu, 26 Jun 2008 02:20:43 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626062043.19D1073039@freebsd-current.sentex.ca> Date: Thu, 26 Jun 2008 02:20:43 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 06:20:45 -0000 TB --- 2008-06-26 05:03:50 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 05:03:50 - starting HEAD tinderbox run for i386/i386 TB --- 2008-06-26 05:03:50 - cleaning the object tree TB --- 2008-06-26 05:04:17 - cvsupping the source tree TB --- 2008-06-26 05:04:17 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/i386/i386/supfile TB --- 2008-06-26 05:04:23 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 05:04:23 - cd /src TB --- 2008-06-26 05:04:23 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 05:04:24 UTC 2008 >>> 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 Thu Jun 26 06:10:28 UTC 2008 TB --- 2008-06-26 06:10:28 - generating LINT kernel config TB --- 2008-06-26 06:10:28 - cd /src/sys/i386/conf TB --- 2008-06-26 06:10:28 - /usr/bin/make -B LINT TB --- 2008-06-26 06:10:28 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 06:10:28 - cd /src TB --- 2008-06-26 06:10:28 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 06:10:28 UTC 2008 >>> 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 [...] vga_isa.o(.text+0x1f7): In function `isavga_probe': : undefined reference to `__stack_chk_fail' xboxfb.o(.text+0xa79): In function `xboxfb_diag': : undefined reference to `__stack_chk_guard' xboxfb.o(.text+0xb03): In function `xboxfb_diag': : undefined reference to `__stack_chk_guard' xboxfb.o(.text+0xb0a): In function `xboxfb_diag': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 06:20:43 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 06:20:43 - ERROR: failed to build lint kernel TB --- 2008-06-26 06:20:43 - tinderbox aborted TB --- 3453.61 user 422.04 system 4612.65 real http://tinderbox.des.no/tinderbox-head-HEAD-i386-i386.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 07:00:12 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2556A106567B for ; Thu, 26 Jun 2008 07:00:12 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id CD36B8FC18 for ; Thu, 26 Jun 2008 07:00:11 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id 225A53F627A; Thu, 26 Jun 2008 09:00:07 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id 168E93F63D6; Thu, 26 Jun 2008 08:59:56 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 51CDB9B497; Thu, 26 Jun 2008 06:55:26 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 445B04089; Thu, 26 Jun 2008 08:55:26 +0200 (CEST) Date: Thu, 26 Jun 2008 08:55:26 +0200 From: Jeremie Le Hen To: FreeBSD Tinderbox Message-ID: <20080626065526.GE15815@obiwan.tataz.chchile.org> References: <20080626062043.19D1073039@freebsd-current.sentex.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080626062043.19D1073039@freebsd-current.sentex.ca> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: current@freebsd.org, i386@freebsd.org Subject: Re: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 07:00:12 -0000 Hi, On Thu, Jun 26, 2008 at 02:20:43AM -0400, FreeBSD Tinderbox wrote: > vga_isa.o(.text+0x1f7): In function `isavga_probe': > : undefined reference to `__stack_chk_fail' > xboxfb.o(.text+0xa79): In function `xboxfb_diag': > : undefined reference to `__stack_chk_guard' > xboxfb.o(.text+0xb03): In function `xboxfb_diag': > : undefined reference to `__stack_chk_guard' > xboxfb.o(.text+0xb0a): In function `xboxfb_diag': > : undefined reference to `__stack_chk_fail' > *** Error code 1 This is my bad, sorry. Please apply the following patch: Index: sys/kern/stack_protector.c =================================================================== RCS file: /mnt/octobre/space/freebsd-cvs/src/sys/kern/stack_protector.c,v retrieving revision 1.1 diff -u -r1.1 stack_protector.c --- sys/kern/stack_protector.c 25 Jun 2008 21:33:28 -0000 1.1 +++ sys/kern/stack_protector.c 26 Jun 2008 06:57:11 -0000 @@ -7,7 +7,6 @@ #include #include -#if defined(__SSP__) || defined(__SSP_ALL__) long __stack_chk_guard[8] = {}; void __stack_chk_fail(void); @@ -31,5 +30,3 @@ } /* SI_SUB_EVENTHANDLER is right after SI_SUB_LOCK used by arc4rand() init. */ SYSINIT(stack_chk, SI_SUB_EVENTHANDLER, SI_ORDER_ANY, __stack_chk_init, NULL); - -#endif -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 07:27:55 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BFF7106566B for ; Thu, 26 Jun 2008 07:27:55 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from mail.vega.ru (infra.dev.vega.ru [90.156.167.14]) by mx1.freebsd.org (Postfix) with ESMTP id DECA08FC0C for ; Thu, 26 Jun 2008 07:27:54 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from [87.242.97.68] (port=65260 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1KBltY-000E2y-ME; Thu, 26 Jun 2008 07:27:52 +0000 Date: Thu, 26 Jun 2008 11:27:32 +0400 From: Ruslan Ermilov To: FreeBSD Tinderbox Message-ID: <20080626072731.GA30391@edoofus.dev.vega.ru> References: <20080626054828.79A4773039@freebsd-current.sentex.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080626054828.79A4773039@freebsd-current.sentex.ca> Cc: current@freebsd.org, i386@freebsd.org Subject: Re: [head tinderbox] failure on i386/pc98 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 07:27:55 -0000 On Thu, Jun 26, 2008 at 01:48:28AM -0400, FreeBSD Tinderbox wrote: > ===> sys/boot/pc98/boot2 (cleandir) > "/src/sys/boot/pc98/boot2/../../../conf/kern.mk", line 113: Malformed conditional (${MK_SSP} != "no" && ${CC} != "icc" && ${MACHINE_ARCH} != "ia64") > "/src/sys/boot/pc98/boot2/../../../conf/kern.mk", line 115: if-less endif > make: fatal errors encountered -- cannot continue > *** Error code 1 > > Stop in /src/sys/boot/pc98. > *** Error code 1 > I'm waiting for svn to finish update to commit a fix. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 07:37:50 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C842C106566C; Thu, 26 Jun 2008 07:37:50 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6D82B8FC20; Thu, 26 Jun 2008 07:37:50 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q7bl4o035089; Thu, 26 Jun 2008 03:37:47 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q7blfK083682; Thu, 26 Jun 2008 03:37:47 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 2C34E73039; Thu, 26 Jun 2008 03:37:47 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626073747.2C34E73039@freebsd-current.sentex.ca> Date: Thu, 26 Jun 2008 03:37:47 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 07:37:50 -0000 TB --- 2008-06-26 06:20:43 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 06:20:43 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-26 06:20:43 - cleaning the object tree TB --- 2008-06-26 06:20:58 - cvsupping the source tree TB --- 2008-06-26 06:20:58 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-26 06:21:04 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 06:21:04 - cd /src TB --- 2008-06-26 06:21:04 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 06:21:05 UTC 2008 >>> 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 Thu Jun 26 07:30:32 UTC 2008 TB --- 2008-06-26 07:30:32 - generating LINT kernel config TB --- 2008-06-26 07:30:32 - cd /src/sys/powerpc/conf TB --- 2008-06-26 07:30:32 - /usr/bin/make -B LINT TB --- 2008-06-26 07:30:32 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 07:30:32 - cd /src TB --- 2008-06-26 07:30:32 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 07:30:32 UTC 2008 >>> 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 [...] intr_machdep.o(.text+0x86): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x302): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x30a): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x318): In function `intr_lookup': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 07:37:46 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 07:37:46 - ERROR: failed to build lint kernel TB --- 2008-06-26 07:37:46 - tinderbox aborted TB --- 3378.73 user 401.37 system 4623.73 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 08:50:10 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 105C81065673; Thu, 26 Jun 2008 08:50:10 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 99F458FC0A; Thu, 26 Jun 2008 08:50:09 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q8o167058142; Thu, 26 Jun 2008 04:50:02 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q8o1j2079165; Thu, 26 Jun 2008 04:50:02 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 2637173039; Thu, 26 Jun 2008 04:50:00 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626085001.2637173039@freebsd-current.sentex.ca> Date: Thu, 26 Jun 2008 04:50:00 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner4 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 08:50:10 -0000 TB --- 2008-06-26 07:37:47 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 07:37:47 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2008-06-26 07:37:47 - cleaning the object tree TB --- 2008-06-26 07:38:08 - cvsupping the source tree TB --- 2008-06-26 07:38:08 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2008-06-26 07:38:16 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 07:38:16 - cd /src TB --- 2008-06-26 07:38:16 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 07:38:17 UTC 2008 >>> 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 Thu Jun 26 08:41:36 UTC 2008 TB --- 2008-06-26 08:41:36 - generating LINT kernel config TB --- 2008-06-26 08:41:36 - cd /src/sys/sparc64/conf TB --- 2008-06-26 08:41:36 - /usr/bin/make -B LINT TB --- 2008-06-26 08:41:36 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 08:41:36 - cd /src TB --- 2008-06-26 08:41:36 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 08:41:36 UTC 2008 >>> 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 [...] : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x390): In function `OF_decode_addr': : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x10d4): In function `OF_decode_addr': : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x10d8): more undefined references to `__stack_chk_guard' follow ofw_machdep.o(.text+0x1108): In function `OF_decode_addr': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 08:50:00 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 08:50:00 - ERROR: failed to build lint kernel TB --- 2008-06-26 08:50:00 - tinderbox aborted TB --- 3206.93 user 398.12 system 4333.44 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 08:50:38 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B09F106568E; Thu, 26 Jun 2008 08:50:38 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id E653E8FC17; Thu, 26 Jun 2008 08:50:37 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q8oYoS038107; Thu, 26 Jun 2008 04:50:35 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5Q8oYxw040015; Thu, 26 Jun 2008 04:50:34 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 932F573039; Thu, 26 Jun 2008 04:50:34 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626085034.932F573039@freebsd-current.sentex.ca> Date: Thu, 26 Jun 2008 04:50:34 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 08:50:38 -0000 TB --- 2008-06-26 07:39:28 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 07:39:28 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2008-06-26 07:39:28 - cleaning the object tree TB --- 2008-06-26 07:39:44 - cvsupping the source tree TB --- 2008-06-26 07:39:44 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2008-06-26 07:39:50 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 07:39:50 - cd /src TB --- 2008-06-26 07:39:50 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 07:39:52 UTC 2008 >>> 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 Thu Jun 26 08:42:37 UTC 2008 TB --- 2008-06-26 08:42:37 - generating LINT kernel config TB --- 2008-06-26 08:42:37 - cd /src/sys/sun4v/conf TB --- 2008-06-26 08:42:37 - /usr/bin/make -B LINT TB --- 2008-06-26 08:42:37 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 08:42:37 - cd /src TB --- 2008-06-26 08:42:37 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 08:42:37 UTC 2008 >>> 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 [...] : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x390): In function `OF_decode_addr': : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x10d4): In function `OF_decode_addr': : undefined reference to `__stack_chk_guard' ofw_machdep.o(.text+0x10d8): more undefined references to `__stack_chk_guard' follow ofw_machdep.o(.text+0x1108): In function `OF_decode_addr': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 08:50:34 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 08:50:34 - ERROR: failed to build lint kernel TB --- 2008-06-26 08:50:34 - tinderbox aborted TB --- 3196.30 user 397.88 system 4266.44 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 11:05:25 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4455C106564A for ; Thu, 26 Jun 2008 11:05:25 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id BD4E58FC1C for ; Thu, 26 Jun 2008 11:05:24 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 6CD46198EDA; Thu, 26 Jun 2008 13:05:23 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 5BED7198EC3; Thu, 26 Jun 2008 13:05:23 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 2896A198EC2; Thu, 26 Jun 2008 13:05:22 +0200 (CEST) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008062613052138-74429 ; Thu, 26 Jun 2008 13:05:21 +0200 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Thu, 26 Jun 2008 13:05:21 +0200 From: "Alexey Shuvaev" Date: Thu, 26 Jun 2008 13:05:21 +0200 To: kientzle@freebsd.org Message-ID: <20080626110521.GA68764@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/26/2008 01:05:21 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/26/2008 01:05:23 PM, Serialize complete at 06/26/2008 01:05:23 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: cpio -dumpl damages the files? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 11:05:25 -0000 Hello! Yesterday I have encountered a strange problem trying to build math/qtiplot, the compiler exited with errors during the build. After examining the situation it appeared that math/qtiplot3d-qt4 have installed damaged include files. In a nutshell the problem is that bsdcpio damages the files: [wep4020] ~> uname -a FreeBSD wep4020 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Jun 26 10:18:38 CEST 2008 root@wep4020:/usr/obj/usr/src/sys/GENERIC i386 [wep4020] ~> mkdir aaa bbb [wep4020] ~> echo bla-bla-bla > aaa/test [wep4020] ~> hd aaa/test 00000000 62 6c 61 2d 62 6c 61 2d 62 6c 61 0a |bla-bla-bla.| 0000000c [wep4020] ~> cpio --version bsdcpio 0.9.11b -- libarchive 2.5.4b [wep4020] ~> cd aaa/ [wep4020] ~/aaa> cpio -dumpl ../bbb/ test [wep4020] ~/aaa> hd test 00000000 00 00 00 00 00 00 00 00 00 00 00 00 |............| 0000000c [wep4020] ~/aaa> hd ../bbb/test 00000000 00 00 00 00 00 00 00 00 00 00 00 00 |............| 0000000c The same behavior on the [wep4017] ~> uname -a FreeBSD wep4017.physik.uni-wuerzburg.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed May 28 10:16:42 CEST 2008 root@wep4017.physik.uni-wuerzburg.de:/usr/obj/usr/src/sys/GENERIC amd64 Given that there was a discussion recently about the usage of bsdcpio in ports system (COPYTREE_* macros), I am wondering if this is my local problem or someone have noticed this also? Alexey. From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 12:30:08 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 078241065676; Thu, 26 Jun 2008 12:30:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id AC31B8FC16; Thu, 26 Jun 2008 12:30:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id D57BC41C795; Thu, 26 Jun 2008 14:30:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id LsqsuIhXwU6O; Thu, 26 Jun 2008 14:30:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 824D341C7A4; Thu, 26 Jun 2008 14:30:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 2187B44487F; Thu, 26 Jun 2008 12:26:42 +0000 (UTC) Date: Thu, 26 Jun 2008 12:26:42 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Poul-Henning Kamp In-Reply-To: <91492.1214431446@critter.freebsd.dk> Message-ID: <20080626122202.O83875@maildrop.int.zabbadoz.net> References: <91492.1214431446@critter.freebsd.dk> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Pawel Jakub Dawidek , FreeBSD current mailing list Subject: Re: panic in geom (spindown + eil + journal) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 12:30:08 -0000 On Wed, 25 Jun 2008, Poul-Henning Kamp wrote: Hi, > In message <20080625172417.F83875@maildrop.int.zabbadoz.net>, "Bjoern A. Zeeb" > writes: >> Hi, >> >> ad0 and ad8 had been spun down. >> >> I did a geli attach on ad8 and upon the following gjournal load >> it went *boom*: >> >> [replay] >> GEOM_ELI: Crypto: software >> GEOM_JOURNAL: Journal 1861009973: ad8.eli contains data. >> GEOM_JOURNAL: Journal 1861009973: ad8.eli contains journal. >> GEOM_JOURNAL: Journal ad8.eli clean. >> ad0: request while spun down, starting. >> panic: wrong offset 671299584 for sectorsize 2352 > > That's a very interesting sectorsize... > > Isn't that what an audio-CD uses ? I don't know how CDs work. I double checked that there was none in either of the CD drives. I guess some pointer artimetic or anything went wrong here for some reason. ad0 is a simple hdd with a few slices with different, mostly FreeBSD, installations. ad8 has, as seen above, eli on the disk and one standard gjournaled UFS on top of that. Is there any information I could try to find out to find that bug. I had done the same thing hundreds of times before, the only new thing from yesterday on was the spindown on 2 of 3 disks. /bz -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 13:49:21 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3008F1065676 for ; Thu, 26 Jun 2008 13:49:21 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id AC0C88FC1E for ; Thu, 26 Jun 2008 13:49:20 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so21273fgb.35 for ; Thu, 26 Jun 2008 06:49:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=/JYJf+jgcJ7IzgS7BWiXvrLm+hg5tpkJiqyBXL+BRec=; b=tpFE6+uD0d+m3Ll//P0FWH2V1+1YjYbiVu0/YTMMR4k22B8IFX9ldo3LEUMbT7Kv6R YZV7dVItonOJeSE8wSJNpSB7ay6IiHKSAGnG/libw2UjFVf0w4dwUMrsDPJEQC8eArx4 myfqducowc1Rakc2vidU+QH7iSDn8ye7FQTfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=vcDsCNuRS7HzAP/2zusyFc7wQpoJMbYfaSF76zDW4gFX+Wo54e6AyYuVEZSQfZxD+z yUMDgDJXtQM52JirB1k/q9OY4NA+wPgCRry/OP0U4OYapPyEcnt3bKWR9JXYIiVqKbRz QnfwftKhuiuksnRdUaSfFMR5WoaRVwdMPZwAg= Received: by 10.86.28.2 with SMTP id b2mr176267fgb.10.1214488159511; Thu, 26 Jun 2008 06:49:19 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Thu, 26 Jun 2008 06:49:19 -0700 (PDT) Message-ID: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> Date: Thu, 26 Jun 2008 06:49:19 -0700 From: "Garrett Cooper" To: current@freebsd.org, "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 13:49:21 -0000 Hello, First off sorry for the cross-post. I typically don't do this but this is an important question, so please bear with me. I'm just trying to get more eyes on the subject so I can (maybe) get a reply quicker... I'm running 8-CURRENT on my machine and it appears that one of the disks in my RAID5 array has taken a nose dive (BIOS recognizes that it exists, but Intel Matrix Manager claims that the disk is an "Offline Member"). After doing some reading it appears that it's kaput, so I need to get a replacement disk to fix this one... That aside, I need to determine how to rebuild the array in a Unix environment because Intel only provides instructions for how to use their Windows matrix manager. If anyone can point me to some links or provide me with some pointers on how to correct this issue, I'd owe you a lot; in fact the next time you come by Santa Cruz, CA I'll gladly treat you to some beers or something else you might want :)... Linux solutions (if there isn't a proper one for FreeBSD) are valid, as long as the core data remains uncorrupted and I can do what I need to from a LiveCD. I'm just scared to boot up OS and have it do some irrevocable operation like fsck -y and assume parity errors are ok or something along those lines (I don't remember if I set rc.conf to fsck -y and I know I can change that from single-user mode, but I want to play things conservatively if at all possible) :\... Filesystem is UFS2 with softupdates of course. Point proven that I need to backup my data more often :(... TIA, -Garrett PS If replying on the questions@ list, please CC me as I'm not subscribed to that list. From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 14:13:44 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A33D1065689 for ; Thu, 26 Jun 2008 14:13:44 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id BB9748FC0A for ; Thu, 26 Jun 2008 14:13:43 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=ftz6geCfAZBgu3v6er6Y2orC6rEjzvCumZPkMFAs+UvDCY+Ppo+7cG+MilKFFvmAqDtZn/xueOvCkiyykp2xjkGQHvcQ5a4AtTAu5v0U6UJ1uwPVcdBrHH3BpgG0sTbSEQSLg1T8MPFwsRR4TYkc2quGEo625ahg9kGhXCukEhA=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KBs0z-0004uG-Kx; Thu, 26 Jun 2008 17:59:57 +0400 Date: Thu, 26 Jun 2008 17:59:56 +0400 From: Eygene Ryabinkin To: "Bjoern A. Zeeb" Message-ID: <4K5+lNH1xm4QaKlQAizl2ATEu4I@w17qTvyS5I3zcalA0LVEglQwDKY> References: <91492.1214431446@critter.freebsd.dk> <20080626122202.O83875@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20080626122202.O83875@maildrop.int.zabbadoz.net> Sender: rea-fbsd@codelabs.ru Cc: Poul-Henning Kamp , Pawel Jakub Dawidek , FreeBSD current mailing list Subject: Re: panic in geom (spindown + eil + journal) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 14:13:44 -0000 Bjoern, good day. Thu, Jun 26, 2008 at 12:26:42PM +0000, Bjoern A. Zeeb wrote: > I guess some pointer artimetic or anything went wrong here for some > reason. ad0 is a simple hdd with a few slices with different, mostly > FreeBSD, installations. ad8 has, as seen above, eli on the disk and > one standard gjournaled UFS on top of that. May be provider's geom data was trashed in some way. > Is there any information I could try to find out to find that bug. > I had done the same thing hundreds of times before, the only new thing > from yesterday on was the spindown on 2 of 3 disks. Any chances to compile debug kernel with KDB/DDB http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html and when system will panic and debugger will be invoked, issue commands 'p *(bp->bio_offset)' and 'p *(cp->provider)' at the stack frame corresponding to the function g_io_request? -- Eygene From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 14:38:20 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7548E1065674 for ; Thu, 26 Jun 2008 14:38:20 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id E1AA98FC19 for ; Thu, 26 Jun 2008 14:38:19 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so32604fgb.35 for ; Thu, 26 Jun 2008 07:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=LPoKVbU6ijAyY6As1j1KsF5RvM62Np9g83S/vhtzq54=; b=aNfvkqxFzlKuBkKpDmugjI7mNCjfhpihLawHY2eey9kujLNrrSG3EhpZU4ilG4/5yw 2y1PBCSnzRnfOLT7V2Hppl5Q1SRflL/F7otIh3rPNgDnGAL1Zv3q/QoZ4HQWSDvkceZ+ MNtAYnuhIgLIERcHEKYQ6ftRQnoR1eIt1OqAg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=p7SGVG7n2lgE4bAdc0v05IDIYtW/4EBC2x+BoLONNlN4hXRxaViOB1PNgp9hR59zs3 8s5hYHpq3UcyIrF/XKUQjUkchYwrIvM9asf31/yvKOhGxzoIPO8kYId7jud3r4IJl6Fu dXI7eeHWxK2piReBOYn7L8yYWHI3oUUvJNvOk= Received: by 10.86.82.16 with SMTP id f16mr248577fgb.9.1214491098649; Thu, 26 Jun 2008 07:38:18 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Thu, 26 Jun 2008 07:38:18 -0700 (PDT) Message-ID: <7d6fde3d0806260738o1dfc5e33o8133d4d8e1f5d812@mail.gmail.com> Date: Thu, 26 Jun 2008 07:38:18 -0700 From: "Garrett Cooper" To: "Casey Scott" In-Reply-To: <32783721.01214490627455.JavaMail.root@tomcat.phantombsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6.0.0.22.2.20080626091608.0259b610@mail.computinginnovations.com> <32783721.01214490627455.JavaMail.root@tomcat.phantombsd.org> Cc: current@freebsd.org, Derek Ragona , FreeBSD Questions Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 14:38:20 -0000 On Thu, Jun 26, 2008 at 7:30 AM, Casey Scott wrote: > > ----- "Derek Ragona" wrote: > >> At 08:49 AM 6/26/2008, Garrett Cooper wrote: >> >Hello, >> > First off sorry for the cross-post. I typically don't do this >> >but this is an important question, so please bear with me. I'm just >> >trying to get more eyes on the subject so I can (maybe) get a reply >> >quicker... >> > I'm running 8-CURRENT on my machine and it appears that one >> of >> >the disks in my RAID5 array has taken a nose dive (BIOS recognizes >> >that it exists, but Intel Matrix Manager claims that the disk is an >> >"Offline Member"). After doing some reading it appears that it's >> >kaput, so I need to get a replacement disk to fix this one... >> > That aside, I need to determine how to rebuild the array in a >> >Unix environment because Intel only provides instructions for how to >> >use their Windows matrix manager. If anyone can point me to some >> links >> >or provide me with some pointers on how to correct this issue, I'd >> owe >> >you a lot; in fact the next time you come by Santa Cruz, CA I'll >> >gladly treat you to some beers or something else you might want >> :)... >> >Linux solutions (if there isn't a proper one for FreeBSD) are valid, >> >as long as the core data remains uncorrupted and I can do what I >> need >> >to from a LiveCD. I'm just scared to boot up OS and have it do some >> >irrevocable operation like fsck -y and assume parity errors are ok >> or >> >something along those lines (I don't remember if I set rc.conf to >> >fsck -y and I know I can change that from single-user mode, but I >> want >> >to play things conservatively if at all possible) :\... >> > Filesystem is UFS2 with softupdates of course. >> > Point proven that I need to backup my data more often :(... >> >TIA, >> >-Garrett >> > >> >PS If replying on the questions@ list, please CC me as I'm not >> >subscribed to that list. >> >> >> Most of the intel RAID functions can be accessed through the BIOS >> console >> too. It isn't as pretty as the GUI versions but has the same >> functions. >> >> The drives are labeled so the RAID controller will know a drive was >> replaced. You just need to tell the controller to add it to the array >> and >> rebuild the array. > > I haven't seen an Intel card in a while, but if you see an "initialize" > option, DON'T USE IT. On other cards it exists, and destroys the volume. > > Casey Sean, Casey, and Derek: Thanks for the replies so far. Yeah, I stay away from things that say "Initialize", "Delete Array", etc :). Part of my concern came from the fact that I got a kernel panic the last time I tried to boot into FreeBSD, but that may have been because one of my disks was disconnected and the bzero attempt was polling some address out of range (I was attempting to troubleshoot the issue at the time). I'm pretty fed up with Intel's ICH9R interface too so I'm hoping (crosses fingers) that I'll be able to afford an Adaptec card of some flavor that's compatible with -CURRENT. For that I'll ask for advice on current@ later on which card to get... It looks like my figuring out what to do in solving this issue will only be solved by grabbing another drive and replacing the dead one. Oh well, here goes for an RMA... TIA, -Garrett From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 14:46:33 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC8BC106564A; Thu, 26 Jun 2008 14:46:32 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 587A48FC12; Thu, 26 Jun 2008 14:46:31 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m5QEkBbK041987; Thu, 26 Jun 2008 09:46:13 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080626094444.02549590@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 26 Jun 2008 09:46:09 -0500 To: "Garrett Cooper" , "Casey Scott" From: Derek Ragona In-Reply-To: <7d6fde3d0806260738o1dfc5e33o8133d4d8e1f5d812@mail.gmail.co m> References: <6.0.0.22.2.20080626091608.0259b610@mail.computinginnovations.com> <32783721.01214490627455.JavaMail.root@tomcat.phantombsd.org> <7d6fde3d0806260738o1dfc5e33o8133d4d8e1f5d812@mail.gmail.com> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080626-0, 06/26/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93/6806/Wed Apr 16 15:50:16 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m5QEkBbK041987 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org, FreeBSD Questions Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 14:46:33 -0000 At 09:38 AM 6/26/2008, Garrett Cooper wrote: >On Thu, Jun 26, 2008 at 7:30 AM, Casey Scott wrote: > > > > ----- "Derek Ragona" wrote: > > > >> At 08:49 AM 6/26/2008, Garrett Cooper wrote: > >> >Hello, > >> > First off sorry for the cross-post. I typically don't do this > >> >but this is an important question, so please bear with me. I'm just > >> >trying to get more eyes on the subject so I can (maybe) get a reply > >> >quicker... > >> > I'm running 8-CURRENT on my machine and it appears that one > >> of > >> >the disks in my RAID5 array has taken a nose dive (BIOS recognizes > >> >that it exists, but Intel Matrix Manager claims that the disk is an > >> >"Offline Member"). After doing some reading it appears that it's > >> >kaput, so I need to get a replacement disk to fix this one... > >> > That aside, I need to determine how to rebuild the array in a > >> >Unix environment because Intel only provides instructions for how to > >> >use their Windows matrix manager. If anyone can point me to some > >> links > >> >or provide me with some pointers on how to correct this issue, I'd > >> owe > >> >you a lot; in fact the next time you come by Santa Cruz, CA I'll > >> >gladly treat you to some beers or something else you might want > >> :)... > >> >Linux solutions (if there isn't a proper one for FreeBSD) are valid, > >> >as long as the core data remains uncorrupted and I can do what I > >> need > >> >to from a LiveCD. I'm just scared to boot up OS and have it do some > >> >irrevocable operation like fsck -y and assume parity errors are ok > >> or > >> >something along those lines (I don't remember if I set rc.conf to > >> >fsck -y and I know I can change that from single-user mode, but I > >> want > >> >to play things conservatively if at all possible) :\... > >> > Filesystem is UFS2 with softupdates of course. > >> > Point proven that I need to backup my data more often :(... > >> >TIA, > >> >-Garrett > >> > > >> >PS If replying on the questions@ list, please CC me as I'm not > >> >subscribed to that list. > >> > >> > >> Most of the intel RAID functions can be accessed through the BIOS > >> console > >> too. It isn't as pretty as the GUI versions but has the same > >> functions. > >> > >> The drives are labeled so the RAID controller will know a drive was > >> replaced. You just need to tell the controller to add it to the array > >> and > >> rebuild the array. > > > > I haven't seen an Intel card in a while, but if you see an "initialize" > > option, DON'T USE IT. On other cards it exists, and destroys the volume. > > > > Casey > >Sean, Casey, and Derek: > >Thanks for the replies so far. > >Yeah, I stay away from things that say "Initialize", "Delete Array", >etc :). Part of my concern came from the fact that I got a kernel >panic the last time I tried to boot into FreeBSD, but that may have >been because one of my disks was disconnected and the bzero attempt >was polling some address out of range (I was attempting to >troubleshoot the issue at the time). > >I'm pretty fed up with Intel's ICH9R interface too so I'm hoping >(crosses fingers) that I'll be able to afford an Adaptec card of some >flavor that's compatible with -CURRENT. For that I'll ask for advice >on current@ later on which card to get... > >It looks like my figuring out what to do in solving this issue will >only be solved by grabbing another drive and replacing the dead one. >Oh well, here goes for an RMA... > >TIA, >-Garrett >_____________ If you are looking to move up, look at the 3ware RAID cards. Not sure which models work with FreeBSD, but these card do perform very well. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 14:47:15 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 022491065679 for ; Thu, 26 Jun 2008 14:47:15 +0000 (UTC) (envelope-from casey@phantombsd.org) Received: from mail.phantombsd.org (mail.phantombsd.org [74.94.69.226]) by mx1.freebsd.org (Postfix) with ESMTP id C1AA88FC15 for ; Thu, 26 Jun 2008 14:47:14 +0000 (UTC) (envelope-from casey@phantombsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.phantombsd.org (Postfix) with ESMTP id 416BBDB0002; Thu, 26 Jun 2008 07:30:28 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=4 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from mail.phantombsd.org ([127.0.0.1]) by localhost (mail.phantombsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OPTJM-7f5Gwp; Thu, 26 Jun 2008 07:30:27 -0700 (PDT) Received: from mail.phantombsd.org (tomcat.phantombsd.org [192.168.1.2]) by mail.phantombsd.org (Postfix) with ESMTP id 8998BDB0001; Thu, 26 Jun 2008 07:30:27 -0700 (PDT) Date: Thu, 26 Jun 2008 07:30:27 -0700 (PDT) From: Casey Scott To: Derek Ragona Message-ID: <32783721.01214490627455.JavaMail.root@tomcat.phantombsd.org> In-Reply-To: <6.0.0.22.2.20080626091608.0259b610@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.1.6] X-Mailer: Zimbra 5.0.5_GA_2201.RHEL5 (ZimbraWebClient - FF2.0 (Win)/5.0.5_GA_2201.RHEL5) X-Mailman-Approved-At: Thu, 26 Jun 2008 14:53:43 +0000 Cc: Garrett Cooper , current@freebsd.org, FreeBSD Questions Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 14:47:15 -0000 ----- "Derek Ragona" wrote: > At 08:49 AM 6/26/2008, Garrett Cooper wrote: > >Hello, > > First off sorry for the cross-post. I typically don't do this > >but this is an important question, so please bear with me. I'm just > >trying to get more eyes on the subject so I can (maybe) get a reply > >quicker... > > I'm running 8-CURRENT on my machine and it appears that one > of > >the disks in my RAID5 array has taken a nose dive (BIOS recognizes > >that it exists, but Intel Matrix Manager claims that the disk is an > >"Offline Member"). After doing some reading it appears that it's > >kaput, so I need to get a replacement disk to fix this one... > > That aside, I need to determine how to rebuild the array in a > >Unix environment because Intel only provides instructions for how to > >use their Windows matrix manager. If anyone can point me to some > links > >or provide me with some pointers on how to correct this issue, I'd > owe > >you a lot; in fact the next time you come by Santa Cruz, CA I'll > >gladly treat you to some beers or something else you might want > :)... > >Linux solutions (if there isn't a proper one for FreeBSD) are valid, > >as long as the core data remains uncorrupted and I can do what I > need > >to from a LiveCD. I'm just scared to boot up OS and have it do some > >irrevocable operation like fsck -y and assume parity errors are ok > or > >something along those lines (I don't remember if I set rc.conf to > >fsck -y and I know I can change that from single-user mode, but I > want > >to play things conservatively if at all possible) :\... > > Filesystem is UFS2 with softupdates of course. > > Point proven that I need to backup my data more often :(... > >TIA, > >-Garrett > > > >PS If replying on the questions@ list, please CC me as I'm not > >subscribed to that list. > > > Most of the intel RAID functions can be accessed through the BIOS > console > too. It isn't as pretty as the GUI versions but has the same > functions. > > The drives are labeled so the RAID controller will know a drive was > replaced. You just need to tell the controller to add it to the array > and > rebuild the array. I haven't seen an Intel card in a while, but if you see an "initialize" option, DON'T USE IT. On other cards it exists, and destroys the volume. Casey From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 15:34:34 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB5DF106567C for ; Thu, 26 Jun 2008 15:34:34 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.189]) by mx1.freebsd.org (Postfix) with ESMTP id 26C8A8FC0A for ; Thu, 26 Jun 2008 15:34:33 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by gv-out-0910.google.com with SMTP id n8so17690gve.39 for ; Thu, 26 Jun 2008 08:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer; bh=hV0tD9WMIQUsD8pEo9lnYL9Puk8n1ORqR3TQ3LAuVaU=; b=ppsMl/J1mW64ZfZE6pPykC0lZHMdJMFDNr5IvaM6uGX2HhNWjziQZDPh0cx6Oo5aDK Y3kw0uAE/aplSXNx4pedClkG5e9OgNlhWlg5opmCv0b/QMwhFHKchoWcKx0Dz6SwVvHn Flvf9SyligzmrlJe9J5tQUY+bSvuuIz+yrdwI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer; b=OFseQ/mbNECtYGXgfrO6bz/U9ws+i1K08pFODf0dmdnsO4JLC/2a1cHOADxVzqmjgc BtunHEOlWmQ2EgcaKRlGuuE1bS/p6Mq9YWawCnQazK7A6pjdEOnAF5Y1AVHQMUhKjpGU 8YVLnYl+fEeCFrcLBxnXLte6Tx3G5dV08ITqs= Received: by 10.210.30.10 with SMTP id d10mr3041259ebd.150.1214492968059; Thu, 26 Jun 2008 08:09:28 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.80]) by mx.google.com with ESMTPS id j8sm156317gvb.1.2008.06.26.08.09.25 (version=SSLv3 cipher=RC4-MD5); Thu, 26 Jun 2008 08:09:26 -0700 (PDT) From: Tom Evans To: Garrett Cooper In-Reply-To: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-KnnqhPdOK9fUgrX+E6Mz" Date: Thu, 26 Jun 2008 16:09:23 +0100 Message-Id: <1214492963.35536.22.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Cc: current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 15:34:34 -0000 --=-KnnqhPdOK9fUgrX+E6Mz Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-06-26 at 06:49 -0700, Garrett Cooper wrote: > Hello, > First off sorry for the cross-post. I typically don't do this > but this is an important question, so please bear with me. I'm just > trying to get more eyes on the subject so I can (maybe) get a reply > quicker... > I'm running 8-CURRENT on my machine and it appears that one of > the disks in my RAID5 array has taken a nose dive (BIOS recognizes > that it exists, but Intel Matrix Manager claims that the disk is an > "Offline Member"). After doing some reading it appears that it's > kaput, so I need to get a replacement disk to fix this one... > That aside, I need to determine how to rebuild the array in a > Unix environment because Intel only provides instructions for how to > use their Windows matrix manager. If anyone can point me to some links > or provide me with some pointers on how to correct this issue, I'd owe > you a lot; in fact the next time you come by Santa Cruz, CA I'll > gladly treat you to some beers or something else you might want :)... > Linux solutions (if there isn't a proper one for FreeBSD) are valid, > as long as the core data remains uncorrupted and I can do what I need > to from a LiveCD. I'm just scared to boot up OS and have it do some > irrevocable operation like fsck -y and assume parity errors are ok or > something along those lines (I don't remember if I set rc.conf to > fsck -y and I know I can change that from single-user mode, but I want > to play things conservatively if at all possible) :\... > Filesystem is UFS2 with softupdates of course. > Point proven that I need to backup my data more often :(... > TIA, > -Garrett >=20 > PS If replying on the questions@ list, please CC me as I'm not > subscribed to that list. I'm fairly sure that Intel Matrix metadata cant be created/modified by fbsd, only read. You should be able to do whatever rebuild operations you need in the BIOS I believe, but that would be an offline operation, clearly. I may be mistaken, and the driver can handle array rebuilds for matrix. If it can, the command you are looking for is 'atacontrol rebuild ar0', see atacontrol(8). Tom --=-KnnqhPdOK9fUgrX+E6Mz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkhjsR4ACgkQlcRvFfyds/d4lACeLPWCwoyIZHBKkcQhtMYbW8o/ lBUAnROU6oAK3x/2uQrGQ2gLpeqwYoqe =8/TM -----END PGP SIGNATURE----- --=-KnnqhPdOK9fUgrX+E6Mz-- From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 15:34:54 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 391951065670; Thu, 26 Jun 2008 15:34:54 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 07CD68FC0C; Thu, 26 Jun 2008 15:34:53 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5QFYphN044396; Thu, 26 Jun 2008 11:34:51 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5QFYpuu060563; Thu, 26 Jun 2008 11:34:51 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 588EF73039; Thu, 26 Jun 2008 11:34:51 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626153451.588EF73039@freebsd-current.sentex.ca> Date: Thu, 26 Jun 2008 11:34:51 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 15:34:54 -0000 TB --- 2008-06-26 14:17:39 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 14:17:39 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2008-06-26 14:17:39 - cleaning the object tree TB --- 2008-06-26 14:18:00 - cvsupping the source tree TB --- 2008-06-26 14:18:00 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2008-06-26 14:18:08 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 14:18:08 - cd /src TB --- 2008-06-26 14:18:08 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 14:18:09 UTC 2008 >>> 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 Thu Jun 26 15:19:59 UTC 2008 TB --- 2008-06-26 15:19:59 - generating LINT kernel config TB --- 2008-06-26 15:19:59 - cd /src/sys/sun4v/conf TB --- 2008-06-26 15:19:59 - /usr/bin/make -B LINT TB --- 2008-06-26 15:19:59 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 15:19:59 - cd /src TB --- 2008-06-26 15:19:59 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 15:19:59 UTC 2008 >>> 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 >>> Kernel build for LINT completed on Thu Jun 26 15:33:03 UTC 2008 TB --- 2008-06-26 15:33:03 - building GENERIC kernel (COPTFLAGS=) TB --- 2008-06-26 15:33:03 - cd /src TB --- 2008-06-26 15:33:03 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Thu Jun 26 15:33:03 UTC 2008 >>> 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 [...] ${NORMAL_CTFCONVERT} expands to empty string cc -c -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/rpc/auth_unix.c /src/sys/rpc/auth_unix.c: In function 'authunix_create': /src/sys/rpc/auth_unix.c:138: error: 'curthread' undeclared (first use in this function) /src/sys/rpc/auth_unix.c:138: error: (Each undeclared identifier is reported only once /src/sys/rpc/auth_unix.c:138: error: for each function it appears in.) /src/sys/rpc/auth_unix.c: In function 'authunix_destroy': /src/sys/rpc/auth_unix.c:322: error: 'curthread' undeclared (first use in this function) *** Error code 1 Stop in /obj/sun4v/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 15:34:51 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 15:34:51 - ERROR: failed to build GENERIC kernel TB --- 2008-06-26 15:34:51 - tinderbox aborted TB --- 3654.75 user 425.27 system 4631.48 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 15:47:40 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E40C41065682 for ; Thu, 26 Jun 2008 15:47:40 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id A415A8FC22 for ; Thu, 26 Jun 2008 15:47:40 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from [10.0.0.128] (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id m5QFldtv096898; Thu, 26 Jun 2008 08:47:40 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <4863BA1B.8070001@freebsd.org> Date: Thu, 26 Jun 2008 08:47:39 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexey Shuvaev References: <20080626110521.GA68764@wep4017.physik.uni-wuerzburg.de> In-Reply-To: <20080626110521.GA68764@wep4017.physik.uni-wuerzburg.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: cpio -dumpl damages the files? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 15:47:41 -0000 Alexey Shuvaev wrote: > > After examining the situation it appeared that math/qtiplot3d-qt4 > have installed damaged include files. In a nutshell the problem is that > bsdcpio damages the files: Ouch. I just committed a fix to SVN. Let me know if it fixes this problem for you. Tim From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 16:00:03 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6E0A1065670 for ; Thu, 26 Jun 2008 16:00:03 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id 4DDB68FC28 for ; Thu, 26 Jun 2008 16:00:02 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AigGANQtY0h5La3NWmdsb2JhbACBW5B8AR2ffA X-IronPort-AV: E=Sophos;i="4.27,709,1204464600"; d="scan'208";a="135942393" Received: from ppp121-45-173-205.lns11.adl2.internode.on.net (HELO mail.clearchain.com) ([121.45.173.205]) by ipmail01.adl6.internode.on.net with ESMTP; 27 Jun 2008 01:14:45 +0930 Received: from [192.168.155.234] (taurus.internal.clearchain.com [192.168.155.234]) (authenticated bits=0) by mail.clearchain.com (8.14.2/8.14.2) with ESMTP id m5QFigHu002053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Jun 2008 01:14:43 +0930 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <4863B968.4040805@clearchain.com> Date: Fri, 27 Jun 2008 01:14:40 +0930 From: Benjamin Close User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Tom Evans References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <1214492963.35536.22.camel@localhost> In-Reply-To: <1214492963.35536.22.camel@localhost> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93.1, clamav-milter version 0.93.1 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (mail.clearchain.com [192.168.154.1]); Fri, 27 Jun 2008 01:14:43 +0930 (CST) Cc: Garrett Cooper , current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 16:00:03 -0000 Tom Evans wrote: > On Thu, 2008-06-26 at 06:49 -0700, Garrett Cooper wrote: > >> Hello, >> First off sorry for the cross-post. I typically don't do this >> but this is an important question, so please bear with me. I'm just >> trying to get more eyes on the subject so I can (maybe) get a reply >> quicker... >> I'm running 8-CURRENT on my machine and it appears that one of >> the disks in my RAID5 array has taken a nose dive (BIOS recognizes >> that it exists, but Intel Matrix Manager claims that the disk is an >> "Offline Member"). After doing some reading it appears that it's >> kaput, so I need to get a replacement disk to fix this one... >> That aside, I need to determine how to rebuild the array in a >> Unix environment because Intel only provides instructions for how to >> use their Windows matrix manager. If anyone can point me to some links >> or provide me with some pointers on how to correct this issue, I'd owe >> you a lot; in fact the next time you come by Santa Cruz, CA I'll >> gladly treat you to some beers or something else you might want :)... >> Linux solutions (if there isn't a proper one for FreeBSD) are valid, >> as long as the core data remains uncorrupted and I can do what I need >> to from a LiveCD. I'm just scared to boot up OS and have it do some >> irrevocable operation like fsck -y and assume parity errors are ok or >> something along those lines (I don't remember if I set rc.conf to >> fsck -y and I know I can change that from single-user mode, but I want >> to play things conservatively if at all possible) :\... >> Filesystem is UFS2 with softupdates of course. >> Point proven that I need to backup my data more often :(... >> TIA, >> -Garrett >> >> PS If replying on the questions@ list, please CC me as I'm not >> subscribed to that list. >> > > I'm fairly sure that Intel Matrix metadata cant be created/modified by > fbsd, only read. You should be able to do whatever rebuild operations > you need in the BIOS I believe, but that would be an offline operation, > clearly. > > I may be mistaken, and the driver can handle array rebuilds for matrix. > If it can, the command you are looking for is 'atacontrol rebuild ar0', > see atacontrol(8). > > Tom > Please DONT use FreeBSD to rebuild this RAID5 unit. FreeBSD will detect it as a raid 5 Unit and even allow you to use it, add the new disk to it and even let you rebuild the raid. However the ata driver does not have support parity for Raid5. From ataraid(4): RAID5 is not supported at this time. Code exists, but it neither uses nor maintains parity information. You can confirm this in code, just look for the Swedish comments in ataraid.c Hence writing to the raidset will give you a glorified raid0. Cheers, Benjamin From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 16:02:36 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE428106566B for ; Thu, 26 Jun 2008 16:02:36 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.72]) by mx1.freebsd.org (Postfix) with ESMTP id 9EB118FC16 for ; Thu, 26 Jun 2008 16:02:31 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtp016-bge351000 (asmtp016-bge351000 [10.150.69.79]) by smtpoutm.mac.com (Xserve/smtpout009/MantshX 4.0) with ESMTP id m5QG2VSm028526; Thu, 26 Jun 2008 09:02:31 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K3200HHKV86Q300@asmtp016.mac.com>; Thu, 26 Jun 2008 09:02:31 -0700 (PDT) Message-id: <52E6C9DE-984A-40C5-80D1-7ECB32081910@mac.com> From: Marcel Moolenaar To: Jeremie Le Hen In-reply-to: <20080626065526.GE15815@obiwan.tataz.chchile.org> Date: Thu, 26 Jun 2008 09:02:30 -0700 References: <20080626062043.19D1073039@freebsd-current.sentex.ca> <20080626065526.GE15815@obiwan.tataz.chchile.org> X-Mailer: Apple Mail (2.924) Cc: i386@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 16:02:36 -0000 On Jun 25, 2008, at 11:55 PM, Jeremie Le Hen wrote: > Hi, > > On Thu, Jun 26, 2008 at 02:20:43AM -0400, FreeBSD Tinderbox wrote: >> vga_isa.o(.text+0x1f7): In function `isavga_probe': >> : undefined reference to `__stack_chk_fail' >> xboxfb.o(.text+0xa79): In function `xboxfb_diag': >> : undefined reference to `__stack_chk_guard' >> xboxfb.o(.text+0xb03): In function `xboxfb_diag': >> : undefined reference to `__stack_chk_guard' >> xboxfb.o(.text+0xb0a): In function `xboxfb_diag': >> : undefined reference to `__stack_chk_fail' >> *** Error code 1 > > This is my bad, sorry. Please apply the following patch: This would enable the code on ia64. Would you mind changing the conditional to #ifndef __ia64__? Thanks, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 17:21:27 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0885F106567B for ; Thu, 26 Jun 2008 17:21:27 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.225]) by mx1.freebsd.org (Postfix) with ESMTP id AA6A58FC21 for ; Thu, 26 Jun 2008 17:21:26 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by wx-out-0506.google.com with SMTP id h27so94400wxd.7 for ; Thu, 26 Jun 2008 10:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=E2kW/ed0WqEAzF2BeBYtVgHg/RcPsRne3jOCIAxgqj4=; b=wX2FZ7LiiR7rSz95xXbRAXd05xAfr2vRX6HmcwnJrT7UHp//joCQGIRnKMbjMszQwa 9X2UxMfmTQaFUneiPLspiN9joD7TzeGrPUAaO8RJJhiIKLQne6nlHCEdAOj6LwxxKAW5 I/TkYDIa7osbeO312fvBg1xuGLpX2po6dDlSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=p8Vc9NQRGO/kZtJHZYcP8JBtmWxgBnZszNlb+kXjBVOt53LlYjF0IrNy/axqbErge4 fd58ogKyS5b/67oZXdxioFc5IvKGnmEsHsQwjMjOpWKvlUQo8Rd0GkKu47YQOjJfl4G8 ZML6NFHT1YZA1/l0ZX7xLz8Sp77NQgdO1SJpo= Received: by 10.150.230.15 with SMTP id c15mr442099ybh.171.1214500886098; Thu, 26 Jun 2008 10:21:26 -0700 (PDT) Received: by 10.151.51.5 with HTTP; Thu, 26 Jun 2008 10:21:26 -0700 (PDT) Message-ID: Date: Thu, 26 Jun 2008 10:21:26 -0700 From: "Freddie Cash" To: current@freebsd.org In-Reply-To: <6.0.0.22.2.20080626094444.02549590@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6.0.0.22.2.20080626091608.0259b610@mail.computinginnovations.com> <32783721.01214490627455.JavaMail.root@tomcat.phantombsd.org> <7d6fde3d0806260738o1dfc5e33o8133d4d8e1f5d812@mail.gmail.com> <6.0.0.22.2.20080626094444.02549590@mail.computinginnovations.com> Cc: Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 17:21:27 -0000 [CC list chopped, sending to just -current] On Thu, Jun 26, 2008 at 7:46 AM, Derek Ragona wrote: > If you are looking to move up, look at the 3ware RAID cards. Not sure which > models work with FreeBSD, but these card do perform very well. The twe(4) driver supports the 7000-series and 8000-series PATA RAID controllers from 3Ware/AMCC. We've used the 7500-series cards in several FreeBSD boxes without issues, in PCI-X and PCI slots. The twa(4) driver supports the 9000-series of SATA RAID controllers, including the 9500s, 9550s, and 9650s. We've used each of those cards, in discrete and multi-lane configurations, in PCI-X and PCIe slots. Work quite nicely. Especially if you have a hot-swappable backplane. We've been very pleased with the 3Ware cards, in both FreeBSD and Debian Linux. Especially their 3dm2 web-based management tool. -- Freddie Cash fjwcash@gmail.com From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 17:27:21 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B82A3106564A; Thu, 26 Jun 2008 17:27:21 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 63A2B8FC31; Thu, 26 Jun 2008 17:27:20 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 766E0198F28; Thu, 26 Jun 2008 19:27:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 6A267198EDD; Thu, 26 Jun 2008 19:27:19 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 41D05A05B8; Thu, 26 Jun 2008 19:27:18 +0200 (CEST) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008062619271735-76511 ; Thu, 26 Jun 2008 19:27:17 +0200 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Thu, 26 Jun 2008 19:27:17 +0200 From: "Alexey Shuvaev" Date: Thu, 26 Jun 2008 19:27:17 +0200 To: Tim Kientzle Message-ID: <20080626172717.GA69658@wep4017.physik.uni-wuerzburg.de> References: <20080626110521.GA68764@wep4017.physik.uni-wuerzburg.de> <4863BA1B.8070001@freebsd.org> MIME-Version: 1.0 In-Reply-To: <4863BA1B.8070001@freebsd.org> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/26/2008 07:27:17 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/26/2008 07:27:19 PM, Serialize complete at 06/26/2008 07:27:19 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: Re: cpio -dumpl damages the files? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 17:27:21 -0000 On Thu, Jun 26, 2008 at 08:47:39AM -0700, Tim Kientzle wrote: > Alexey Shuvaev wrote: >> >> After examining the situation it appeared that math/qtiplot3d-qt4 >> have installed damaged include files. In a nutshell the problem is that >> bsdcpio damages the files: > > Ouch. I just committed a fix to SVN. Let me know > if it fixes this problem for you. > Yes, I have recompiled cpio only and it works now. I have not rebuild the world yet, but I have manually injected new bsdcpio binary into the system and reinstalled math/qwtplot3d-qt4. Now all header files are ok! Thanks, Alexey! From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 18:48:15 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE22D1065679 for ; Thu, 26 Jun 2008 18:48:15 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8466F8FC1A for ; Thu, 26 Jun 2008 18:48:15 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id F35626D437; Thu, 26 Jun 2008 20:30:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6d3mvgKw4Qiw; Thu, 26 Jun 2008 20:30:22 +0200 (CEST) Received: by mx1.rink.nu (Postfix, from userid 1000) id 2FB506D433; Thu, 26 Jun 2008 20:30:22 +0200 (CEST) Date: Thu, 26 Jun 2008 20:30:22 +0200 From: Rink Springer To: Freddie Cash Message-ID: <20080626183022.GV75000@rink.nu> References: <6.0.0.22.2.20080626091608.0259b610@mail.computinginnovations.com> <32783721.01214490627455.JavaMail.root@tomcat.phantombsd.org> <7d6fde3d0806260738o1dfc5e33o8133d4d8e1f5d812@mail.gmail.com> <6.0.0.22.2.20080626094444.02549590@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 18:48:15 -0000 On Thu, Jun 26, 2008 at 10:21:26AM -0700, Freddie Cash wrote: > The twa(4) driver supports the 9000-series of SATA RAID controllers, > including the 9500s, 9550s, and 9650s. We've used each of those > cards, in discrete and multi-lane configurations, in PCI-X and PCIe > slots. Work quite nicely. Especially if you have a hot-swappable > backplane. Do not forget to look at arcmsr(4) too - the monitoring tools are brilliant, the cards are lightning fast and they work like a charm. Very highly recommended! -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 21:53:26 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77A85106564A; Thu, 26 Jun 2008 21:53:26 +0000 (UTC) (envelope-from randy@psg.com) Received: from rip.psg.com (rip.psg.com [IPv6:2001:418:1::39]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9DF8FC15; Thu, 26 Jun 2008 21:53:26 +0000 (UTC) (envelope-from randy@psg.com) Received: from 50.216.138.210.bn.2iij.net ([210.138.216.50] helo=rmac.psg.com) by rip.psg.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KBzPB-0003lu-RP; Thu, 26 Jun 2008 21:53:25 +0000 Message-ID: <48640FD2.4040909@psg.com> Date: Fri, 27 Jun 2008 06:53:22 +0900 From: Randy Bush User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Derek Ragona References: <6.0.0.22.2.20080626091608.0259b610@mail.computinginnovations.com> <32783721.01214490627455.JavaMail.root@tomcat.phantombsd.org> <7d6fde3d0806260738o1dfc5e33o8133d4d8e1f5d812@mail.gmail.com> <6.0.0.22.2.20080626094444.02549590@mail.computinginnovations.com> In-Reply-To: <6.0.0.22.2.20080626094444.02549590@mail.computinginnovations.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, FreeBSD Questions Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 21:53:26 -0000 >> I'm pretty fed up with Intel's ICH9R interface too so I'm hoping >> (crosses fingers) that I'll be able to afford an Adaptec card of some >> flavor that's compatible with -CURRENT. > If you are looking to move up, look at the 3ware RAID cards. Not sure > which models work with FreeBSD, but these card do perform very well. these days, i get the most reliable simple non-raid card and run zfs with a gmirrored root partition. randy From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 22:16:22 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BB1F106566C; Thu, 26 Jun 2008 22:16:22 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB548FC1E; Thu, 26 Jun 2008 22:16:21 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5QMGI5s042616; Thu, 26 Jun 2008 18:16:18 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5QMGIrb020849; Thu, 26 Jun 2008 18:16:18 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 4EC8773039; Thu, 26 Jun 2008 18:16:18 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080626221618.4EC8773039@freebsd-current.sentex.ca> Date: Thu, 26 Jun 2008 18:16:18 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 22:16:22 -0000 TB --- 2008-06-26 20:58:50 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 20:58:50 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2008-06-26 20:58:50 - cleaning the object tree TB --- 2008-06-26 20:59:11 - cvsupping the source tree TB --- 2008-06-26 20:59:11 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2008-06-26 20:59:18 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 20:59:18 - cd /src TB --- 2008-06-26 20:59:18 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 20:59:19 UTC 2008 >>> 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 Thu Jun 26 22:01:29 UTC 2008 TB --- 2008-06-26 22:01:29 - generating LINT kernel config TB --- 2008-06-26 22:01:29 - cd /src/sys/sun4v/conf TB --- 2008-06-26 22:01:29 - /usr/bin/make -B LINT TB --- 2008-06-26 22:01:29 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 22:01:29 - cd /src TB --- 2008-06-26 22:01:29 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 22:01:30 UTC 2008 >>> 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 >>> Kernel build for LINT completed on Thu Jun 26 22:14:29 UTC 2008 TB --- 2008-06-26 22:14:29 - building GENERIC kernel (COPTFLAGS=) TB --- 2008-06-26 22:14:29 - cd /src TB --- 2008-06-26 22:14:29 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Thu Jun 26 22:14:30 UTC 2008 >>> 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 [...] ${NORMAL_CTFCONVERT} expands to empty string cc -c -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/rpc/auth_unix.c /src/sys/rpc/auth_unix.c: In function 'authunix_create': /src/sys/rpc/auth_unix.c:138: error: 'curthread' undeclared (first use in this function) /src/sys/rpc/auth_unix.c:138: error: (Each undeclared identifier is reported only once /src/sys/rpc/auth_unix.c:138: error: for each function it appears in.) /src/sys/rpc/auth_unix.c: In function 'authunix_destroy': /src/sys/rpc/auth_unix.c:322: error: 'curthread' undeclared (first use in this function) *** Error code 1 Stop in /obj/sun4v/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 22:16:18 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 22:16:18 - ERROR: failed to build GENERIC kernel TB --- 2008-06-26 22:16:18 - tinderbox aborted TB --- 3652.19 user 426.14 system 4647.31 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 00:41:13 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B0BB1065679; Fri, 27 Jun 2008 00:41:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9A4308FC1D; Fri, 27 Jun 2008 00:41:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m5R0erBF079104; Thu, 26 Jun 2008 20:40:54 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 26 Jun 2008 20:19:46 -0400 User-Agent: KMail/1.9.7 References: <91492.1214431446@critter.freebsd.dk> <20080626122202.O83875@maildrop.int.zabbadoz.net> <4K5+lNH1xm4QaKlQAizl2ATEu4I@w17qTvyS5I3zcalA0LVEglQwDKY> In-Reply-To: <4K5+lNH1xm4QaKlQAizl2ATEu4I@w17qTvyS5I3zcalA0LVEglQwDKY> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806262019.47095.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Thu, 26 Jun 2008 20:40:57 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7574/Thu Jun 26 17:01:05 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: "Bjoern A. Zeeb" , Poul-Henning Kamp , Pawel Jakub Dawidek , FreeBSD current mailing list Subject: Re: panic in geom (spindown + eil + journal) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 00:41:13 -0000 On Thursday 26 June 2008 09:59:56 am Eygene Ryabinkin wrote: > Bjoern, good day. > > Thu, Jun 26, 2008 at 12:26:42PM +0000, Bjoern A. Zeeb wrote: > > I guess some pointer artimetic or anything went wrong here for some > > reason. ad0 is a simple hdd with a few slices with different, mostly > > FreeBSD, installations. ad8 has, as seen above, eli on the disk and > > one standard gjournaled UFS on top of that. > > May be provider's geom data was trashed in some way. > > > Is there any information I could try to find out to find that bug. > > I had done the same thing hundreds of times before, the only new thing > > from yesterday on was the spindown on 2 of 3 disks. > > Any chances to compile debug kernel with KDB/DDB > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html > > and when system will panic and debugger will be invoked, issue > commands 'p *(bp->bio_offset)' and 'p *(cp->provider)' at the stack > frame corresponding to the function g_io_request? Note that DDB can't handle structure dereferences like that (nor evaluate symbols for local variables), you'll need to get a crash dump and use kgdb for that sort of thing. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 00:41:13 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B0BB1065679; Fri, 27 Jun 2008 00:41:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9A4308FC1D; Fri, 27 Jun 2008 00:41:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m5R0erBF079104; Thu, 26 Jun 2008 20:40:54 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 26 Jun 2008 20:19:46 -0400 User-Agent: KMail/1.9.7 References: <91492.1214431446@critter.freebsd.dk> <20080626122202.O83875@maildrop.int.zabbadoz.net> <4K5+lNH1xm4QaKlQAizl2ATEu4I@w17qTvyS5I3zcalA0LVEglQwDKY> In-Reply-To: <4K5+lNH1xm4QaKlQAizl2ATEu4I@w17qTvyS5I3zcalA0LVEglQwDKY> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806262019.47095.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Thu, 26 Jun 2008 20:40:57 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7574/Thu Jun 26 17:01:05 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: "Bjoern A. Zeeb" , Poul-Henning Kamp , Pawel Jakub Dawidek , FreeBSD current mailing list Subject: Re: panic in geom (spindown + eil + journal) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 00:41:13 -0000 On Thursday 26 June 2008 09:59:56 am Eygene Ryabinkin wrote: > Bjoern, good day. > > Thu, Jun 26, 2008 at 12:26:42PM +0000, Bjoern A. Zeeb wrote: > > I guess some pointer artimetic or anything went wrong here for some > > reason. ad0 is a simple hdd with a few slices with different, mostly > > FreeBSD, installations. ad8 has, as seen above, eli on the disk and > > one standard gjournaled UFS on top of that. > > May be provider's geom data was trashed in some way. > > > Is there any information I could try to find out to find that bug. > > I had done the same thing hundreds of times before, the only new thing > > from yesterday on was the spindown on 2 of 3 disks. > > Any chances to compile debug kernel with KDB/DDB > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html > > and when system will panic and debugger will be invoked, issue > commands 'p *(bp->bio_offset)' and 'p *(cp->provider)' at the stack > frame corresponding to the function g_io_request? Note that DDB can't handle structure dereferences like that (nor evaluate symbols for local variables), you'll need to get a crash dump and use kgdb for that sort of thing. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 02:15:26 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D69F1065674; Fri, 27 Jun 2008 02:15:26 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 557D98FC17; Fri, 27 Jun 2008 02:15:26 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K33001ZNM7A3RN0@mta5.srv.hcvlny.cv.net>; Thu, 26 Jun 2008 21:45:11 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m5R1j9d3000510; Thu, 26 Jun 2008 21:45:09 -0400 Date: Thu, 26 Jun 2008 21:45:09 -0400 From: "Aryeh M. Friedman" In-reply-to: <20080626221618.4EC8773039@freebsd-current.sentex.ca> To: FreeBSD Tinderbox Message-id: <48644625.6080906@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <20080626221618.4EC8773039@freebsd-current.sentex.ca> User-Agent: Thunderbird 2.0.0.14 (X11/20080607) Cc: current@freebsd.org, sparc64@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 02:15:26 -0000 I don't know if tinderbox has already reported this but I get the same error on i386 FreeBSD Tinderbox wrote: > TB --- 2008-06-26 20:58:50 - tinderbox 2.3 running on freebsd-current.sentex.ca > TB --- 2008-06-26 20:58:50 - starting HEAD tinderbox run for sparc64/sun4v > TB --- 2008-06-26 20:58:50 - cleaning the object tree > TB --- 2008-06-26 20:59:11 - cvsupping the source tree > TB --- 2008-06-26 20:59:11 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile > TB --- 2008-06-26 20:59:18 - building world (CFLAGS=-O -pipe) > TB --- 2008-06-26 20:59:18 - cd /src > TB --- 2008-06-26 20:59:18 - /usr/bin/make -B buildworld > >>>> World build started on Thu Jun 26 20:59:19 UTC 2008 >>>> 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 Thu Jun 26 22:01:29 UTC 2008 >>>> > TB --- 2008-06-26 22:01:29 - generating LINT kernel config > TB --- 2008-06-26 22:01:29 - cd /src/sys/sun4v/conf > TB --- 2008-06-26 22:01:29 - /usr/bin/make -B LINT > TB --- 2008-06-26 22:01:29 - building LINT kernel (COPTFLAGS=) > TB --- 2008-06-26 22:01:29 - cd /src > TB --- 2008-06-26 22:01:29 - /usr/bin/make -B buildkernel KERNCONF=LINT > >>>> Kernel build for LINT started on Thu Jun 26 22:01:30 UTC 2008 >>>> 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 >>>> Kernel build for LINT completed on Thu Jun 26 22:14:29 UTC 2008 >>>> > TB --- 2008-06-26 22:14:29 - building GENERIC kernel (COPTFLAGS=) > TB --- 2008-06-26 22:14:29 - cd /src > TB --- 2008-06-26 22:14:29 - /usr/bin/make -B buildkernel KERNCONF=GENERIC > >>>> Kernel build for GENERIC started on Thu Jun 26 22:14:30 UTC 2008 >>>> 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 >>>> > [...] > ${NORMAL_CTFCONVERT} expands to empty string > cc -c -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/rpc/auth_unix.c > /src/sys/rpc/auth_unix.c: In function 'authunix_create': > /src/sys/rpc/auth_unix.c:138: error: 'curthread' undeclared (first use in this function) > /src/sys/rpc/auth_unix.c:138: error: (Each undeclared identifier is reported only once > /src/sys/rpc/auth_unix.c:138: error: for each function it appears in.) > /src/sys/rpc/auth_unix.c: In function 'authunix_destroy': > /src/sys/rpc/auth_unix.c:322: error: 'curthread' undeclared (first use in this function) > *** Error code 1 > > Stop in /obj/sun4v/src/sys/GENERIC. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > TB --- 2008-06-26 22:16:18 - WARNING: /usr/bin/make returned exit code 1 > TB --- 2008-06-26 22:16:18 - ERROR: failed to build GENERIC kernel > TB --- 2008-06-26 22:16:18 - tinderbox aborted > TB --- 3652.19 user 426.14 system 4647.31 real > > > http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 03:04:45 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCA09106566C for ; Fri, 27 Jun 2008 03:04:45 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 57F408FC0A for ; Fri, 27 Jun 2008 03:04:45 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so178435fgb.35 for ; Thu, 26 Jun 2008 20:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=29m0NNsYN8H3CxRYafC8iEpi0HYMsft/WjiHb/pQmAk=; b=n7VQ7txnVO04RF9RB1NzYxhrPqJw5iUzD9zq08HBjd+VvgEncxVTWuyqp52rCqY6bD pH1+kQkmN01q+PkOnjIE2DS66Rgw5O+v5JECde+j5ja8U7sR+Tbs//XoYStCG8urvIP4 z0L/qVATse/2zP0yTSeksKmUCsj7//vex4zfk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XP5QSYPjQlo5toNoB+Q8Tos0MhKagLSnsNpOk0ltsurP/xXtzCGtrngysRPjtA/wtK Tp2nrSWAlMeWLlmpJ4o7x9aoG7K1sLlBIhXqMprp30COJ3Ig/TzpFj/pYT2d9G84dPb6 MZo5tCaDxqoKI+VpXwNalnyQtK+045jSnUXwc= Received: by 10.86.59.18 with SMTP id h18mr1102863fga.30.1214535883166; Thu, 26 Jun 2008 20:04:43 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Thu, 26 Jun 2008 20:04:43 -0700 (PDT) Message-ID: <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> Date: Thu, 26 Jun 2008 20:04:43 -0700 From: "Garrett Cooper" To: "Benjamin Close" In-Reply-To: <4863B968.4040805@clearchain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <1214492963.35536.22.camel@localhost> <4863B968.4040805@clearchain.com> Cc: Tom Evans , current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 03:04:46 -0000 On Thu, Jun 26, 2008 at 8:44 AM, Benjamin Close wrote: > Tom Evans wrote: >> >> On Thu, 2008-06-26 at 06:49 -0700, Garrett Cooper wrote: >> >>> >>> Hello, >>> First off sorry for the cross-post. I typically don't do this >>> but this is an important question, so please bear with me. I'm just >>> trying to get more eyes on the subject so I can (maybe) get a reply >>> quicker... >>> I'm running 8-CURRENT on my machine and it appears that one of >>> the disks in my RAID5 array has taken a nose dive (BIOS recognizes >>> that it exists, but Intel Matrix Manager claims that the disk is an >>> "Offline Member"). After doing some reading it appears that it's >>> kaput, so I need to get a replacement disk to fix this one... >>> That aside, I need to determine how to rebuild the array in a >>> Unix environment because Intel only provides instructions for how to >>> use their Windows matrix manager. If anyone can point me to some links >>> or provide me with some pointers on how to correct this issue, I'd owe >>> you a lot; in fact the next time you come by Santa Cruz, CA I'll >>> gladly treat you to some beers or something else you might want :)... >>> Linux solutions (if there isn't a proper one for FreeBSD) are valid, >>> as long as the core data remains uncorrupted and I can do what I need >>> to from a LiveCD. I'm just scared to boot up OS and have it do some >>> irrevocable operation like fsck -y and assume parity errors are ok or >>> something along those lines (I don't remember if I set rc.conf to >>> fsck -y and I know I can change that from single-user mode, but I want >>> to play things conservatively if at all possible) :\... >>> Filesystem is UFS2 with softupdates of course. >>> Point proven that I need to backup my data more often :(... >>> TIA, >>> -Garrett >>> >>> PS If replying on the questions@ list, please CC me as I'm not >>> subscribed to that list. >>> >> >> I'm fairly sure that Intel Matrix metadata cant be created/modified by >> fbsd, only read. You should be able to do whatever rebuild operations >> you need in the BIOS I believe, but that would be an offline operation, >> clearly. >> >> I may be mistaken, and the driver can handle array rebuilds for matrix. >> If it can, the command you are looking for is 'atacontrol rebuild ar0', >> see atacontrol(8). >> >> Tom >> > > Please DONT use FreeBSD to rebuild this RAID5 unit. FreeBSD will detect it > as a raid 5 Unit and even allow you to use it, add the new disk to it and > even let you rebuild the raid. > However the ata driver does not have support parity for Raid5. From > ataraid(4): > > RAID5 is not supported at this time. Code exists, but it neither uses > nor maintains parity information. > > You can confirm this in code, just look for the Swedish comments in > ataraid.c > Hence writing to the raidset will give you a glorified raid0. > > Cheers, > Benjamin So.. wait a sec? Are you saying I'm fscked because my RAID5 is nothing more than RAID0 under FreeBSD?!?! -Garrett From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 05:01:05 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0C761065673; Fri, 27 Jun 2008 05:01:05 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id A05AB8FC13; Fri, 27 Jun 2008 05:01:05 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5R512IE067658; Fri, 27 Jun 2008 01:01:02 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5R51223016633; Fri, 27 Jun 2008 01:01:02 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 5E40C73039; Fri, 27 Jun 2008 01:01:02 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080627050102.5E40C73039@freebsd-current.sentex.ca> Date: Fri, 27 Jun 2008 01:01:02 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 05:01:06 -0000 TB --- 2008-06-27 03:43:30 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-27 03:43:30 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2008-06-27 03:43:30 - cleaning the object tree TB --- 2008-06-27 03:43:55 - cvsupping the source tree TB --- 2008-06-27 03:43:55 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2008-06-27 03:44:01 - building world (CFLAGS=-O -pipe) TB --- 2008-06-27 03:44:01 - cd /src TB --- 2008-06-27 03:44:01 - /usr/bin/make -B buildworld >>> World build started on Fri Jun 27 03:44:03 UTC 2008 >>> 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 Fri Jun 27 04:46:09 UTC 2008 TB --- 2008-06-27 04:46:09 - generating LINT kernel config TB --- 2008-06-27 04:46:09 - cd /src/sys/sun4v/conf TB --- 2008-06-27 04:46:09 - /usr/bin/make -B LINT TB --- 2008-06-27 04:46:09 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-27 04:46:09 - cd /src TB --- 2008-06-27 04:46:09 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Jun 27 04:46:09 UTC 2008 >>> 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 >>> Kernel build for LINT completed on Fri Jun 27 04:59:14 UTC 2008 TB --- 2008-06-27 04:59:14 - building GENERIC kernel (COPTFLAGS=) TB --- 2008-06-27 04:59:14 - cd /src TB --- 2008-06-27 04:59:14 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Fri Jun 27 04:59:14 UTC 2008 >>> 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 [...] ${NORMAL_CTFCONVERT} expands to empty string cc -c -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/rpc/auth_unix.c /src/sys/rpc/auth_unix.c: In function 'authunix_create': /src/sys/rpc/auth_unix.c:138: error: 'curthread' undeclared (first use in this function) /src/sys/rpc/auth_unix.c:138: error: (Each undeclared identifier is reported only once /src/sys/rpc/auth_unix.c:138: error: for each function it appears in.) /src/sys/rpc/auth_unix.c: In function 'authunix_destroy': /src/sys/rpc/auth_unix.c:322: error: 'curthread' undeclared (first use in this function) *** Error code 1 Stop in /obj/sun4v/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-27 05:01:02 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-27 05:01:02 - ERROR: failed to build GENERIC kernel TB --- 2008-06-27 05:01:02 - tinderbox aborted TB --- 3652.29 user 426.50 system 4651.34 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 05:08:26 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 337CF1065679 for ; Fri, 27 Jun 2008 05:08:26 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id ACEA08FC18 for ; Fri, 27 Jun 2008 05:08:25 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqUFALARZEh5La3N/2dsb2JhbACBW7Eg X-IronPort-AV: E=Sophos;i="4.27,714,1204464600"; d="scan'208";a="136463018" Received: from ppp121-45-173-205.lns11.adl2.internode.on.net (HELO mail.clearchain.com) ([121.45.173.205]) by ipmail01.adl6.internode.on.net with ESMTP; 27 Jun 2008 14:38:22 +0930 Received: from [192.168.0.129] (wcl.ml.unisa.edu.au [130.220.166.5]) (authenticated bits=0) by mail.clearchain.com (8.14.2/8.14.2) with ESMTP id m5R58Ec5011582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Jun 2008 14:38:19 +0930 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <486475BD.9030601@clearchain.com> Date: Fri, 27 Jun 2008 14:38:13 +0930 From: Benjamin Close User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Garrett Cooper References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <1214492963.35536.22.camel@localhost> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> In-Reply-To: <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93.1, clamav-milter version 0.93.1 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (mail.clearchain.com [192.168.154.1]); Fri, 27 Jun 2008 14:38:20 +0930 (CST) Cc: Tom Evans , current@freebsd.org, sos@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 05:08:26 -0000 Garrett Cooper wrote: > On Thu, Jun 26, 2008 at 8:44 AM, Benjamin Close > wrote: > >> Tom Evans wrote: >> >>> On Thu, 2008-06-26 at 06:49 -0700, Garrett Cooper wrote: >>> >>> >>>> Hello, >>>> First off sorry for the cross-post. I typically don't do this >>>> but this is an important question, so please bear with me. I'm just >>>> trying to get more eyes on the subject so I can (maybe) get a reply >>>> quicker... >>>> I'm running 8-CURRENT on my machine and it appears that one of >>>> the disks in my RAID5 array has taken a nose dive (BIOS recognizes >>>> that it exists, but Intel Matrix Manager claims that the disk is an >>>> "Offline Member"). After doing some reading it appears that it's >>>> kaput, so I need to get a replacement disk to fix this one... >>>> That aside, I need to determine how to rebuild the array in a >>>> Unix environment because Intel only provides instructions for how to >>>> use their Windows matrix manager. If anyone can point me to some links >>>> or provide me with some pointers on how to correct this issue, I'd owe >>>> you a lot; in fact the next time you come by Santa Cruz, CA I'll >>>> gladly treat you to some beers or something else you might want :)... >>>> Linux solutions (if there isn't a proper one for FreeBSD) are valid, >>>> as long as the core data remains uncorrupted and I can do what I need >>>> to from a LiveCD. I'm just scared to boot up OS and have it do some >>>> irrevocable operation like fsck -y and assume parity errors are ok or >>>> something along those lines (I don't remember if I set rc.conf to >>>> fsck -y and I know I can change that from single-user mode, but I want >>>> to play things conservatively if at all possible) :\... >>>> Filesystem is UFS2 with softupdates of course. >>>> Point proven that I need to backup my data more often :(... >>>> TIA, >>>> -Garrett >>>> >>>> PS If replying on the questions@ list, please CC me as I'm not >>>> subscribed to that list. >>>> >>>> >>> I'm fairly sure that Intel Matrix metadata cant be created/modified by >>> fbsd, only read. You should be able to do whatever rebuild operations >>> you need in the BIOS I believe, but that would be an offline operation, >>> clearly. >>> >>> I may be mistaken, and the driver can handle array rebuilds for matrix. >>> If it can, the command you are looking for is 'atacontrol rebuild ar0', >>> see atacontrol(8). >>> >>> Tom >>> >>> >> Please DONT use FreeBSD to rebuild this RAID5 unit. FreeBSD will detect it >> as a raid 5 Unit and even allow you to use it, add the new disk to it and >> even let you rebuild the raid. >> However the ata driver does not have support parity for Raid5. From >> ataraid(4): >> >> RAID5 is not supported at this time. Code exists, but it neither uses >> nor maintains parity information. >> >> You can confirm this in code, just look for the Swedish comments in >> ataraid.c >> Hence writing to the raidset will give you a glorified raid0. >> >> Cheers, >> Benjamin >> > > So.. wait a sec? Are you saying I'm fscked because my RAID5 is nothing > more than RAID0 under FreeBSD?!?! > If you've been writing to the RAID5 under FreeBSD, then yes. You've got a glorified paper weight and sadly your data is most likely lost. I've had a bug report http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/106431 unanswered for some time about at least warning users about this. For the future I'd recommend either zfs of the geom suite (gmirror, etc). Benjamin From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 05:50:01 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77E551065675; Fri, 27 Jun 2008 05:50:01 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id A85208FC14; Fri, 27 Jun 2008 05:50:00 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp121-45-40-221.lns10.adl2.internode.on.net [121.45.40.221]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id m5R5LPom036723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 27 Jun 2008 14:51:25 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Fri, 27 Jun 2008 14:51:20 +0930 User-Agent: KMail/1.9.7 References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> In-Reply-To: <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3751908.aJ695zLLaM"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200806271451.22639.doconnor@gsoft.com.au> X-Spam-Score: -2.212 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: Tom Evans , Garrett Cooper , Benjamin Close , current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 05:50:01 -0000 --nextPart3751908.aJ695zLLaM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 27 Jun 2008, Garrett Cooper wrote: > So.. wait a sec? Are you saying I'm fscked because my RAID5 is > nothing more than RAID0 under FreeBSD?!?! If you're using ATA RAID, yes. However I think you are using iir (so says your subject) so I don't=20 think that applies. Unfortunately I have 0 iir experience :( There is no control utility mentioned in the iic(4) man page so I think=20 you have to do everything with the BIOS. If it isn't possible to do it in the BIOS then that is a pretty serious=20 flaw and you are probably SOL :( =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart3751908.aJ695zLLaM Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iD8DBQBIZHjS5ZPcIHs/zowRAowdAJ46FpFQWIUJnEsL0BiYyZEXNcUwoACfbhJs hsyhapzNO9PHDH6KbmxUjAE= =n02h -----END PGP SIGNATURE----- --nextPart3751908.aJ695zLLaM-- From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 05:50:01 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77E551065675; Fri, 27 Jun 2008 05:50:01 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id A85208FC14; Fri, 27 Jun 2008 05:50:00 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp121-45-40-221.lns10.adl2.internode.on.net [121.45.40.221]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id m5R5LPom036723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 27 Jun 2008 14:51:25 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Fri, 27 Jun 2008 14:51:20 +0930 User-Agent: KMail/1.9.7 References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> In-Reply-To: <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3751908.aJ695zLLaM"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200806271451.22639.doconnor@gsoft.com.au> X-Spam-Score: -2.212 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: Tom Evans , Garrett Cooper , Benjamin Close , current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 05:50:01 -0000 --nextPart3751908.aJ695zLLaM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 27 Jun 2008, Garrett Cooper wrote: > So.. wait a sec? Are you saying I'm fscked because my RAID5 is > nothing more than RAID0 under FreeBSD?!?! If you're using ATA RAID, yes. However I think you are using iir (so says your subject) so I don't=20 think that applies. Unfortunately I have 0 iir experience :( There is no control utility mentioned in the iic(4) man page so I think=20 you have to do everything with the BIOS. If it isn't possible to do it in the BIOS then that is a pretty serious=20 flaw and you are probably SOL :( =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart3751908.aJ695zLLaM Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iD8DBQBIZHjS5ZPcIHs/zowRAowdAJ46FpFQWIUJnEsL0BiYyZEXNcUwoACfbhJs hsyhapzNO9PHDH6KbmxUjAE= =n02h -----END PGP SIGNATURE----- --nextPart3751908.aJ695zLLaM-- From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 08:04:18 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 097E51065673 for ; Fri, 27 Jun 2008 08:04:18 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 96AF48FC16 for ; Fri, 27 Jun 2008 08:04:17 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m5QEIIP2041368; Thu, 26 Jun 2008 09:18:19 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080626091608.0259b610@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 26 Jun 2008 09:18:16 -0500 To: "Garrett Cooper" , current@freebsd.org, "FreeBSD Questions" From: Derek Ragona In-Reply-To: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com > References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080626-0, 06/26/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93/6806/Wed Apr 16 15:50:16 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m5QEIIP2041368 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 08:04:18 -0000 At 08:49 AM 6/26/2008, Garrett Cooper wrote: >Hello, > First off sorry for the cross-post. I typically don't do this >but this is an important question, so please bear with me. I'm just >trying to get more eyes on the subject so I can (maybe) get a reply >quicker... > I'm running 8-CURRENT on my machine and it appears that one of >the disks in my RAID5 array has taken a nose dive (BIOS recognizes >that it exists, but Intel Matrix Manager claims that the disk is an >"Offline Member"). After doing some reading it appears that it's >kaput, so I need to get a replacement disk to fix this one... > That aside, I need to determine how to rebuild the array in a >Unix environment because Intel only provides instructions for how to >use their Windows matrix manager. If anyone can point me to some links >or provide me with some pointers on how to correct this issue, I'd owe >you a lot; in fact the next time you come by Santa Cruz, CA I'll >gladly treat you to some beers or something else you might want :)... >Linux solutions (if there isn't a proper one for FreeBSD) are valid, >as long as the core data remains uncorrupted and I can do what I need >to from a LiveCD. I'm just scared to boot up OS and have it do some >irrevocable operation like fsck -y and assume parity errors are ok or >something along those lines (I don't remember if I set rc.conf to >fsck -y and I know I can change that from single-user mode, but I want >to play things conservatively if at all possible) :\... > Filesystem is UFS2 with softupdates of course. > Point proven that I need to backup my data more often :(... >TIA, >-Garrett > >PS If replying on the questions@ list, please CC me as I'm not >subscribed to that list. Most of the intel RAID functions can be accessed through the BIOS console too. It isn't as pretty as the GUI versions but has the same functions. The drives are labeled so the RAID controller will know a drive was replaced. You just need to tell the controller to add it to the array and rebuild the array. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 08:30:08 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05D561065675; Fri, 27 Jun 2008 08:30:08 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id B41BC8FC0C; Fri, 27 Jun 2008 08:30:07 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=O7JtHpJYJCeDh/1kcCoQH5SC66gmVEWKm7Gq3Jmb47j0CO5P12+4ATgtacCJdwjXnohG4jVXzB+zCihjob8FbWk9f+zSfGxtQg1KCM30vM+bwUbOcUKZhxDxCwqn9BDpkNOZU7lh8H6a3SFM30TBtoslwi69QAp6r3pUA3TsxRA=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KC9LK-000Ck4-6F; Fri, 27 Jun 2008 12:30:06 +0400 Date: Fri, 27 Jun 2008 12:30:04 +0400 From: Eygene Ryabinkin To: John Baldwin Message-ID: References: <91492.1214431446@critter.freebsd.dk> <20080626122202.O83875@maildrop.int.zabbadoz.net> <4K5+lNH1xm4QaKlQAizl2ATEu4I@w17qTvyS5I3zcalA0LVEglQwDKY> <200806262019.47095.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200806262019.47095.jhb@freebsd.org> Sender: rea-fbsd@codelabs.ru Cc: "Bjoern A. Zeeb" , Poul-Henning Kamp , freebsd-current@freebsd.org, Pawel Jakub Dawidek , FreeBSD current mailing list Subject: Re: panic in geom (spindown + eil + journal) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 08:30:08 -0000 Thu, Jun 26, 2008 at 08:19:46PM -0400, John Baldwin wrote: > > and when system will panic and debugger will be invoked, issue > > commands 'p *(bp->bio_offset)' and 'p *(cp->provider)' at the stack > > frame corresponding to the function g_io_request? > > Note that DDB can't handle structure dereferences like that (nor evaluate > symbols for local variables), you'll need to get a crash dump and use kgdb > for that sort of thing. Yes, you're right -- thanks for correcting me. Bjoern, can you obtain the crash dump and see what is inside the passed structures? -- Eygene Remember that it is hard to read the on-line manual while single-stepping the kernel. -- FreeBSD Developers handbook From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 08:30:08 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05D561065675; Fri, 27 Jun 2008 08:30:08 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id B41BC8FC0C; Fri, 27 Jun 2008 08:30:07 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=O7JtHpJYJCeDh/1kcCoQH5SC66gmVEWKm7Gq3Jmb47j0CO5P12+4ATgtacCJdwjXnohG4jVXzB+zCihjob8FbWk9f+zSfGxtQg1KCM30vM+bwUbOcUKZhxDxCwqn9BDpkNOZU7lh8H6a3SFM30TBtoslwi69QAp6r3pUA3TsxRA=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KC9LK-000Ck4-6F; Fri, 27 Jun 2008 12:30:06 +0400 Date: Fri, 27 Jun 2008 12:30:04 +0400 From: Eygene Ryabinkin To: John Baldwin Message-ID: References: <91492.1214431446@critter.freebsd.dk> <20080626122202.O83875@maildrop.int.zabbadoz.net> <4K5+lNH1xm4QaKlQAizl2ATEu4I@w17qTvyS5I3zcalA0LVEglQwDKY> <200806262019.47095.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200806262019.47095.jhb@freebsd.org> Sender: rea-fbsd@codelabs.ru Cc: "Bjoern A. Zeeb" , Poul-Henning Kamp , freebsd-current@freebsd.org, Pawel Jakub Dawidek , FreeBSD current mailing list Subject: Re: panic in geom (spindown + eil + journal) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 08:30:08 -0000 Thu, Jun 26, 2008 at 08:19:46PM -0400, John Baldwin wrote: > > and when system will panic and debugger will be invoked, issue > > commands 'p *(bp->bio_offset)' and 'p *(cp->provider)' at the stack > > frame corresponding to the function g_io_request? > > Note that DDB can't handle structure dereferences like that (nor evaluate > symbols for local variables), you'll need to get a crash dump and use kgdb > for that sort of thing. Yes, you're right -- thanks for correcting me. Bjoern, can you obtain the crash dump and see what is inside the passed structures? -- Eygene Remember that it is hard to read the on-line manual while single-stepping the kernel. -- FreeBSD Developers handbook From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 09:40:07 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A50B9106567A; Fri, 27 Jun 2008 09:40:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 56FAE8FC14; Fri, 27 Jun 2008 09:40:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id B135C41C74D; Fri, 27 Jun 2008 11:40:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 558bt4gV7d3a; Fri, 27 Jun 2008 11:40:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 49FBB41C756; Fri, 27 Jun 2008 11:40:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 2173144487F; Fri, 27 Jun 2008 09:38:59 +0000 (UTC) Date: Fri, 27 Jun 2008 09:38:59 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Eygene Ryabinkin In-Reply-To: Message-ID: <20080627092914.L83875@maildrop.int.zabbadoz.net> References: <91492.1214431446@critter.freebsd.dk> <20080626122202.O83875@maildrop.int.zabbadoz.net> <4K5+lNH1xm4QaKlQAizl2ATEu4I@w17qTvyS5I3zcalA0LVEglQwDKY> <200806262019.47095.jhb@freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Poul-Henning Kamp , Pawel Jakub Dawidek , FreeBSD current mailing list Subject: Re: panic in geom (spindown + eil + journal) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 09:40:07 -0000 On Fri, 27 Jun 2008, Eygene Ryabinkin wrote: Hi Eygene, > Thu, Jun 26, 2008 at 08:19:46PM -0400, John Baldwin wrote: >>> and when system will panic and debugger will be invoked, issue >>> commands 'p *(bp->bio_offset)' and 'p *(cp->provider)' at the stack >>> frame corresponding to the function g_io_request? >> >> Note that DDB can't handle structure dereferences like that (nor evaluate >> symbols for local variables), you'll need to get a crash dump and use kgdb >> for that sort of thing. > > Yes, you're right -- thanks for correcting me. Bjoern, can you obtain > the crash dump and see what is inside the passed structures? Thanks for your replies but it seems you missed the initial messages? Basically I am not asking how to get you two values out of a kernel dump but what to check in the larger picture. Nonetheless: ... #26 0xffffffff802e8381 in panic (fmt=Variable "fmt" is not available. ) at /local/building/freebsd/HEAD.commit/sys/kern/kern_shutdown.c:572 #27 0xffffffff80297afb in g_io_request (bp=0xffffff0036a88948, cp=0xffffff0005c13900) at /local/building/freebsd/HEAD.commit/sys/geom/geom_io.c:356 #28 0xffffffff8029a524 in g_slice_start (bp=0xffffff004ba34948) at /local/building/freebsd/HEAD.commit/sys/geom/geom_slice.c:270 #29 0xffffffff802987c9 in g_io_schedule_down (tp=Variable "tp" is not available. ) at /local/building/freebsd/HEAD.commit/sys/geom/geom_io.c:540 #30 0xffffffff80298bf8 in g_down_procbody () at /local/building/freebsd/HEAD.commit/sys/geom/geom_kern.c:118 #31 0xffffffff802c797a in fork_exit (callout=0xffffffff80298b80 , arg=0x0, frame=0xffffffff80c65c80) at /local/building/freebsd/HEAD.commit/sys/kern/kern_fork.c:818 #32 0xffffffff80569bbe in fork_trampoline () at /local/building/freebsd/HEAD.commit/sys/amd64/amd64/exception.S:521 ... (kgdb) p *(struct bio *)bp $2 = {bio_cmd = 1 '\001', bio_flags = 0 '\0', bio_cflags = 0 '\0', bio_pflags = 0 '\0', bio_dev = 0x0, bio_disk = 0x0, bio_offset = 671299584, bio_bcount = 0, bio_data = 0xffffff005d004000 "..."..., bio_error = 0, bio_resid = 0, bio_done = 0, bio_driver1 = 0x0, bio_driver2 = 0x0, bio_caller1 = 0x0, bio_caller2 = 0x0, bio_queue = {tqe_next = 0x0, tqe_prev = 0xffffffff807dc960}, bio_attribute = 0x0, bio_from = 0xffffff0005c12780, bio_to = 0xffffff0005067200, bio_length = 2048, bio_completed = 0, bio_children = 1, bio_inbed = 0, bio_parent = 0x0, bio_t0 = {sec = 151220, frac = 9129407584079866780}, bio_task = 0, bio_task_arg = 0x0, bio_pblkno = 0} (kgdb) frame 27 #27 0xffffffff80297afb in g_io_request (bp=0xffffff0036a88948, cp=0xffffff0005c13900) at /local/building/freebsd/HEAD.commit/sys/geom/geom_io.c:356 356 KASSERT(bp->bio_offset % cp->provider->sectorsize == 0, (kgdb) p *(struct bio *)bp $3 = {bio_cmd = 1 '\001', bio_flags = 0 '\0', bio_cflags = 0 '\0', bio_pflags = 0 '\0', bio_dev = 0x0, bio_disk = 0x0, bio_offset = 671299584, bio_bcount = 0, bio_data = 0xffffff005d004000 "..."..., bio_error = 0, bio_resid = 0, bio_done = 0xffffffff8029c590 , bio_driver1 = 0x0, bio_driver2 = 0x0, bio_caller1 = 0x0, bio_caller2 = 0x0, bio_queue = {tqe_next = 0x0, tqe_prev = 0x0}, bio_attribute = 0x0, bio_from = 0x0, bio_to = 0x0, bio_length = 2048, bio_completed = 0, bio_children = 0, bio_inbed = 0, bio_parent = 0xffffff004ba34948, bio_t0 = {sec = 0, frac = 0}, bio_task = 0, bio_task_arg = 0x0, bio_pblkno = 0} (kgdb) p *(struct g_consumer *)cp $4 = {geom = 0xffffff0051df1c00, consumer = {le_next = 0x0, le_prev = 0xffffff0051df1c20}, provider = 0xffffff0016265c00, consumers = {le_next = 0xffffff005d82e580, le_prev = 0xffffff0016265c20}, acr = 1, acw = 0, ace = 1, spoiled = 0, stat = 0xffffff0001ec5b40, nstart = 12, nend = 12, private = 0x0, index = 0} (kgdb) p *(struct g_provider *)0xffffff0016265c00 $5 = {name = 0xffffff0016265c88 "acd0t01", provider = {le_next = 0xffffff0001ef8a00, le_prev = 0xffffff0001ef8b28}, geom = 0xffffff0001ef8b00, consumers = { lh_first = 0xffffff0005c13900}, acr = 1, acw = 0, ace = 1, error = 0, orphan = {tqe_next = 0x0, tqe_prev = 0x0}, mediasize = 0, sectorsize = 2352, stripesize = 0, stripeoffset = 0, stat = 0xffffff0001ec55a0, nstart = 35, nend = 35, flags = 0, private = 0x0, index = 1} Again, during the time of panic there were no more CDs in either acd0 or acd1. There had been some in a day before (no reboot in that timeframe). Greetings Bjoern -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 11:47:57 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57CCE106566B; Fri, 27 Jun 2008 11:47:57 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 391FF8FC1B; Fri, 27 Jun 2008 11:47:57 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5RBlsrs013046; Fri, 27 Jun 2008 07:47:54 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5RBlrwd039167; Fri, 27 Jun 2008 07:47:54 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id C756E73039; Fri, 27 Jun 2008 07:47:53 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080627114753.C756E73039@freebsd-current.sentex.ca> Date: Fri, 27 Jun 2008 07:47:53 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 11:47:57 -0000 TB --- 2008-06-27 10:30:18 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-27 10:30:18 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2008-06-27 10:30:18 - cleaning the object tree TB --- 2008-06-27 10:30:42 - cvsupping the source tree TB --- 2008-06-27 10:30:42 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2008-06-27 10:30:49 - building world (CFLAGS=-O -pipe) TB --- 2008-06-27 10:30:49 - cd /src TB --- 2008-06-27 10:30:49 - /usr/bin/make -B buildworld >>> World build started on Fri Jun 27 10:30:52 UTC 2008 >>> 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 Fri Jun 27 11:32:59 UTC 2008 TB --- 2008-06-27 11:32:59 - generating LINT kernel config TB --- 2008-06-27 11:32:59 - cd /src/sys/sun4v/conf TB --- 2008-06-27 11:32:59 - /usr/bin/make -B LINT TB --- 2008-06-27 11:32:59 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-27 11:32:59 - cd /src TB --- 2008-06-27 11:32:59 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Jun 27 11:32:59 UTC 2008 >>> 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 >>> Kernel build for LINT completed on Fri Jun 27 11:46:04 UTC 2008 TB --- 2008-06-27 11:46:04 - building GENERIC kernel (COPTFLAGS=) TB --- 2008-06-27 11:46:04 - cd /src TB --- 2008-06-27 11:46:04 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Fri Jun 27 11:46:04 UTC 2008 >>> 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 [...] ${NORMAL_CTFCONVERT} expands to empty string cc -c -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/rpc/auth_unix.c /src/sys/rpc/auth_unix.c: In function 'authunix_create': /src/sys/rpc/auth_unix.c:138: error: 'curthread' undeclared (first use in this function) /src/sys/rpc/auth_unix.c:138: error: (Each undeclared identifier is reported only once /src/sys/rpc/auth_unix.c:138: error: for each function it appears in.) /src/sys/rpc/auth_unix.c: In function 'authunix_destroy': /src/sys/rpc/auth_unix.c:322: error: 'curthread' undeclared (first use in this function) *** Error code 1 Stop in /obj/sun4v/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-27 11:47:53 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-27 11:47:53 - ERROR: failed to build GENERIC kernel TB --- 2008-06-27 11:47:53 - tinderbox aborted TB --- 3651.55 user 427.93 system 4654.73 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 12:31:16 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B01F3106564A for ; Fri, 27 Jun 2008 12:31:16 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 714808FC1D for ; Fri, 27 Jun 2008 12:31:15 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from [78.110.49.49] (helo=quasar.ht-systems.ru) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1KCD6f-0002Fj-R1 for current@FreeBSD.org; Fri, 27 Jun 2008 16:31:13 +0400 Received: by quasar.ht-systems.ru (Postfix, from userid 1024) id BEB707301E; Fri, 27 Jun 2008 16:31:12 +0400 (MSD) Date: Fri, 27 Jun 2008 16:31:07 +0400 From: Stanislav Sedov To: current@FreeBSD.org Message-Id: <20080627163107.deccdd55.stas@FreeBSD.org> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__27_Jun_2008_16_31_07_+0400_HvJ61zfd+.hGUJYn" Cc: Subject: Attansic L2 driver test request X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 12:31:16 -0000 --Signature=_Fri__27_Jun_2008_16_31_07_+0400_HvJ61zfd+.hGUJYn Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, current users! For last weeks I was working on implementing an Attansic L2 driver for FreeBSD that can be found on some of Asus motherboards and Asus EeePC. I'm not sure if discrete adapters are available. For the moment, I've implemented all the basic stuff, and the drivers seems to perform stable enough. There're still a lot of things to be polished out (e.g. hardware vlan processing isn't implemeted at all, same for WoL, a lot of optimisations are possible), but I'd like to ask all owners of that hardware to perform a basic testing of hardware, if they like. That will allow me to fix possible stupid bugs and hardware incompatiblities as soon as possible. I especiall interested in tests on non-eeepc hardware, non-PC platforms (if there're any with this kind of = chip) and amd64 PCs. The latest version of driver is available at http://www.SpringDaemons.com/stas/if_ae-1214569185.tar.bz2 It can be compiled and loaded as a module on -CURRENT, and, probably, 7.x. Thanks! --=20 Stanislav Sedov ST4096-RIPE --Signature=_Fri__27_Jun_2008_16_31_07_+0400_HvJ61zfd+.hGUJYn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhk3ZAACgkQK/VZk+smlYGR1ACfV8mB/x0Cbuy0RsJh24lc9SO9 vbUAn2vD/a0Y6ojF52xSc6lXHPISBScn =6n68 -----END PGP SIGNATURE----- --Signature=_Fri__27_Jun_2008_16_31_07_+0400_HvJ61zfd+.hGUJYn-- From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 12:35:20 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 827AB1065675; Fri, 27 Jun 2008 12:35:20 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 11B718FC1B; Fri, 27 Jun 2008 12:35:19 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id A3FA1198F36; Fri, 27 Jun 2008 14:35:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 97F5F198F1C; Fri, 27 Jun 2008 14:35:18 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 50C41198F18; Fri, 27 Jun 2008 14:35:16 +0200 (CEST) Received: from wep4020 ([132.187.37.20]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008062714351526-79964 ; Fri, 27 Jun 2008 14:35:15 +0200 Received: by wep4020 (sSMTP sendmail emulation); Fri, 27 Jun 2008 14:35:15 +0200 From: "Alexey Shuvaev" Date: Fri, 27 Jun 2008 14:35:15 +0200 To: freebsd-current@freebsd.org Message-ID: <20080627123515.GA87903@wep4020.physik.uni-wuerzburg.de> References: <20080625145102.GA65611@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 In-Reply-To: <20080625145102.GA65611@wep4017.physik.uni-wuerzburg.de> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/27/2008 02:35:15 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/27/2008 02:35:18 PM, Serialize complete at 06/27/2008 02:35:18 PM Content-Type: multipart/mixed; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: kde@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: 8-current/kde3 stty defaults incorrect under konsole X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 12:35:20 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 25, 2008 at 04:51:02PM +0200, Alexey Shuvaev wrote: > Hello! > > On Wed, Jun 25, 2008 at 07:10:14AM -0700, Mark Atkinson wrote: > > Hi, > > > > Is anyone else running freebsd-current with kde3 (and has rebuilt both > > recently)? I can only suspect this is related to recent changes in > > current in prep for mpsafe tty, but in konsole, the defaults turn out to be > > this (note the missing '^' on intr and quit): > > > > cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; > > eol2 = ; erase = ^?; erase2 = ^H; intr = C; kill = ^U; > > lnext = ^V; min = 1; quit = \; reprint = ^R; start = ^Q; > > status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; > > > > xterm and the freebsd console are fine. > > > I have noticed that cursor key (right, forward direction) does not work > as expected. By pressing it cancels the current command line and prompts with > the empty one again. > > [snip] > On Wed, Jun 25, 2008 at 04:34:28PM +0200, Ed Schouten wrote: > > Blegh. I always hate those applications using non-documented extensions > > in a non-standard way. ;-) > > > > Anyway, could you store this patch in the files/ dir of the kdelibs3 > > port and see what happens? Thanks! :) > > > > %%% > > --- kdecore/kpty.cpp > > +++ kdecore/kpty.cpp > > @@ -128,9 +128,8 @@ > > #include // locate > > > > // not defined on HP-UX for example > > -#ifndef CTRL > > -# define CTRL(x) ((x) & 037) > > -#endif > > +#undef CTRL > > +#define CTRL(x) ((x) & 037) > > > > #define TTY_GROUP "tty" > > > > %%% > > > Thanks, I will try this but it takes a while, it is 800MHz Pentium3 :-) > > Alexey. > I have rebuilt kdelibs with this patch and now both wrong stty -a values and issues with cursor keys are gone. Thanks! Any chance to have this patch in the ports tree? Alexey. --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-kdecore_kpty.cpp" --- kdecore/kpty.cpp +++ kdecore/kpty.cpp @@ -128,9 +128,8 @@ #include // locate // not defined on HP-UX for example -#ifndef CTRL -# define CTRL(x) ((x) & 037) -#endif +#undef CTRL +#define CTRL(x) ((x) & 037) #define TTY_GROUP "tty" --BXVAT5kNtrzKuDFl-- From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 12:37:58 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E325106566B; Fri, 27 Jun 2008 12:37:58 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id EB6488FC17; Fri, 27 Jun 2008 12:37:57 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id 093353F62B3; Fri, 27 Jun 2008 14:37:57 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id F0A543F6272; Fri, 27 Jun 2008 14:37:56 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 6AE769B497; Fri, 27 Jun 2008 12:33:23 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 539134089; Fri, 27 Jun 2008 14:33:23 +0200 (CEST) Date: Fri, 27 Jun 2008 14:33:23 +0200 From: Jeremie Le Hen To: Marcel Moolenaar Message-ID: <20080627123323.GL15815@obiwan.tataz.chchile.org> References: <20080626062043.19D1073039@freebsd-current.sentex.ca> <20080626065526.GE15815@obiwan.tataz.chchile.org> <52E6C9DE-984A-40C5-80D1-7ECB32081910@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52E6C9DE-984A-40C5-80D1-7ECB32081910@mac.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: current@freebsd.org, FreeBSD Tinderbox , i386@freebsd.org Subject: Re: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 12:37:58 -0000 Hi Marcel, On Thu, Jun 26, 2008 at 09:02:30AM -0700, Marcel Moolenaar wrote: > This would enable the code on ia64. > Would you mind changing the conditional to #ifndef __ia64__? I see no problem in this. Could you make the change on my behalf please? You might also want to add the same thing in lib/libc/sys/stack_protector.c. Thanks. Best regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 12:50:31 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEFE7106566B; Fri, 27 Jun 2008 12:50:31 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 6E3428FC13; Fri, 27 Jun 2008 12:50:31 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from [78.110.49.49] (helo=quasar.ht-systems.ru) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1KCDPK-00032e-7B; Fri, 27 Jun 2008 16:50:30 +0400 Received: by quasar.ht-systems.ru (Postfix, from userid 1024) id 28F327301E; Fri, 27 Jun 2008 16:50:29 +0400 (MSD) Date: Fri, 27 Jun 2008 16:50:29 +0400 From: Stanislav Sedov To: Stanislav Sedov Message-Id: <20080627165029.89118135.stas@FreeBSD.org> In-Reply-To: <20080627163107.deccdd55.stas@FreeBSD.org> References: <20080627163107.deccdd55.stas@FreeBSD.org> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__27_Jun_2008_16_50_29_+0400_rRN_EZi7HEDcz5TD" Cc: current@FreeBSD.org Subject: Re: Attansic L2 driver test request X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 12:50:31 -0000 --Signature=_Fri__27_Jun_2008_16_50_29_+0400_rRN_EZi7HEDcz5TD Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 27 Jun 2008 16:31:07 +0400 Stanislav Sedov mentioned: > Hi, current users! >=20 > For last weeks I was working on implementing an Attansic L2 > driver for FreeBSD that can be found on some of Asus motherboards > and Asus EeePC. I'm not sure if discrete adapters are available. >=20 Ah, and many thanks to Pyun YongHyeon for his comments and his age(4) driver that I used as example. PS: I'll be away for a couple of days, so don't expect a fast reply. But I'll certainly do that on Monday. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Fri__27_Jun_2008_16_50_29_+0400_rRN_EZi7HEDcz5TD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhk4hUACgkQK/VZk+smlYFHpwCfadCQdb9gK9QfcyHdve0qvjGL L1wAoIKjMrHPC8bBxh/DcNOQ9Dgomgyy =YeeM -----END PGP SIGNATURE----- --Signature=_Fri__27_Jun_2008_16_50_29_+0400_rRN_EZi7HEDcz5TD-- From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 16:45:42 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35B9C1065676 for ; Fri, 27 Jun 2008 16:45:42 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id C46AC8FC1A for ; Fri, 27 Jun 2008 16:45:41 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so338819fgb.35 for ; Fri, 27 Jun 2008 09:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=RC6Nbn98WZPuTT7g+HSVby9oVoywZqV8WYm30c7mKio=; b=YpH12vLzUsRiA8QUi9k7ksmb8X+0lvS0v+MiD0ivayKPw8oZ4vq0my8q8PxtsTev5K T+6SczvxPMSXju/joQmkvhdUMlYfdVFAkksO8vNOzj0J9lKORBOyw7T78eScjbdPaPqD 93YA3fLgzt3ouineYLW0HThCQmlJw8oRV1mso= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=M1KhRSe5OJKzdjVBWX1vlTCIkXYKG04xNGdUg5DGz1x/ZWYmcn63MS6bmgQSXG7B6c rsIqDYcpHRwwHzyE+mMux7fUMSpPoqKe5dV7Ke+FpOwPzePuu8TvKM6hVADRHeGnfury yoHUGsRu+vox7TMBdH/RI+z8yBN9tUjKKOn60= Received: by 10.86.90.2 with SMTP id n2mr2118752fgb.51.1214585141357; Fri, 27 Jun 2008 09:45:41 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Fri, 27 Jun 2008 09:45:41 -0700 (PDT) Message-ID: <7d6fde3d0806270945y4523ab21lc07dd9435cc53ef9@mail.gmail.com> Date: Fri, 27 Jun 2008 09:45:41 -0700 From: "Garrett Cooper" To: "Daniel O'Connor" In-Reply-To: <200806271451.22639.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> <200806271451.22639.doconnor@gsoft.com.au> Cc: Tom Evans , freebsd-current@freebsd.org, Benjamin Close , current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 16:45:42 -0000 On Thu, Jun 26, 2008 at 10:21 PM, Daniel O'Connor wrote: > On Fri, 27 Jun 2008, Garrett Cooper wrote: >> So.. wait a sec? Are you saying I'm fscked because my RAID5 is >> nothing more than RAID0 under FreeBSD?!?! > > If you're using ATA RAID, yes. > > However I think you are using iir (so says your subject) so I don't > think that applies. > > Unfortunately I have 0 iir experience :( > There is no control utility mentioned in the iic(4) man page so I think > you have to do everything with the BIOS. > > If it isn't possible to do it in the BIOS then that is a pretty serious > flaw and you are probably SOL :( Phew... I can rebuild it from the BIOS-ish Intel Matrix Manager. FWIW the Asus tech I talked to said that he couldn't get RAID5 support in Linux, so I don't think that OS (software) RAID5 is in existence anywhere. Then again I could be wrong.. -Garrett From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 16:45:42 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8490106567E for ; Fri, 27 Jun 2008 16:45:42 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 80F5C8FC18 for ; Fri, 27 Jun 2008 16:45:42 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so338906fgb.35 for ; Fri, 27 Jun 2008 09:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=RC6Nbn98WZPuTT7g+HSVby9oVoywZqV8WYm30c7mKio=; b=YpH12vLzUsRiA8QUi9k7ksmb8X+0lvS0v+MiD0ivayKPw8oZ4vq0my8q8PxtsTev5K T+6SczvxPMSXju/joQmkvhdUMlYfdVFAkksO8vNOzj0J9lKORBOyw7T78eScjbdPaPqD 93YA3fLgzt3ouineYLW0HThCQmlJw8oRV1mso= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=M1KhRSe5OJKzdjVBWX1vlTCIkXYKG04xNGdUg5DGz1x/ZWYmcn63MS6bmgQSXG7B6c rsIqDYcpHRwwHzyE+mMux7fUMSpPoqKe5dV7Ke+FpOwPzePuu8TvKM6hVADRHeGnfury yoHUGsRu+vox7TMBdH/RI+z8yBN9tUjKKOn60= Received: by 10.86.90.2 with SMTP id n2mr2118752fgb.51.1214585141357; Fri, 27 Jun 2008 09:45:41 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Fri, 27 Jun 2008 09:45:41 -0700 (PDT) Message-ID: <7d6fde3d0806270945y4523ab21lc07dd9435cc53ef9@mail.gmail.com> Date: Fri, 27 Jun 2008 09:45:41 -0700 From: "Garrett Cooper" To: "Daniel O'Connor" In-Reply-To: <200806271451.22639.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> <200806271451.22639.doconnor@gsoft.com.au> Cc: Tom Evans , freebsd-current@freebsd.org, Benjamin Close , current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 16:45:43 -0000 On Thu, Jun 26, 2008 at 10:21 PM, Daniel O'Connor wrote: > On Fri, 27 Jun 2008, Garrett Cooper wrote: >> So.. wait a sec? Are you saying I'm fscked because my RAID5 is >> nothing more than RAID0 under FreeBSD?!?! > > If you're using ATA RAID, yes. > > However I think you are using iir (so says your subject) so I don't > think that applies. > > Unfortunately I have 0 iir experience :( > There is no control utility mentioned in the iic(4) man page so I think > you have to do everything with the BIOS. > > If it isn't possible to do it in the BIOS then that is a pretty serious > flaw and you are probably SOL :( Phew... I can rebuild it from the BIOS-ish Intel Matrix Manager. FWIW the Asus tech I talked to said that he couldn't get RAID5 support in Linux, so I don't think that OS (software) RAID5 is in existence anywhere. Then again I could be wrong.. -Garrett From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 17:34:54 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD7A01065676 for ; Fri, 27 Jun 2008 17:34:54 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 7D84D8FC12 for ; Fri, 27 Jun 2008 17:34:54 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KCHqX-0000BF-L6 for freebsd-current@freebsd.org; Fri, 27 Jun 2008 19:34:53 +0200 Message-ID: <486524B7.1030807@FreeBSD.org> Date: Fri, 27 Jun 2008 19:34:47 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: freebsd-current X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Subject: CDDL code doesn't build? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 17:34:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, are there any known problems in the part of the build related to the CDDL contributed code on current lately? I haven't been able to build world today (sources updated several times, /usr/obj removed, ...): cc1: warnings being treated as errors /usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c: In function 'tdefdecl': /usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:779: warning: 'width' may be used uninitialized in this function /usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:779: note: 'width' was declared here *** Error code 1 Stop in /usr/src/cddl/usr.bin/ctfconvert. *** Error code 1 Thanks, - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhlJLYACgkQwMJqmJVx947IMwCfTALKgdtWGBmeAe/pCzPDYr8P AQoAoLQFFrdvJnPJASSGdgBYGymQvwLz =Aq/6 -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 18:56:32 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54695106564A for ; Fri, 27 Jun 2008 18:56:32 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 2341E8FC15 for ; Fri, 27 Jun 2008 18:56:32 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KCJ7X-0004AS-89 for freebsd-current@freebsd.org; Fri, 27 Jun 2008 20:56:31 +0200 Message-ID: <486537D8.8080804@FreeBSD.org> Date: Fri, 27 Jun 2008 20:56:24 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: freebsd-current References: <486524B7.1030807@FreeBSD.org> In-Reply-To: <486524B7.1030807@FreeBSD.org> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Subject: Re: CDDL code doesn't build? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 18:56:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Pietro Cerutti wrote: | Hi, | | are there any known problems in the part of the build related to the | CDDL contributed code on current lately? I haven't been able to build | world today (sources updated several times, /usr/obj removed, ...): | | cc1: warnings being treated as errors | /usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c: | | In function 'tdefdecl': | /usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:779: | | warning: 'width' may be used uninitialized in this function | /usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:779: | | note: 'width' was declared here | *** Error code 1 | Stop in /usr/src/cddl/usr.bin/ctfconvert. | *** Error code 1 It's ok now. Duno why... | | Thanks, | _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhlN9gACgkQwMJqmJVx945eeQCeNhJqQTut5+MqoBG93UmPQRRG CHUAoNsj60LiQ4oFVqsnkNJaPpqEfn8x =op+t -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 22:06:54 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 594121065678 for ; Fri, 27 Jun 2008 22:06:54 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id C3EBD8FC17 for ; Fri, 27 Jun 2008 22:06:53 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m5RM5YIA021038; Fri, 27 Jun 2008 17:05:34 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080627170323.02591528@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 27 Jun 2008 17:05:30 -0500 To: "Garrett Cooper" , "Benjamin Close" From: Derek Ragona In-Reply-To: <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com > References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <1214492963.35536.22.camel@localhost> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080627-0, 06/27/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93/6806/Wed Apr 16 15:50:16 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m5RM5YIA021038 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Tom Evans , current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 22:06:54 -0000 At 10:04 PM 6/26/2008, Garrett Cooper wrote: >On Thu, Jun 26, 2008 at 8:44 AM, Benjamin Close > wrote: > > Tom Evans wrote: > >> > >> On Thu, 2008-06-26 at 06:49 -0700, Garrett Cooper wrote: > >> > >>> > >>> Hello, > >>> First off sorry for the cross-post. I typically don't do this > >>> but this is an important question, so please bear with me. I'm just > >>> trying to get more eyes on the subject so I can (maybe) get a reply > >>> quicker... > >>> I'm running 8-CURRENT on my machine and it appears that one of > >>> the disks in my RAID5 array has taken a nose dive (BIOS recognizes > >>> that it exists, but Intel Matrix Manager claims that the disk is an > >>> "Offline Member"). After doing some reading it appears that it's > >>> kaput, so I need to get a replacement disk to fix this one... > >>> That aside, I need to determine how to rebuild the array in a > >>> Unix environment because Intel only provides instructions for how to > >>> use their Windows matrix manager. If anyone can point me to some links > >>> or provide me with some pointers on how to correct this issue, I'd owe > >>> you a lot; in fact the next time you come by Santa Cruz, CA I'll > >>> gladly treat you to some beers or something else you might want :)... > >>> Linux solutions (if there isn't a proper one for FreeBSD) are valid, > >>> as long as the core data remains uncorrupted and I can do what I need > >>> to from a LiveCD. I'm just scared to boot up OS and have it do some > >>> irrevocable operation like fsck -y and assume parity errors are ok or > >>> something along those lines (I don't remember if I set rc.conf to > >>> fsck -y and I know I can change that from single-user mode, but I want > >>> to play things conservatively if at all possible) :\... > >>> Filesystem is UFS2 with softupdates of course. > >>> Point proven that I need to backup my data more often :(... > >>> TIA, > >>> -Garrett > >>> > >>> PS If replying on the questions@ list, please CC me as I'm not > >>> subscribed to that list. > >>> > >> > >> I'm fairly sure that Intel Matrix metadata cant be created/modified by > >> fbsd, only read. You should be able to do whatever rebuild operations > >> you need in the BIOS I believe, but that would be an offline operation, > >> clearly. > >> > >> I may be mistaken, and the driver can handle array rebuilds for matrix. > >> If it can, the command you are looking for is 'atacontrol rebuild ar0', > >> see atacontrol(8). > >> > >> Tom > >> > > > > Please DONT use FreeBSD to rebuild this RAID5 unit. FreeBSD will detect it > > as a raid 5 Unit and even allow you to use it, add the new disk to it and > > even let you rebuild the raid. > > However the ata driver does not have support parity for Raid5. From > > ataraid(4): > > > > RAID5 is not supported at this time. Code exists, but it neither uses > > nor maintains parity information. > > > > You can confirm this in code, just look for the Swedish comments in > > ataraid.c > > Hence writing to the raidset will give you a glorified raid0. > > > > Cheers, > > Benjamin > >So.. wait a sec? Are you saying I'm fscked because my RAID5 is nothing >more than RAID0 under FreeBSD?!?! >-Garrett Most if these RAID's are done in the BIOS so the OS sees just a volume. The RAID 5 or RAID 1, or RAID 0, or various combinations are left to the BIOS. Also these are considered software RAIDS not hardware as the BIOS uses the Motherboard CPU. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-current@FreeBSD.ORG Sat Jun 28 03:57:25 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76CB61065671 for ; Sat, 28 Jun 2008 03:57:25 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id D43668FC0A for ; Sat, 28 Jun 2008 03:57:24 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so450765fgb.35 for ; Fri, 27 Jun 2008 20:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=7Im61JZRx38e3NGx+9YdMWwWyLCpDfmK528TgN+9l6U=; b=klcznZ9kgSpNw3T7AH2rvc58E5rbtf2P/K9Yt4SH8tBm5wKnxohzyAcH75znMU7FcF dQOWaIXSnUrmScrJ0OPA1k4I3eBhBwLUWTUycOTwga84MRzBllqxmzXnDkx+B91gz/er dL/qDJuuw/NESyzNVXITVeIRpSKWOAxqngtAU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=YQiPvwxm9D7U6J4HJK1yJzhMNYfb0jCAeYHfyo/9dEvq14mhD5TMx0zfXVrocqQStf SYviwJfk5+mIk5kVSEV3UIYE72wRmq+x/EewiNETLTkHfe1NZ+RADj9SYm2WCWeFGlMg k/FCvBf149Zg3X4vVO6iegy2Ni8Wz67YiB16w= Received: by 10.86.73.7 with SMTP id v7mr2942758fga.37.1214625443671; Fri, 27 Jun 2008 20:57:23 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Fri, 27 Jun 2008 20:57:23 -0700 (PDT) Message-ID: <7d6fde3d0806272057p795277a2ie60ac7d7d10f0a6e@mail.gmail.com> Date: Fri, 27 Jun 2008 20:57:23 -0700 From: "Garrett Cooper" To: "Derek Ragona" In-Reply-To: <6.0.0.22.2.20080627170323.02591528@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <1214492963.35536.22.camel@localhost> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> <6.0.0.22.2.20080627170323.02591528@mail.computinginnovations.com> Cc: Tom Evans , Benjamin Close , current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 03:57:25 -0000 On Fri, Jun 27, 2008 at 3:05 PM, Derek Ragona wrote: > At 10:04 PM 6/26/2008, Garrett Cooper wrote: > > On Thu, Jun 26, 2008 at 8:44 AM, Benjamin Close > wrote: >> Tom Evans wrote: >>> >>> On Thu, 2008-06-26 at 06:49 -0700, Garrett Cooper wrote: >>> >>>> >>>> Hello, >>>> First off sorry for the cross-post. I typically don't do this >>>> but this is an important question, so please bear with me. I'm just >>>> trying to get more eyes on the subject so I can (maybe) get a reply >>>> quicker... >>>> I'm running 8-CURRENT on my machine and it appears that one of >>>> the disks in my RAID5 array has taken a nose dive (BIOS recognizes >>>> that it exists, but Intel Matrix Manager claims that the disk is an >>>> "Offline Member"). After doing some reading it appears that it's >>>> kaput, so I need to get a replacement disk to fix this one... >>>> That aside, I need to determine how to rebuild the array in a >>>> Unix environment because Intel only provides instructions for how to >>>> use their Windows matrix manager. If anyone can point me to some links >>>> or provide me with some pointers on how to correct this issue, I'd owe >>>> you a lot; in fact the next time you come by Santa Cruz, CA I'll >>>> gladly treat you to some beers or something else you might want :)... >>>> Linux solutions (if there isn't a proper one for FreeBSD) are valid, >>>> as long as the core data remains uncorrupted and I can do what I need >>>> to from a LiveCD. I'm just scared to boot up OS and have it do some >>>> irrevocable operation like fsck -y and assume parity errors are ok or >>>> something along those lines (I don't remember if I set rc.conf to >>>> fsck -y and I know I can change that from single-user mode, but I want >>>> to play things conservatively if at all possible) :\... >>>> Filesystem is UFS2 with softupdates of course. >>>> Point proven that I need to backup my data more often :(... >>>> TIA, >>>> -Garrett >>>> >>>> PS If replying on the questions@ list, please CC me as I'm not >>>> subscribed to that list. >>>> >>> >>> I'm fairly sure that Intel Matrix metadata cant be created/modified by >>> fbsd, only read. You should be able to do whatever rebuild operations >>> you need in the BIOS I believe, but that would be an offline operation, >>> clearly. >>> >>> I may be mistaken, and the driver can handle array rebuilds for matrix. >>> If it can, the command you are looking for is 'atacontrol rebuild ar0', >>> see atacontrol(8). >>> >>> Tom >>> >> >> Please DONT use FreeBSD to rebuild this RAID5 unit. FreeBSD will detect it >> as a raid 5 Unit and even allow you to use it, add the new disk to it and >> even let you rebuild the raid. >> However the ata driver does not have support parity for Raid5. From >> ataraid(4): >> >> RAID5 is not supported at this time. Code exists, but it neither uses >> nor maintains parity information. >> >> You can confirm this in code, just look for the Swedish comments in >> ataraid.c >> Hence writing to the raidset will give you a glorified raid0. >> >> Cheers, >> Benjamin > > So.. wait a sec? Are you saying I'm fscked because my RAID5 is nothing > more than RAID0 under FreeBSD?!?! > -Garrett > > Most if these RAID's are done in the BIOS so the OS sees just a volume. The > RAID 5 or RAID 1, or RAID 0, or various combinations are left to the BIOS. > > Also these are considered software RAIDS not hardware as the BIOS uses the > Motherboard CPU. > > -Derek Grabbed a 1TB drive on sale just for kicks to see if I could rebuild the array, but I don't see any option at all under FreeBSD (sadly enough). So, if I did the following when I setup the RAID, I'm essentially screwed, aren't I? 1. Configure RAID in Matrix manager. 2. Boot into FreeBSD. 3. Note new device called /dev/ar0. 4. newfs ... /dev/ar0 # Does this mean I did this with RAID0? -Garrett From owner-freebsd-current@FreeBSD.ORG Sat Jun 28 08:29:35 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CFC81065675 for ; Sat, 28 Jun 2008 08:29:35 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 19C4D8FC0C for ; Sat, 28 Jun 2008 08:29:34 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so491673fgb.35 for ; Sat, 28 Jun 2008 01:29:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0S6x0AQifRD/0LldBzAhS4mM8vXXCObQWUXoH6U2xIU=; b=ftpy8m42qo+wJUkIx28gO8dlk/1YJGkwhm+NpTbwnB9Pi2J+/u3Iw7L0eIm80FUSvR /MovilNUNJhPVtx0IXv+N26KlucWTFyuvOgvlKqkO+xbU1E508JtsE2qJj9xtpct8/69 3yKZVRuF2WIDAbiixWMcXLH8deJGDhKsFSu5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ZeZr5S2Pj2vRQRngk6nuuuu8fDYgMhA1biZV06zG/bEzHCPw/8YwAkjDHIc7VwVx86 Lc07Bk5RIn8Wc+u80yCjFzwWRpRmjjaVIbfOC+j4DByEfVdBFshe9j0cLM99FoE4jl6+ Y0xJj0GIHU6PzO/B0x40DtlKGCAZDzyZyl6Gk= Received: by 10.86.60.15 with SMTP id i15mr967479fga.15.1214641773823; Sat, 28 Jun 2008 01:29:33 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Sat, 28 Jun 2008 01:29:33 -0700 (PDT) Message-ID: <7d6fde3d0806280129i31874960ofbc7627598e1426f@mail.gmail.com> Date: Sat, 28 Jun 2008 01:29:33 -0700 From: "Garrett Cooper" To: "Derek Ragona" In-Reply-To: <7d6fde3d0806272057p795277a2ie60ac7d7d10f0a6e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <1214492963.35536.22.camel@localhost> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> <6.0.0.22.2.20080627170323.02591528@mail.computinginnovations.com> <7d6fde3d0806272057p795277a2ie60ac7d7d10f0a6e@mail.gmail.com> Cc: Tom Evans , Benjamin Close , current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 08:29:35 -0000 On Fri, Jun 27, 2008 at 8:57 PM, Garrett Cooper wrote: > On Fri, Jun 27, 2008 at 3:05 PM, Derek Ragona > wrote: >> At 10:04 PM 6/26/2008, Garrett Cooper wrote: >> >> On Thu, Jun 26, 2008 at 8:44 AM, Benjamin Close >> wrote: >>> Tom Evans wrote: >>>> >>>> On Thu, 2008-06-26 at 06:49 -0700, Garrett Cooper wrote: >>>> >>>>> >>>>> Hello, >>>>> First off sorry for the cross-post. I typically don't do this >>>>> but this is an important question, so please bear with me. I'm just >>>>> trying to get more eyes on the subject so I can (maybe) get a reply >>>>> quicker... >>>>> I'm running 8-CURRENT on my machine and it appears that one of >>>>> the disks in my RAID5 array has taken a nose dive (BIOS recognizes >>>>> that it exists, but Intel Matrix Manager claims that the disk is an >>>>> "Offline Member"). After doing some reading it appears that it's >>>>> kaput, so I need to get a replacement disk to fix this one... >>>>> That aside, I need to determine how to rebuild the array in a >>>>> Unix environment because Intel only provides instructions for how to >>>>> use their Windows matrix manager. If anyone can point me to some links >>>>> or provide me with some pointers on how to correct this issue, I'd owe >>>>> you a lot; in fact the next time you come by Santa Cruz, CA I'll >>>>> gladly treat you to some beers or something else you might want :)... >>>>> Linux solutions (if there isn't a proper one for FreeBSD) are valid, >>>>> as long as the core data remains uncorrupted and I can do what I need >>>>> to from a LiveCD. I'm just scared to boot up OS and have it do some >>>>> irrevocable operation like fsck -y and assume parity errors are ok or >>>>> something along those lines (I don't remember if I set rc.conf to >>>>> fsck -y and I know I can change that from single-user mode, but I want >>>>> to play things conservatively if at all possible) :\... >>>>> Filesystem is UFS2 with softupdates of course. >>>>> Point proven that I need to backup my data more often :(... >>>>> TIA, >>>>> -Garrett >>>>> >>>>> PS If replying on the questions@ list, please CC me as I'm not >>>>> subscribed to that list. >>>>> >>>> >>>> I'm fairly sure that Intel Matrix metadata cant be created/modified by >>>> fbsd, only read. You should be able to do whatever rebuild operations >>>> you need in the BIOS I believe, but that would be an offline operation, >>>> clearly. >>>> >>>> I may be mistaken, and the driver can handle array rebuilds for matrix. >>>> If it can, the command you are looking for is 'atacontrol rebuild ar0', >>>> see atacontrol(8). >>>> >>>> Tom >>>> >>> >>> Please DONT use FreeBSD to rebuild this RAID5 unit. FreeBSD will detect it >>> as a raid 5 Unit and even allow you to use it, add the new disk to it and >>> even let you rebuild the raid. >>> However the ata driver does not have support parity for Raid5. From >>> ataraid(4): >>> >>> RAID5 is not supported at this time. Code exists, but it neither uses >>> nor maintains parity information. >>> >>> You can confirm this in code, just look for the Swedish comments in >>> ataraid.c >>> Hence writing to the raidset will give you a glorified raid0. >>> >>> Cheers, >>> Benjamin >> >> So.. wait a sec? Are you saying I'm fscked because my RAID5 is nothing >> more than RAID0 under FreeBSD?!?! >> -Garrett >> >> Most if these RAID's are done in the BIOS so the OS sees just a volume. The >> RAID 5 or RAID 1, or RAID 0, or various combinations are left to the BIOS. >> >> Also these are considered software RAIDS not hardware as the BIOS uses the >> Motherboard CPU. >> >> -Derek > > Grabbed a 1TB drive on sale just for kicks to see if I could rebuild > the array, but I don't see any option at all under FreeBSD (sadly > enough). > > So, if I did the following when I setup the RAID, I'm essentially > screwed, aren't I? > > 1. Configure RAID in Matrix manager. > 2. Boot into FreeBSD. > 3. Note new device called /dev/ar0. > 4. newfs ... /dev/ar0 # Does this mean I did this with RAID0? > > -Garrett HAHA!!! Windows (sadly enough) still has uses. Installed Vista on another disk, plopped in the Intel RAID junk and voila it's rebuilding the RAID as we speak. 12 hours later it should be finished =\... At least now I can backup the data to my other machine, and have the ability to drop iir like a hot rock for twa (purchased a 3ware 8 9560SE card I've been eyeing for the past 6 months). Thanks for the help and support. This definitely served as a lesson to backup my data more often... Cheers, -Garrett From owner-freebsd-current@FreeBSD.ORG Sat Jun 28 09:29:13 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D37981065678 for ; Sat, 28 Jun 2008 09:29:13 +0000 (UTC) (envelope-from sos@freebsd.org) Received: from deepcore.dk (adsl.deepcore.dk [87.63.29.106]) by mx1.freebsd.org (Postfix) with ESMTP id BCB038FC18 for ; Sat, 28 Jun 2008 09:29:12 +0000 (UTC) (envelope-from sos@freebsd.org) Received: from laptop.deepcore.dk (laptop.deepcore.dk [192.168.0.138]) by deepcore.dk (8.14.2/8.13.8) with ESMTP id m5S92aLC069365; Sat, 28 Jun 2008 11:02:39 +0200 (CEST) (envelope-from sos@freebsd.org) Message-Id: <735A937C-89A9-411A-AA3F-377F576E635E@freebsd.org> From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= To: "Garrett Cooper" In-Reply-To: <7d6fde3d0806280129i31874960ofbc7627598e1426f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v924) Date: Sat, 28 Jun 2008 11:02:36 +0200 References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <1214492963.35536.22.camel@localhost> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> <6.0.0.22.2.20080627170323.02591528@mail.computinginnovations.com> <7d6fde3d0806272057p795277a2ie60ac7d7d10f0a6e@mail.gmail.com> <7d6fde3d0806280129i31874960ofbc7627598e1426f@mail.gmail.com> X-Mailer: Apple Mail (2.924) Cc: Tom Evans , Benjamin Close , current@freebsd.org, Derek Ragona Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 09:29:13 -0000 On 28Jun, 2008, at 10:29 , Garrett Cooper wrote: >> >> So, if I did the following when I setup the RAID, I'm essentially >> screwed, aren't I? >> >> 1. Configure RAID in Matrix manager. >> 2. Boot into FreeBSD. >> 3. Note new device called /dev/ar0. >> 4. newfs ... /dev/ar0 # Does this mean I did this with RAID0? >> >> -Garrett > > HAHA!!! Windows (sadly enough) still has uses. > > Installed Vista on another disk, plopped in the Intel RAID junk and > voila it's rebuilding the RAID as we speak. 12 hours later it should > be finished =3D\... > > At least now I can backup the data to my other machine, and have the > ability to drop iir like a hot rock for twa (purchased a 3ware 8 > 9560SE card I've been eyeing for the past 6 months). Erm, this makes no sense at all. You state you use the "iir" driver =20 for the card, yet you expect to see the devices under ATA ? Those are =20= two very different animals, you can't use them together in away way or =20= fashion on the same drives. That asks the question: which one is it ? If you use "iir" I have no idea how/if a rebuild is possible under =20 FreeBSD, however it could be in the BIOS or with any other OS that =20 supports it (here the HW should have kept your parity data intact). If you use ATA you shouldn't have used RAID5 as the docs tell you, as =20= there will be no parity data to rebuild from no matter what BIOS/OS =20 you use -> you will get garbage no matter what. > Thanks for the help and support. This definitely served as a lesson to > backup my data more often... > That by itself may be worth all the trouble :) -S=F8ren From owner-freebsd-current@FreeBSD.ORG Sat Jun 28 10:49:06 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEC64106566B for ; Sat, 28 Jun 2008 10:49:06 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 354498FC0C for ; Sat, 28 Jun 2008 10:49:05 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so512333fgb.35 for ; Sat, 28 Jun 2008 03:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=OpGVhGfPlU9IgW0KVzBQCqtxAgNvIXZMleV57OyCKN8=; b=Xilsn2iZhYqSH2ZEEC6aD0gdWUOhweU7mCPJr6dipq4Ko+CsQQOyboUAg3OoMzDb43 Jhufc6Ep050TvUKnVlOqScnv2AKB4Yk2bSORNBQCwvCGC1G/SCGigsjLtaLdSn/boxRS XMPHBEjjA1chMsA7WQMEUJzP0vw3ooaQ5kxEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uCr36Yoqjb5kjql3skSXb+iN0+cQY/igGVVfKwaJCEvmQSGaquPUXnn3h55MvkLF1k 5xJc4C4zdZN5G+DjYDNpEIe1ToE372BM+hXUW6bN0aa2EyQdYK5QD2kCbtJDXB4MKzFq np/RC8r0/Lo7pp5MlZOoGHhQvsVv3zIfaskRc= Received: by 10.86.1.1 with SMTP id 1mr3346066fga.61.1214650145139; Sat, 28 Jun 2008 03:49:05 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Sat, 28 Jun 2008 03:49:05 -0700 (PDT) Message-ID: <7d6fde3d0806280349j7eace513idb5cd81f9e2e4e0a@mail.gmail.com> Date: Sat, 28 Jun 2008 03:49:05 -0700 From: "Garrett Cooper" To: current@freebsd.org In-Reply-To: <7d6fde3d0806280348r65875755pf7dc3917bba2bcb5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <1214492963.35536.22.camel@localhost> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> <6.0.0.22.2.20080627170323.02591528@mail.computinginnovations.com> <7d6fde3d0806272057p795277a2ie60ac7d7d10f0a6e@mail.gmail.com> <7d6fde3d0806280129i31874960ofbc7627598e1426f@mail.gmail.com> <735A937C-89A9-411A-AA3F-377F576E635E@freebsd.org> <7d6fde3d0806280348r65875755pf7dc3917bba2bcb5@mail.gmail.com> Cc: Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 10:49:06 -0000 On Sat, Jun 28, 2008 at 2:02 AM, S=F8ren Schmidt wrote: > > Erm, this makes no sense at all. You state you use the "iir" driver for t= he > card, yet you expect to see the devices under ATA ? Those are two very > different animals, you can't use them together in away way or fashion on = the > same drives. > > That asks the question: which one is it ? > > If you use "iir" I have no idea how/if a rebuild is possible under FreeBS= D, > however it could be in the BIOS or with any other OS that supports it (he= re > the HW should have kept your parity data intact). > > If you use ATA you shouldn't have used RAID5 as the docs tell you, as the= re > will be no parity data to rebuild from no matter what BIOS/OS you use -> = you > will get garbage no matter what. Uhm... ok, I'll bite. What documentation states how to use RAID's under FreeBSD properly? The GEOM docs didn't seem to be what I was looking for back then. >> Thanks for the help and support. This definitely served as a lesson to >> backup my data more often... > > That by itself may be worth all the trouble :) No doubt. Thanks :), -Garrett From owner-freebsd-current@FreeBSD.ORG Sat Jun 28 11:30:45 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D4E21065687 for ; Sat, 28 Jun 2008 11:30:45 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id B88838FC22 for ; Sat, 28 Jun 2008 11:30:44 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 217DF1CCF2; Sat, 28 Jun 2008 13:30:43 +0200 (CEST) Date: Sat, 28 Jun 2008 13:30:43 +0200 From: Ed Schouten To: Garrett Cooper Message-ID: <20080628113043.GN93496@hoeg.nl> References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <1214492963.35536.22.camel@localhost> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> <6.0.0.22.2.20080627170323.02591528@mail.computinginnovations.com> <7d6fde3d0806272057p795277a2ie60ac7d7d10f0a6e@mail.gmail.com> <7d6fde3d0806280129i31874960ofbc7627598e1426f@mail.gmail.com> <735A937C-89A9-411A-AA3F-377F576E635E@freebsd.org> <7d6fde3d0806280348r65875755pf7dc3917bba2bcb5@mail.gmail.com> <7d6fde3d0806280349j7eace513idb5cd81f9e2e4e0a@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yPo1CW2ZXioZPB28" Content-Disposition: inline In-Reply-To: <7d6fde3d0806280349j7eace513idb5cd81f9e2e4e0a@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 11:30:45 -0000 --yPo1CW2ZXioZPB28 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Garrett Cooper wrote: > Uhm... ok, I'll bite. What documentation states how to use RAID's > under FreeBSD properly? The GEOM docs didn't seem to be what I was > looking for back then. The gmirror and graid3 manpages should get you started. --=20 Ed Schouten WWW: http://80386.nl/ --yPo1CW2ZXioZPB28 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkhmIOMACgkQ52SDGA2eCwXwNQCePmUYA0eOTLQRjtmLVq1BClZZ BiMAmwaxGautahvsxg99YcUpnOEfKd6X =al3Y -----END PGP SIGNATURE----- --yPo1CW2ZXioZPB28-- From owner-freebsd-current@FreeBSD.ORG Sat Jun 28 12:29:24 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26E0F106564A for ; Sat, 28 Jun 2008 12:29:24 +0000 (UTC) (envelope-from sos@freebsd.org) Received: from deepcore.dk (adsl.deepcore.dk [87.63.29.106]) by mx1.freebsd.org (Postfix) with ESMTP id 0C48B8FC1F for ; Sat, 28 Jun 2008 12:29:22 +0000 (UTC) (envelope-from sos@freebsd.org) Received: from laptop.deepcore.dk (laptop.deepcore.dk [192.168.0.138]) by deepcore.dk (8.14.2/8.13.8) with ESMTP id m5SCTL89072860; Sat, 28 Jun 2008 14:29:21 +0200 (CEST) (envelope-from sos@freebsd.org) Message-Id: <8BCFBA71-A39B-4A0E-9744-EEE8CEE2C3DA@freebsd.org> From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= To: "Garrett Cooper" In-Reply-To: <7d6fde3d0806280349j7eace513idb5cd81f9e2e4e0a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v924) Date: Sat, 28 Jun 2008 14:29:21 +0200 References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <1214492963.35536.22.camel@localhost> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> <6.0.0.22.2.20080627170323.02591528@mail.computinginnovations.com> <7d6fde3d0806272057p795277a2ie60ac7d7d10f0a6e@mail.gmail.com> <7d6fde3d0806280129i31874960ofbc7627598e1426f@mail.gmail.com> <735A937C-89A9-411A-AA3F-377F576E635E@freebsd.org> <7d6fde3d0806280348r65875755pf7dc3917bba2bcb5@mail.gmail.com> <7d6fde3d0806280349j7eace513idb5cd81f9e2e4e0a@mail.gmail.com> X-Mailer: Apple Mail (2.924) Cc: current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 12:29:24 -0000 On 28Jun, 2008, at 12:49 , Garrett Cooper wrote: > On Sat, Jun 28, 2008 at 2:02 AM, S=F8ren Schmidt =20 > wrote: >> >> Erm, this makes no sense at all. You state you use the "iir" driver =20= >> for the >> card, yet you expect to see the devices under ATA ? Those are two =20= >> very >> different animals, you can't use them together in away way or =20 >> fashion on the >> same drives. >> >> That asks the question: which one is it ? >> >> If you use "iir" I have no idea how/if a rebuild is possible under =20= >> FreeBSD, >> however it could be in the BIOS or with any other OS that supports =20= >> it (here >> the HW should have kept your parity data intact). >> >> If you use ATA you shouldn't have used RAID5 as the docs tell you, =20= >> as there >> will be no parity data to rebuild from no matter what BIOS/OS you =20 >> use -> you >> will get garbage no matter what. > > Uhm... ok, I'll bite. What documentation states how to use RAID's > under FreeBSD properly? The GEOM docs didn't seem to be what I was > looking for back then. Depends on what controller you are using, that is still the question ? -S=F8ren > From owner-freebsd-current@FreeBSD.ORG Sat Jun 28 16:54:52 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00AA1106567A for ; Sat, 28 Jun 2008 16:54:52 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id B09F28FC12 for ; Sat, 28 Jun 2008 16:54:51 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from [IPv6:2001:7b8:3a7:0:a188:959c:f273:4400] (unknown [IPv6:2001:7b8:3a7:0:a188:959c:f273:4400]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id A8EA43C; Sat, 28 Jun 2008 18:54:49 +0200 (CEST) Message-ID: <48666CD7.9020706@andric.com> Date: Sat, 28 Jun 2008 18:54:47 +0200 From: Dimitry Andric User-Agent: Thunderbird 2.0.0.16pre (Windows/20080621) MIME-Version: 1.0 To: pyunyh@gmail.com References: <20080607035911.GD4565@cdnetworks.co.kr> <484BC9FB.2040605@andric.com> <20080609012657.GD12521@cdnetworks.co.kr> <484D215A.7050700@andric.com> <20080609123206.GF12521@cdnetworks.co.kr> <484D25CC.9050106@andric.com> <20080610050550.GB17874@cdnetworks.co.kr> <484E9377.2050609@andric.com> <20080611005814.GA3529@cdnetworks.co.kr> In-Reply-To: <20080611005814.GA3529@cdnetworks.co.kr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: Call for testers: re(4) and RTL8168C/RTL8168CP/RTL8111C/RTL8111CP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 16:54:52 -0000 On 2008-06-11 02:58, Pyun YongHyeon wrote: > > This seems to work better, although it still takes quite some time > > (~10s) for the interfaces to go up at boot time. I haven't yet been > > able to get them "stuck", however, so that's good. :) > Hmm, that's interesting. Can you spot where re(4) spends its time? > Did RELENG_7 also have this issue? Apparently it's experiencing timeouts, I usually get these: re0: link state changed to DOWN re0: watchdog timeout re0: 3 link states coalesced re0: link state changed to UP re1: link state changed to DOWN I've been running all tests under RELENG_7, btw. Note also, these delays don't always happen, in some cases the interfaces react very quickly. In rare cases, they don't work at all, until you manually ifconfig down and up them a few times. What's funny though, is that the interfaces seem to start in DOWN mode: [...booting...] Mounting local file systems:. Setting hostname: tensor.andric.com. re0: link state changed to DOWN re1: link state changed to DOWN lo0: flags=8049 metric 0 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843 metric 0 mtu 1500 options=399b ether 00:30:18:a6:f1:a8 inet6 fe80::230:18ff:fea6:f1a8%re0 prefixlen 64 tentative scopeid 0x1 inet 87.251.56.140 netmask 0xffffffc0 broadcast 87.251.56.191 media: Ethernet autoselect (none) status: no carrier re1: flags=8843 metric 0 mtu 1500 options=399b ether 00:30:18:a6:f1:a9 inet6 fe80::230:18ff:fea6:f1a9%re1 prefixlen 64 tentative scopeid 0x2 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet autoselect (none) status: no carrier [...more initialization...] net.inet6.ip6.forwarding: 0 -> 1 net.inet6.ip6.accept_rtadv: 0 -> 0 re0: link state changed to UP re1: link state changed to UP and only then do they "really" go up... :) Do you have any good suggestions on where I could put some debug printfs in re to find out what it's timing out on? > Plugging/unplugging UTP cable to ethernet controller during boot > change the long delay? How about disabling WOL before system > shutdown?(e.g. ifconfig re0 -wol) Plugging/unplugging the cable doesn't seem to make much difference, and neither does disabling WOL before shutdown (or altogether)... From owner-freebsd-current@FreeBSD.ORG Sat Jun 28 21:10:31 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36D151065680 for ; Sat, 28 Jun 2008 21:10:31 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id AED9F8FC12 for ; Sat, 28 Jun 2008 21:10:30 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so597265fgb.35 for ; Sat, 28 Jun 2008 14:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PL3qbsCnaeCV7H3U0TAt68Jmt4z3ESOzCRSTQ/MgNJE=; b=IKyYAe2E+0ALJ/9I/dRZzil0ab4zRk2c655JkAm72+z1v7igI6pbhadNlwS3fTS/D+ QfD4FGS940qUZpCGIC+qGZAdbxRkzj6v5Dl8tUJ0G+5jqKyb4B02uosmQK1RL2CUUPca MDMTh+IXd6HFBo53fWbEwl6TuwTaOFN4wpxhY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=boO+k7Ur2XtUHOtdsnh6+tDyJ8PJm2JfTM/5zsxpgT6N7wkcJzz/uBAJL/AKxXQGrv GMrn7djRf5fdHVniprcjof3lsvXXKCBiTv9+93RN7lh228BSBTa5BJWdWuWdLGziyhZf sZLwHmFarXQGpZKsTZPDuzFX69nQWCWPagT2g= Received: by 10.86.84.5 with SMTP id h5mr3980384fgb.58.1214687429246; Sat, 28 Jun 2008 14:10:29 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Sat, 28 Jun 2008 14:10:29 -0700 (PDT) Message-ID: <7d6fde3d0806281410r781a6a77k98ffe237c10e3eee@mail.gmail.com> Date: Sat, 28 Jun 2008 14:10:29 -0700 From: "Garrett Cooper" To: "Derek Ragona" , "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" , ed@80386.nl In-Reply-To: <6.0.0.22.2.20080628132240.0255ba38@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> <6.0.0.22.2.20080627170323.02591528@mail.computinginnovations.com> <7d6fde3d0806272057p795277a2ie60ac7d7d10f0a6e@mail.gmail.com> <7d6fde3d0806280129i31874960ofbc7627598e1426f@mail.gmail.com> <735A937C-89A9-411A-AA3F-377F576E635E@freebsd.org> <7d6fde3d0806280348r65875755pf7dc3917bba2bcb5@mail.gmail.com> <7d6fde3d0806280349j7eace513idb5cd81f9e2e4e0a@mail.gmail.com> <6.0.0.22.2.20080628132240.0255ba38@mail.computinginnovations.com> Cc: current@freebsd.org Subject: Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 21:10:31 -0000 On Sat, Jun 28, 2008 at 11:30 AM, Derek Ragona wrote: > At 05:49 AM 6/28/2008, you wrote: > > On Sat, Jun 28, 2008 at 2:02 AM, S=F8ren Schmidt wrote: >> >> Erm, this makes no sense at all. You state you use the "iir" driver for >> the >> card, yet you expect to see the devices under ATA ? Those are two very >> different animals, you can't use them together in away way or fashion on >> the >> same drives. >> >> That asks the question: which one is it ? >> >> If you use "iir" I have no idea how/if a rebuild is possible under >> FreeBSD, >> however it could be in the BIOS or with any other OS that supports it >> (here >> the HW should have kept your parity data intact). >> >> If you use ATA you shouldn't have used RAID5 as the docs tell you, as >> there >> will be no parity data to rebuild from no matter what BIOS/OS you use -> >> you >> will get garbage no matter what. > > Uhm... ok, I'll bite. What documentation states how to use RAID's > under FreeBSD properly? The GEOM docs didn't seem to be what I was > looking for back then. > >>> Thanks for the help and support. This definitely served as a lesson to >>> backup my data more often... >> >> That by itself may be worth all the trouble :) > > No doubt. > > Thanks :), > -Garrett > > You can either use the built in RAID software in FreeBSD or use the hardw= are > makers RAID outside FreeBSD. > > If you use the internal FreeBSD for a software RAID, most recommend you u= se > the RAID for non-boot, using a separate disk to boot from. Basically usi= ng > a smaller drive for / so the system is bootable and configurable with or > without RAID. Then add your RAID after installing FreeBSD. > > If you choose to just setup a RAID array in the hardware, then usually > FreeBSD just see this volume as one large single drive you can partition = and > use like one huge virtual disk. In the case of errors or failures you ne= ed > to check the console logs when the system boots. I wouldn't recommend th= is > method UNLESS you do RAID 10 with hot spare drives. So any drive failure= s > are rebuilt for you, so errors on reboots will still need to be checked, = but > just to see if a drive needs to be replaced. > > Depending on the systems use, you may find it easier to use one of the > "packaged" solutions based on FreeBSD, such as: > www.freenas.org > or > http://m0n0.ch/wall/ Thanks for the comments Derek, Soren, and Ed. FWIW (I've discovered this through personal experience and reading a lot of docs), the only way to get "hardware RAID" with iir and the ICH9R chipset is through the Matrix Manager (either by creating one at the BIOS level console or Windows -- bleh). FreeBSD spotted it as a single drive (/dev/ar0), so at that point it was being managed by the southbridge. Performance sucks, the array rebuild takes eons (16 hours for adding a 1TB drive to an existing 4 x 750GB drive array with an Core 2 E6700 with 2GB RAM under Vista x64) and the rebuild console is _only_ available under Windows =3D(. At least it's keeping the filesystem intact though, long enough for me to make a redundant copy of the data then move all this junk over to another safe place while I grab DVD+R/W's and wait for my 3ware card to come in the mail.. Thanks, -Garrett From owner-freebsd-current@FreeBSD.ORG Sat Jun 28 21:52:05 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81866106566C for ; Sat, 28 Jun 2008 21:52:05 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 17D588FC17 for ; Sat, 28 Jun 2008 21:52:04 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m5SLpUGK048715; Sat, 28 Jun 2008 16:51:30 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080628164840.025cbaf0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sat, 28 Jun 2008 16:51:25 -0500 To: "Garrett Cooper" , =?iso-8859-1?Q?=22S=F8ren_Schmidt=22?= , ed@80386.nl From: Derek Ragona In-Reply-To: <7d6fde3d0806281410r781a6a77k98ffe237c10e3eee@mail.gmail.co m> References: <7d6fde3d0806260649t6619521bv92b65c472ddb7e1@mail.gmail.com> <4863B968.4040805@clearchain.com> <7d6fde3d0806262004u171bf9dx179564be5a76d9c7@mail.gmail.com> <6.0.0.22.2.20080627170323.02591528@mail.computinginnovations.com> <7d6fde3d0806272057p795277a2ie60ac7d7d10f0a6e@mail.gmail.com> <7d6fde3d0806280129i31874960ofbc7627598e1426f@mail.gmail.com> <735A937C-89A9-411A-AA3F-377F576E635E@freebsd.org> <7d6fde3d0806280348r65875755pf7dc3917bba2bcb5@mail.gmail.com> <7d6fde3d0806280349j7eace513idb5cd81f9e2e4e0a@mail.gmail.com> <6.0.0.22.2.20080628132240.0255ba38@mail.computinginnovations.com> <7d6fde3d0806281410r781a6a77k98ffe237c10e3eee@mail.gmail.com> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080628-0, 06/28/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93/6806/Wed Apr 16 15:50:16 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m5SLpUGK048715 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: {Spam?} Re: URGENT: Need help rebuilding iir RAID5 array with failed drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 21:52:05 -0000 At 04:10 PM 6/28/2008, Garrett Cooper wrote: >On Sat, Jun 28, 2008 at 11:30 AM, Derek Ragona > wrote: > > At 05:49 AM 6/28/2008, you wrote: > > > > On Sat, Jun 28, 2008 at 2:02 AM, S=F8ren Schmidt wrot= e: > >> > >> Erm, this makes no sense at all. You state you use the "iir" driver for > >> the > >> card, yet you expect to see the devices under ATA ? Those are two very > >> different animals, you can't use them together in away way or fashion = on > >> the > >> same drives. > >> > >> That asks the question: which one is it ? > >> > >> If you use "iir" I have no idea how/if a rebuild is possible under > >> FreeBSD, > >> however it could be in the BIOS or with any other OS that supports it > >> (here > >> the HW should have kept your parity data intact). > >> > >> If you use ATA you shouldn't have used RAID5 as the docs tell you, as > >> there > >> will be no parity data to rebuild from no matter what BIOS/OS you use = -> > >> you > >> will get garbage no matter what. > > > > Uhm... ok, I'll bite. What documentation states how to use RAID's > > under FreeBSD properly? The GEOM docs didn't seem to be what I was > > looking for back then. > > > >>> Thanks for the help and support. This definitely served as a lesson to > >>> backup my data more often... > >> > >> That by itself may be worth all the trouble :) > > > > No doubt. > > > > Thanks :), > > -Garrett > > > > You can either use the built in RAID software in FreeBSD or use the=20 > hardware > > makers RAID outside FreeBSD. > > > > If you use the internal FreeBSD for a software RAID, most recommend you= use > > the RAID for non-boot, using a separate disk to boot from. Basically u= sing > > a smaller drive for / so the system is bootable and configurable with or > > without RAID. Then add your RAID after installing FreeBSD. > > > > If you choose to just setup a RAID array in the hardware, then usually > > FreeBSD just see this volume as one large single drive you can=20 > partition and > > use like one huge virtual disk. In the case of errors or failures you = need > > to check the console logs when the system boots. I wouldn't recommend = this > > method UNLESS you do RAID 10 with hot spare drives. So any drive failu= res > > are rebuilt for you, so errors on reboots will still need to be=20 > checked, but > > just to see if a drive needs to be replaced. > > > > Depending on the systems use, you may find it easier to use one of the > > "packaged" solutions based on FreeBSD, such as: > > www.freenas.org > > or > > http://m0n0.ch/wall/ > >Thanks for the comments Derek, Soren, and Ed. > >FWIW (I've discovered this through personal experience and reading a >lot of docs), the only way to get "hardware RAID" with iir and the >ICH9R chipset is through the Matrix Manager (either by creating one at >the BIOS level console or Windows -- bleh). FreeBSD spotted it as a >single drive (/dev/ar0), so at that point it was being managed by the >southbridge. > >Performance sucks, the array rebuild takes eons (16 hours for adding a >1TB drive to an existing 4 x 750GB drive array with an Core 2 E6700 >with 2GB RAM under Vista x64) and the rebuild console is _only_ >available under Windows =3D(. > >At least it's keeping the filesystem intact though, long enough for me >to make a redundant copy of the data then move all this junk over to >another safe place while I grab DVD+R/W's and wait for my 3ware card >to come in the mail.. > >Thanks, >-Garrett > >-- Garrett, There is a setting in the matrix manager on some versions to set the=20 rebuild rate. It defaults to a low value like 30% so the array rebuild can= =20 take place with the OS still running and usable. If the system is really= =20 doing nothing else, bump that value to 90-100%, it will rebuild MUCH faster= =20 then. -Derek --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.