From owner-freebsd-stable@FreeBSD.ORG Sun May 18 07:19:37 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC18E1065671; Sun, 18 May 2008 07:19:37 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 219028FC1F; Sun, 18 May 2008 07:19:36 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m4I7JPia047593; Sun, 18 May 2008 08:19:31 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.5 smtp.infracaninophile.co.uk m4I7JPia047593 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1211095171; bh=iWyqktAVywGpDc U0NcrxG8hB86FP9xRqEpWwTqbmoGA=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<482FD877.6050707@infracaninophile.co.uk>|Date:=20Sun,=2 018=20May=202008=2008:19:19=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.14=20(X11/20080503)|MIME-Version:=201 .0|To:=20=3D?ISO-8859-1?Q?Johan_Str=3DF6m?=3D=20 |CC:=20Alex=20Trull=20,=20freebsd-net@freebsd.org,= 20=0D=0A=20freebsd-stable=20,=0D=0A=20f reebsd-pf@freebsd.org|Subject:=20Re:=20connect():=20Operation=20not =20permitted|References:=20<678A03F5-5E8A-4CF6-90DF-AA9A4F30FBE1@st romnet.se>=09<1211037564.6326.27.camel@porksoda>=20<679DB462-75D6-4 5CC-949C-1BE8E12C22CD@stromnet.se>|In-Reply-To:=20<679DB462-75D6-45 CC-949C-1BE8E12C22CD@stromnet.se>|X-Enigmail-Version:=200.95.6|Cont ent-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20pr otocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"------- -----enig220B22B21812B7D67D58F6E8"; b=w7qPpxsaWqz6TEKv4DfNfAWG1f4BY NvqZJ+Qxop7l87WoCeipBz42/rDtdapiWN0z7aEv8sZGHWTSfDPSjHJXbCHbR/LLxwL 2fdEMrNW6bWWbmhZmRMKM5FWEMzXypFj9Fksze1EcodyIrj1CcNKRlUZNCBksI/4QyB egiOx4kE= Message-ID: <482FD877.6050707@infracaninophile.co.uk> Date: Sun, 18 May 2008 08:19:19 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.14 (X11/20080503) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Johan_Str=F6m?= References: <678A03F5-5E8A-4CF6-90DF-AA9A4F30FBE1@stromnet.se> <1211037564.6326.27.camel@porksoda> <679DB462-75D6-45CC-949C-1BE8E12C22CD@stromnet.se> In-Reply-To: <679DB462-75D6-45CC-949C-1BE8E12C22CD@stromnet.se> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig220B22B21812B7D67D58F6E8" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 18 May 2008 08:19:31 +0100 (BST) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: Alex Trull , freebsd-pf@freebsd.org, freebsd-stable , freebsd-net@freebsd.org Subject: Re: connect(): Operation not permitted X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 07:19:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig220B22B21812B7D67D58F6E8 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Johan Str=F6m wrote: > drop all traffic)? A check with pfctl -vsr reveals that the actual rule= =20 > inserted is "pass on lo0 inet from 123.123.123.123 to 123.123.123.123=20 > flags S/SA keep state". Where did that "keep state" come from? 'flags S/SA keep state' is the default now for tcp filter rules -- that was new in 7.0 reflecting the upstream changes made between the 4.0 and 4= =2E1 releases of OpenBSD. If you want a stateless rule, append 'no state'. http://www.openbsd.org/faq/pf/filter.html#state Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig220B22B21812B7D67D58F6E8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkgv2HwACgkQ8Mjk52CukIwjCwCfa/ntbIVtKQwooaR/j8aLxKPF ukEAni24eJYNJRCwOLZUQFCd2A1kf+tO =2vt+ -----END PGP SIGNATURE----- --------------enig220B22B21812B7D67D58F6E8-- From owner-freebsd-stable@FreeBSD.ORG Sun May 18 07:26:48 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88AFF106564A; Sun, 18 May 2008 07:26:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id B26B38FC19; Sun, 18 May 2008 07:26:46 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id RAA09160; Sun, 18 May 2008 17:26:37 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 18 May 2008 17:26:36 +1000 (EST) From: Ian Smith To: Vivek Khera In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-ipfw@freebsd.org, FreeBSD Stable Subject: Re: how much memory does increasing max rules for IPFW take up? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 07:26:48 -0000 On Fri, 16 May 2008, Vivek Khera wrote: > How are the buckets used? Are they hashed per rule number or some > other mechanism? Nearly all of my states are from the same rule (eg, > on a mail server for the SMTP port rule). /sys/netinet/ip_fw.h /sys/netinet/ip_fw2.c Hashed per flow, (srcip^destip^srcport^dstport) mod curr_dyn_buckets, so packets for both directions of a given flow hash to the same bucket. In the case you mention, you could likely expect reasonable distribution by src_ip/src_port. The rule number doesn't contribute to the hash, but is contained in the dynamic rule entry, ie a matched flow resolves to its rule at the first check_state or keep_state rule encountered. Try searching for '_STATE'. Each bucket just contains a pointer, so on i386 I'd expect 1KB per 256 buckets, see realloc_dynamic_table. The 'pointees', ipfw_dyn_rule, are around 70? bytes each with 32-bit pointers, so 4K current dynamic rules should use around 280KB? Somebody yell if I'm badly miscalculating .. > How should I scale the buckets with the max rules? The default seems > to be 4096 rules and 256 buckets. Should I maintain that ratio? Sounds reasonable. Extra buckets look cheap, if I'm reading it right, and memory otherwise appears to be only allocated on use, per new flow, but I'm ignorant of any other memory allocation overheads. caveats: 5.5 sources; C is read-only here; not subscribed to -ipfw cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Sun May 18 10:33:58 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27502106564A; Sun, 18 May 2008 10:33:58 +0000 (UTC) (envelope-from johan@stromnet.se) Received: from core.stromnet.se (core.stromnet.se [83.218.84.131]) by mx1.freebsd.org (Postfix) with ESMTP id CF7038FC1E; Sun, 18 May 2008 10:33:57 +0000 (UTC) (envelope-from johan@stromnet.se) Received: from localhost (core.stromnet.se [83.218.84.131]) by core.stromnet.se (Postfix) with ESMTP id CA17FF5B078; Sun, 18 May 2008 12:33:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at stromnet.se X-Spam-Flag: NO X-Spam-Score: 0.176 X-Spam-Level: X-Spam-Status: No, score=0.176 tagged_above=0 required=6.2 tests=[AWL=1.982, BAYES_00=-2.599, RDNS_DYNAMIC=0.1, SPF_FAIL=0.693] Received: from core.stromnet.se ([83.218.84.131]) by localhost (core.stromnet.se [83.218.84.131]) (amavisd-new, port 10024) with ESMTP id lvorf6evv2oD; Sun, 18 May 2008 12:33:52 +0200 (CEST) Received: from johan-mp.stromnet.se (90-224-172-102-no129.tbcn.telia.com [90.224.172.102]) by core.stromnet.se (Postfix) with ESMTP id 48A7AF5AFF5; Sun, 18 May 2008 12:33:52 +0200 (CEST) Message-Id: From: =?ISO-8859-1?Q?Johan_Str=F6m?= To: Matthew Seaman In-Reply-To: <482FD877.6050707@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sun, 18 May 2008 12:33:51 +0200 References: <678A03F5-5E8A-4CF6-90DF-AA9A4F30FBE1@stromnet.se> <1211037564.6326.27.camel@porksoda> <679DB462-75D6-45CC-949C-1BE8E12C22CD@stromnet.se> <482FD877.6050707@infracaninophile.co.uk> X-Mailer: Apple Mail (2.919.2) Cc: Alex Trull , freebsd-pf@freebsd.org, freebsd-stable , freebsd-net@freebsd.org Subject: Re: connect(): Operation not permitted X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 10:33:58 -0000 On May 18, 2008, at 9:19 AM, Matthew Seaman wrote: > Johan Str=F6m wrote: > >> drop all traffic)? A check with pfctl -vsr reveals that the actual =20= >> rule inserted is "pass on lo0 inet from 123.123.123.123 to =20 >> 123.123.123.123 flags S/SA keep state". Where did that "keep state" =20= >> come from? > > 'flags S/SA keep state' is the default now for tcp filter rules -- =20 > that > was new in 7.0 reflecting the upstream changes made between the 4.0 =20= > and 4.1 > releases of OpenBSD. If you want a stateless rule, append 'no state'. > > http://www.openbsd.org/faq/pf/filter.html#state Thanks! I was actually looking around in the pf.conf manpage but =20 failed to find it yesterday, but looking closer today I now saw it. Applied the no state (and quick) to the rule, and now no state is =20 created. And the problem I had in the first place seems to have been resolved =20 too now, even though it didn't look like a state problem.. (started to =20= deny new connections much earlier than the states was full, altough =20 maybee i wasnt looking for updates fast enough or something). Anyways, thanks to all helping me out, and of course thanks to =20 everybody involved in FreeBSD/pf and all for great products! Cannot be =20= said enough times ;)= From owner-freebsd-stable@FreeBSD.ORG Sun May 18 13:57:24 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67344106566C; Sun, 18 May 2008 13:57:24 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id EBA638FC13; Sun, 18 May 2008 13:57:23 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from nbc.matik.com.br (nbc.matik.com.br [200.152.88.34] (may be forged)) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id m4ICuj4U054501; Sun, 18 May 2008 09:56:45 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-stable Date: Sun, 18 May 2008 09:56:17 -0300 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200805180956.18211.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on msrv.matik.com.br X-Virus-Status: Clean Cc: freebsd-bugs@freebsd.org Subject: possible zfs bug? lost all pools X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 13:57:24 -0000 after trying to mount my zfs pools in single user mode I got the following= =20 message for each: May 18 09:09:36 gw kernel: ZFS: WARNING: pool 'cache1' could not be loaded = as=20 it was last accessed by another system (host: gw.bb1.matik.com.br hostid:=20 0xbefb4a0f). See: http://www.sun.com/msg/ZFS-8000-EY any zpool cmd returned nothing else as not existing zfs, seems the zfs info= on=20 disks was gone to double-check I recreated them, rebooted in single user mode and repeated= =20 the story, same thing, trying to /etc/rc.d/zfs start returnes the above msg= =20 and pools are gone ... I guess this is kind of wrong=20 =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Sun May 18 14:11:41 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAAB0106566B for ; Sun, 18 May 2008 14:11:41 +0000 (UTC) (envelope-from byshenknet@byshenk.net) Received: from core.byshenk.net (core.byshenk.net [62.58.73.230]) by mx1.freebsd.org (Postfix) with ESMTP id 767C48FC0A for ; Sun, 18 May 2008 14:11:41 +0000 (UTC) (envelope-from byshenknet@byshenk.net) Received: from core.byshenk.net (localhost.aoes.com [127.0.0.1]) by core.byshenk.net (8.14.2/8.14.2) with ESMTP id m4IEBdl7009251; Sun, 18 May 2008 16:11:39 +0200 (CEST) (envelope-from byshenknet@core.byshenk.net) Received: (from byshenknet@localhost) by core.byshenk.net (8.14.2/8.14.2/Submit) id m4IEBdUl009250; Sun, 18 May 2008 16:11:39 +0200 (CEST) (envelope-from byshenknet) Date: Sun, 18 May 2008 16:11:38 +0200 From: Greg Byshenk To: JoaoBR Message-ID: <20080518141138.GD808@core.byshenk.net> References: <200805180956.18211.joao@matik.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805180956.18211.joao@matik.com.br> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on core.byshenk.net Cc: freebsd-bugs@freebsd.org, freebsd-stable Subject: Re: possible zfs bug? lost all pools X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 14:11:41 -0000 On Sun, May 18, 2008 at 09:56:17AM -0300, JoaoBR wrote: > after trying to mount my zfs pools in single user mode I got the following > message for each: > > May 18 09:09:36 gw kernel: ZFS: WARNING: pool 'cache1' could not be loaded as > it was last accessed by another system (host: gw.bb1.matik.com.br hostid: > 0xbefb4a0f). See: http://www.sun.com/msg/ZFS-8000-EY > > any zpool cmd returned nothing else as not existing zfs, seems the zfs info on > disks was gone > > to double-check I recreated them, rebooted in single user mode and repeated > the story, same thing, trying to /etc/rc.d/zfs start returnes the above msg > and pools are gone ... > > I guess this is kind of wrong I think that the problem is related to the absence of a hostid when in single-user. Try running '/etc/rc.d/hostid start' before mouning. http://lists.freebsd.org/pipermail/freebsd-current/2007-July/075001.html -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL From owner-freebsd-stable@FreeBSD.ORG Sun May 18 14:13:05 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B767610656B5 for ; Sun, 18 May 2008 14:13:05 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.freebsd.org (Postfix) with ESMTP id 565CF8FC19 for ; Sun, 18 May 2008 14:13:03 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0K1200CJMI5HG5D0@osl1smout1.broadpark.no> for freebsd-stable@freebsd.org; Sun, 18 May 2008 16:12:53 +0200 (CEST) Received: from kg-work.kg4.no ([80.202.173.59]) by osl1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0K1200EIPI5H7O32@osl1sminn1.broadpark.no> for freebsd-stable@freebsd.org; Sun, 18 May 2008 16:12:53 +0200 (CEST) Date: Sun, 18 May 2008 16:12:53 +0200 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Message-id: <20080518161253.019d1721.torfinn.ingolfsen@broadpark.no> In-reply-to: <200805180956.18211.joao@matik.com.br> References: <200805180956.18211.joao@matik.com.br> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd6.3) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: possible zfs bug? lost all pools X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 14:13:06 -0000 On Sun, 18 May 2008 09:56:17 -0300 JoaoBR wrote: > after trying to mount my zfs pools in single user mode I got the > following message for each: > > May 18 09:09:36 gw kernel: ZFS: WARNING: pool 'cache1' could not be > loaded as it was last accessed by another system (host: > gw.bb1.matik.com.br hostid: 0xbefb4a0f). See: > http://www.sun.com/msg/ZFS-8000-EY Did you run '/etc/rc.d.hostid start' first? IIRC, it is needed before zfs will mount in single-user mode. HTH -- Regards, Torfinn Ingolfsen From owner-freebsd-stable@FreeBSD.ORG Sun May 18 14:28:31 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB8431065673 for ; Sun, 18 May 2008 14:28:31 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from mail.skytek.it (mail.skytek.it [217.194.176.18]) by mx1.freebsd.org (Postfix) with ESMTP id 4C60C8FC13 for ; Sun, 18 May 2008 14:28:31 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from [192.168.30.100] ([192.168.30.100]) by mail.skytek.it (Skytek Mail Server v.11.47-p9) with ASMTP id YTH37537 for ; Sun, 18 May 2008 16:15:37 +0200 Message-ID: <48303A1B.9000103@skytek.it> Date: Sun, 18 May 2008 16:15:55 +0200 From: Daniel Ponticello User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Disk access/MPT under ESX3.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 14:28:31 -0000 Hello, i'm running some tests with FreeBSD6.3 and FreeBSD7-Stable, using both AMD64 and I386 arch with both schedulers (ULE and 4BSD) on VmWare ESX3.5 server. Everything runs almost fine, except for disk access. Performance is quite OK (around 60mb/sec), but when accessing disks, System (kernel) CPU load goes up to 70%. This doesn't look normal. The same behavior is present on all test configurations. monitor# dmesg | grep mpt mpt0: port 0x1080-0x10ff mem 0xf4810000-0xf4810fff irq 17 at device 16.0 on pci0 mpt0: [ITHREAD] mpt0: MPI Version=1.2.0.0 da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: Command Queueing Enabled da0: 34816MB (71303168 512 byte sectors: 255H 63S/T 4438C) Any suggestions? Thanks, Daniel -- WBR, Cordiali Saluti, Daniel Ponticello, VP of Engineering Network Coordination Centre of Skytek --- - For further information about our services: - Please visit our website at http://www.Skytek.it --- From owner-freebsd-stable@FreeBSD.ORG Sun May 18 15:17:56 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9007106567A; Sun, 18 May 2008 15:17:56 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 31F408FC22; Sun, 18 May 2008 15:17:55 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id m4IFHihZ064609; Sun, 18 May 2008 12:17:44 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-bugs@freebsd.org, freebsd-stable , Greg Byshenk , Torfinn Ingolfsen Date: Sun, 18 May 2008 12:20:33 -0300 User-Agent: KMail/1.9.7 References: <200805180956.18211.joao@matik.com.br> <20080518141138.GD808@core.byshenk.net> In-Reply-To: <20080518141138.GD808@core.byshenk.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200805181220.33599.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on msrv.matik.com.br X-Virus-Status: Clean Cc: Subject: Re: possible zfs bug? lost all pools X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 15:17:56 -0000 On Sunday 18 May 2008 11:11:38 Greg Byshenk wrote: > On Sun, May 18, 2008 at 09:56:17AM -0300, JoaoBR wrote: > > after trying to mount my zfs pools in single user mode I got the > > following message for each: > > > > May 18 09:09:36 gw kernel: ZFS: WARNING: pool 'cache1' could not be > > loaded as it was last accessed by another system (host: > > gw.bb1.matik.com.br hostid: 0xbefb4a0f). See: > > http://www.sun.com/msg/ZFS-8000-EY > > > > any zpool cmd returned nothing else as not existing zfs, seems the zfs > > info on disks was gone > > > > to double-check I recreated them, rebooted in single user mode and > > repeated the story, same thing, trying to /etc/rc.d/zfs start returnes > > the above msg and pools are gone ... > > > > I guess this is kind of wrong > > I think that the problem is related to the absence of a hostid when in > single-user. Try running '/etc/rc.d/hostid start' before mouning. > well, obviously that came to my mind after seeing the msg ... anyway the pools should not vanish don't you agree? and if necessary /etc/rc.d/zfs should start hostid or at least set REQUIRE= =20 different and warn thank's =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Sun May 18 15:39:11 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1936106564A for ; Sun, 18 May 2008 15:39:11 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9F8348FC1C for ; Sun, 18 May 2008 15:39:11 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 774A31CC033; Sun, 18 May 2008 08:39:11 -0700 (PDT) Date: Sun, 18 May 2008 08:39:11 -0700 From: Jeremy Chadwick To: JoaoBR Message-ID: <20080518153911.GA22300@eos.sc1.parodius.com> References: <200805180956.18211.joao@matik.com.br> <20080518141138.GD808@core.byshenk.net> <200805181220.33599.joao@matik.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805181220.33599.joao@matik.com.br> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Torfinn Ingolfsen , freebsd-bugs@freebsd.org, freebsd-stable , Greg Byshenk Subject: Re: possible zfs bug? lost all pools X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 15:39:11 -0000 On Sun, May 18, 2008 at 12:20:33PM -0300, JoaoBR wrote: > On Sunday 18 May 2008 11:11:38 Greg Byshenk wrote: > > On Sun, May 18, 2008 at 09:56:17AM -0300, JoaoBR wrote: > > > after trying to mount my zfs pools in single user mode I got the > > > following message for each: > > > > > > May 18 09:09:36 gw kernel: ZFS: WARNING: pool 'cache1' could not be > > > loaded as it was last accessed by another system (host: > > > gw.bb1.matik.com.br hostid: 0xbefb4a0f). See: > > > http://www.sun.com/msg/ZFS-8000-EY > > > > > > any zpool cmd returned nothing else as not existing zfs, seems the zfs > > > info on disks was gone > > > > > > to double-check I recreated them, rebooted in single user mode and > > > repeated the story, same thing, trying to /etc/rc.d/zfs start returnes > > > the above msg and pools are gone ... > > > > > > I guess this is kind of wrong > > > > I think that the problem is related to the absence of a hostid when in > > single-user. Try running '/etc/rc.d/hostid start' before mouning. > > well, obviously that came to my mind after seeing the msg ... > > anyway the pools should not vanish don't you agree? > > and if necessary /etc/rc.d/zfs should start hostid or at least set REQUIRE > different and warn I've been in the same boat you are, and I was told the same thing. I've documented the situation on my Wiki, and the necessary workarounds. http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues This sort of thing needs to get hammered out before ZFS can be considered "usable" from a system administration perspective. Expecting people to remember to run an rc.d startup script before they can use any of their filesystems borders on unrealistic. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Sun May 18 17:56:24 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94C5D1065671 for ; Sun, 18 May 2008 17:56:24 +0000 (UTC) (envelope-from kian.mohageri@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5DC8FC39 for ; Sun, 18 May 2008 17:56:23 +0000 (UTC) (envelope-from kian.mohageri@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so987364wfg.7 for ; Sun, 18 May 2008 10:56: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=QTfaQKgKefpYojHrfCXWQp6lMgu7zDIPVcdEzI/F3Zg=; b=M2jj2TJBbCz5/zup3RaSgyxVIBVrWEYBdVOBV6RKQYUkCArXwArrOX/7WuQLFRkebs6KWZeWcG6b0JBWW5xmU4piqJvbDb23OnC6mmzT2Pj9/nK1S4WgeorNDFbkX4uDa1KebSuFaHBBn8SZi9YPflcb7Q+HxJDd1pWvaVGx2Zw= 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=EMBSg6Sc2718xODEfKjHL11TMJZphNZ4gqQofrS1BAY4OIKdTbDiKMswQzZS60x1WCTqbvMOA3Eh/ebsUZmiVXi1mKFLwfoeEyVd1Q72HuRXTt/tRpfAU4CwEspXSXKY2spZx0mHhAik7cqFBghSjMIADYdAXEf+mZE0bVYDAkY= Received: by 10.142.86.7 with SMTP id j7mr2465478wfb.78.1211131759597; Sun, 18 May 2008 10:29:19 -0700 (PDT) Received: by 10.143.195.9 with HTTP; Sun, 18 May 2008 10:29:19 -0700 (PDT) Message-ID: Date: Sun, 18 May 2008 10:29:19 -0700 From: "Kian Mohageri" To: "=?UTF-8?Q?Johan_Str=C3=B6m?=" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <678A03F5-5E8A-4CF6-90DF-AA9A4F30FBE1@stromnet.se> <1211037564.6326.27.camel@porksoda> <679DB462-75D6-45CC-949C-1BE8E12C22CD@stromnet.se> <482FD877.6050707@infracaninophile.co.uk> Cc: Alex Trull , freebsd-net@freebsd.org, freebsd-stable , freebsd-pf@freebsd.org Subject: Re: connect(): Operation not permitted X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 17:56:24 -0000 T24gU3VuLCBNYXkgMTgsIDIwMDggYXQgMzozMyBBTSwgSm9oYW4gU3Ryw7ZtIDxqb2hhbkBzdHJv bW5ldC5zZT4gd3JvdGU6Cj4gT24gTWF5IDE4LCAyMDA4LCBhdCA5OjE5IEFNLCBNYXR0aGV3IFNl YW1hbiB3cm90ZToKPgo+PiBKb2hhbiBTdHLDtm0gd3JvdGU6Cj4+Cj4+PiBkcm9wIGFsbCB0cmFm ZmljKT8gQSBjaGVjayB3aXRoIHBmY3RsIC12c3IgcmV2ZWFscyB0aGF0IHRoZSBhY3R1YWwgcnVs ZQo+Pj4gaW5zZXJ0ZWQgaXMgInBhc3Mgb24gbG8wIGluZXQgZnJvbSAxMjMuMTIzLjEyMy4xMjMg dG8gMTIzLjEyMy4xMjMuMTIzIGZsYWdzCj4+PiBTL1NBIGtlZXAgc3RhdGUiLiBXaGVyZSBkaWQg dGhhdCAia2VlcCBzdGF0ZSIgY29tZSBmcm9tPwo+Pgo+PiAnZmxhZ3MgUy9TQSBrZWVwIHN0YXRl JyBpcyB0aGUgZGVmYXVsdCBub3cgZm9yIHRjcCBmaWx0ZXIgcnVsZXMgLS0gdGhhdAo+PiB3YXMg bmV3IGluIDcuMCByZWZsZWN0aW5nIHRoZSB1cHN0cmVhbSBjaGFuZ2VzIG1hZGUgYmV0d2VlbiB0 aGUgNC4wIGFuZAo+PiA0LjEKPj4gcmVsZWFzZXMgb2YgT3BlbkJTRC4gIElmIHlvdSB3YW50IGEg c3RhdGVsZXNzIHJ1bGUsIGFwcGVuZCAnbm8gc3RhdGUnLgo+Pgo+PiBodHRwOi8vd3d3Lm9wZW5i c2Qub3JnL2ZhcS9wZi9maWx0ZXIuaHRtbCNzdGF0ZQo+Cj4gVGhhbmtzISBJIHdhcyBhY3R1YWxs eSBsb29raW5nIGFyb3VuZCBpbiB0aGUgcGYuY29uZiBtYW5wYWdlIGJ1dCBmYWlsZWQgdG8KPiBm aW5kIGl0IHllc3RlcmRheSwgYnV0IGxvb2tpbmcgY2xvc2VyIHRvZGF5IEkgbm93IHNhdyBpdC4K PiBBcHBsaWVkIHRoZSBubyBzdGF0ZSAoYW5kIHF1aWNrKSB0byB0aGUgcnVsZSwgYW5kIG5vdyBu byBzdGF0ZSBpcyBjcmVhdGVkLgo+IEFuZCB0aGUgcHJvYmxlbSBJIGhhZCBpbiB0aGUgZmlyc3Qg cGxhY2Ugc2VlbXMgdG8gaGF2ZSBiZWVuIHJlc29sdmVkIHRvbwo+IG5vdywgZXZlbiB0aG91Z2gg aXQgZGlkbid0IGxvb2sgbGlrZSBhIHN0YXRlIHByb2JsZW0uLiAoc3RhcnRlZCB0byBkZW55IG5l dwo+IGNvbm5lY3Rpb25zIG11Y2ggZWFybGllciB0aGFuIHRoZSBzdGF0ZXMgd2FzIGZ1bGwsIGFs dG91Z2ggbWF5YmVlIGkgd2FzbnQKPiBsb29raW5nIGZvciB1cGRhdGVzIGZhc3QgZW5vdWdoIG9y IHNvbWV0aGluZykuCj4KCkknZCBiZSB3aWxsaW5nIHRvIGJldCBpdCdzIGJlY2F1c2UgeW91J3Jl IHJldXNpbmcgdGhlIHNvdXJjZSBwb3J0IG9uIGEKbmV3IGNvbm5lY3Rpb24gYmVmb3JlIHRoZSBv bGQgc3RhdGUgZXhwaXJlcy4KCllvdSdsbCBrbm93IGlmIHlvdSBjaGVjayB0aGUgc3RhdGUtbWlz bWF0Y2ggY291bnRlci4KCkFueXdheSwgZ2xhZCB5b3UgZm91bmQgYSByZXNvbHV0aW9uLgoKLUtp YW4K From owner-freebsd-stable@FreeBSD.ORG Sun May 18 18:12:38 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7A90106564A; Sun, 18 May 2008 18:12:38 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6908B8FC17; Sun, 18 May 2008 18:12:38 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from nbc.matik.com.br (nbc.matik.com.br [200.152.88.34] (may be forged)) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id m4IICQpE077529; Sun, 18 May 2008 15:12:26 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-bugs@freebsd.org Date: Sun, 18 May 2008 15:11:55 -0300 User-Agent: KMail/1.9.9 References: <200805180956.18211.joao@matik.com.br> <200805181220.33599.joao@matik.com.br> <20080518153911.GA22300@eos.sc1.parodius.com> In-Reply-To: <20080518153911.GA22300@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200805181511.56646.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on msrv.matik.com.br X-Virus-Status: Clean Cc: Torfinn Ingolfsen , Jeremy Chadwick , freebsd-stable , Greg Byshenk Subject: Re: possible zfs bug? lost all pools X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 18:12:39 -0000 On Sunday 18 May 2008 12:39:11 Jeremy Chadwick wrote: > On Sun, May 18, 2008 at 12:20:33PM -0300, JoaoBR wrote: > > On Sunday 18 May 2008 11:11:38 Greg Byshenk wrote: > > > On Sun, May 18, 2008 at 09:56:17AM -0300, JoaoBR wrote: > > > > after trying to mount my zfs pools in single user mode I got the > > > > following message for each: > > > > > > > > May 18 09:09:36 gw kernel: ZFS: WARNING: pool 'cache1' could not be > > > > loaded as it was last accessed by another system (host: > > > > gw.bb1.matik.com.br hostid: 0xbefb4a0f). See: > > > > http://www.sun.com/msg/ZFS-8000-EY > > > > > > > > any zpool cmd returned nothing else as not existing zfs, seems the > > > > zfs info on disks was gone > > > > > > > > to double-check I recreated them, rebooted in single user mode and > > > > repeated the story, same thing, trying to /etc/rc.d/zfs start > > > > returnes the above msg and pools are gone ... > > > > > > > > I guess this is kind of wrong > > > > > > I think that the problem is related to the absence of a hostid when in > > > single-user. Try running '/etc/rc.d/hostid start' before mouning. > > > > well, obviously that came to my mind after seeing the msg ... > > > > anyway the pools should not vanish don't you agree? > > > > and if necessary /etc/rc.d/zfs should start hostid or at least set > > REQUIRE different and warn > > I've been in the same boat you are, and I was told the same thing. I've > documented the situation on my Wiki, and the necessary workarounds. > > http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues > nice work this page, thanks > This sort of thing needs to get hammered out before ZFS can be > considered "usable" from a system administration perspective. Expecting > people to remember to run an rc.d startup script before they can use any > of their filesystems borders on unrealistic. yes but on the other side we know it is new stuff and sometimes the price i= s=20 what happens to me this morning but then it also helps to make things better anyway, a little fix to rc.d/zfs like if [ ! "`sysctl -n kern.hostiid 2>/dev/null`" ]; then echo "zfs needs hosti= d=20 first"; exit 0; fi or something as precmd or first in zfs_start_main should fix this issue talking about there are more things, I experienced still not working swapon|off from rc.d/zfs script does not work either not sure what it is because same part of script run as root works, adding a= =20 dash to #!/bin/sh does not help either, from rc.d/zfs the state returns a=20 dash do not see sense in rc.d/zfs `zfs share` since it is the default when share= nfs=20 property is enabled man page tipo tells swap -a ... not swapon -a subcommands volini and volfini not in manual at all man page thar zfs can not be a dump device, not sure if I understand it as= =20 meant but I can dump to zfs very well and fast as long as recordsize=3D128 but at the end, for the short time zfs is there it gives me respectable=20 performance results and it is stable for me as well =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Sun May 18 18:28:30 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 983A21065677 for ; Sun, 18 May 2008 18:28:30 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from outgoing01.lava.net (cake.lava.net [IPv6:2001:1888:0:1:230:48ff:fe5b:3b50]) by mx1.freebsd.org (Postfix) with ESMTP id 552A58FC1C for ; Sun, 18 May 2008 18:28:30 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by outgoing01.lava.net (Postfix) with ESMTP id 89112D0131; Sun, 18 May 2008 08:28:29 -1000 (HST) Received: by malasada.lava.net (Postfix, from userid 102) id AA63B153882; Sun, 18 May 2008 08:28:28 -1000 (HST) Date: Sun, 18 May 2008 08:28:28 -1000 From: Clifton Royston To: Daniel Ponticello Message-ID: <20080518182827.GA18109@lava.net> Mail-Followup-To: Daniel Ponticello , freebsd-stable@freebsd.org References: <48303A1B.9000103@skytek.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48303A1B.9000103@skytek.it> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: Disk access/MPT under ESX3.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 18:28:30 -0000 On Sun, May 18, 2008 at 04:15:55PM +0200, Daniel Ponticello wrote: > Hello, > i'm running some tests with FreeBSD6.3 and FreeBSD7-Stable, using both > AMD64 and I386 arch > with both schedulers (ULE and 4BSD) on VmWare ESX3.5 server. > Everything runs almost fine, except for disk access. Performance is > quite OK (around 60mb/sec), > but when accessing disks, System (kernel) CPU load goes up to 70%. This > doesn't look > normal. The same behavior is present on all test configurations. ... > da0 at mpt0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: 3.300MB/s transfers > da0: Command Queueing Enabled > da0: 34816MB (71303168 512 byte sectors: 255H 63S/T 4438C) > > Any suggestions? If you are accessing a software emulation of a SCSI disk, I would offhand expect the CPU load to go up substantially when you are reading or writing it at the maximum achievable bandwidth. You can't expect normal relative load results under an emulator, and while most application or kernel code runs natively, I/O under VMWare will zoom in and out of the emulator a lot. I'm afraid I can't give you a definitive answer as I have VMWare but haven't set up FreeBSD under it yet. -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services From owner-freebsd-stable@FreeBSD.ORG Sun May 18 20:05:14 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C7D01065678 for ; Sun, 18 May 2008 20:05:14 +0000 (UTC) (envelope-from fbsd-ml@scrapper.ca) Received: from pd3mo2so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 413478FC1B for ; Sun, 18 May 2008 20:05:14 +0000 (UTC) (envelope-from fbsd-ml@scrapper.ca) Received: from pd2mr2so.prod.shaw.ca (pd2mr2so-qfe3.prod.shaw.ca [10.0.141.109]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0K120078LYGNDF80@l-daemon> for freebsd-stable@freebsd.org; Sun, 18 May 2008 14:05:11 -0600 (MDT) Received: from pn2ml4so.prod.shaw.ca ([10.0.121.148]) by pd2mr2so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0K1200I5XYGNKW80@pd2mr2so.prod.shaw.ca> for freebsd-stable@freebsd.org; Sun, 18 May 2008 14:05:12 -0600 (MDT) Received: from proven.lan ([24.85.241.34]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0K1200HMSYGME630@l-daemon> for freebsd-stable@freebsd.org; Sun, 18 May 2008 14:05:11 -0600 (MDT) Received: from proven.lan (localhost [127.0.0.1]) by proven.lan (8.14.2/8.14.2) with ESMTP id m4IK5AnY085697 for ; Sun, 18 May 2008 13:05:10 -0700 (PDT envelope-from fbsd-ml@scrapper.ca) Received: from localhost (localhost [[UNIX: localhost]]) by proven.lan (8.14.2/8.14.2/Submit) id m4IK5ABf085696 for freebsd-stable@freebsd.org; Sun, 18 May 2008 13:05:10 -0700 (PDT envelope-from fbsd-ml@scrapper.ca) Date: Sun, 18 May 2008 13:05:10 -0700 From: Norbert Papke In-reply-to: <200805171118.16482.fbsd-ml@scrapper.ca> To: freebsd-stable@freebsd.org Message-id: <200805181305.10243.fbsd-ml@scrapper.ca> Organization: Archaeological Filing MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit Content-disposition: inline References: <200805171118.16482.fbsd-ml@scrapper.ca> X-Authentication-warning: proven.lan: npapke set sender to fbsd-ml@scrapper.ca using -f User-Agent: KMail/1.9.7 Subject: Re: Apache seg faults -- Possible problem with libc? [solved] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 20:05:14 -0000 On May 17, 2008, Norbert Papke wrote: > Environment: FreeBSD 7.0 Stable (as of Apr 30), apache-2.0.63 > > I am experiencing Apache crashes on a fairly consistent and frequent basis. > The crash occurs in strncmp(). To help with the diagnosis, I have rebuilt > libc with debug symbols. Here is a typical stack dump: > > #0 strncmp () at /usr/src/lib/libc/i386/string/strncmp.S:69 > #1 0x2832558c in getenv (name=0x28338648 "TZ") > at /usr/src/lib/libc/stdlib/getenv.c:144 > #2 0x2830ce3a in tzset_basic (rdlocked=0) > at /usr/src/lib/libc/stdtime/localtime.c:1013 > #3 0x2830d42f in localtime (timep=0xbfbfc1d4) > at /usr/src/lib/libc/stdtime/localtime.c:1158 The problem is not in libc. Instead it is caused by Apache's PHP5 module. Under certain circumstances, the module will allocate memory for an environment variable, pass this variable to putenv(), and then immediately free the memory. putenv(), of course, requires the environment variable to remain valid. The seg fault occurs at a subsequent getenv() invocation. I have contacted the PHP5 maintainer with this information. Best, -- Norbert. From owner-freebsd-stable@FreeBSD.ORG Sun May 18 20:45:13 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64890106566C for ; Sun, 18 May 2008 20:45:13 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from mail.skytek.it (mail.skytek.it [217.194.176.18]) by mx1.freebsd.org (Postfix) with ESMTP id C7FF58FC0C for ; Sun, 18 May 2008 20:45:12 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from [192.168.30.100] ([192.168.30.100]) by mail.skytek.it (Skytek Mail Server v.11.47-p9) with ASMTP id YZL46811; Sun, 18 May 2008 22:45:11 +0200 Message-ID: <4830956A.80000@skytek.it> Date: Sun, 18 May 2008 22:45:30 +0200 From: Daniel Ponticello User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: cliftonr@lava.net References: <48303A1B.9000103@skytek.it> <20080518182827.GA18109@lava.net> In-Reply-To: <20080518182827.GA18109@lava.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Disk access/MPT under ESX3.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 20:45:13 -0000 Clifton Royston ha scritto: > > If you are accessing a software emulation of a SCSI disk, I would > offhand expect the CPU load to go up substantially when you are reading > or writing it at the maximum achievable bandwidth. You can't expect > normal relative load results under an emulator, and while most > application or kernel code runs natively, I/O under VMWare will zoom in > and out of the emulator a lot. I'm afraid I can't give you a > definitive answer as I have VMWare but haven't set up FreeBSD under it > yet. > > -- Clifton > Thanks Clifton, my problem is that system (console) becomes very unresponsive when I/O is writing at maximum bandwidth. Anyway, system becomes more responsive when using ULE scheduler instead of 4BSD during I/O. Is there a way to limit the maximum I/O bandwidth used by the controller? Daniel -- WBR, Cordiali Saluti, Daniel Ponticello, VP of Engineering Network Coordination Centre of Skytek --- - For further information about our services: - Please visit our website at http://www.Skytek.it --- From owner-freebsd-stable@FreeBSD.ORG Sun May 18 21:07:53 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91AFE1065677; Sun, 18 May 2008 21:07:53 +0000 (UTC) (envelope-from peter@pean.org) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id 50A698FC18; Sun, 18 May 2008 21:07:53 +0000 (UTC) (envelope-from peter@pean.org) Received: from ironport2.bredband.com (195.54.101.122) by proxy2.bredband.net (7.3.127) id 48118333006F8EE5; Sun, 18 May 2008 23:07:51 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkY2AFI3MEhV4WMOPGdsb2JhbACBVYZ7iVUBAQEBLZkf Received: from c-0e63e155.166-7-64736c14.cust.bredbandsbolaget.se (HELO pi.pean.org) ([85.225.99.14]) by ironport2.bredband.com with ESMTP; 18 May 2008 23:07:51 +0200 Message-Id: From: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= To: Jeremy Chadwick , freebsd-stable@freebsd.org In-Reply-To: <20080429120834.GB44737@eos.sc1.parodius.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 v919.2) Date: Sun, 18 May 2008 23:07:51 +0200 References: <20080429120834.GB44737@eos.sc1.parodius.com> X-Mailer: Apple Mail (2.919.2) Cc: Subject: Re: Packet-corruption with re(4) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 21:07:53 -0000 On Apr 29, 2008, at 2:08 PM, Jeremy Chadwick wrote: >> > > > I'd recommend staying away from Realtek NICs. Pick up an Intel Pro/=20= > 1000 > GT or PT. Realtek has a well-known history of issues. > > Just wanted to tell you guys that so far a em(4) seems to have fixed =20 the problem. -- Peter Ankerst=E5l peter@pean.org From owner-freebsd-stable@FreeBSD.ORG Mon May 19 00:40:21 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 319A2106566C for ; Mon, 19 May 2008 00:40:21 +0000 (UTC) (envelope-from zbeeble@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 DEF7E8FC12 for ; Mon, 19 May 2008 00:40:20 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so944993ywe.13 for ; Sun, 18 May 2008 17:40:20 -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=H6Ct74A3PLCKZhfWPnbUUjU7ucqaZX+D6asnI2JspSQ=; b=PitumOhEumx8xrRni8VjU7N2QH85v3t5MPyU9wjNgK+JIrfGWKxiF8iz7E4nPKc0s5NfGgXofiIvxBy55w9PRVBQfEEXDbGLDtSfRD1NTd6hNsvIIf6hD3CFQdnOvKu9npGf437aHQIkrKInNi2vxU7cKpZP+5HfSsKY4zxXUKE= 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=rg99mvQ3riCFZUpSNnNtEehcsEsYh0yqSgDX/lrBYfjkdx87QjYQQaKe8zaUM7Oj8U8j85uAm2dgqFoz4Y32+MQKJf4v+gDnrIBfaBUGt1r43nj/xmxgWLni1pkjP//BPU1IJDzM/ZZFxSz/GZlFDCLat2jSbgveKTzwbDs6krk= Received: by 10.150.12.3 with SMTP id 3mr5774981ybl.17.1211157620205; Sun, 18 May 2008 17:40:20 -0700 (PDT) Received: by 10.150.53.11 with HTTP; Sun, 18 May 2008 17:40:20 -0700 (PDT) Message-ID: <5f67a8c40805181740v6f655fdjdfaec3312681b5c9@mail.gmail.com> Date: Sun, 18 May 2008 20:40:20 -0400 From: "Zaphod Beeblebrox" To: "Marc UBM Bocklet" In-Reply-To: <20080514223515.84553317.ubm@u-boot-man.de> MIME-Version: 1.0 References: <48291889.8030406@pldrouin.net> <20080514223515.84553317.ubm@u-boot-man.de> 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-stable@freebsd.org Subject: Re: Status of ZFS in -stable? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 00:40:21 -0000 On Wed, May 14, 2008 at 4:35 PM, Marc UBM Bocklet wrote: > On Tue, 13 May 2008 00:26:49 -0400 > Pierre-Luc Drouin wrote: > > > I would like to know if the memory allocation problem with zfs has > > been fixed in -stable? Is zfs considered to be more "stable" now? > > > > Thanks! > > Pierre-Luc Drouin > > We just set up a zfs based fileserver in our home. It's accessed via > samba and ftp, connected via an em 1gb card. > FreeBSD is installed on an 80GB ufs2 disk, the zpool consists of two > 750GB disks, set up as raidz (my mistake, mirror would probably have > been the better choice). > We've been using it for about 2 weeks now and there have been no > problems (transferred lots of big and small files off/on it, maxing out > disk speed). For standard filestore, Samba/NFS has worked fine. However, when using Norton Ghost to make backup snapshots, the files (on ZFS) come out corrupt.They are not corrupt on UFS backed SAMBA service. From owner-freebsd-stable@FreeBSD.ORG Mon May 19 03:21:36 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3669A106566B for ; Mon, 19 May 2008 03:21:36 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 05F918FC1B for ; Mon, 19 May 2008 03:21:35 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1121832wfg.7 for ; Sun, 18 May 2008 20:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:message-id:to:cc:subject:from:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding:sender; bh=Z1GeZ5axnwZO5z+mGDzEF6uNg8Lb8Ee8P0RaXRSn828=; b=HCIYNB57O1rP+8p4+k9OeepjLpbkCkry+s2jPXuZS/C4ElluRlFfrsljUbk2wqvoVwKJunYEKu5REVCfSVZAqmTl4qp2gSgufwdQel5Nj31CupQEwZub4C728tCLFcYwIIpsx+WgZsdw0juZl1efEnSBlMELFmHB6JZiDXkcLFA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:message-id:to:cc:subject:from:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding:sender; b=dJG/RG/QCcrfv38wMNKytCaAWB6lPNRDVLrF9/7Ffv+f9OiB4n+UtbPrDWeLjukL7Q0i4P8XevdOEvpVhMs4Vrh0pHL7A1T/MjZ2r2pznyDVL6gY22JJEINs8bi7SWri7uIdokHOaycGne8VUJUfdl/hQtYAk45j4lMT+9Mbrqo= Received: by 10.142.226.2 with SMTP id y2mr2621980wfg.75.1211165855703; Sun, 18 May 2008 19:57:35 -0700 (PDT) Received: from localhost ( [134.160.214.85]) by mx.google.com with ESMTPS id 28sm7089951wfg.15.2008.05.18.19.57.33 (version=SSLv3 cipher=RC4-MD5); Sun, 18 May 2008 19:57:34 -0700 (PDT) Date: Mon, 19 May 2008 11:56:46 +0900 (JST) Message-Id: <20080519.115646.189719592.chat95@mac.com> To: bazzoola@gmail.com From: Maho NAKATA In-Reply-To: <6601D6DC-AD09-4028-A25A-59899C9A57E4@gmail.com> References: <20080513054223.2CAC95B4B@mail.bitblocks.com> <6601D6DC-AD09-4028-A25A-59899C9A57E4@gmail.com> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: Maho NAKATA Cc: maho@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Auto bridge for qemu network X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 03:21:36 -0000 From: bazzoola Subject: Auto bridge for qemu network [was: kqemu support: not compiled] Date: Thu, 15 May 2008 03:06:25 -0400 > Also, is it possible to update this page, it has some outdated info: > http://people.freebsd.org/~maho/qemu/qemu.html > *It is the 1st answer from google when asked "freebsd qemu" Sorry i have been very lazy for this ... I'll update (migrate to wiki) hopefully soon... -- Nakata Maho http://accc.riken.jp/maho/ From owner-freebsd-stable@FreeBSD.ORG Mon May 19 04:22:49 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E80A010656C3 for ; Mon, 19 May 2008 04:22:49 +0000 (UTC) (envelope-from spork@bway.net) Received: from xena.bway.net (xena.bway.net [216.220.96.26]) by mx1.freebsd.org (Postfix) with ESMTP id 664A78FC0C for ; Mon, 19 May 2008 04:22:48 +0000 (UTC) (envelope-from spork@bway.net) Received: (qmail 60776 invoked by uid 0); 19 May 2008 03:56:08 -0000 Received: from unknown (HELO white.nat.fasttrackmonkey.com) (spork@216.220.116.154) by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 19 May 2008 03:56:08 -0000 Date: Sun, 18 May 2008 23:56:07 -0400 (EDT) From: Charles Sprickman X-X-Sender: spork@white.nat.fasttrackmonkey.com To: Torfinn Ingolfsen In-Reply-To: <20080518161253.019d1721.torfinn.ingolfsen@broadpark.no> Message-ID: References: <200805180956.18211.joao@matik.com.br> <20080518161253.019d1721.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: possible zfs bug? lost all pools X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 04:22:50 -0000 On Sun, 18 May 2008, Torfinn Ingolfsen wrote: > On Sun, 18 May 2008 09:56:17 -0300 > JoaoBR wrote: > >> after trying to mount my zfs pools in single user mode I got the >> following message for each: >> >> May 18 09:09:36 gw kernel: ZFS: WARNING: pool 'cache1' could not be >> loaded as it was last accessed by another system (host: >> gw.bb1.matik.com.br hostid: 0xbefb4a0f). See: >> http://www.sun.com/msg/ZFS-8000-EY > > Did you run '/etc/rc.d.hostid start' first? > IIRC, it is needed before zfs will mount in single-user mode. Just curious, as I've been wanting to fiddle around with ZFS in my spare time... what is the solution here if you have failed hardware and you want to move your ZFS disks to another system (with a different host id)? Thanks, Charles > HTH > -- > Regards, > Torfinn Ingolfsen > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Mon May 19 04:22:51 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 526D71065675 for ; Mon, 19 May 2008 04:22:51 +0000 (UTC) (envelope-from shino@fornext.org) Received: from juniper.fornext.org (mail.fornext.org [IPv6:2001:240:57::25]) by mx1.freebsd.org (Postfix) with ESMTP id 251678FC13 for ; Mon, 19 May 2008 04:22:51 +0000 (UTC) (envelope-from shino@fornext.org) Received: from localhost (unknown [IPv6:2001:240:57:1000:b8dd:e190:7423:2d7e]) by juniper.fornext.org (Postfix) with ESMTP id B01882E045; Mon, 19 May 2008 13:22:47 +0900 (JST) Date: Mon, 19 May 2008 13:22:45 +0900 From: Shunsuke SHINOMIYA To: Daniel Ponticello In-Reply-To: <48303A1B.9000103@skytek.it> References: <48303A1B.9000103@skytek.it> Message-Id: <20080519130031.8978.A2D40D1E@fornext.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.46 [ja] Cc: freebsd-stable@freebsd.org Subject: Re: Disk access/MPT under ESX3.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 04:22:51 -0000 > da0 at mpt0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: 3.300MB/s transfers > da0: Command Queueing Enabled > da0: 34816MB (71303168 512 byte sectors: 255H 63S/T 4438C) Can you re-negotiate transfer rate, using camcontrol? `camcontrol negotiate 0:0 -W 16' might improve that transfer settings. camcontrol needs passthrough device support in a kernel. -- Shunsuke SHINOMIYA From owner-freebsd-stable@FreeBSD.ORG Mon May 19 06:56:52 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EA1E1065679 for ; Mon, 19 May 2008 06:56:52 +0000 (UTC) (envelope-from kometen@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 88DBF8FC1D for ; Mon, 19 May 2008 06:56:51 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2244898fgb.35 for ; Sun, 18 May 2008 23:56:50 -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=w80FAFiDpArXSwd40WVfmrmjsK9Y9eMsFm4XFAh4Ut8=; b=k9Zbq1XC0G9v5JS2GMn0S7Inicojchr8n8bfknKsHjo+QwkYlFZk9+b7FCAERe+qcRuPmnSL+Vl2qAWHsWsCP9iO47dUcboEvZg4jkFLEJshtarQBTNt61VewjSrYBktnboa4mNO5GVEaxpvVkSF4nRbqcIXKdGuni1xV+u1M44= 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=MVqMqk4u2MPLKNvUux4GFwzgxtprKoYGO75NNOtv+B1vA9XNJqH4OcumJSem1IBTtwbt3BAA1pMiRmsXWu/XcX6Vkg0G9m0isIHdmF0hylG0Pnx2RwCJjtv5v3cyO5ytUFmEGm1g89pXwFMq3tkiaIz/TDLD7wcHnhGQSoKigdQ= Received: by 10.125.80.14 with SMTP id h14mr5591446mkl.41.1211180209948; Sun, 18 May 2008 23:56:49 -0700 (PDT) Received: by 10.86.81.6 with HTTP; Sun, 18 May 2008 23:56:49 -0700 (PDT) Message-ID: Date: Mon, 19 May 2008 08:56:49 +0200 From: "Claus Guttesen" To: "Charles Sprickman" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200805180956.18211.joao@matik.com.br> <20080518161253.019d1721.torfinn.ingolfsen@broadpark.no> Cc: Torfinn Ingolfsen , freebsd-stable@freebsd.org Subject: Re: possible zfs bug? lost all pools X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 06:56:52 -0000 >> Did you run '/etc/rc.d.hostid start' first? >> IIRC, it is needed before zfs will mount in single-user mode. > > Just curious, as I've been wanting to fiddle around with ZFS in my spare > time... what is the solution here if you have failed hardware and you want > to move your ZFS disks to another system (with a different host id)? 'zpool import' possible with a -f. man 1m zpool. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare From owner-freebsd-stable@FreeBSD.ORG Mon May 19 07:14:34 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4F94106564A for ; Mon, 19 May 2008 07:14:34 +0000 (UTC) (envelope-from admin@gyrec.cz) Received: from gate.gyrec.cz (gate.gyrec.cz [195.113.191.162]) by mx1.freebsd.org (Postfix) with ESMTP id 862268FC17 for ; Mon, 19 May 2008 07:14:34 +0000 (UTC) (envelope-from admin@gyrec.cz) Received: from [127.0.0.1] (helo=ASSP-nospam) by gate.gyrec.cz with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JxyzL-000Of0-3e for freebsd-stable@freebsd.org; Mon, 19 May 2008 08:36:51 +0200 Received: from 192.168.1.251 ([192.168.1.251] helo=inf1.gyrec.cz) by ASSP-nospam ; 19 May 08 06:36:51 -0000 Message-ID: <48312000.9030102@gyrec.cz> Date: Mon, 19 May 2008 08:36:48 +0200 From: Karel Rous User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070523 SeaMonkey/1.1.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: multipart/mixed; boundary="------------040502000608020302080406" X-ACL-Warn: SPF for 127.0.0.1 is not published for gyrec.cz X-ACL-Warn: SPF for 127.0.0.1 is not published for gyrec.cz X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ubench on v6 a v7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: karelrous@gyrec.cz List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 07:14:34 -0000 This is a multi-part message in MIME format. --------------040502000608020302080406 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit My home computer (no internet access, cannot share results :-) is single processor Athlon 64 on 2250 Mhz/512 KB L2. Visually I have seen that on stable it doesn't behave as speedily as on FreeBSD number 6. I have checked utility in subject (which is probably not the best alternative) and it shows me on memory test half of the speed that was in v6 while using default MALLOC_OPTIONS at each version. There could be certain speed up changing it but IMHO there can not be any we to make it as fast as in previous version. Is there anyone who could make a logical explanation? (I think it has something to do with new malloc optimization for multi processor systems but I might compiled also libc on FreeBSD 7 with wrong options). Even using simple compat6x libc (with libmap.conf) helps to speed up things there. All those measurement are my just my non generalized opinion and I hope I am wrong :-) Karel --------------040502000608020302080406-- From owner-freebsd-stable@FreeBSD.ORG Mon May 19 09:02:33 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFC75106564A for ; Mon, 19 May 2008 09:02:33 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from mail.skytek.it (mail.skytek.it [217.194.176.18]) by mx1.freebsd.org (Postfix) with ESMTP id 45FE58FC24 for ; Mon, 19 May 2008 09:02:32 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from [192.168.30.100] ([192.168.30.100]) by mail.skytek.it (Skytek Mail Server v.11.47-p9) with ASMTP id ZOV73431; Mon, 19 May 2008 11:02:31 +0200 Message-ID: <48314227.3080101@skytek.it> Date: Mon, 19 May 2008 11:02:31 +0200 From: Daniel Ponticello User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Shunsuke SHINOMIYA References: <48303A1B.9000103@skytek.it> <20080519130031.8978.A2D40D1E@fornext.org> In-Reply-To: <20080519130031.8978.A2D40D1E@fornext.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Disk access/MPT under ESX3.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 09:02:34 -0000 Hello, monitor# camcontrol negotiate 0:0 -W 16 Current Parameters: (pass0:mpt0:0:0:0): sync parameter: 0 (pass0:mpt0:0:0:0): offset: 0 (pass0:mpt0:0:0:0): bus width: 8 bits (pass0:mpt0:0:0:0): disconnection is enabled (pass0:mpt0:0:0:0): tagged queueing is enabled monitor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 32.421679 secs (32341817 bytes/sec) monitor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 20.355797 secs (51512402 bytes/sec) No improvements. But it looks like it did not renegotiated the transfers data rate that for some odd reasons are setted as 3.3MB/S instead of 320mb/s. I made some tests using linux 2.18 (debian): debiantest:/home/daniel# uname -a Linux debiantest 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686 GNU/Linux scsi0 : ioc0: LSI53C1030, FwRev=00000000h, Ports=1, MaxQ=128, IRQ=169 Vendor: VMware Model: Virtual disk Rev: 1.0 Type: Direct-Access ANSI SCSI revision: 02 target0:0:0: Beginning Domain Validation target0:0:0: Domain Validation skipping write tests target0:0:0: Ending Domain Validation target0:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU RDSTRM RTI WRFLOW PCOMP (6.25 ns, offset 127) debiantest:/home/daniel# dd if=/dev/zero of=dead.file bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB) copied, 5.01316 seconds, 209 MB/s =( Shunsuke SHINOMIYA ha scritto: >> da0 at mpt0 bus 0 target 0 lun 0 >> da0: Fixed Direct Access SCSI-2 device >> da0: 3.300MB/s transfers >> da0: Command Queueing Enabled >> da0: 34816MB (71303168 512 byte sectors: 255H 63S/T 4438C) >> > > Can you re-negotiate transfer rate, using camcontrol? > `camcontrol negotiate 0:0 -W 16' might improve that transfer settings. > > camcontrol needs passthrough device support in a kernel. > > > -- WBR, Cordiali Saluti, Daniel Ponticello, VP of Engineering Network Coordination Centre of Skytek --- - For further information about our services: - Please visit our website at http://www.Skytek.it --- From owner-freebsd-stable@FreeBSD.ORG Mon May 19 09:30:51 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D5B3106564A for ; Mon, 19 May 2008 09:30:51 +0000 (UTC) (envelope-from shino@fornext.org) Received: from juniper.fornext.org (mail.fornext.org [IPv6:2001:240:57::25]) by mx1.freebsd.org (Postfix) with ESMTP id D00EF8FC2E for ; Mon, 19 May 2008 09:30:50 +0000 (UTC) (envelope-from shino@fornext.org) Received: from localhost (unknown [IPv6:2001:240:57:1000:394c:9e4b:53cd:7ca4]) by juniper.fornext.org (Postfix) with ESMTP id 97C2A2E045; Mon, 19 May 2008 18:30:49 +0900 (JST) Date: Mon, 19 May 2008 18:30:46 +0900 From: Shunsuke SHINOMIYA To: Daniel Ponticello In-Reply-To: <48314227.3080101@skytek.it> References: <20080519130031.8978.A2D40D1E@fornext.org> <48314227.3080101@skytek.it> Message-Id: <20080519181606.897C.A2D40D1E@fornext.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.46 [ja] Cc: freebsd-stable@freebsd.org Subject: Re[2]: Disk access/MPT under ESX3.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 09:30:51 -0000 Hello, Daniel Can you execute camcontrol with some parameters again? For example, `camcontrol negotiate 0:0 -W 16 -O 127 -R 40.000'. -- Shunsuke SHINOMIYA From owner-freebsd-stable@FreeBSD.ORG Mon May 19 10:31:43 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFDCB106566B for ; Mon, 19 May 2008 10:31:43 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from mail.skytek.it (mail.skytek.it [217.194.176.18]) by mx1.freebsd.org (Postfix) with ESMTP id 14C7B8FC0C for ; Mon, 19 May 2008 10:31:42 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from [192.168.30.100] ([192.168.30.100]) by mail.skytek.it (Skytek Mail Server v.11.47-p9) with ASMTP id ZPY40642; Mon, 19 May 2008 12:31:42 +0200 Message-ID: <4831570E.8050202@skytek.it> Date: Mon, 19 May 2008 12:31:42 +0200 From: Daniel Ponticello User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Shunsuke SHINOMIYA References: <20080519130031.8978.A2D40D1E@fornext.org> <48314227.3080101@skytek.it> <20080519181606.897C.A2D40D1E@fornext.org> In-Reply-To: <20080519181606.897C.A2D40D1E@fornext.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Disk access/MPT under ESX3.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 10:31:43 -0000 Much better: endevor# camcontrol negotiate 0:0 -W 16 -O 127 -R 40.000 Current Parameters: (pass0:mpt0:0:0:0): sync parameter: 8 (pass0:mpt0:0:0:0): frequency: 160.000MHz (pass0:mpt0:0:0:0): offset: 127 (pass0:mpt0:0:0:0): bus width: 16 bits (pass0:mpt0:0:0:0): disconnection is enabled (pass0:mpt0:0:0:0): tagged queueing is enabled endevor# camcontrol inquiry da0 pass0: Fixed Direct Access SCSI-2 device pass0: 80.000MB/s transfers (40.000MHz, offset 127, 16bit), Command Queueing Enabled endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 20.364577 secs (51490193 bytes/sec) endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 11.525560 secs (90978311 bytes/sec) endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 11.833996 secs (88607094 bytes/sec) endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 12.779979 secs (82048335 bytes/sec) endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 11.812926 secs (88765137 bytes/sec) Also CPU system load is lower: 40% instead of 70% on dual cpu, and 23% instead of 50% on quad cpu. Still not as fast as debian, but really really usable now =) how i can make it mantain these settings at boot? Also, do you know why the first dd was slower? Thanks, Daniel Shunsuke SHINOMIYA ha scritto: > Hello, Daniel > > Can you execute camcontrol with some parameters again? > For example, `camcontrol negotiate 0:0 -W 16 -O 127 -R 40.000'. > > -- WBR, Cordiali Saluti, Daniel Ponticello, VP of Engineering Network Coordination Centre of Skytek --- - For further information about our services: - Please visit our website at http://www.Skytek.it --- From owner-freebsd-stable@FreeBSD.ORG Mon May 19 10:42:13 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2006106566B for ; Mon, 19 May 2008 10:42:13 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from mail.skytek.it (mail.skytek.it [217.194.176.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2BE3D8FC38 for ; Mon, 19 May 2008 10:42:12 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from [192.168.30.100] ([192.168.30.100]) by mail.skytek.it (Skytek Mail Server v.11.47-p9) with ASMTP id ZPJ48412; Mon, 19 May 2008 12:42:12 +0200 Message-ID: <48315984.9020808@skytek.it> Date: Mon, 19 May 2008 12:42:12 +0200 From: Daniel Ponticello User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Shunsuke SHINOMIYA References: <20080519130031.8978.A2D40D1E@fornext.org> <48314227.3080101@skytek.it> <20080519181606.897C.A2D40D1E@fornext.org> <4831570E.8050202@skytek.it> In-Reply-To: <4831570E.8050202@skytek.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Disk access/MPT under ESX3.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 10:42:14 -0000 Oh, btw, this make improvements only on 7.0-Release and Stable using ULE scheduler. - Using 4BSD Scheduler will improve disk access speed but no cpu usage. - On FreeBSD 6.2 and 6.3 this make no difference on cpu usage/speed (about 60mb/sec maximum using 100% cpu). Thanks, Daniel Daniel Ponticello ha scritto: > > Much better: > > endevor# camcontrol negotiate 0:0 -W 16 -O 127 -R 40.000 > Current Parameters: > (pass0:mpt0:0:0:0): sync parameter: 8 > (pass0:mpt0:0:0:0): frequency: 160.000MHz > (pass0:mpt0:0:0:0): offset: 127 > (pass0:mpt0:0:0:0): bus width: 16 bits > (pass0:mpt0:0:0:0): disconnection is enabled > (pass0:mpt0:0:0:0): tagged queueing is enabled > endevor# camcontrol inquiry da0 > pass0: Fixed Direct Access SCSI-2 device > pass0: 80.000MB/s transfers (40.000MHz, offset 127, 16bit), Command > Queueing Enabled > endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 20.364577 secs (51490193 bytes/sec) > endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 11.525560 secs (90978311 bytes/sec) > endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 11.833996 secs (88607094 bytes/sec) > endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 12.779979 secs (82048335 bytes/sec) > endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 11.812926 secs (88765137 bytes/sec) > > Also CPU system load is lower: 40% instead of 70% on dual cpu, and 23% > instead of 50% on quad cpu. > > Still not as fast as debian, but really really usable now =) > > how i can make it mantain these settings at boot? > > Also, do you know why the first dd was slower? > > Thanks, > > Daniel > > > Shunsuke SHINOMIYA ha scritto: >> Hello, Daniel >> >> Can you execute camcontrol with some parameters again? >> For example, `camcontrol negotiate 0:0 -W 16 -O 127 -R 40.000'. >> >> > -- WBR, Cordiali Saluti, Daniel Ponticello, VP of Engineering Network Coordination Centre of Skytek --- - For further information about our services: - Please visit our website at http://www.Skytek.it --- From owner-freebsd-stable@FreeBSD.ORG Mon May 19 10:50:11 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81ED2106566C for ; Mon, 19 May 2008 10:50:11 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id 1251D8FC24 for ; Mon, 19 May 2008 10:50:10 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so847173tid.3 for ; Mon, 19 May 2008 03:50:09 -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=Tdv0korFyFBmcbl8GWa8N4Mg9brBqgGOkQzpVLm3xi8=; b=U+c2iOa01SLpYeI2xosWMKWS7t5dZVgTwrZxiHgfePqTlakVphBJCROXpFJqDd1twPrVZREOaLVN5uAJuHC+8mhNDRhHF9Bdx6GCQnB71c5zgMXXsETsNF9yJLYgQRREqpJZs66xPJXv48YMzvKez233GYjpOiP4zr/9dy4a3l8= 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=xd8we3kn1oivx95KnsqDFgzfgmMdScLnVNcFdocVUeqdyg5f6o5HnMuUF7SN5W+1PVu+nW5j6lLHqUCaTBcTCyQHq5K4p5n1psQXdFofj2K4wHk6FeHZ0u0nKDlczgWQ8jdkPqZDMsKxuqj3gPD5m7OqlwZoTv0963kdT4GG+Yc= Received: by 10.110.46.3 with SMTP id t3mr897671tit.33.1211192683990; Mon, 19 May 2008 03:24:43 -0700 (PDT) Received: by 10.110.31.17 with HTTP; Mon, 19 May 2008 03:24:43 -0700 (PDT) Message-ID: Date: Mon, 19 May 2008 22:24:43 +1200 From: "James Butler" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Suspend/resume on IBM X31 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 10:50:11 -0000 Greetings I am having trouble with suspend/resume on my Thinkpad X31, running 7.0-STABLE as of April 23. Any help would be appreciated. First problem: When I run "acpiconf -s3" from mulituser mode, the system suspends immediately, without executing /etc/rc.suspend (which has mode 755); then on resume, I get a panic. Second problem: When the system panics, I don't get a dump (or textdump for that matter, when I turn them on); in the boot messages, I see "kernel dumps on /dev/ad0s2b" and then later (from memory), "Looking for core dumps on /dev/ad0s2b.... savecore: no dumps found" or somesuch. I know from trying out textdumps that dumping works in other circumstances. These issues together make it hard to debug further, but I did a few tests in single-user mode. First, with no services running, "acpiconf -s3" seems to work OK (although /etc/rc.suspend is still not executed) - I can suspend and resume and the machine keeps working. See: http://homepages.ihug.co.nz/~sweetnavelorange/dmesg.1 for my dmesg after one successful cycle - there are a few warnings to do with firewire. However if I start powerd before suspending, I get the following extra kernel messages (hand transcribed): acpi_ec0: warning: EC done before starting event wait subdisk0: detached ad0: detached and any subsequent attempts to access the disk (eg. dmesg>/some/file, kldstat) produce errors of the form: g_vfs_done(): ad0s2e[READ(offset=8478572544, length=16384)] error=6 and eventually another panic. Of course if /etc/rc.suspend worked, I could disable powerd before suspending :-/. If anyone has any ideas, I'd love to hear them, and I'll provide any more info that's needed. Other than this, I'm really pleased with FreeBSD 7 - thanks all! -James Butler From owner-freebsd-stable@FreeBSD.ORG Mon May 19 11:15:34 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BD081065672 for ; Mon, 19 May 2008 11:15:34 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 353088FC13 for ; Mon, 19 May 2008 11:15:34 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 06B151CC038; Mon, 19 May 2008 04:15:34 -0700 (PDT) Date: Mon, 19 May 2008 04:15:34 -0700 From: Jeremy Chadwick To: James Butler Message-ID: <20080519111533.GA64088@eos.sc1.parodius.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Suspend/resume on IBM X31 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 11:15:34 -0000 On Mon, May 19, 2008 at 10:24:43PM +1200, James Butler wrote: > Second problem: When the system panics, I don't get a dump (or > textdump for that matter, when I turn them on); in the boot messages, > I see "kernel dumps on /dev/ad0s2b" and then later (from memory), > "Looking for core dumps on /dev/ad0s2b.... savecore: no dumps found" > or somesuch. I know from trying out textdumps that dumping works in > other circumstances. This is a known problem, but is difficult to solve (chicken-and-egg situation). There's an open PR for it. http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/118255 -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Mon May 19 14:15:55 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94F0A106567F for ; Mon, 19 May 2008 14:15:55 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 267808FC27 for ; Mon, 19 May 2008 14:15:54 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id D2256744004; Mon, 19 May 2008 17:15:52 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WlI7HZlXT2Xt; Mon, 19 May 2008 17:15:52 +0300 (EEST) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 2F215744002; Mon, 19 May 2008 17:15:52 +0300 (EEST) Message-ID: <48318B97.5090200@icyb.net.ua> Date: Mon, 19 May 2008 17:15:51 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.12 (X11/20080311) MIME-Version: 1.0 To: Scott Long References: <1210965790.00070991.1210954202@10.7.7.3> <1210965791.00070995.1210954203@10.7.7.3> <1210965792.00070997.1210954803@10.7.7.3> <1210969383.00071003.1210956601@10.7.7.3> In-Reply-To: <1210969383.00071003.1210956601@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , Stefan Lambrev , freebsd-stable@freebsd.org, Zoran Kolic Subject: Re: udf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 14:15:55 -0000 on 16/05/2008 19:48 Scott Long said the following: > There is no write support in UDF in FreeBSD. When I wrote the fs code, > packet writing was the only way to do discrete writes, and it's very > hard to make that work with a traditional VM system. Now with DVD+R, > it's probably worth someone's time to look at it (though the append-only > nature of +R means that there are still some nasty VM complications to > deal with). Until that happens, mkisofs can be used to create a static > UDF filesystem. BTW, Remko has kindly notified me that Reinoud Zandijk has completed his long work on UDF write support in NetBSD. I think that porting his work is our best chance to get write support in FreeBSD too. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Mon May 19 14:21:31 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11F771065674; Mon, 19 May 2008 14:21:31 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id B2E458FC16; Mon, 19 May 2008 14:21:30 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.local ([192.168.254.200]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id m4JELRxq013613; Mon, 19 May 2008 08:21:27 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <48318CE7.10507@samsco.org> Date: Mon, 19 May 2008 08:21:27 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Andriy Gapon References: <1210965790.00070991.1210954202@10.7.7.3> <1210965791.00070995.1210954203@10.7.7.3> <1210965792.00070997.1210954803@10.7.7.3> <1210969383.00071003.1210956601@10.7.7.3> <48318B97.5090200@icyb.net.ua> In-Reply-To: <48318B97.5090200@icyb.net.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=3.8 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Jeremy Chadwick , Stefan Lambrev , freebsd-stable@freebsd.org, Zoran Kolic Subject: Re: udf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 14:21:31 -0000 Andriy Gapon wrote: > on 16/05/2008 19:48 Scott Long said the following: >> There is no write support in UDF in FreeBSD. When I wrote the fs code, >> packet writing was the only way to do discrete writes, and it's very >> hard to make that work with a traditional VM system. Now with DVD+R, >> it's probably worth someone's time to look at it (though the append-only >> nature of +R means that there are still some nasty VM complications to >> deal with). Until that happens, mkisofs can be used to create a static >> UDF filesystem. > > BTW, Remko has kindly notified me that Reinoud Zandijk has completed his > long work on UDF write support in NetBSD. I think that porting his work > is our best chance to get write support in FreeBSD too. > I think you'll find that implementing VOPs and filling in UDF data structures will be easy, while interacting with the VM will be many orders of magnitude harder. Still it should be a fun challenge for someone to do. Scott From owner-freebsd-stable@FreeBSD.ORG Mon May 19 15:35:05 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E53D01065677 for ; Mon, 19 May 2008 15:35:05 +0000 (UTC) (envelope-from duhring@charter.net) Received: from que11.charter.net (que11.charter.net [209.225.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 740088FC28 for ; Mon, 19 May 2008 15:35:05 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519151738.TZEO5653.mta11.charter.net@aarprv04.charter.net> for ; Mon, 19 May 2008 11:17:38 -0400 Received: from maxwell ([75.132.247.36]) by aarprv04.charter.net with ESMTP id <20080519151738.KMUE4495.aarprv04.charter.net@maxwell> for ; Mon, 19 May 2008 11:17:38 -0400 Received: by maxwell (Postfix, from userid 1000) id 289A014; Mon, 19 May 2008 10:17:39 -0500 (CDT) Date: Mon, 19 May 2008 10:17:39 -0500 From: Dave Uhring To: freebsd-stable@freebsd.org Message-ID: <20080519151739.GA50653@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Subject: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 15:35:06 -0000 Sources checked out yesterday, updated this morning using cvsup and repository at cvsup12.freebsd.org. The build fails in /usr/src/lib/libc /usr/bin/gcc -O2 -fno-strict-aliasing -pipe -m32 -march=athlon-mp -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/sys/fcntl.c /usr/src/lib/libc/sys/fcntl.c: In function 'fcntl': /usr/src/lib/libc/sys/fcntl.c:42: error: storage size of 'ofl' isn't known /usr/src/lib/libc/sys/fcntl.c:67: error: 'F_OGETLK' undeclared (first use in this function) /usr/src/lib/libc/sys/fcntl.c:67: error: (Each undeclared identifier is reported only once /usr/src/lib/libc/sys/fcntl.c:67: error: for each function it appears in.) /usr/src/lib/libc/sys/fcntl.c:74: error: 'struct flock' has no member named 'l_sysid' /usr/src/lib/libc/sys/fcntl.c:79: error: 'F_OSETLK' undeclared (first use in this function) /usr/src/lib/libc/sys/fcntl.c:82: error: 'F_OSETLKW' undeclared (first use in this function) /usr/src/lib/libc/sys/fcntl.c:42: warning: unused variable 'ofl' *** Error code 1 Stop in /usr/src/lib/libc. *** Error code 1 From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:07:11 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F229106566C for ; Mon, 19 May 2008 16:07:11 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (unknown [IPv6:2002:50b1:e8f2:1::143]) by mx1.freebsd.org (Postfix) with ESMTP id 444958FC14 for ; Mon, 19 May 2008 16:07:10 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc] (unknown [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc]) by itchy.rabson.org (Postfix) with ESMTP id 995883F8F; Mon, 19 May 2008 17:06:41 +0100 (BST) Message-Id: <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> From: Doug Rabson To: Dave Uhring In-Reply-To: <20080519151739.GA50653@charter.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 19 May 2008 17:07:08 +0100 References: <20080519151739.GA50653@charter.net> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:07:11 -0000 This symbol has been added to fcntl.h recently. It appears as if your build is picking up the installed header rather than the one from the source tree. Are you using 'make buildworld'? On 19 May 2008, at 16:17, Dave Uhring wrote: > Sources checked out yesterday, updated this morning using cvsup and > repository at cvsup12.freebsd.org. The build fails in /usr/src/lib/ > libc > > /usr/bin/gcc -O2 -fno-strict-aliasing -pipe -m32 -march=athlon-mp -I/ > usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/ > src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../ > contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/ > libc/resolv -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES - > DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING - > DSYMBOL_VERSIONING -Wsystem-headers -Wall -Wno-format-y2k -Wno- > uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/sys/fcntl.c > /usr/src/lib/libc/sys/fcntl.c: In function 'fcntl': > /usr/src/lib/libc/sys/fcntl.c:42: error: storage size of 'ofl' isn't > known > /usr/src/lib/libc/sys/fcntl.c:67: error: 'F_OGETLK' undeclared > (first use in this function) > /usr/src/lib/libc/sys/fcntl.c:67: error: (Each undeclared identifier > is reported only once > /usr/src/lib/libc/sys/fcntl.c:67: error: for each function it > appears in.) > /usr/src/lib/libc/sys/fcntl.c:74: error: 'struct flock' has no > member named 'l_sysid' > /usr/src/lib/libc/sys/fcntl.c:79: error: 'F_OSETLK' undeclared > (first use in this function) > /usr/src/lib/libc/sys/fcntl.c:82: error: 'F_OSETLKW' undeclared > (first use in this function) > /usr/src/lib/libc/sys/fcntl.c:42: warning: unused variable 'ofl' > *** Error code 1 > > Stop in /usr/src/lib/libc. > *** Error code 1 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > " From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:13:21 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DE28106567E; Mon, 19 May 2008 16:13:21 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (thingy.kcilink.com [74.92.149.59]) by mx1.freebsd.org (Postfix) with ESMTP id 0B9FA8FC0C; Mon, 19 May 2008 16:13:20 +0000 (UTC) (envelope-from vivek@khera.org) Received: from host-121.int.kcilink.com (host-121.int.kcilink.com [192.168.7.121]) by yertle.kcilink.com (Postfix) with ESMTP id 6D5128A0AD; Mon, 19 May 2008 12:13:20 -0400 (EDT) Message-Id: <43327C1A-AF98-4076-AAE4-3A59F6FC074E@khera.org> From: Vivek Khera To: Ian Smith In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 19 May 2008 12:13:20 -0400 References: X-Mailer: Apple Mail (2.919.2) Cc: freebsd-ipfw@freebsd.org, FreeBSD Stable Subject: Re: how much memory does increasing max rules for IPFW take up? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:13:21 -0000 On May 18, 2008, at 3:26 AM, Ian Smith wrote: > Hashed per flow, (srcip^destip^srcport^dstport) mod > curr_dyn_buckets, so > packets for both directions of a given flow hash to the same > bucket. In > the case you mention, you could likely expect reasonable > distribution by > src_ip/src_port. Thanks for the detailed info. This really helps. From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:14:35 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D45C1065680 for ; Mon, 19 May 2008 16:14:35 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay07.ispgateway.de (smtprelay07.ispgateway.de [80.67.29.7]) by mx1.freebsd.org (Postfix) with ESMTP id D9EFE8FC1F for ; Mon, 19 May 2008 16:14:34 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [217.50.167.185] (helo=localhost) by smtprelay07.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Jy7nU-0006Yd-Ky for freebsd-stable@freebsd.org; Mon, 19 May 2008 18:01:12 +0200 Date: Mon, 19 May 2008 18:00:56 +0200 From: Fabian Keil To: freebsd-stable@freebsd.org Message-ID: <20080519180056.59624805@fabiankeil.de> In-Reply-To: <200805181511.56646.joao@matik.com.br> References: <200805180956.18211.joao@matik.com.br> <200805181220.33599.joao@matik.com.br> <20080518153911.GA22300@eos.sc1.parodius.com> <200805181511.56646.joao@matik.com.br> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd8.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/EIHfHOPx=3q7C=ch/qfwsw8"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Df-Sender: 775067 Subject: Re: possible zfs bug? lost all pools X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:14:35 -0000 --Sig_/EIHfHOPx=3q7C=ch/qfwsw8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable JoaoBR wrote: > man page thar zfs can not be a dump device, not sure if I understand it > as meant but I can dump to zfs very well and fast as long as > recordsize=3D128 I assume you tried dump(8), while the sentence in the man page is about using a ZFS volume as dumpon(8) target: %sudo dumpon -v /dev/zvol/tank/swap=20 dumpon: ioctl(DIOCSKERNELDUMP): Operation not supported Fabian --Sig_/EIHfHOPx=3q7C=ch/qfwsw8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkgxpDgACgkQBYqIVf93VJ0NrQCcDFMkWYrgKMuXng8gfkK/Ohv/ 42AAnRAdIWHUVY6RTqeYR8Id+Cvgu3f+ =WlxV -----END PGP SIGNATURE----- --Sig_/EIHfHOPx=3q7C=ch/qfwsw8-- From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:38:25 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C25A3106566B for ; Mon, 19 May 2008 16:38:25 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 509488FC18 for ; Mon, 19 May 2008 16:38:25 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519163824.WXLU5653.mta11.charter.net@aarprv04.charter.net>; Mon, 19 May 2008 12:38:24 -0400 Received: from maxwell ([75.132.247.36]) by aarprv04.charter.net with ESMTP id <20080519163824.POSC4495.aarprv04.charter.net@maxwell>; Mon, 19 May 2008 12:38:24 -0400 Received: by maxwell (Postfix, from userid 1000) id 16E0D2A; Mon, 19 May 2008 11:38:25 -0500 (CDT) Date: Mon, 19 May 2008 11:38:25 -0500 From: Dave Uhring To: Doug Rabson Message-ID: <20080519163825.GA32372@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:38:25 -0000 On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote: > This symbol has been added to fcntl.h recently. It appears as if your build > is picking up the installed header rather than the one from the source > tree. Are you using 'make buildworld'? Yes, although at this point is it 'make -DNO_CLEAN buildworld' until I get a clean build. The header files in /usr/include/sys are those from 7.0 RELEASE, however, and I have had to copy 3 files (so far) from /usr/src/sys/sys to get the build to continue. [root@maxwell /usr/include/sys]# ls *.orig fcntl.h.orig tree.h.orig umtx.h.orig Just got another stoppage in /usr/src/gnu/lib/libstdc++. /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: error: unwind.h: No such file or directory The #include declaration has that header file in the local directory. It exists in /usr/obj, however. From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:42:22 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3EE2106567D for ; Mon, 19 May 2008 16:42:21 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id DC2CD8FC1B for ; Mon, 19 May 2008 16:42:21 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id CDAF81CC038; Mon, 19 May 2008 09:42:21 -0700 (PDT) Date: Mon, 19 May 2008 09:42:21 -0700 From: Jeremy Chadwick To: Dave Uhring Message-ID: <20080519164221.GA76691@eos.sc1.parodius.com> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519163825.GA32372@charter.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Doug Rabson , freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:42:22 -0000 On Mon, May 19, 2008 at 11:38:25AM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote: > > This symbol has been added to fcntl.h recently. It appears as if your build > > is picking up the installed header rather than the one from the source > > tree. Are you using 'make buildworld'? > > Yes, although at this point is it 'make -DNO_CLEAN buildworld' until I get a clean > build. > > The header files in /usr/include/sys are those from 7.0 RELEASE, however, and I > have had to copy 3 files (so far) from /usr/src/sys/sys to get the build to > continue. > > [root@maxwell /usr/include/sys]# ls *.orig > fcntl.h.orig tree.h.orig umtx.h.orig > > Just got another stoppage in /usr/src/gnu/lib/libstdc++. > > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: error: unwind.h: No such file or directory > > The #include declaration has that header file in the local directory. It exists in > /usr/obj, however. Is there some reason you're using -DNO_CLEAN, and haven't just nuked /usr/obj/* and done buildworld normally? I can't reproduce any of this behaviour on any of our RELENG_7 systems. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:43:00 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62A19106566B for ; Mon, 19 May 2008 16:43:00 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (unknown [IPv6:2002:50b1:e8f2:1::143]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6C08FC20 for ; Mon, 19 May 2008 16:43:00 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc] (unknown [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc]) by itchy.rabson.org (Postfix) with ESMTP id 15A9B3FD8; Mon, 19 May 2008 17:42:30 +0100 (BST) Message-Id: From: Doug Rabson To: Dave Uhring In-Reply-To: <20080519163825.GA32372@charter.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 19 May 2008 17:42:56 +0100 References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:43:00 -0000 On 19 May 2008, at 17:38, Dave Uhring wrote: > On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote: >> This symbol has been added to fcntl.h recently. It appears as if >> your build >> is picking up the installed header rather than the one from the >> source >> tree. Are you using 'make buildworld'? > > Yes, although at this point is it 'make -DNO_CLEAN buildworld' until > I get a clean > build. > > The header files in /usr/include/sys are those from 7.0 RELEASE, > however, and I > have had to copy 3 files (so far) from /usr/src/sys/sys to get the > build to > continue. You should never have to copy any header files to /usr/include to get a buildworld to work. Try without the -DNO_CLEAN and if that still fails, clean your /usr/obj (e.g. with rm -rf /usr/obj/*). From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:44:36 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AB04106566B; Mon, 19 May 2008 16:44:36 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id CE6538FC36; Mon, 19 May 2008 16:44:35 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.14.1/8.14.1) with ESMTP id m4JGWcJC002583; Mon, 19 May 2008 09:32:38 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.14.1/8.13.4/Submit) id m4JGWZix002576; Mon, 19 May 2008 09:32:35 -0700 (PDT) Date: Mon, 19 May 2008 09:32:35 -0700 (PDT) From: Matthew Dillon Message-Id: <200805191632.m4JGWZix002576@apollo.backplane.com> To: Scott Long References: <1210965790.00070991.1210954202@10.7.7.3> <1210965791.00070995.1210954203@10.7.7.3> <1210965792.00070997.1210954803@10.7.7.3> <1210969383.00071003.1210956601@10.7.7.3> <48318B97.5090200@icyb.net.ua> <48318CE7.10507@samsco.org> Cc: Jeremy Chadwick , Zoran Kolic , freebsd-stable@freebsd.org, Andriy Gapon , Stefan Lambrev Subject: Re: udf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:44:36 -0000 :> BTW, Remko has kindly notified me that Reinoud Zandijk has completed his :> long work on UDF write support in NetBSD. I think that porting his work :> is our best chance to get write support in FreeBSD too. :> : :I think you'll find that implementing VOPs and filling in UDF data :structures will be easy, while interacting with the VM will be many :orders of magnitude harder. Still it should be a fun challenge for :someone to do. : :Scott One avenue that can be persued would be to finish the UIO_NOCOPY support in the vm/vnode_pager.c. You have UIO_NOCOPY support for the putpages code but not the getpages code. If that were done the VFS can simply use VMIO-backed buffer cache buffers (they have to be VMIO-backed for UIO_NOCOPY to work properly)... and not have to deal with getpages or putpages at all. The vnode pager would convert them to a UIO_NOCOPY VOP_READ or VOP_WRITE as appropriate. The entire VM coding burden winds up being in the kernel proper and not in the VFS at all. IMHO implementing per-VFS getpages/putpages is an exercise in frustration, to be avoided at all costs. Plus once you have a generic getpages/putpages layer in vm/vnode_pager.c the VFS code no longer has to mess with VM pages anywhere and winds up being far more portable. I did the necessary work in DragonFly in order to avoid having to mess with VM pages in HAMMER. Primary work: * It is a good idea to require that all vnode-based buffer cache buffers be B_VMIO backed (aka have a VM object). It ensures a clean interface and avoids confusion, and also cleans up numerous special cases that are simply not needed in this day and age. * Add support for UIO_NOCOPY in generic getpages. Get rid of all the special cases for small-block filesystems in getpages. Make it completely generic and simply issue the UIO_NOCOPY VOP_READ/VOP_WRITE. * Make minor adjustments to existing VFSs (but nothing prevents them from still rolling their own getpages/putpages so no major changes are needed). And then enjoy the greatly simplified VFS interactions that result. I would also recommend removing the VOP_BMAP() from the generic getpages/putpages code and simply letting the VFS's VOP_READ/VOP_WRITE deal with it. The BMAP calls were being made from getpages/putpages to check for discontiguous blocks, to avoid unnecessary disk seeks. Those checks are virtually worthless on today's modern hardware particularly since filesystems already localize most data accesses. In other words, if your filesystem is fragmented you are going to be doing the seeks anyway, probably. -Matt Matthew Dillon From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:54:24 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D368D106566C for ; Mon, 19 May 2008 16:54:24 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA648FC15 for ; Mon, 19 May 2008 16:54:24 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519165421.XLGQ5653.mta11.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 12:54:21 -0400 Received: from maxwell ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080519165421.QWEE3194.aarprv06.charter.net@maxwell>; Mon, 19 May 2008 12:54:21 -0400 Received: by maxwell (Postfix, from userid 1000) id DFA362A; Mon, 19 May 2008 11:54:21 -0500 (CDT) Date: Mon, 19 May 2008 11:54:21 -0500 From: Dave Uhring To: Doug Rabson Message-ID: <20080519165421.GA62264@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:54:24 -0000 On Mon, May 19, 2008 at 05:42:56PM +0100, Doug Rabson wrote: > > On 19 May 2008, at 17:38, Dave Uhring wrote: > >> On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote: >>> This symbol has been added to fcntl.h recently. It appears as if your >>> build >>> is picking up the installed header rather than the one from the source >>> tree. Are you using 'make buildworld'? >> >> Yes, although at this point is it 'make -DNO_CLEAN buildworld' until I get >> a clean >> build. >> >> The header files in /usr/include/sys are those from 7.0 RELEASE, however, >> and I >> have had to copy 3 files (so far) from /usr/src/sys/sys to get the build >> to >> continue. > > You should never have to copy any header files to /usr/include to get a > buildworld to work. Try without the -DNO_CLEAN and if that still fails, > clean your /usr/obj (e.g. with rm -rf /usr/obj/*). The build is going nowhere without the correct header files in /usr/include/sys. I have repeatedly cleaned /usr/obj to no avail, but I have a better method for doing that: umount /usr/obj newfs /dev/da4s2f mount /usr/obj From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:58:07 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 980E0106564A for ; Mon, 19 May 2008 16:58:07 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 0FE378FC0A for ; Mon, 19 May 2008 16:58:06 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519165806.XOKL5653.mta11.charter.net@aarprv04.charter.net>; Mon, 19 May 2008 12:58:06 -0400 Received: from maxwell ([75.132.247.36]) by aarprv04.charter.net with ESMTP id <20080519165806.QSNG4495.aarprv04.charter.net@maxwell>; Mon, 19 May 2008 12:58:06 -0400 Received: by maxwell (Postfix, from userid 1000) id 10BC32A; Mon, 19 May 2008 11:58:07 -0500 (CDT) Date: Mon, 19 May 2008 11:58:07 -0500 From: Dave Uhring To: Jeremy Chadwick Message-ID: <20080519165807.GB62264@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519164221.GA76691@eos.sc1.parodius.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:58:07 -0000 On Mon, May 19, 2008 at 09:42:21AM -0700, Jeremy Chadwick wrote: > > Is there some reason you're using -DNO_CLEAN, and haven't just nuked > /usr/obj/* and done buildworld normally? I can't reproduce any of this > behaviour on any of our RELENG_7 systems. I have repeately nuked /usr/obj. That is not going to put updated header files where they need to be. I'm using -DNO_CLEAN in order to get the system to a point where a build just might succeed without -DNO_CLEAN and I'm not getting there without some header files being in the right place. Remember I'm starting from a RELEASE userland. This is just about as bad as jumping from one full release to the next :( From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:59:25 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B44E51065674 for ; Mon, 19 May 2008 16:59:25 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9AD8D8FC18 for ; Mon, 19 May 2008 16:59:25 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 5C2371CC038; Mon, 19 May 2008 09:59:25 -0700 (PDT) Date: Mon, 19 May 2008 09:59:25 -0700 From: Jeremy Chadwick To: Dave Uhring Message-ID: <20080519165925.GA77907@eos.sc1.parodius.com> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519165421.GA62264@charter.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Doug Rabson , freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:59:25 -0000 On Mon, May 19, 2008 at 11:54:21AM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 05:42:56PM +0100, Doug Rabson wrote: > > > > On 19 May 2008, at 17:38, Dave Uhring wrote: > > > >> On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote: > >>> This symbol has been added to fcntl.h recently. It appears as if your > >>> build > >>> is picking up the installed header rather than the one from the source > >>> tree. Are you using 'make buildworld'? > >> > >> Yes, although at this point is it 'make -DNO_CLEAN buildworld' until I get > >> a clean > >> build. > >> > >> The header files in /usr/include/sys are those from 7.0 RELEASE, however, > >> and I > >> have had to copy 3 files (so far) from /usr/src/sys/sys to get the build > >> to > >> continue. > > > > You should never have to copy any header files to /usr/include to get a > > buildworld to work. Try without the -DNO_CLEAN and if that still fails, > > clean your /usr/obj (e.g. with rm -rf /usr/obj/*). > > The build is going nowhere without the correct header files in /usr/include/sys. Is there breakage of some sort being caused by your make.conf or (less probable) your src.conf? Any filesystem corruption (boot single user and force fsck on all the filesystems)? In all the years I've used FreeBSD, I've never had to copy include files from parts of /usr/src to get buildworld to work, so this is very odd behaviour. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Mon May 19 17:00:41 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C95C1065674; Mon, 19 May 2008 17:00:41 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (unknown [IPv6:2002:50b1:e8f2:1::143]) by mx1.freebsd.org (Postfix) with ESMTP id B51F48FC21; Mon, 19 May 2008 17:00:40 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc] (unknown [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc]) by itchy.rabson.org (Postfix) with ESMTP id CBCC03FD6; Mon, 19 May 2008 18:00:12 +0100 (BST) Message-Id: <7AA1551A-D04D-4817-8028-E9CB6A87C0EA@rabson.org> From: Doug Rabson To: Dave Uhring In-Reply-To: <20080519165807.GB62264@charter.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 19 May 2008 18:00:39 +0100 References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> X-Mailer: Apple Mail (2.919.2) Cc: Jeremy Chadwick , freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 17:00:41 -0000 On 19 May 2008, at 17:58, Dave Uhring wrote: > On Mon, May 19, 2008 at 09:42:21AM -0700, Jeremy Chadwick wrote: >> >> Is there some reason you're using -DNO_CLEAN, and haven't just nuked >> /usr/obj/* and done buildworld normally? I can't reproduce any of >> this >> behaviour on any of our RELENG_7 systems. > > I have repeately nuked /usr/obj. That is not going to put updated > header files > where they need to be. > > I'm using -DNO_CLEAN in order to get the system to a point where a > build just > might succeed without -DNO_CLEAN and I'm not getting there without > some header > files being in the right place. > > Remember I'm starting from a RELEASE userland. This is just about > as bad as > jumping from one full release to the next :( The thing is that a working buildworld doesn't depend on headers from / usr/include. One of the first thing it does is install a set of new headers in somewhere like /usr/obj/usr/src/tmp. At this point, it might be useful to see a log of a failed buildworld attempt to see what is going wrong. From owner-freebsd-stable@FreeBSD.ORG Mon May 19 17:03:37 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9756C1065677 for ; Mon, 19 May 2008 17:03:37 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta21.charter.net (mta21.charter.net [216.33.127.81]) by mx1.freebsd.org (Postfix) with ESMTP id 0D3D78FC15 for ; Mon, 19 May 2008 17:03:36 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta21.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519170334.LUKF23078.mta21.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 13:03:34 -0400 Received: from maxwell ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080519170334.RKNN3194.aarprv06.charter.net@maxwell>; Mon, 19 May 2008 13:03:34 -0400 Received: by maxwell (Postfix, from userid 1000) id AF3EB2A; Mon, 19 May 2008 12:03:34 -0500 (CDT) Date: Mon, 19 May 2008 12:03:34 -0500 From: Dave Uhring To: Jeremy Chadwick Message-ID: <20080519170334.GA74159@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519165925.GA77907@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519165925.GA77907@eos.sc1.parodius.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 17:03:37 -0000 On Mon, May 19, 2008 at 09:59:25AM -0700, Jeremy Chadwick wrote: > > Is there breakage of some sort being caused by your make.conf or (less > probable) your src.conf? Any filesystem corruption (boot single user > and force fsck on all the filesystems)? [duhring@maxwell /etc]$ grep -v ^# make.conf CPUTYPE?=athlon64 CFLAGS= -O2 -fno-strict-aliasing -pipe -m32 CXXFLAGS+= -fconserve-space MAKE_SHELL?=sh COPTFLAGS= -O -pipe INSTALL=install -C MTREE_FOLLOWS_SYMLINKS= -L ENABLE_SUID_SSH= NO_SENDMAIL= NO_PROFILE= DOC_LANG= en_US.ISO8859-1 src.conf is untouched. > In all the years I've used FreeBSD, I've never had to copy include files > from parts of /usr/src to get buildworld to work, so this is very odd > behaviour. Start with a clean RELEASE userland and try to build RELENG_7 today :) From owner-freebsd-stable@FreeBSD.ORG Mon May 19 17:04:28 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72B69106567B for ; Mon, 19 May 2008 17:04:28 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1038FC13 for ; Mon, 19 May 2008 17:04:28 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 4F31A1CC038; Mon, 19 May 2008 10:04:28 -0700 (PDT) Date: Mon, 19 May 2008 10:04:28 -0700 From: Jeremy Chadwick To: Dave Uhring Message-ID: <20080519170428.GB77907@eos.sc1.parodius.com> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519165807.GB62264@charter.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 17:04:28 -0000 On Mon, May 19, 2008 at 11:58:07AM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 09:42:21AM -0700, Jeremy Chadwick wrote: > > > > Is there some reason you're using -DNO_CLEAN, and haven't just nuked > > /usr/obj/* and done buildworld normally? I can't reproduce any of this > > behaviour on any of our RELENG_7 systems. > > I have repeately nuked /usr/obj. That is not going to put updated header files > where they need to be. It's apparent you don't quite understand. The "updated header files" reside in /usr/src, and ***remain there*** until installworld is done. The buildworld process will include the "updated header files", trumping most of those which are in /usr/include. You do not need to copy any files from /usr/src/sys/sys to /usr/include or anywhere else to get buildworld to work. If you're having to do that, the problem is very likely elsewhere. > I'm using -DNO_CLEAN in order to get the system to a point where a build just > might succeed without -DNO_CLEAN and I'm not getting there without some header > files being in the right place. > > Remember I'm starting from a RELEASE userland. This is just about as bad as > jumping from one full release to the next :( Okay, so you installed 7.0-RELEASE on a machine. Did you choose to install src from the CD/DVD when installing? (If so, you will need to "adopt" the version you installed to the current version, see the cvsup FAQ here: http://www.cvsup.org/faq.html#caniadopt -- and you'll need to do this for ports if you installed the ports tree off the CD/DVD as well) If you csup'd, what tag did you use? RELENG_7? I'm assuming so. Did you use src-all, or are you using a custom supfile? We use /usr/share/examples/cvsup/stable-supfile. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Mon May 19 17:06:19 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D0F11065676 for ; Mon, 19 May 2008 17:06:19 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 438CA8FC1F for ; Mon, 19 May 2008 17:06:19 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 345DC1CC038; Mon, 19 May 2008 10:06:19 -0700 (PDT) Date: Mon, 19 May 2008 10:06:19 -0700 From: Jeremy Chadwick To: Dave Uhring Message-ID: <20080519170619.GC77907@eos.sc1.parodius.com> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519165925.GA77907@eos.sc1.parodius.com> <20080519170334.GA74159@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519170334.GA74159@charter.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 17:06:19 -0000 On Mon, May 19, 2008 at 12:03:34PM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 09:59:25AM -0700, Jeremy Chadwick wrote: > > > > Is there breakage of some sort being caused by your make.conf or (less > > probable) your src.conf? Any filesystem corruption (boot single user > > and force fsck on all the filesystems)? > > [duhring@maxwell /etc]$ grep -v ^# make.conf > CPUTYPE?=athlon64 > CFLAGS= -O2 -fno-strict-aliasing -pipe -m32 > CXXFLAGS+= -fconserve-space > MAKE_SHELL?=sh > COPTFLAGS= -O -pipe > INSTALL=install -C > MTREE_FOLLOWS_SYMLINKS= -L > ENABLE_SUID_SSH= > NO_SENDMAIL= > NO_PROFILE= > DOC_LANG= en_US.ISO8859-1 Can you please comment out all of the above and see if the problem persists? > > In all the years I've used FreeBSD, I've never had to copy include files > > from parts of /usr/src to get buildworld to work, so this is very odd > > behaviour. > > Start with a clean RELEASE userland and try to build RELENG_7 today :) Give me a few hours (installing VMware + 7.0-RELEASE + csup). My money is on that I won't be able to reproduce the problem. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Mon May 19 17:45:38 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A44AD1065686; Mon, 19 May 2008 17:45:38 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id 194868FC2A; Mon, 19 May 2008 17:45:37 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519174537.MDYF2641.mta31.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 13:45:37 -0400 Received: from maxwell ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080519174537.TVSI3194.aarprv06.charter.net@maxwell>; Mon, 19 May 2008 13:45:37 -0400 Received: by maxwell (Postfix, from userid 1000) id BB1652A; Mon, 19 May 2008 12:45:37 -0500 (CDT) Date: Mon, 19 May 2008 12:45:37 -0500 From: Dave Uhring To: Jeremy Chadwick Message-ID: <20080519174537.GA55020@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519165925.GA77907@eos.sc1.parodius.com> <20080519170334.GA74159@charter.net> <20080519170619.GC77907@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519170619.GC77907@eos.sc1.parodius.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 17:45:38 -0000 On Mon, May 19, 2008 at 10:06:19AM -0700, Jeremy Chadwick wrote: > On Mon, May 19, 2008 at 12:03:34PM -0500, Dave Uhring wrote: > > > > [duhring@maxwell /etc]$ grep -v ^# make.conf > > CPUTYPE?=athlon64 > > CFLAGS= -O2 -fno-strict-aliasing -pipe -m32 > > CXXFLAGS+= -fconserve-space > > MAKE_SHELL?=sh > > COPTFLAGS= -O -pipe > > INSTALL=install -C > > MTREE_FOLLOWS_SYMLINKS= -L > > ENABLE_SUID_SSH= > > NO_SENDMAIL= > > NO_PROFILE= > > DOC_LANG= en_US.ISO8859-1 > > Can you please comment out all of the above and see if the problem > persists? Sure, but that is not going to put the correct headers where the sources are looking for them. Nor is it going to put groff headers into a directory where the #include "driver.h" is declared within a source file and the directory contains *no* headers. In particular, /usr/src/contrib/groff/src/libs/libdriver has no header files at all, yet input.cpp in that directory has these declarations: #include "driver.h" #include "device.h" > > Start with a clean RELEASE userland and try to build RELENG_7 today :) > > Give me a few hours (installing VMware + 7.0-RELEASE + csup). My money > is on that I won't be able to reproduce the problem. VMware? Give me a break! From owner-freebsd-stable@FreeBSD.ORG Mon May 19 17:53:58 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C00F106566B for ; Mon, 19 May 2008 17:53:58 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id 2736E8FC24 for ; Mon, 19 May 2008 17:53:58 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519175357.MKXX2641.mta31.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 13:53:57 -0400 Received: from maxwell ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080519175357.UIDM3194.aarprv06.charter.net@maxwell>; Mon, 19 May 2008 13:53:57 -0400 Received: by maxwell (Postfix, from userid 1000) id 376B92A; Mon, 19 May 2008 12:53:58 -0500 (CDT) Date: Mon, 19 May 2008 12:53:58 -0500 From: Dave Uhring To: David Wolfskill Message-ID: <20080519175358.GB55020@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519170223.GH7468@bunrab.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519170223.GH7468@bunrab.catwhisker.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 17:53:58 -0000 On Mon, May 19, 2008 at 10:02:23AM -0700, David Wolfskill wrote: > On Mon, May 19, 2008 at 11:54:21AM -0500, Dave Uhring wrote: > > > > The build is going nowhere without the correct header files in /usr/include/sys. > > That appears to indicate that your build environment is fundamentally > broken.. > > You might consider doing the build within script(1), then making the > resulting script file available for folks to examine. I posted the relevant output from "make buildworld". Copying the 3 new header files from /usr/src/sys/sys to /usr/include/sys solved my original problem. I'm sure that after a successful buildworld and installworld that the original problem will go away. The problem now is in the build of groff: [root@maxwell /usr/src/contrib/groff/src/devices/grodvi]# ls *.h ls: *.h: No such file or directory However, dvi.cpp in that directory has this: #include "driver.h" #include "nonposix.h" #include "paper.h" From owner-freebsd-stable@FreeBSD.ORG Mon May 19 18:00:28 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D07A1065677 for ; Mon, 19 May 2008 18:00:28 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 523F88FC15 for ; Mon, 19 May 2008 18:00:28 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 46DF51CC038; Mon, 19 May 2008 11:00:28 -0700 (PDT) Date: Mon, 19 May 2008 11:00:28 -0700 From: Jeremy Chadwick To: Dave Uhring Message-ID: <20080519180028.GA79392@eos.sc1.parodius.com> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519165925.GA77907@eos.sc1.parodius.com> <20080519170334.GA74159@charter.net> <20080519170619.GC77907@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519170619.GC77907@eos.sc1.parodius.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 18:00:28 -0000 On Mon, May 19, 2008 at 10:06:19AM -0700, Jeremy Chadwick wrote: > Give me a few hours (installing VMware + 7.0-RELEASE + csup). My money > is on that I won't be able to reproduce the problem. Something I thought of while doing the above: there's been reports in the past of problems with buildworld (or building software in general) bombing out or behaving oddly due to clock issues on the local machine. If you don't use ntpd, consider doing so. Otherwise, at least use ntpdate once to set your clock to something sane. Anyway. I've completed the above using VMware. Installation was 7.0-RELEASE i386. fdisk and label were defaults, and for distributions I chose base, kernels, dict, doc, games, info, man, and catman. (I do not pick src and ports because I don't care to deal with the "adoption" method.) I also configured the network (nothing out of the ordinary; pure DHCP), and the time zone (PDT). Immediately after the system was up, I did the following: # csup -h cvsup4.freebsd.org -g -L 2 -4 /usr/share/examples/cvsup/stable-supfile This picked up src-all using the RELENG_7 tag. I then attempted a buildworld (cd /usr/src && time make -j2 buildworld). It's just begun stage 2.3, but so far no issues. I'll report back in about 30 minutes or so, when it has a chance to finish. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Mon May 19 18:21:07 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAE2C106567C; Mon, 19 May 2008 18:21:07 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta21.charter.net (mta21.charter.net [216.33.127.81]) by mx1.freebsd.org (Postfix) with ESMTP id 7B1CE8FC1C; Mon, 19 May 2008 18:21:07 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta21.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519182106.OHHM23078.mta21.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 14:21:06 -0400 Received: from maxwell ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080519182106.VXDX3194.aarprv06.charter.net@maxwell>; Mon, 19 May 2008 14:21:06 -0400 Received: by maxwell (Postfix, from userid 1000) id 378502A; Mon, 19 May 2008 13:21:07 -0500 (CDT) Date: Mon, 19 May 2008 13:21:07 -0500 From: Dave Uhring To: Jeremy Chadwick Message-ID: <20080519182107.GC55020@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> <20080519170428.GB77907@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519170428.GB77907@eos.sc1.parodius.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 18:21:08 -0000 On Mon, May 19, 2008 at 10:04:28AM -0700, Jeremy Chadwick wrote: > On Mon, May 19, 2008 at 11:58:07AM -0500, Dave Uhring wrote: > > > > I have repeately nuked /usr/obj. That is not going to put updated header files > > where they need to be. > > It's apparent you don't quite understand. The "updated header files" > reside in /usr/src, and ***remain there*** until installworld is done. That is as it should be. > The buildworld process will include the "updated header files", trumping > most of those which are in /usr/include. Does not happen. The header files included were those from /usr/include/sys, not /usr/src/sys/sys. The errors would not have occurred if the header files in /usr/src/sys/sys were being referenced by In any case, that problem has been solved by putting the updated header files in /usr/include/sys and will be properly fixed when I can finally make installworld. > > Remember I'm starting from a RELEASE userland. This is just about as bad as > > jumping from one full release to the next :( > > Okay, so you installed 7.0-RELEASE on a machine. Did you choose to > install src from the CD/DVD when installing? (If so, you will need to > "adopt" the version you installed to the current version, see the cvsup > FAQ here: http://www.cvsup.org/faq.html#caniadopt -- and you'll need to > do this for ports if you installed the ports tree off the CD/DVD as > well) > > If you csup'd, what tag did you use? RELENG_7? I'm assuming so. Did > you use src-all, or are you using a custom supfile? We use > /usr/share/examples/cvsup/stable-supfile. Whatever tag was in /usr/share/examples/cvsup/stable-supfile. In fact it is: *default release=cvs tag=RELENG_7 > -- > | Jeremy Chadwick jdc at parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB | > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Mon May 19 18:23:08 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38001106564A for ; Mon, 19 May 2008 18:23:08 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta21.charter.net (mta21.charter.net [216.33.127.81]) by mx1.freebsd.org (Postfix) with ESMTP id B8DD98FC16 for ; Mon, 19 May 2008 18:23:07 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta21.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519182307.OJAL23078.mta21.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 14:23:07 -0400 Received: from maxwell ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080519182307.WAGV3194.aarprv06.charter.net@maxwell>; Mon, 19 May 2008 14:23:07 -0400 Received: by maxwell (Postfix, from userid 1000) id DCCE32A; Mon, 19 May 2008 13:23:07 -0500 (CDT) Date: Mon, 19 May 2008 13:23:07 -0500 From: Dave Uhring To: Doug Rabson Message-ID: <20080519182307.GD55020@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> <7AA1551A-D04D-4817-8028-E9CB6A87C0EA@rabson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7AA1551A-D04D-4817-8028-E9CB6A87C0EA@rabson.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 18:23:08 -0000 On Mon, May 19, 2008 at 06:00:39PM +0100, Doug Rabson wrote: > > The thing is that a working buildworld doesn't depend on headers from > /usr/include. One of the first thing it does is install a set of new > headers in somewhere like /usr/obj/usr/src/tmp. At this point, it might be > useful to see a log of a failed buildworld attempt to see what is going > wrong. Putting the updated header files in /usr/include/sys solved that problem. Whether is was the correct solution or not is moot since the build continued from the previous stoppage in libc. From owner-freebsd-stable@FreeBSD.ORG Mon May 19 18:31:14 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FA9C1065670; Mon, 19 May 2008 18:31:14 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id 1666C8FC1A; Mon, 19 May 2008 18:31:13 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519183113.NQPO2641.mta31.charter.net@aarprv04.charter.net>; Mon, 19 May 2008 14:31:13 -0400 Received: from maxwell ([75.132.247.36]) by aarprv04.charter.net with ESMTP id <20080519183113.WDGK4495.aarprv04.charter.net@maxwell>; Mon, 19 May 2008 14:31:13 -0400 Received: by maxwell (Postfix, from userid 1000) id 1D2212A; Mon, 19 May 2008 13:31:13 -0500 (CDT) Date: Mon, 19 May 2008 13:31:13 -0500 From: Dave Uhring To: Jeremy Chadwick Message-ID: <20080519183113.GA55295@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519165925.GA77907@eos.sc1.parodius.com> <20080519170334.GA74159@charter.net> <20080519170619.GC77907@eos.sc1.parodius.com> <20080519180028.GA79392@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519180028.GA79392@eos.sc1.parodius.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 18:31:14 -0000 On Mon, May 19, 2008 at 11:00:28AM -0700, Jeremy Chadwick wrote: > > Something I thought of while doing the above: there's been reports in > the past of problems with buildworld (or building software in general) > bombing out or behaving oddly due to clock issues on the local machine. > If you don't use ntpd, consider doing so. Otherwise, at least use > ntpdate once to set your clock to something sane. I hadn't yet started ntpd but [root@maxwell /etc]# ntpdate newton 19 May 13:29:22 ntpdate[55524]: step time server 192.168.0.8 offset -1.044724 sec I doubt that a second off would make any difference. From owner-freebsd-stable@FreeBSD.ORG Mon May 19 18:36:20 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 901531065675 for ; Mon, 19 May 2008 18:36:20 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 1C0CB8FC12 for ; Mon, 19 May 2008 18:36:19 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519183615.TIK5653.mta11.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 14:36:15 -0400 Received: from maxwell ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080519183615.WVKF3194.aarprv06.charter.net@maxwell>; Mon, 19 May 2008 14:36:15 -0400 Received: by maxwell (Postfix, from userid 1000) id EA9E52A; Mon, 19 May 2008 13:36:14 -0500 (CDT) Date: Mon, 19 May 2008 13:36:14 -0500 From: Dave Uhring To: David Wolfskill Message-ID: <20080519183614.GB55295@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519170223.GH7468@bunrab.catwhisker.org> <20080519175358.GB55020@charter.net> <20080519180201.GI7468@bunrab.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519180201.GI7468@bunrab.catwhisker.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 18:36:20 -0000 On Mon, May 19, 2008 at 11:02:01AM -0700, David Wolfskill wrote: > On Mon, May 19, 2008 at 12:53:58PM -0500, Dave Uhring wrote: > > > > I posted the relevant output from "make buildworld". Copying the 3 new header > > files from /usr/src/sys/sys to /usr/include/sys solved my original problem. > > s/solved/circumvented/ :) Whatever, libc does build now. > freebeast(8.0-C)[52] ls -l usr/src/contrib/groff/src/devices/grodvi/*.h > ls: No match. > freebeast(8.0-C)[53] grep '#include "' usr/src/contrib/groff/src/devices/grodvi/dvi.cpp > #include "driver.h" > #include "nonposix.h" > #include "paper.h" > freebeast(8.0-C)[54] > > The compilation of dvi.cpp uses > "-I/usr/src/gnu/usr.bin/groff/src/devices/grodvi/../../../../../../contrib/groff/src/include > -I/usr/src/gnu/usr.bin/groff/src/devices/grodvi/../../../src/include" > (among other things); I expect you will find the needed header files > in those directories. If a -I/some/directory is used as a CFLAG then the *include directive must read #include , *not* #include "driver.h". The latter demands that the header file be in the same directory as the source file. From owner-freebsd-stable@FreeBSD.ORG Mon May 19 19:05:29 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15B7C1065675 for ; Mon, 19 May 2008 19:05:29 +0000 (UTC) (envelope-from freebsd-stable-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id C76058FC19 for ; Mon, 19 May 2008 19:05:28 +0000 (UTC) (envelope-from freebsd-stable-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 7AE552845F; Mon, 19 May 2008 14:54:31 -0400 (EDT) To: Dave Uhring References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519170223.GH7468@bunrab.catwhisker.org> <20080519175358.GB55020@charter.net> <20080519180201.GI7468@bunrab.catwhisker.org> <20080519183614.GB55295@charter.net> From: Lowell Gilbert Date: Mon, 19 May 2008 14:54:31 -0400 In-Reply-To: <20080519183614.GB55295@charter.net> (Dave Uhring's message of "Mon\, 19 May 2008 13\:36\:14 -0500") Message-ID: <448wy6yviw.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 19:05:29 -0000 Dave Uhring writes: > On Mon, May 19, 2008 at 11:02:01AM -0700, David Wolfskill wrote: >> On Mon, May 19, 2008 at 12:53:58PM -0500, Dave Uhring wrote: >> > >> > I posted the relevant output from "make buildworld". Copying the 3 new header >> > files from /usr/src/sys/sys to /usr/include/sys solved my original problem. >> >> s/solved/circumvented/ > > :) Whatever, libc does build now. > >> freebeast(8.0-C)[52] ls -l usr/src/contrib/groff/src/devices/grodvi/*.h >> ls: No match. >> freebeast(8.0-C)[53] grep '#include "' usr/src/contrib/groff/src/devices/grodvi/dvi.cpp >> #include "driver.h" >> #include "nonposix.h" >> #include "paper.h" >> freebeast(8.0-C)[54] >> >> The compilation of dvi.cpp uses >> "-I/usr/src/gnu/usr.bin/groff/src/devices/grodvi/../../../../../../contrib/groff/src/include >> -I/usr/src/gnu/usr.bin/groff/src/devices/grodvi/../../../src/include" >> (among other things); I expect you will find the needed header files >> in those directories. > > If a -I/some/directory is used as a CFLAG then the *include directive must read > > #include , *not* #include "driver.h". The latter demands that the > header file be in the same directory as the source file. Not that it necessarily affects what you're going through, but that last statement is incorrect. The double quotes are (according to the C standard) implementation defined, and gcc (like many other compilers) will prefer the local directory for the double quotes, but will search the entire search path if it doesn't find the file there. It also has some really wacky command-line parameters to control which directories are searched (by *both* #include syntaxes) down to a ridiculously fine level. The only use I've ever had for such things was in cross-compile environments targeting multiple architectures in a single build tree, and even then it isn't really necessary. - Lowell -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-stable@FreeBSD.ORG Mon May 19 19:16:46 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CCDC1065686 for ; Mon, 19 May 2008 19:16:46 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 663D68FC2F for ; Mon, 19 May 2008 19:16:46 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 3E41F1CC038; Mon, 19 May 2008 12:16:46 -0700 (PDT) Date: Mon, 19 May 2008 12:16:46 -0700 From: Jeremy Chadwick To: Dave Uhring Message-ID: <20080519191646.GA82513@eos.sc1.parodius.com> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519165925.GA77907@eos.sc1.parodius.com> <20080519170334.GA74159@charter.net> <20080519170619.GC77907@eos.sc1.parodius.com> <20080519180028.GA79392@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519180028.GA79392@eos.sc1.parodius.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 19:16:46 -0000 On Mon, May 19, 2008 at 11:00:28AM -0700, Jeremy Chadwick wrote: > This picked up src-all using the RELENG_7 tag. I then attempted a > buildworld (cd /usr/src && time make -j2 buildworld). It's just begun > stage 2.3, but so far no issues. I'll report back in about 30 minutes > or so, when it has a chance to finish. The compile has finished successfully. Took 1 hour 15 minutes. Another user also mailed me (privately) adding that he too cannot reproduce this problem. I will attempt the same with your make.conf to see if it's any different. But at this point, it appears the issue is with your system or system configuration. I just wish I knew what was doing it. Any odd filesystem mount flags (output of "mount")? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Mon May 19 19:50:35 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D954B1065688 for ; Mon, 19 May 2008 19:50:35 +0000 (UTC) (envelope-from kutulu@kutulu.org) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by mx1.freebsd.org (Postfix) with ESMTP id 95BF58FC22 for ; Mon, 19 May 2008 19:50:35 +0000 (UTC) (envelope-from kutulu@kutulu.org) Received: from basement.kutulu.org ([97.101.60.32]) by cdptpa-omta06.mail.rr.com with ESMTP id <20080519185237.MQMB21086.cdptpa-omta06.mail.rr.com@basement.kutulu.org>; Mon, 19 May 2008 18:52:37 +0000 Received: by basement.kutulu.org (Postfix, from userid 58) id B8BBC1146A; Mon, 19 May 2008 14:52:36 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on basement.kutulu.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.4 Received: from [127.0.0.1] (localhost [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTPS id 052D411440; Mon, 19 May 2008 14:52:33 -0400 (EDT) Message-ID: <4831CC6E.4040101@kutulu.org> Date: Mon, 19 May 2008 14:52:30 -0400 From: Mike Edenfield User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Dave Uhring References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519170223.GH7468@bunrab.catwhisker.org> <20080519175358.GB55020@charter.net> <20080519180201.GI7468@bunrab.catwhisker.org> <20080519183614.GB55295@charter.net> In-Reply-To: <20080519183614.GB55295@charter.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 19:50:35 -0000 Dave Uhring wrote: > If a -I/some/directory is used as a CFLAG then the *include directive must read > > #include , *not* #include "driver.h". The latter demands that the > header file be in the same directory as the source file. Absolutely not true. Directly from the gcc online manual: "GCC looks for headers requested with #include "file" first in the directory containing the current file, then in the directories as specified by -iquote options, then in the same places it would have looked for a header requested with angle brackets. For example, if /usr/include/sys/stat.h contains #include "types.h", GCC looks for types.h first in /usr/include/sys, then in its usual search path." From owner-freebsd-stable@FreeBSD.ORG Mon May 19 19:59:01 2008 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CEBD1065676 for ; Mon, 19 May 2008 19:59:01 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.freebsd.org (Postfix) with ESMTP id F027C8FC0C for ; Mon, 19 May 2008 19:59:00 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from desktop.home.serebryakov.spb.ru (unknown [89.163.10.141]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id 7C4B613DF90; Mon, 19 May 2008 23:42:20 +0400 (MSD) Date: Mon, 19 May 2008 23:42:20 +0400 From: Lev Serebryakov X-Mailer: The Bat! (v3.99.3) Professional Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <461480861.20080519234220@serebryakov.spb.ru> To: Arne Worner MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: stable@FreeBSD.org Subject: geom_raid5 + FreeBSD 7.0-STABLE + 5x500Gb (1.8T UFS volume) -- crashes :( X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 19:59:01 -0000 Hello, Arne. I try to build storage server for my home (I have a LOT of media files) with FreeBSD 7, 5xHDD (WD 500Gb) and geom_raid5 ("simple" version from perforce, beacuse http://home.tiscali.de/cmdr_faako/geom_raid5.tbz is not patched for FreeBSD7). Array & FS were created with default arguments: # graid5 label storage ad6 ad8 ad10 ad12 ad14 # newfs -O2 -U /dev/raid5/storage # mount /dev/raid5/storage /usr/home/storage I use additional (sixth) HDD for system, labeled ins tandard way. So, raid is used only for data, not for swap or booting. I've started from simple tests: building world with /usr/src on system disk and obj (MAKEOBJDIRPREFIX) on RAID5. After first build I've run `rm -rf ${MAKEOBJDIRPREFIX}'. It returns to shell pretty quickly, and to be sure, that FS is synced I've tried `umount /usr/home/storage'. I've got DEVICE BUSY! I've called `df -h' and it shows, that I have NEGATIVE amount of space on /usr/home/storage (about -14Mb of 1.8Tb). After calling "sync && sync && sycn", umount finished without errors, but second later system CRASHED with "ffs freed free frag". After reboot, RAID5 becomes REBUILDING HOT and system crashed again when fsck start to checks filesystem on RAID :( And again :( So, I boot to single-user and remove auto-mount of RAID volume... Manual run of fsck fails with "fsck_ufs: bad inode number 32360448 to nextinode"... Is it problem of UFS or graid5 or what? -- // Black Lion AKA Lev Serebryakov From owner-freebsd-stable@FreeBSD.ORG Mon May 19 20:03:51 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BF9C1065681; Mon, 19 May 2008 20:03:51 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id C4DE08FC13; Mon, 19 May 2008 20:03:50 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519200342.DTUG5653.mta11.charter.net@aarprv04.charter.net>; Mon, 19 May 2008 16:03:42 -0400 Received: from maxwell ([75.132.247.36]) by aarprv04.charter.net with ESMTP id <20080519200342.BSGS4495.aarprv04.charter.net@maxwell>; Mon, 19 May 2008 16:03:42 -0400 Received: by maxwell (Postfix, from userid 1000) id 89BE72A; Mon, 19 May 2008 15:03:42 -0500 (CDT) Date: Mon, 19 May 2008 15:03:42 -0500 From: Dave Uhring To: Jeremy Chadwick Message-ID: <20080519200342.GA79130@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519165925.GA77907@eos.sc1.parodius.com> <20080519170334.GA74159@charter.net> <20080519170619.GC77907@eos.sc1.parodius.com> <20080519180028.GA79392@eos.sc1.parodius.com> <20080519191646.GA82513@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519191646.GA82513@eos.sc1.parodius.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 20:03:51 -0000 On Mon, May 19, 2008 at 12:16:46PM -0700, Jeremy Chadwick wrote: > On Mon, May 19, 2008 at 11:00:28AM -0700, Jeremy Chadwick wrote: > > This picked up src-all using the RELENG_7 tag. I then attempted a > > buildworld (cd /usr/src && time make -j2 buildworld). It's just begun > > stage 2.3, but so far no issues. I'll report back in about 30 minutes > > or so, when it has a chance to finish. That is what I did after the first build using the original RELEASE sources and updated using csup. I blew away /usr/src and cvsupped a fresh RELENG_7 source tree. > The compile has finished successfully. Took 1 hour 15 minutes. Another > user also mailed me (privately) adding that he too cannot reproduce this > problem. Last time I succeeded in building world on another box it took 47 minutes :-) That's still a long way from years back when RELENG_4 built in 30 minutes on a machine with an Athlon Tbird 1.2GHz processor. Double the processor speed and quadruple the memory and the build takes 50% longer. > I will attempt the same with your make.conf to see if it's any > different. But at this point, it appears the issue is with your system > or system configuration. I just wish I knew what was doing it. Any odd > filesystem mount flags (output of "mount")? [root@maxwell /usr/src/contrib/groff]# mount /dev/ad4s2a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) /dev/ad4s2h on /home (ufs, local, soft-updates) /dev/ad4s2e on /usr (ufs, local, soft-updates) /dev/ad4s2g on /usr/local (ufs, local, soft-updates) /dev/ad4s2d on /var (ufs, local, soft-updates) /dev/md0 on /tmp (ufs, local, soft-updates) /dev/ad4s2f on /usr/obj (ufs, asynchronous, local, noatime) [root@maxwell /usr/src/contrib/groff]# Not even an NFS mount. I'm trying to update to FreeBSD-STABLE to use on my home file server. At present it has OpenSolaris installed but that OS does not have the Ethernet driver I need and I want to be able to use 2 Adaptec 29160N HBAs in the system. But I only have 2 PCI slots and I would like to remove the Intel NIC and use the system's on-board nfe NIC. I'll blow away /usr/src and /usr/obj, cvsup the entire RELENG_7 source tree again and once more attempt to buildworld. If that fails, Solaris stays on the server. From owner-freebsd-stable@FreeBSD.ORG Mon May 19 20:05:29 2008 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E22C106567A for ; Mon, 19 May 2008 20:05:29 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2C95E8FC1A for ; Mon, 19 May 2008 20:05:29 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from desktop.home.serebryakov.spb.ru (unknown [89.163.10.141]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id 22B2213DFA1; Tue, 20 May 2008 00:05:27 +0400 (MSD) Date: Tue, 20 May 2008 00:05:27 +0400 From: Lev Serebryakov X-Mailer: The Bat! (v3.99.3) Professional Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <18910350694.20080520000527@serebryakov.spb.ru> To: Arne Worner , stable@FreeBSD.org In-Reply-To: <461480861.20080519234220@serebryakov.spb.ru> References: <461480861.20080519234220@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: geom_raid5 + FreeBSD 7.0-STABLE + 5x500Gb (1.8T UFS volume) -- crashes :( X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 20:05:29 -0000 Hello, Arne. You wrote 19 =EC=E0=FF 2008 =E3., 23:42:20: > I've called `df -h' and it shows, that I have NEGATIVE amount of > space on /usr/home/storage (about -14Mb of 1.8Tb). Negative amount of USED space, sorry. --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-stable@FreeBSD.ORG Mon May 19 20:14:19 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF9671065678 for ; Mon, 19 May 2008 20:14:19 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id 619BB8FC15 for ; Mon, 19 May 2008 20:14:19 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080519201408.REWO2641.mta31.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 16:14:08 -0400 Received: from maxwell ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080519201408.CSJE3194.aarprv06.charter.net@maxwell>; Mon, 19 May 2008 16:14:08 -0400 Received: by maxwell (Postfix, from userid 1000) id 5A2CB2A; Mon, 19 May 2008 15:14:08 -0500 (CDT) Date: Mon, 19 May 2008 15:14:08 -0500 From: Dave Uhring To: Lowell Gilbert Message-ID: <20080519201408.GD79130@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519170223.GH7468@bunrab.catwhisker.org> <20080519175358.GB55020@charter.net> <20080519180201.GI7468@bunrab.catwhisker.org> <20080519183614.GB55295@charter.net> <448wy6yviw.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <448wy6yviw.fsf@be-well.ilk.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 20:14:19 -0000 On Mon, May 19, 2008 at 02:54:31PM -0400, Lowell Gilbert wrote: > Dave Uhring writes: > > > > If a -I/some/directory is used as a CFLAG then the *include directive must read > > > > #include , *not* #include "driver.h". The latter demands that the > > header file be in the same directory as the source file. > > Not that it necessarily affects what you're going through, but that > last statement is incorrect. The double quotes are (according to the > C standard) implementation defined, and gcc (like many other > compilers) will prefer the local directory for the double quotes, but > will search the entire search path if it doesn't find the file there. The problem is that gcc is *not* finding the file in the directory referenced by the -I cflag. If I copy the header files to the directory where the error occurs the header file is found and used to compile the source file. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 00:01:59 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B738106564A for ; Tue, 20 May 2008 00:01:59 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from outgoing02.lava.net (pie.lava.net [IPv6:2001:1888:0:1:230:48ff:fe5b:3b8c]) by mx1.freebsd.org (Postfix) with ESMTP id 4907A8FC0A for ; Tue, 20 May 2008 00:01:59 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by outgoing02.lava.net (Postfix) with ESMTP id A3695171042; Mon, 19 May 2008 14:01:48 -1000 (HST) Received: by malasada.lava.net (Postfix, from userid 102) id 3512D153882; Mon, 19 May 2008 14:01:48 -1000 (HST) Date: Mon, 19 May 2008 14:01:48 -1000 From: Clifton Royston To: Dave Uhring Message-ID: <20080520000147.GA2824@lava.net> Mail-Followup-To: Dave Uhring , freebsd-stable@freebsd.org References: <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519170223.GH7468@bunrab.catwhisker.org> <20080519175358.GB55020@charter.net> <20080519180201.GI7468@bunrab.catwhisker.org> <20080519183614.GB55295@charter.net> <448wy6yviw.fsf@be-well.ilk.org> <20080519201408.GD79130@charter.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519201408.GD79130@charter.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 00:01:59 -0000 On Mon, May 19, 2008 at 03:14:08PM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 02:54:31PM -0400, Lowell Gilbert wrote: > > Dave Uhring writes: > > > > > > If a -I/some/directory is used as a CFLAG then the *include directive must read > > > > > > #include , *not* #include "driver.h". The latter demands that the > > > header file be in the same directory as the source file. > > > > Not that it necessarily affects what you're going through, but that > > last statement is incorrect. The double quotes are (according to the > > C standard) implementation defined, and gcc (like many other > > compilers) will prefer the local directory for the double quotes, but > > will search the entire search path if it doesn't find the file there. > > The problem is that gcc is *not* finding the file in the directory > referenced by the -I cflag. If I copy the header files to the directory > where the error occurs the header file is found and used to compile the > source file. This starts to narrow down the problem you're having a bit, I think. Given that this is different from the expected behavior and the behavior others are seeing, this sounds to me like either 1) the wrong compiler or version of the compiler is being found and used in place of the desired gcc instance, or 2) something in your shell or environment is somehow getting into the buildworld environment and causing make or the inner shell to misparse the commandline to gcc. -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services From owner-freebsd-stable@FreeBSD.ORG Tue May 20 00:02:38 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0ACAA1065672 for ; Tue, 20 May 2008 00:02:38 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id C7CCB8FC1C for ; Tue, 20 May 2008 00:02:37 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080520000237.YEHN2641.mta31.charter.net@aarprv04.charter.net>; Mon, 19 May 2008 20:02:37 -0400 Received: from localhost ([75.132.247.36]) by aarprv04.charter.net with ESMTP id <20080520000236.PENH4495.aarprv04.charter.net@localhost>; Mon, 19 May 2008 20:02:36 -0400 Received: by localhost (Postfix, from userid 1000) id 9C94188D60; Mon, 19 May 2008 19:02:36 -0500 (CDT) Date: Mon, 19 May 2008 19:02:36 -0500 From: Dave Uhring To: Jeffrey Goldberg Message-ID: <20080520000236.GA1260@charter.net> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> <20080519170428.GB77907@eos.sc1.parodius.com> <20080519182107.GC55020@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 00:02:38 -0000 On Mon, May 19, 2008 at 06:46:41PM -0500, Jeffrey Goldberg wrote: > On May 19, 2008, at 1:21 PM, Dave Uhring wrote: > >> In any case, that problem has been solved by putting the updated header >> files >> in /usr/include/sys and will be properly fixed when I can finally make >> installworld. > > I did not have to manually move or copy any header files. > >> *default release=cvs tag=RELENG_7 > > My build on that, csupped just after seeing your first message in this > thread, has just completed. make buildworld worked just fine without > error. I'm also on athlon64. All the headers that I needed were in the > right places in /usr/src Did you start from a RELEASE source tree and userland? > So all I can say is that things worked for me. I really suspect that you > got /usr/src and /usr/obj into some sort of inconsistent state. I completely removed both, cvsupped a new RELENG_7 source tree, removed /etc/make.conf and got this: /usr/bin/gcc -fpic -DPIC -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_openssl.c -o eng_openssl.So /usr/bin/gcc -fpic -DPIC -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c -o eng_padlock.So /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c: In function 'padlock_xcrypt_ecb': /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c:445: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c:445: error: 'asm' operand has impossible constraints *** Error code 1 Stop in /usr/src/secure/lib/libcrypto. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. real 8m58.524s user 7m18.995s sys 1m22.150s Solaris Nevada b_87 is installing on the server this minute instead of FreeBSD. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 00:04:20 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 015F3106566C for ; Tue, 20 May 2008 00:04:20 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id D1BB98FC1C for ; Tue, 20 May 2008 00:04:19 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 99F2910A3A4; Mon, 19 May 2008 19:46:42 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 19 May 2008 19:46:42 -0400 X-Sasl-enc: UvuFbJb4D3riuS8Eam+wxShcS24EYFh96bu45PzJtzqD 1211240802 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id 396D92D81A; Mon, 19 May 2008 19:46:42 -0400 (EDT) Message-Id: From: Jeffrey Goldberg To: Dave Uhring In-Reply-To: <20080519182107.GC55020@charter.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 19 May 2008 18:46:41 -0500 References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> <20080519170428.GB77907@eos.sc1.parodius.com> <20080519182107.GC55020@charter.net> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 00:04:20 -0000 On May 19, 2008, at 1:21 PM, Dave Uhring wrote: > In any case, that problem has been solved by putting the updated > header files > in /usr/include/sys and will be properly fixed when I can finally > make installworld. I did not have to manually move or copy any header files. > *default release=cvs tag=RELENG_7 My build on that, csupped just after seeing your first message in this thread, has just completed. make buildworld worked just fine without error. I'm also on athlon64. All the headers that I needed were in the right places in /usr/src So all I can say is that things worked for me. I really suspect that you got /usr/src and /usr/obj into some sort of inconsistent state. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From owner-freebsd-stable@FreeBSD.ORG Tue May 20 00:11:19 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E84CF106567C for ; Tue, 20 May 2008 00:11:19 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx06.syd.optusnet.com.au (fallbackmx06.syd.optusnet.com.au [211.29.132.8]) by mx1.freebsd.org (Postfix) with ESMTP id 7E30D8FC1F for ; Tue, 20 May 2008 00:11:19 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au [211.29.132.185]) by fallbackmx06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m4JJMCat017774 for ; Tue, 20 May 2008 05:22:13 +1000 Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail04.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m4JJM7mh012608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 May 2008 05:22:09 +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 m4JJM7fb001182; Tue, 20 May 2008 05:22:07 +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 m4JJM75B001181; Tue, 20 May 2008 05:22:07 +1000 (EST) (envelope-from peter) Date: Tue, 20 May 2008 05:22:07 +1000 From: Peter Jeremy To: Dave Uhring Message-ID: <20080519192207.GM1469@server.vk2pj.dyndns.org> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9l24NVCWtSuIVIod" Content-Disposition: inline In-Reply-To: <20080519163825.GA32372@charter.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 00:11:20 -0000 --9l24NVCWtSuIVIod Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-May-19 11:38:25 -0500, Dave Uhring wrote: >Yes, although at this point is it 'make -DNO_CLEAN buildworld' until I get= a clean >build. You have this backwards. If you are getting wierd buildworld errors, your first step should be to delete /usr/obj and then run 'make clean'. My guess is that you have some cruft in your /usr/src. --=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. --9l24NVCWtSuIVIod Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkgx018ACgkQ/opHv/APuIcV6gCfV4MfWmnUGUtBUwgr7+YToloX XiMAoIJInSb+7RutV0y8S1/0nN3xP39J =XaZV -----END PGP SIGNATURE----- --9l24NVCWtSuIVIod-- From owner-freebsd-stable@FreeBSD.ORG Tue May 20 01:03:59 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39A99106566C for ; Tue, 20 May 2008 01:03:59 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 04C588FC1D for ; Tue, 20 May 2008 01:03:58 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 74D8710A709; Mon, 19 May 2008 21:03:58 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 19 May 2008 21:03:58 -0400 X-Sasl-enc: LJqmRIHHe/LezmzoxpPHnBM/5FeUcrEWmUC3ML09F2aX 1211245438 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id E9E6D3DF0; Mon, 19 May 2008 21:03:57 -0400 (EDT) Message-Id: From: Jeffrey Goldberg To: Dave Uhring In-Reply-To: <20080520000236.GA1260@charter.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 19 May 2008 20:03:56 -0500 References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> <20080519170428.GB77907@eos.sc1.parodius.com> <20080519182107.GC55020@charter.net> <20080520000236.GA1260@charter.net> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 01:03:59 -0000 On May 19, 2008, at 7:02 PM, Dave Uhring wrote: > On Mon, May 19, 2008 at 06:46:41PM -0500, Jeffrey Goldberg wrote: > >> I did not have to manually move or copy any header files. > Did you start from a RELEASE source tree and userland? No. I was upgrading from STABLE last built about on April 29. However near the beginning of April I did move from RELEASE to STABLE. So several builds ago, I had moved from RELEASE to STABLE. >> So all I can say is that things worked for me. I really suspect >> that you >> got /usr/src and /usr/obj into some sort of inconsistent state. > > I completely removed both, cvsupped a new RELENG_7 source tree, > removed > /etc/make.conf and got this: > > /usr/bin/gcc -fpic -DPIC -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/ > lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/ > libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/ > lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H - > DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/ > lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_openssl.c -o > eng_openssl.So > /usr/bin/gcc -fpic -DPIC -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/ > lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/ > libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/ > lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H - > DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/ > lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c -o > eng_padlock.So > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/ > eng_padlock.c: In function 'padlock_xcrypt_ecb': > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/ > eng_padlock.c:445: error: can't find a register in class > 'GENERAL_REGS' while reloading 'asm' > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/ > eng_padlock.c:445: error: 'asm' operand has impossible constraints > *** Error code 1 > > Stop in /usr/src/secure/lib/libcrypto. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > real 8m58.524s > user 7m18.995s > sys 1m22.150s I have no idea of what the problem may be. I'm hoping that someone more knowledgeable will be able to help. What is interesting here is that this latest error does not appear to be the result of missing header files. Best of luck with this, -j From owner-freebsd-stable@FreeBSD.ORG Tue May 20 01:38:37 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CA48106564A for ; Tue, 20 May 2008 01:38:37 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id DE7818FC0A for ; Tue, 20 May 2008 01:38:36 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080520013826.ZTZ2641.mta31.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 21:38:26 -0400 Received: from localhost ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080520013825.UXZI3194.aarprv06.charter.net@localhost>; Mon, 19 May 2008 21:38:25 -0400 Received: by localhost (Postfix, from userid 1000) id 8D2A788D60; Mon, 19 May 2008 20:38:25 -0500 (CDT) Date: Mon, 19 May 2008 20:38:25 -0500 From: Dave Uhring To: Clifton Royston Message-ID: <20080520013825.GB1310@charter.net> References: <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519170223.GH7468@bunrab.catwhisker.org> <20080519175358.GB55020@charter.net> <20080519180201.GI7468@bunrab.catwhisker.org> <20080519183614.GB55295@charter.net> <448wy6yviw.fsf@be-well.ilk.org> <20080519201408.GD79130@charter.net> <20080520000147.GA2824@lava.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080520000147.GA2824@lava.net> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 01:38:37 -0000 On Mon, May 19, 2008 at 02:01:48PM -1000, Clifton Royston wrote: > On Mon, May 19, 2008 at 03:14:08PM -0500, Dave Uhring wrote: > > > > The problem is that gcc is *not* finding the file in the directory > > referenced by the -I cflag. If I copy the header files to the directory > > where the error occurs the header file is found and used to compile the > > source file. > > This starts to narrow down the problem you're having a bit, I think. > > Given that this is different from the expected behavior and the > behavior others are seeing, this sounds to me like either 1) the wrong > compiler or version of the compiler is being found and used in place of > the desired gcc instance, or 2) something in your shell or environment > is somehow getting into the buildworld environment and causing make or > the inner shell to misparse the commandline to gcc. The c compiler is the one shipped with 7.0 RELEASE. Except for the 3 new header files that I placed from cvsupped sources into /usr/include/sys the entire system is 7.0 RELEASE. Prior to beginning the build I deliberately set # export CFLAGS="" Nothing else in my environment would have affected the compiler. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 01:58:09 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEB821065674 for ; Tue, 20 May 2008 01:58:09 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:214:22ff:fed9:fbdc]) by mx1.freebsd.org (Postfix) with ESMTP id 9446C8FC1A for ; Tue, 20 May 2008 01:58:09 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.2/8.14.2) with ESMTP id m4K1w30H029689; Tue, 20 May 2008 11:58:04 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200805200158.m4K1w30H029689@drugs.dv.isc.org> To: Dave Uhring From: Mark Andrews In-reply-to: Your message of "Mon, 19 May 2008 20:38:25 EST." <20080520013825.GB1310@charter.net> Date: Tue, 20 May 2008 11:58:03 +1000 Sender: marka@isc.org Cc: freebsd-stable@freebsd.org, Clifton Royston Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 01:58:09 -0000 > On Mon, May 19, 2008 at 02:01:48PM -1000, Clifton Royston wrote: > > On Mon, May 19, 2008 at 03:14:08PM -0500, Dave Uhring wrote: > > > > > > The problem is that gcc is *not* finding the file in the directory > > > referenced by the -I cflag. If I copy the header files to the directory > > > where the error occurs the header file is found and used to compile the > > > source file. > > > > This starts to narrow down the problem you're having a bit, I think. > > > > Given that this is different from the expected behavior and the > > behavior others are seeing, this sounds to me like either 1) the wrong > > compiler or version of the compiler is being found and used in place of > > the desired gcc instance, or 2) something in your shell or environment > > is somehow getting into the buildworld environment and causing make or > > the inner shell to misparse the commandline to gcc. > > The c compiler is the one shipped with 7.0 RELEASE. Except for the 3 > new header files that I placed from cvsupped sources into /usr/include/sys > the entire system is 7.0 RELEASE. > > Prior to beginning the build I deliberately set > > # export CFLAGS="" This does NOT remove CFLAGS from the environment. env -i PATH=$PATH make ... will clear the enviornment and just add PATH. e.g. % env -i PATH="$PATH" SHELL="$SHELL" HOME="$HOME" printenv PATH=/home/marka/gnu/bin:/home/marka/bin/mask:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/home/marka/bin:/usr/local/sbin SHELL=/bin/csh HOME=/home/marka % > Nothing else in my environment would have affected the compiler. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org From owner-freebsd-stable@FreeBSD.ORG Tue May 20 01:58:24 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47D671065740 for ; Tue, 20 May 2008 01:58:24 +0000 (UTC) (envelope-from kutulu@kutulu.org) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by mx1.freebsd.org (Postfix) with ESMTP id 1520C8FC22 for ; Tue, 20 May 2008 01:58:23 +0000 (UTC) (envelope-from kutulu@kutulu.org) Received: from basement.kutulu.org ([97.101.60.32]) by cdptpa-omta03.mail.rr.com with ESMTP id <20080520015823.MQOG28475.cdptpa-omta03.mail.rr.com@basement.kutulu.org>; Tue, 20 May 2008 01:58:23 +0000 Received: from [192.168.69.4] (wombat.jungle [192.168.69.4]) by basement.kutulu.org (Postfix) with ESMTPS id 4F46F11440; Mon, 19 May 2008 21:58:22 -0400 (EDT) Message-ID: <4832303D.6010103@kutulu.org> Date: Mon, 19 May 2008 21:58:21 -0400 From: Mike Edenfield User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Dave Uhring References: <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519170223.GH7468@bunrab.catwhisker.org> <20080519175358.GB55020@charter.net> <20080519180201.GI7468@bunrab.catwhisker.org> <20080519183614.GB55295@charter.net> <448wy6yviw.fsf@be-well.ilk.org> <20080519201408.GD79130@charter.net> <20080520000147.GA2824@lava.net> <20080520013825.GB1310@charter.net> In-Reply-To: <20080520013825.GB1310@charter.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Clifton Royston Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 01:58:24 -0000 Dave Uhring wrote: > On Mon, May 19, 2008 at 02:01:48PM -1000, Clifton Royston wrote: > >> On Mon, May 19, 2008 at 03:14:08PM -0500, Dave Uhring wrote: >> >>> The problem is that gcc is *not* finding the file in the directory >>> referenced by the -I cflag. If I copy the header files to the directory >>> where the error occurs the header file is found and used to compile the >>> source file. >>> >> This starts to narrow down the problem you're having a bit, I think. >> >> Given that this is different from the expected behavior and the >> behavior others are seeing, this sounds to me like either 1) the wrong >> compiler or version of the compiler is being found and used in place of >> the desired gcc instance, or 2) something in your shell or environment >> is somehow getting into the buildworld environment and causing make or >> the inner shell to misparse the commandline to gcc. >> > > The c compiler is the one shipped with 7.0 RELEASE. Except for the 3 > new header files that I placed from cvsupped sources into /usr/include/sys > the entire system is 7.0 RELEASE. > > Prior to beginning the build I deliberately set > > # export CFLAGS="" > > Nothing else in my environment would have affected the compiler > I suspect there is still *something* affecting your compiler, though where from I couldn't even guess. According to this message: http://gcc.gnu.org/ml/gcc-help/2007-04/msg00200.html the most recent error you posted, from inside OpenSSL, only happens if you compile the library at -O0, which is definitely not the default behavior. If you've already blown away your FreeBSD environment there's obviously not much more you can do to track down the problem, but it would be interesting to know what: make -V CFLAGS actually returned from within /usr/src. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 02:02:38 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D6481065677 for ; Tue, 20 May 2008 02:02:38 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mx.egr.msu.edu (surfnturf.egr.msu.edu [35.9.37.164]) by mx1.freebsd.org (Postfix) with ESMTP id 4E7498FC18 for ; Tue, 20 May 2008 02:02:38 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from localhost (localhost [127.0.0.1]) by mx.egr.msu.edu (Postfix) with ESMTP id 9D04371F15F; Mon, 19 May 2008 22:02:37 -0400 (EDT) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mx.egr.msu.edu ([127.0.0.1]) by localhost (surfnturf.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cvgelHLc1+uR; Mon, 19 May 2008 22:02:37 -0400 (EDT) Received: from localhost (daemon.egr.msu.edu [35.9.44.65]) by mx.egr.msu.edu (Postfix) with ESMTP id 5FB8071F15B; Mon, 19 May 2008 22:02:37 -0400 (EDT) Received: by localhost (Postfix, from userid 21281) id 30F3F2E1; Mon, 19 May 2008 22:02:37 -0400 (EDT) Date: Mon, 19 May 2008 22:02:37 -0400 From: Adam McDougall To: Daniel Ponticello Message-ID: <20080520020236.GN39854@egr.msu.edu> References: <48303A1B.9000103@skytek.it> <20080519130031.8978.A2D40D1E@fornext.org> <48314227.3080101@skytek.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48314227.3080101@skytek.it> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Disk access/MPT under ESX3.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 02:02:38 -0000 On Mon, May 19, 2008 at 11:02:31AM +0200, Daniel Ponticello wrote: Hello, monitor# camcontrol negotiate 0:0 -W 16 Current Parameters: (pass0:mpt0:0:0:0): sync parameter: 0 (pass0:mpt0:0:0:0): offset: 0 (pass0:mpt0:0:0:0): bus width: 8 bits (pass0:mpt0:0:0:0): disconnection is enabled (pass0:mpt0:0:0:0): tagged queueing is enabled monitor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 32.421679 secs (32341817 bytes/sec) monitor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 20.355797 secs (51512402 bytes/sec) No improvements. But it looks like it did not renegotiated the transfers data rate that for some odd reasons are setted as 3.3MB/S instead of 320mb/s. I made some tests using linux 2.18 (debian): debiantest:/home/daniel# uname -a Linux debiantest 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686 GNU/Linux scsi0 : ioc0: LSI53C1030, FwRev=00000000h, Ports=1, MaxQ=128, IRQ=169 Vendor: VMware Model: Virtual disk Rev: 1.0 Type: Direct-Access ANSI SCSI revision: 02 target0:0:0: Beginning Domain Validation target0:0:0: Domain Validation skipping write tests target0:0:0: Ending Domain Validation target0:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU RDSTRM RTI WRFLOW PCOMP (6.25 ns, offset 127) debiantest:/home/daniel# dd if=/dev/zero of=dead.file bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB) copied, 5.01316 seconds, 209 MB/s For the Linux test, are you sure it didn't cache part of the write before returning? You may need to add some syncs and make it part of the elapsed time. Just checking because this seems to be my experience. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 02:08:23 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96244106566B for ; Tue, 20 May 2008 02:08:23 +0000 (UTC) (envelope-from josh.carroll@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 4FFF98FC0A for ; Tue, 20 May 2008 02:08:23 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1211571ywe.13 for ; Mon, 19 May 2008 19:08:22 -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:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ag3WAKwkgniQWphtbAhceqLfNX3xh9HeoQZJl97mx4I=; b=CoCD3Qdt+pe3s+jRoNf1WPdtuCPmxYD/h/BDwuAAu+YGzpRbB1p4JcrcRNXXY5KeD560vdPsVlQYRIoIVdIrkUQio9YgDMc46U/gsDubRZJeFLjMlWG2ByU2962ROs2HbCHCrPmZnmzcrAlTF6r/lkIGab/ANsvIRKaduiUVSTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nD3ZMVUzRKYZ7TLdH6NV8tKS2lnk/C6xdetWTou/eZVWVKlc7wLtB0lTpzoWYXnGU2V1gqWCtmJPLptaiduk9vgfdyh/zQlMM6ua9QQmRTrW3n7du8dnskRasGwcRbeZPD6oqMaSlkf0u3LLS2+9a67zNsQV/4CXd5/65/P6fV4= Received: by 10.150.49.2 with SMTP id w2mr7096634ybw.27.1211249302554; Mon, 19 May 2008 19:08:22 -0700 (PDT) Received: by 10.150.140.14 with HTTP; Mon, 19 May 2008 19:08:22 -0700 (PDT) Message-ID: <8cb6106e0805191908g2eb24babn4f4b3e532cc77f8e@mail.gmail.com> Date: Mon, 19 May 2008 22:08:22 -0400 From: "Josh Carroll" To: "Dave Uhring" In-Reply-To: <20080520013825.GB1310@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519170223.GH7468@bunrab.catwhisker.org> <20080519175358.GB55020@charter.net> <20080519180201.GI7468@bunrab.catwhisker.org> <20080519183614.GB55295@charter.net> <448wy6yviw.fsf@be-well.ilk.org> <20080519201408.GD79130@charter.net> <20080520000147.GA2824@lava.net> <20080520013825.GB1310@charter.net> Cc: freebsd-stable@freebsd.org, Clifton Royston Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 02:08:23 -0000 > The c compiler is the one shipped with 7.0 RELEASE. Except for the 3 > new header files that I placed from cvsupped sources into /usr/include/sys > the entire system is 7.0 RELEASE. > > Prior to beginning the build I deliberately set > > # export CFLAGS="" > > Nothing else in my environment would have affected the compiler. You're not using make -j when building world are you? If so, remove that and see if it then builds properly. Josh From owner-freebsd-stable@FreeBSD.ORG Tue May 20 02:51:31 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF7FF1065677 for ; Tue, 20 May 2008 02:51:31 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta21.charter.net (mta21.charter.net [216.33.127.81]) by mx1.freebsd.org (Postfix) with ESMTP id 8216E8FC1C for ; Tue, 20 May 2008 02:51:31 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta21.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080520025130.EDSA23078.mta21.charter.net@aarprv04.charter.net>; Mon, 19 May 2008 22:51:30 -0400 Received: from localhost ([75.132.247.36]) by aarprv04.charter.net with ESMTP id <20080520025130.YRDR4495.aarprv04.charter.net@localhost>; Mon, 19 May 2008 22:51:30 -0400 Received: by localhost (Postfix, from userid 1000) id 13D8788D60; Mon, 19 May 2008 21:51:30 -0500 (CDT) Date: Mon, 19 May 2008 21:51:30 -0500 From: Dave Uhring To: Mark Andrews Message-ID: <20080520025130.GA1373@charter.net> References: <20080520013825.GB1310@charter.net> <200805200158.m4K1w30H029689@drugs.dv.isc.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805200158.m4K1w30H029689@drugs.dv.isc.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 02:51:32 -0000 On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: > > > # export CFLAGS="" > > This does NOT remove CFLAGS from the environment. It does when you shell is bash. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 02:59:19 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0DAB1065675 for ; Tue, 20 May 2008 02:59:19 +0000 (UTC) (envelope-from josh.carroll@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 A7E9C8FC14 for ; Tue, 20 May 2008 02:59:19 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1218694ywe.13 for ; Mon, 19 May 2008 19:59: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:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=YXt7iIt7a1I00CK0z6ePBr/3SiJ3jTpTk0kN1W9NVGQ=; b=d42cIsSakUR/wZwjMdLJNVi3sHOEvM5Pj8PjmXOPz+w10oM8mi4oPMpM1s3AduVhbM6mCxDpcdrGZM3bvBpHwDFlmDsPw1DUSXze9rUfFvCvj7rGAJUny5ID8kh3GCy72rBkusBRvOKKnYK93NS+M5VmBmUkFI2LdoBQpvrVEyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oXXjstnMpB5sQKeKazNzw9P9qWEMa0N/FJlXY6KngRzLngEW2QFJhvbMzLTBBIfmSdFTYXfGpsUiLWxJCRL/PrPFpWKuA8mNfH2KgLU2MCGGx0TNYDyGctnNDybLS/qT599pfoNCZRap25I8CHT9YvIs2pFEXZtOWcVBXzfFx5k= Received: by 10.150.50.3 with SMTP id x3mr7140353ybx.3.1211252358429; Mon, 19 May 2008 19:59:18 -0700 (PDT) Received: by 10.150.140.14 with HTTP; Mon, 19 May 2008 19:59:18 -0700 (PDT) Message-ID: <8cb6106e0805191959k943fa63l9117043d2f092ea5@mail.gmail.com> Date: Mon, 19 May 2008 22:59:18 -0400 From: "Josh Carroll" To: "Dave Uhring" In-Reply-To: <20080520025130.GA1373@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080520013825.GB1310@charter.net> <200805200158.m4K1w30H029689@drugs.dv.isc.org> <20080520025130.GA1373@charter.net> Cc: Mark Andrews , freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 02:59:20 -0000 > On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: >> >> > # export CFLAGS="" >> >> This does NOT remove CFLAGS from the environment. > > It does when you shell is bash. I think what Mark was getting at is that simply setting CFLAGS to "" prior to make does not trump the setting of CFLAGS in make.conf/src.conf. So if you haven't removed/commented that from your make.conf, the export command above will do nothing for the actual build environment. Josh From owner-freebsd-stable@FreeBSD.ORG Tue May 20 03:01:29 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E926110656D6 for ; Tue, 20 May 2008 03:01:29 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id A07628FC29 for ; Tue, 20 May 2008 03:01:29 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080520030118.DLEK2641.mta31.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 23:01:18 -0400 Received: from localhost ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080520030118.ZPDD3194.aarprv06.charter.net@localhost>; Mon, 19 May 2008 23:01:18 -0400 Received: by localhost (Postfix, from userid 1000) id 550E788D60; Mon, 19 May 2008 22:01:18 -0500 (CDT) Date: Mon, 19 May 2008 22:01:18 -0500 From: Dave Uhring To: Josh Carroll Message-ID: <20080520030118.GC1373@charter.net> References: <20080519165421.GA62264@charter.net> <20080519170223.GH7468@bunrab.catwhisker.org> <20080519175358.GB55020@charter.net> <20080519180201.GI7468@bunrab.catwhisker.org> <20080519183614.GB55295@charter.net> <448wy6yviw.fsf@be-well.ilk.org> <20080519201408.GD79130@charter.net> <20080520000147.GA2824@lava.net> <20080520013825.GB1310@charter.net> <8cb6106e0805191908g2eb24babn4f4b3e532cc77f8e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8cb6106e0805191908g2eb24babn4f4b3e532cc77f8e@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 03:01:30 -0000 On Mon, May 19, 2008 at 10:08:22PM -0400, Josh Carroll wrote: > > The c compiler is the one shipped with 7.0 RELEASE. Except for the 3 > > new header files that I placed from cvsupped sources into /usr/include/sys > > the entire system is 7.0 RELEASE. > > > > Prior to beginning the build I deliberately set > > > > # export CFLAGS="" > > > > Nothing else in my environment would have affected the compiler. > > You're not using make -j when building world are you? If so, remove > that and see if it then builds properly. No, even though it is a dual-core system. I did not want to chance a race condition. I simply executed 'make buildworld' initially, then 'make -DNO_CLEAN buildworld' when I encountered problems in the build. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 03:10:34 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2251410656AA for ; Tue, 20 May 2008 03:10:34 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id D84688FC23 for ; Tue, 20 May 2008 03:10:33 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1220366ywe.13 for ; Mon, 19 May 2008 20:10:32 -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:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Z80qyHrmkauk7AJm7qpw/pRpq1iV0ZCJ0YLgidxnbu4=; b=C8/r4vFlMK8jJ6N5XckjIFBc7OBFIQNqJlfXc3A1ZvWiPuhpWmUXKNcJRPIK1GDfiEKAcwKOsrkziSIG8/dHzqXYSqLqhh8tBicUMUnrOMN3HIAOeu/eXXpNZ+2Y5+KemyKtEJVNUq+dib1dP/lVpX3RH8JzZr8Zgoun6jPAZ50= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JNLO96RMqtIIf9K8HBDDj5yGK3vge1kYZUdn/eVWt05Wjm4xe8Ts59uvjfQ89T/li1rPWe4iMFOijWWm82GttJ1ymiDxabS10NlTffbFlWCfBxm7QiQaCD8zzKNnqoP8RqEa8TlL24b1Qd6GRwzc5BTMZ98dIcqe8kwNyJfBoIw= Received: by 10.150.79.32 with SMTP id c32mr7104475ybb.133.1211253032809; Mon, 19 May 2008 20:10:32 -0700 (PDT) Received: by 10.150.140.14 with HTTP; Mon, 19 May 2008 20:10:32 -0700 (PDT) Message-ID: <8cb6106e0805192010n4bf6afb5hac521f81ebf16b63@mail.gmail.com> Date: Mon, 19 May 2008 23:10:32 -0400 From: "Josh Carroll" To: "Dave Uhring" In-Reply-To: <20080520030118.GC1373@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080519165421.GA62264@charter.net> <20080519175358.GB55020@charter.net> <20080519180201.GI7468@bunrab.catwhisker.org> <20080519183614.GB55295@charter.net> <448wy6yviw.fsf@be-well.ilk.org> <20080519201408.GD79130@charter.net> <20080520000147.GA2824@lava.net> <20080520013825.GB1310@charter.net> <8cb6106e0805191908g2eb24babn4f4b3e532cc77f8e@mail.gmail.com> <20080520030118.GC1373@charter.net> Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 03:10:34 -0000 > No, even though it is a dual-core system. I did not want to chance a > race condition. I simply executed 'make buildworld' initially, then > 'make -DNO_CLEAN buildworld' when I encountered problems in the build. Ok, it was worth asking, just to rule out the obvious. I'm still not sure where your logic in using -DNOCLEAN comes in, for a failed build. I would expect that to continue to fail in most circumstances if it were already failing. So I think in one of your other mails you said you're installing something else now? Solaris? If so, this thread is moot, since you aren't running FreeBSD on the box anymore, and no one has been able to reproduce your problem. I think the most likely culprits have already been mentioned in the thread so far anyway. Josh From owner-freebsd-stable@FreeBSD.ORG Tue May 20 03:25:03 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B731106564A for ; Tue, 20 May 2008 03:25:03 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:214:22ff:fed9:fbdc]) by mx1.freebsd.org (Postfix) with ESMTP id 295EA8FC19 for ; Tue, 20 May 2008 03:25:02 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.2/8.14.2) with ESMTP id m4K3Ow5J030607; Tue, 20 May 2008 13:24:58 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200805200324.m4K3Ow5J030607@drugs.dv.isc.org> To: Dave Uhring From: Mark Andrews In-reply-to: Your message of "Mon, 19 May 2008 21:51:30 EST." <20080520025130.GA1373@charter.net> Date: Tue, 20 May 2008 13:24:58 +1000 Sender: marka@isc.org Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 03:25:03 -0000 > On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: > > > > > # export CFLAGS="" > > > > This does NOT remove CFLAGS from the environment. > > It does when you shell is bash. bash is broken. Empty environment variables have meaning. Mark -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org From owner-freebsd-stable@FreeBSD.ORG Tue May 20 03:29:58 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2A83106567A for ; Tue, 20 May 2008 03:29:58 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta21.charter.net (mta21.charter.net [216.33.127.81]) by mx1.freebsd.org (Postfix) with ESMTP id 941338FC18 for ; Tue, 20 May 2008 03:29:58 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta21.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080520032955.FATT23078.mta21.charter.net@aarprv06.charter.net>; Mon, 19 May 2008 23:29:55 -0400 Received: from localhost ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080520032955.YRB3194.aarprv06.charter.net@localhost>; Mon, 19 May 2008 23:29:55 -0400 Received: by localhost (Postfix, from userid 1000) id 559CB88D60; Mon, 19 May 2008 22:29:55 -0500 (CDT) Date: Mon, 19 May 2008 22:29:55 -0500 From: Dave Uhring To: Josh Carroll Message-ID: <20080520032955.GA1428@charter.net> References: <20080520013825.GB1310@charter.net> <200805200158.m4K1w30H029689@drugs.dv.isc.org> <20080520025130.GA1373@charter.net> <8cb6106e0805191959k943fa63l9117043d2f092ea5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8cb6106e0805191959k943fa63l9117043d2f092ea5@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 03:29:59 -0000 On Mon, May 19, 2008 at 10:59:18PM -0400, Josh Carroll wrote: > > On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: > >> > >> > # export CFLAGS="" > >> > >> This does NOT remove CFLAGS from the environment. > > > > It does when you shell is bash. > > I think what Mark was getting at is that simply setting CFLAGS to "" > prior to make does not trump the setting of CFLAGS in > make.conf/src.conf. So if you haven't removed/commented that from > your make.conf, the export command above will do nothing for the > actual build environment. Before that last build I had removed /etc/make.conf and had never touched src.conf. CFLAGS was empty. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 03:33:19 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 361711065670 for ; Tue, 20 May 2008 03:33:19 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:214:22ff:fed9:fbdc]) by mx1.freebsd.org (Postfix) with ESMTP id DC0278FC15 for ; Tue, 20 May 2008 03:33:18 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.2/8.14.2) with ESMTP id m4K3XF72030784; Tue, 20 May 2008 13:33:15 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200805200333.m4K3XF72030784@drugs.dv.isc.org> From: Mark Andrews In-reply-to: Your message of "Tue, 20 May 2008 13:24:58 +1000." <200805200324.m4K3Ow5J030607@drugs.dv.isc.org> Date: Tue, 20 May 2008 13:33:15 +1000 Sender: marka@isc.org Cc: freebsd-stable@freebsd.org, Dave Uhring Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 03:33:19 -0000 > > > On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: > > > > > > > # export CFLAGS="" > > > > > > This does NOT remove CFLAGS from the environment. > > > > It does when you shell is bash. > > bash is broken. Empty environment variables have meaning. > > Mark And when tested does behave the way you describe. Mark drugs:9.5.x 13:30 {4371} % bash [marka@drugs ~/cvs/9.5.x]$ printenv | grep FOO [marka@drugs ~/cvs/9.5.x]$ FOO=ll [marka@drugs ~/cvs/9.5.x]$ export FOO [marka@drugs ~/cvs/9.5.x]$ printenv | grep FOO FOO=ll [marka@drugs ~/cvs/9.5.x]$ FOO="" [marka@drugs ~/cvs/9.5.x]$ export FOO [marka@drugs ~/cvs/9.5.x]$ printenv | grep FOO FOO= [marka@drugs ~/cvs/9.5.x]$ env -i PATH=$PATH printenv | grep FOO [marka@drugs ~/cvs/9.5.x]$ > -- > Mark Andrews, ISC > 1 Seymour St., Dundas Valley, NSW 2117, Australia > PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org From owner-freebsd-stable@FreeBSD.ORG Tue May 20 03:37:51 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE665106564A for ; Tue, 20 May 2008 03:37:51 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 6634C8FC17 for ; Tue, 20 May 2008 03:37:51 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080520033745.REZV5653.mta11.charter.net@aarprv04.charter.net>; Mon, 19 May 2008 23:37:45 -0400 Received: from localhost ([75.132.247.36]) by aarprv04.charter.net with ESMTP id <20080520033745.VXM4495.aarprv04.charter.net@localhost>; Mon, 19 May 2008 23:37:45 -0400 Received: by localhost (Postfix, from userid 1000) id 3BFDD88D60; Mon, 19 May 2008 22:37:45 -0500 (CDT) Date: Mon, 19 May 2008 22:37:45 -0500 From: Dave Uhring To: Josh Carroll Message-ID: <20080520033745.GB1428@charter.net> References: <20080519175358.GB55020@charter.net> <20080519180201.GI7468@bunrab.catwhisker.org> <20080519183614.GB55295@charter.net> <448wy6yviw.fsf@be-well.ilk.org> <20080519201408.GD79130@charter.net> <20080520000147.GA2824@lava.net> <20080520013825.GB1310@charter.net> <8cb6106e0805191908g2eb24babn4f4b3e532cc77f8e@mail.gmail.com> <20080520030118.GC1373@charter.net> <8cb6106e0805192010n4bf6afb5hac521f81ebf16b63@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8cb6106e0805192010n4bf6afb5hac521f81ebf16b63@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 03:37:51 -0000 On Mon, May 19, 2008 at 11:10:32PM -0400, Josh Carroll wrote: > > No, even though it is a dual-core system. I did not want to chance a > > race condition. I simply executed 'make buildworld' initially, then > > 'make -DNO_CLEAN buildworld' when I encountered problems in the build. > > Ok, it was worth asking, just to rule out the obvious. > > I'm still not sure where your logic in using -DNOCLEAN comes in, for a > failed build. I would expect that to continue to fail in most > circumstances if it were already failing. If you fix what caused the build to break and want to find any other failure points there is little point in restarting the build from zero. > So I think in one of your other mails you said you're installing > something else now? Solaris? If so, this thread is moot, since you > aren't running FreeBSD on the box anymore, and no one has been able to > reproduce your problem. I think the most likely culprits have already > been mentioned in the thread so far anyway. I would still like to get FreeBSD on that server but with the latest improvements to ZFS. The release version is not going to do that for me and the only way that I can get up-to-date binaries is to build a new world and kernel. I'll give it another days' try and if that still fails Solaris will stay on the server. This BTW is not my first time building world on FreeBSD. I followed STABLE from 3.4 through the end of RELENG_4 and I never had such problems with a simple compile. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 04:32:27 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C25C11065672 for ; Tue, 20 May 2008 04:32:27 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id BBDF88FC15 for ; Tue, 20 May 2008 04:32:27 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 73D8A1CC038; Mon, 19 May 2008 21:32:27 -0700 (PDT) Date: Mon, 19 May 2008 21:32:27 -0700 From: Jeremy Chadwick To: Dave Uhring Message-ID: <20080520043227.GA7937@eos.sc1.parodius.com> References: <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519165925.GA77907@eos.sc1.parodius.com> <20080519170334.GA74159@charter.net> <20080519170619.GC77907@eos.sc1.parodius.com> <20080519180028.GA79392@eos.sc1.parodius.com> <20080519191646.GA82513@eos.sc1.parodius.com> <20080519200342.GA79130@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519200342.GA79130@charter.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 04:32:27 -0000 On Mon, May 19, 2008 at 03:03:42PM -0500, Dave Uhring wrote: > [root@maxwell /usr/src/contrib/groff]# mount > /dev/ad4s2a on / (ufs, local, soft-updates) > devfs on /dev (devfs, local) > /dev/ad4s2h on /home (ufs, local, soft-updates) > /dev/ad4s2e on /usr (ufs, local, soft-updates) > /dev/ad4s2g on /usr/local (ufs, local, soft-updates) > /dev/ad4s2d on /var (ufs, local, soft-updates) > /dev/md0 on /tmp (ufs, local, soft-updates) > /dev/ad4s2f on /usr/obj (ufs, asynchronous, local, noatime) > [root@maxwell /usr/src/contrib/groff]# > > Not even an NFS mount. I'm trying to update to FreeBSD-STABLE to use on my > home file server. At present it has OpenSolaris installed but that OS does > not have the Ethernet driver I need and I want to be able to use 2 Adaptec > 29160N HBAs in the system. But I only have 2 PCI slots and I would like to > remove the Intel NIC and use the system's on-board nfe NIC. > > I'll blow away /usr/src and /usr/obj, cvsup the entire RELENG_7 source tree > again and once more attempt to buildworld. If that fails, Solaris stays on > the server. And please be sure to nuke /var/db/sup/src-all (or /usr/sup/src-all if you're using cvsup for some reason). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Tue May 20 04:35:23 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 218E91065670 for ; Tue, 20 May 2008 04:35:23 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1B65F8FC1A for ; Tue, 20 May 2008 04:35:23 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id F26001CC038; Mon, 19 May 2008 21:35:22 -0700 (PDT) Date: Mon, 19 May 2008 21:35:22 -0700 From: Jeremy Chadwick To: Dave Uhring Message-ID: <20080520043522.GA8158@eos.sc1.parodius.com> References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519165421.GA62264@charter.net> <20080519165925.GA77907@eos.sc1.parodius.com> <20080519170334.GA74159@charter.net> <20080519170619.GC77907@eos.sc1.parodius.com> <20080519180028.GA79392@eos.sc1.parodius.com> <20080519191646.GA82513@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519191646.GA82513@eos.sc1.parodius.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 04:35:23 -0000 On Mon, May 19, 2008 at 12:16:46PM -0700, Jeremy Chadwick wrote: > I will attempt the same with your make.conf to see if it's any > different. I'll add that while I slept, I let a 'make buildworld' go with your exact make.conf flags -- it completed successfully. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Tue May 20 06:14:29 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAF84106564A for ; Tue, 20 May 2008 06:14:29 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 4347F8FC13 for ; Tue, 20 May 2008 06:14:28 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:54048 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JyKrY-0005a3-61 for freebsd-stable@freebsd.org; Tue, 20 May 2008 07:58:19 +0200 Received: (qmail 17014 invoked from network); 20 May 2008 07:58:13 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 20 May 2008 07:58:13 +0200 Received: (qmail 13046 invoked by uid 1001); 20 May 2008 07:58:13 +0200 Date: Tue, 20 May 2008 07:58:13 +0200 From: Erik Trulsson To: Dave Uhring Message-ID: <20080520055813.GA13031@owl.midgard.homeip.net> Mail-Followup-To: Dave Uhring , Jeffrey Goldberg , freebsd-stable@freebsd.org References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> <20080519170428.GB77907@eos.sc1.parodius.com> <20080519182107.GC55020@charter.net> <20080520000236.GA1260@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080520000236.GA1260@charter.net> User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1JyKrY-0005a3-61. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JyKrY-0005a3-61 9d5a146f3677a98f23e81c555db20a2a Cc: freebsd-stable@freebsd.org, Jeffrey Goldberg Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 06:14:29 -0000 On Mon, May 19, 2008 at 07:02:36PM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 06:46:41PM -0500, Jeffrey Goldberg wrote: > > On May 19, 2008, at 1:21 PM, Dave Uhring wrote: > > > >> In any case, that problem has been solved by putting the updated header > >> files > >> in /usr/include/sys and will be properly fixed when I can finally make > >> installworld. > > > > I did not have to manually move or copy any header files. > > > >> *default release=cvs tag=RELENG_7 > > > > My build on that, csupped just after seeing your first message in this > > thread, has just completed. make buildworld worked just fine without > > error. I'm also on athlon64. All the headers that I needed were in the > > right places in /usr/src > > Did you start from a RELEASE source tree and userland? > > > So all I can say is that things worked for me. I really suspect that you > > got /usr/src and /usr/obj into some sort of inconsistent state. > > I completely removed both, cvsupped a new RELENG_7 source tree, removed > /etc/make.conf and got this: > If I were you I would suspect hardware problems. In particular bad memory - that is often the reason behind the kind of wierd errors you have been seeing. (Suspect number two would be overheating of some component.) In your place I would run memtest86 (for several full passes) to check the memory. > /usr/bin/gcc -fpic -DPIC -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_openssl.c -o eng_openssl.So > /usr/bin/gcc -fpic -DPIC -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c -o eng_padlock.So > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c: In function 'padlock_xcrypt_ecb': > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c:445: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c:445: error: 'asm' operand has impossible constraints > *** Error code 1 > > Stop in /usr/src/secure/lib/libcrypto. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > real 8m58.524s > user 7m18.995s > sys 1m22.150s > > Solaris Nevada b_87 is installing on the server this minute instead of > FreeBSD. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-stable@FreeBSD.ORG Tue May 20 07:43:01 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D4751065677 for ; Tue, 20 May 2008 07:43:01 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail11.syd.optusnet.com.au (mail11.syd.optusnet.com.au [211.29.132.192]) by mx1.freebsd.org (Postfix) with ESMTP id C15948FC14 for ; Tue, 20 May 2008 07:43:00 +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 mail11.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m4K7gtNi029971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 May 2008 17:42:56 +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 m4K7gtJI003418; Tue, 20 May 2008 17:42:55 +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 m4K7gtpY003417; Tue, 20 May 2008 17:42:55 +1000 (EST) (envelope-from peter) Date: Tue, 20 May 2008 17:42:55 +1000 From: Peter Jeremy To: Dave Uhring Message-ID: <20080520074255.GT1469@server.vk2pj.dyndns.org> References: <20080520013825.GB1310@charter.net> <200805200158.m4K1w30H029689@drugs.dv.isc.org> <20080520025130.GA1373@charter.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A9z/3b/E4MkkD+7G" Content-Disposition: inline In-Reply-To: <20080520025130.GA1373@charter.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 07:43:01 -0000 --A9z/3b/E4MkkD+7G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-May-19 21:51:30 -0500, Dave Uhring wrote: >On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: >>=20 >> > # export CFLAGS=3D"" >>=20 >> This does NOT remove CFLAGS from the environment. > >It does when you shell is bash. As Mark pointed out, this just means bash is broken. Note that the FreeBSD build toolset is designed to work with sh - if you've managed to convince make to use bash, you may have run into an incompatibility that is causing your buildworld failures. --=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. --A9z/3b/E4MkkD+7G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkgygP8ACgkQ/opHv/APuIdDqACfZcsgH9KeE5k0VIJEAPCcAKdP NWwAoINx4LT1NdgabNYpfHLTTVl/jUv+ =rnbp -----END PGP SIGNATURE----- --A9z/3b/E4MkkD+7G-- From owner-freebsd-stable@FreeBSD.ORG Tue May 20 07:50:16 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7393106564A for ; Tue, 20 May 2008 07:50:16 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (unknown [IPv6:2002:50b1:e8f2:1::143]) by mx1.freebsd.org (Postfix) with ESMTP id 73CCA8FC24 for ; Tue, 20 May 2008 07:50:16 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc] (unknown [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc]) by itchy.rabson.org (Postfix) with ESMTP id 5A2A43FD8; Tue, 20 May 2008 08:49:48 +0100 (BST) Message-Id: <66004354-F227-4008-A453-7158430D769B@rabson.org> From: Doug Rabson To: Dave Uhring In-Reply-To: <20080520000236.GA1260@charter.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 20 May 2008 08:50:14 +0100 References: <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> <20080519170428.GB77907@eos.sc1.parodius.com> <20080519182107.GC55020@charter.net> <20080520000236.GA1260@charter.net> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-stable@freebsd.org, Jeffrey Goldberg Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 07:50:16 -0000 On 20 May 2008, at 01:02, Dave Uhring wrote: > On Mon, May 19, 2008 at 06:46:41PM -0500, Jeffrey Goldberg wrote: >> On May 19, 2008, at 1:21 PM, Dave Uhring wrote: >> >>> In any case, that problem has been solved by putting the updated >>> header >>> files >>> in /usr/include/sys and will be properly fixed when I can finally >>> make >>> installworld. >> >> I did not have to manually move or copy any header files. >> >>> *default release=cvs tag=RELENG_7 >> >> My build on that, csupped just after seeing your first message in >> this >> thread, has just completed. make buildworld worked just fine without >> error. I'm also on athlon64. All the headers that I needed were >> in the >> right places in /usr/src > > Did you start from a RELEASE source tree and userland? > >> So all I can say is that things worked for me. I really suspect >> that you >> got /usr/src and /usr/obj into some sort of inconsistent state. > > I completely removed both, cvsupped a new RELENG_7 source tree, > removed > /etc/make.conf and got this: > > /usr/bin/gcc -fpic -DPIC -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/ > lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/ > libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/ > lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H - > DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/ > lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_openssl.c -o > eng_openssl.So > /usr/bin/gcc -fpic -DPIC -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/ > lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/ > libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/ > lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H - > DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/ > lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c -o > eng_padlock.So > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/ > eng_padlock.c: In function 'padlock_xcrypt_ecb': > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/ > eng_padlock.c:445: error: can't find a register in class > 'GENERAL_REGS' while reloading 'asm' > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/ > eng_padlock.c:445: error: 'asm' operand has impossible constraints In this, your build is explicitly using '/usr/bin/gcc' for the build which is not the way buildworld normally works. In normal operation, buildworld first builds a compiler from source and then uses that compiler by adding to $PATH and building with just 'cc'. Are you overriding $CC in your environment? From owner-freebsd-stable@FreeBSD.ORG Tue May 20 07:51:23 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 792C71065677 for ; Tue, 20 May 2008 07:51:23 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 0CC1D8FC1C for ; Tue, 20 May 2008 07:51:22 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080520075122.TBGS5653.mta11.charter.net@aarprv04.charter.net>; Tue, 20 May 2008 03:51:22 -0400 Received: from localhost ([75.132.247.36]) by aarprv04.charter.net with ESMTP id <20080520075122.GJQZ4495.aarprv04.charter.net@localhost>; Tue, 20 May 2008 03:51:22 -0400 Received: by localhost (Postfix, from userid 1000) id CC65188D60; Tue, 20 May 2008 02:51:21 -0500 (CDT) Date: Tue, 20 May 2008 02:51:21 -0500 From: Dave Uhring To: Mark Andrews Message-ID: <20080520075121.GA1512@charter.net> References: <200805200324.m4K3Ow5J030607@drugs.dv.isc.org> <200805200333.m4K3XF72030784@drugs.dv.isc.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805200333.m4K3XF72030784@drugs.dv.isc.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 07:51:23 -0000 On Tue, May 20, 2008 at 01:33:15PM +1000, Mark Andrews wrote: > > And when tested does behave the way you describe. > > Mark > > drugs:9.5.x 13:30 {4371} % bash > [marka@drugs ~/cvs/9.5.x]$ printenv | grep FOO > [marka@drugs ~/cvs/9.5.x]$ FOO=ll > [marka@drugs ~/cvs/9.5.x]$ export FOO > [marka@drugs ~/cvs/9.5.x]$ printenv | grep FOO > FOO=ll > [marka@drugs ~/cvs/9.5.x]$ FOO="" > [marka@drugs ~/cvs/9.5.x]$ export FOO > [marka@drugs ~/cvs/9.5.x]$ printenv | grep FOO > FOO= > [marka@drugs ~/cvs/9.5.x]$ env -i PATH=$PATH printenv | grep FOO > [marka@drugs ~/cvs/9.5.x]$ This is Solaris but bash is bash: [duhring@einstein ~]$ printenv | grep CFLAGS CFLAGS=-xO3 -m32 -xarch=native -mt -I/usr/sfw/include -I/usr/X11/include -I/opt/sfw/include You have mail in /var/mail/duhring [duhring@einstein ~]$ export CFLAGS="" [duhring@einstein ~]$ printenv | grep CFLAGS CFLAGS= [duhring@einstein ~]$ export CFLAGS='-xO3 -m32 -xarch=native' [duhring@einstein ~]$ printenv | grep CFLAGS CFLAGS=-xO3 -m32 -xarch=native [duhring@einstein ~]$ export CFLAGS="" [duhring@einstein ~]$ printenv | grep CFLAGS CFLAGS= [duhring@einstein ~]$ env -i PATH=$PATH printenv | grep CFLAGS [duhring@einstein ~]$ When I tell you that CFLAGS="", CFLAGS="", and a cursory examination of my last compiler output would have shown you exactly that. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 09:55:33 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7964E106566B for ; Tue, 20 May 2008 09:55:33 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0B5368FC0A for ; Tue, 20 May 2008 09:55:32 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so1191218tid.3 for ; Tue, 20 May 2008 02:55:31 -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=EyG1bOd2sso+JXGu8TF1NMbgpvyxyQxjh73AB8+GCec=; b=rhVcJEQQtPU4b6aeeHFLxUsnbry1m3VJW/IDE9wNlnndBqqgeah34BskiA/O6oS+4dffcMfERRSIhoaC5bawd6lKxb7LK516A4sfCpjJvqBpZyP4mgc6WY+pUGCFJOLMhce+kOOlI8uIj0ub+ZvPKnhP3yxo+y60zuy77EFBG/M= 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=QWacUO5vJkg3S4X5dxNEhubfx4ZpjQWd5mrXCDVN/GNLJBTqjmB8BsJtKugNeVheu0IF6Bnekb+xu29dtWIPYFGHggy39GB93qMAvkXVwV3SnaNskYgshtBFkKyGgmJxAXOeTH9Qz+MQJZxRPaZhqJxVAIdv5ZMP61UymBMg1W4= Received: by 10.110.93.11 with SMTP id q11mr1065771tib.51.1211277331521; Tue, 20 May 2008 02:55:31 -0700 (PDT) Received: by 10.110.31.17 with HTTP; Tue, 20 May 2008 02:55:31 -0700 (PDT) Message-ID: Date: Tue, 20 May 2008 21:55:31 +1200 From: "James Butler" To: "Jeremy Chadwick" , freebsd-stable@freebsd.org In-Reply-To: <20080519111533.GA64088@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080519111533.GA64088@eos.sc1.parodius.com> Cc: Subject: Re: Suspend/resume on IBM X31 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 09:55:33 -0000 On Mon, May 19, 2008 at 11:15 PM, Jeremy Chadwick wrote: > On Mon, May 19, 2008 at 10:24:43PM +1200, James Butler wrote: >> Second problem: When the system panics, I don't get a dump (or >> textdump for that matter, when I turn them on); in the boot messages, >> I see "kernel dumps on /dev/ad0s2b" and then later (from memory), >> "Looking for core dumps on /dev/ad0s2b.... savecore: no dumps found" >> or somesuch. I know from trying out textdumps that dumping works in >> other circumstances. > > This is a known problem, but is difficult to solve (chicken-and-egg > situation). There's an open PR for it. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/118255 > > -- > | Jeremy Chadwick jdc at parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB | > > Thanks for the pointer, but this doesn't seem to exactly match my situation. I can boot to single-user after a panic, no swap, and savecore still tells me that there's no dump present; conversely (I should have made this clearer) kernel dumps work for me when the panic is triggered in other ways (eg. by switching vt's too quickly from X - don't know why). Maybe tomorrow I'll try manually transcribing some DDB output, but for me the more interesting problem is why /etc/rc.suspend is not executed. I haven't even thought about /etc/rc.resume yet :-) Thanks, -James Butler From owner-freebsd-stable@FreeBSD.ORG Tue May 20 13:31:30 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 327431065670 for ; Tue, 20 May 2008 13:31:30 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id D152F8FC0A for ; Tue, 20 May 2008 13:31:29 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080520133121.XJNI5653.mta11.charter.net@aarprv06.charter.net>; Tue, 20 May 2008 09:31:21 -0400 Received: from localhost ([75.132.247.36]) by aarprv06.charter.net with ESMTP id <20080520133120.QLHA3194.aarprv06.charter.net@localhost>; Tue, 20 May 2008 09:31:20 -0400 Received: by localhost (Postfix, from userid 1000) id 73B3E88D60; Tue, 20 May 2008 08:31:20 -0500 (CDT) Date: Tue, 20 May 2008 08:31:20 -0500 From: Dave Uhring To: Doug Rabson Message-ID: <20080520133120.GA1703@charter.net> References: <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> <20080519170428.GB77907@eos.sc1.parodius.com> <20080519182107.GC55020@charter.net> <20080520000236.GA1260@charter.net> <66004354-F227-4008-A453-7158430D769B@rabson.org> <20080520112536.GB1637@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 13:31:30 -0000 On Tue, May 20, 2008 at 12:54:59PM +0100, Doug Rabson wrote: > > On 20 May 2008, at 12:25, Dave Uhring wrote: > >> On Tue, May 20, 2008 at 08:50:14AM +0100, Doug Rabson wrote: >>> >>> In this, your build is explicitly using '/usr/bin/gcc' for the build >>> which >>> is not the way buildworld normally works. In normal operation, buildworld >>> first builds a compiler from source and then uses that compiler by adding >>> to $PATH and building with just 'cc'. Are you overriding $CC in your >>> environment? >> >> I did not even have $CC in my environment. My environment had absolutely >> nothing involving the compiler and the compiler was the one shipped with >> FreeBSD-7.0-RELEASE. It is the *only* compiler on the system. >> > > Odd. Could you please send me the complete log of a failed build attempt. I did not maintain such a log. On that last build everything proceeded normally until it broke in an inline assembler piece of code. But I published not only the error but also the previous 4 or 5 compile lines. I'm building again with a virgin clean cvsupped source tree from cvsup4.freebsd.org, a clean /usr/obj, and I have reverted to /bin/csh for my root shell if that can possibly matter. /etc/make.conf sets the build shell as /bin/sh. This time I started the build using script. The entire log will be available. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 14:24:15 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C31F1065670 for ; Tue, 20 May 2008 14:24:15 +0000 (UTC) (envelope-from duhring@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 8E4488FC1C for ; Tue, 20 May 2008 14:24:14 +0000 (UTC) (envelope-from duhring@charter.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta11.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080520142412.ZGHH5653.mta11.charter.net@aarprv04.charter.net> for ; Tue, 20 May 2008 10:24:12 -0400 Received: from maxwell ([75.132.247.36]) by aarprv04.charter.net with ESMTP id <20080520142411.TJOV4495.aarprv04.charter.net@maxwell> for ; Tue, 20 May 2008 10:24:11 -0400 Received: by maxwell (Postfix, from userid 1000) id 7EBFE3B; Tue, 20 May 2008 09:24:11 -0500 (CDT) Date: Tue, 20 May 2008 09:24:11 -0500 From: Dave Uhring To: freebsd-stable@freebsd.org Message-ID: <20080520142411.GA18695@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Chzlrs: 0 Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 14:24:15 -0000 Tried again this morning with a fresh cvsup from cvsup4.freebsd.org and the build went to completion. maxwell# grep -v ^# /etc/make.conf CPUTYPE?=k8 CFLAGS= -O2 -fno-strict-aliasing -pipe -m32 CXXFLAGS+= -fconserve-space MAKE_SHELL?=sh COPTFLAGS= -O -pipe INSTALL=install -C MTREE_FOLLOWS_SYMLINKS= -L ENABLE_SUID_SSH= NO_SENDMAIL= NO_PROFILE= DOC_LANG= en_US.ISO8859-1 maxwell# printenv MACHTYPE=i386 USER=root MAIL=/var/mail/root SHLVL=2 VENDOR=intel HOME=/root PAGER=more GROUP=wheel LOGNAME=root TERM=xterm BLOCKSIZE=K WINDOWPATH=9 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin REMOTEHOST= DISPLAY=:0.0 XAUTHORITY=/root/.Xauthority HOST=maxwell.uhring.com SHELL=/bin/csh OSTYPE=FreeBSD PWD=/root FTP_PASSIVE_MODE=YES HOSTTYPE=FreeBSD EDITOR=vi WINDOWID=14680077 XTERM_VERSION=XTerm(235) XTERM_LOCALE=C TERMCAP=xterm|xterm-color|X11 terminal emulator:ti@:te@:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:kH=\EOF:@7=\EOF:kI=\E[2~:kh=\EOH:*6=\EOF:kP=\E[5~:kN=\E[6~:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:Km=\E[M:li#24:co#80:am:kn#12:km:mi:ms:xn:AX:bl=^G:is=\E[!p\E[?3;4l\E[4l\E>:rs=\E[!p\E[?3;4l\E[4l\E>:le=^H:AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:al=\E[L:dc=\E[P:dl=\E[M:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:ho=\E[H:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l:ks=\E[?1h\E=:ke=\E[?1l\E>:kD=\E[3~:sf=\n:sr=\EM:st=\EH:ct=\E[3g:sc=\E7:rc=\E8:eA=\E(B\E)0:as=\E(0:ae=\E(B:ml=\El:mu=\Em:up=\E[A:nd=\E[C:md=\E[1m:me=\E[m:mr=\E[7m:so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:vi=\E[?25l:ve=\E[?25h:ut:Co#8:pa#64:op=\E[39;49m:AB=\E[4%dm:AF=\E[3%dm:kb=\010: XTERM_SHELL=/bin/csh Note the last line. Even if /etc/make.conf specifies the build shell, that is apparently ignored in the build process. The CPUTYPE in /etc/make.conf is also ignored and make chooses one from thin air apparently since the cflags used in the build are shown in the last line of the compile: cc -O2 -fno-strict-aliasing -pipe -m32 -march=athlon-mp -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -DSTD_INSPIRED -DPCTS -DHAVE_LONG_DOUBLE -DTZDIR=\"/usr/share/zoneinfo\" -Demkdir=mkdir -I/usr/src/usr.sbin/zic/zdump/.. -I/usr/src/usr.sbin/zic/zdump/../../../lib/libc/stdtime -o zdump zdump.o ialloc.o scheck.o I specified CPUTYPE?=k8 but make chose -march=athlon-mp. Thanks to all who tried to help. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 14:27:33 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 429941065674 for ; Tue, 20 May 2008 14:27:33 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (unknown [IPv6:2002:50b1:e8f2:1::143]) by mx1.freebsd.org (Postfix) with ESMTP id EE2AB8FC17 for ; Tue, 20 May 2008 14:27:32 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc] (unknown [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc]) by itchy.rabson.org (Postfix) with ESMTP id D7F1F3F9B; Tue, 20 May 2008 15:27:04 +0100 (BST) Message-Id: <96F8BC8E-C933-4568-8AF6-83C7566EB6A1@rabson.org> From: Doug Rabson To: Dave Uhring In-Reply-To: <20080520133120.GA1703@charter.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 20 May 2008 15:27:31 +0100 References: <20080519163825.GA32372@charter.net> <20080519164221.GA76691@eos.sc1.parodius.com> <20080519165807.GB62264@charter.net> <20080519170428.GB77907@eos.sc1.parodius.com> <20080519182107.GC55020@charter.net> <20080520000236.GA1260@charter.net> <66004354-F227-4008-A453-7158430D769B@rabson.org> <20080520112536.GB1637@charter.net> <20080520133120.GA1703@charter.net> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 14:27:33 -0000 On 20 May 2008, at 14:31, Dave Uhring wrote: > On Tue, May 20, 2008 at 12:54:59PM +0100, Doug Rabson wrote: >> >> On 20 May 2008, at 12:25, Dave Uhring wrote: >> >>> On Tue, May 20, 2008 at 08:50:14AM +0100, Doug Rabson wrote: >>>> >>>> In this, your build is explicitly using '/usr/bin/gcc' for the >>>> build >>>> which >>>> is not the way buildworld normally works. In normal operation, >>>> buildworld >>>> first builds a compiler from source and then uses that compiler >>>> by adding >>>> to $PATH and building with just 'cc'. Are you overriding $CC in >>>> your >>>> environment? >>> >>> I did not even have $CC in my environment. My environment had >>> absolutely >>> nothing involving the compiler and the compiler was the one >>> shipped with >>> FreeBSD-7.0-RELEASE. It is the *only* compiler on the system. >>> >> >> Odd. Could you please send me the complete log of a failed build >> attempt. > > I did not maintain such a log. On that last build everything > proceeded > normally until it broke in an inline assembler piece of code. But I > published not only the error but also the previous 4 or 5 compile > lines. > > I'm building again with a virgin clean cvsupped source tree from > cvsup4.freebsd.org, a clean /usr/obj, and I have reverted to /bin/ > csh for > my root shell if that can possibly matter. /etc/make.conf sets the > build > shell as /bin/sh. > > This time I started the build using script. The entire log will be > available. Excellent. Thanks for your help tracking this down. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 14:33:14 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18544106564A for ; Tue, 20 May 2008 14:33:14 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 0B6D28FC20 for ; Tue, 20 May 2008 14:33:14 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id EC4271CC038; Tue, 20 May 2008 07:33:13 -0700 (PDT) Date: Tue, 20 May 2008 07:33:13 -0700 From: Jeremy Chadwick To: Dave Uhring Message-ID: <20080520143313.GA34595@eos.sc1.parodius.com> References: <20080520142411.GA18695@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080520142411.GA18695@charter.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 14:33:14 -0000 On Tue, May 20, 2008 at 09:24:11AM -0500, Dave Uhring wrote: > cc -O2 -fno-strict-aliasing -pipe -m32 -march=athlon-mp -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -DSTD_INSPIRED -DPCTS -DHAVE_LONG_DOUBLE -DTZDIR=\"/usr/share/zoneinfo\" -Demkdir=mkdir -I/usr/src/usr.sbin/zic/zdump/.. -I/usr/src/usr.sbin/zic/zdump/../../../lib/libc/stdtime -o zdump zdump.o ialloc.o scheck.o > > I specified CPUTYPE?=k8 but make chose -march=athlon-mp. So? This is normal. Look at /usr/share/mk/bsd.cpu.mk. I see this code: . elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || ${CPUTYPE} == "k8" CPUTYPE = athlon-mp There's your answer for that. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Tue May 20 14:38:29 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B07A106567E for ; Tue, 20 May 2008 14:38:29 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8BE108FC21 for ; Tue, 20 May 2008 14:38:28 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JySyv-0003iJ-NF for freebsd-stable@freebsd.org; Tue, 20 May 2008 14:38:25 +0000 Received: from 89-172-52-134.adsl.net.t-com.hr ([89.172.52.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 May 2008 14:38:25 +0000 Received: from ivoras by 89-172-52-134.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 May 2008 14:38:25 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Tue, 20 May 2008 16:38:13 +0200 Lines: 48 Message-ID: References: <48312000.9030102@gyrec.cz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6C44111E4DAA05104A7D7069" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-52-134.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <48312000.9030102@gyrec.cz> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: ubench on v6 a v7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 14:38:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6C44111E4DAA05104A7D7069 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Karel Rous wrote: > My home computer (no internet access, cannot share results :-) is=20 > single processor Athlon 64 on 2250 Mhz/512 KB L2. Visually I have seen = > that on stable it doesn't behave as speedily as on FreeBSD number 6. I = > have checked utility in subject (which is probably not the best=20 > alternative) and it shows me on memory test half of the speed that was = > in v6 while using default MALLOC_OPTIONS at each version. There could b= e=20 > certain speed up changing it but IMHO there can not be any we to make i= t=20 > as fast as in previous version. Is there anyone who could make a logica= l=20 > explanation? (I think it has something to do with new malloc=20 > optimization for multi processor systems but I might compiled also libc= =20 > on FreeBSD 7 with wrong options). Even using simple compat6x libc (with= =20 > libmap.conf) helps to speed up things there. > All those measurement are my just my non generalized opinion and I=20 > hope I am wrong :-) If you can confirm your results in a clean environment, you might want=20 to talk to jasone@ about this. --------------enig6C44111E4DAA05104A7D7069 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIMuJVldnAQVacBcgRAnsrAJ9F7at5Ih34aZeE56ormaD6bf4dOACfSGGt dUFEhY6aFx3lA2GTZgz0n70= =QGWF -----END PGP SIGNATURE----- --------------enig6C44111E4DAA05104A7D7069-- From owner-freebsd-stable@FreeBSD.ORG Tue May 20 14:41:19 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9FE81065685 for ; Tue, 20 May 2008 14:41:19 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 645ED8FC15 for ; Tue, 20 May 2008 14:41:19 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:58395 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JyT1i-0005gd-7N for freebsd-stable@freebsd.org; Tue, 20 May 2008 16:41:18 +0200 Received: (qmail 20039 invoked from network); 20 May 2008 16:41:15 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 20 May 2008 16:41:15 +0200 Received: (qmail 15872 invoked by uid 1001); 20 May 2008 16:41:15 +0200 Date: Tue, 20 May 2008 16:41:15 +0200 From: Erik Trulsson To: Dave Uhring Message-ID: <20080520144114.GA15826@owl.midgard.homeip.net> Mail-Followup-To: Dave Uhring , freebsd-stable@freebsd.org References: <20080520142411.GA18695@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080520142411.GA18695@charter.net> User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1JyT1i-0005gd-7N. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1JyT1i-0005gd-7N 5b5952bc0064d7f6065750fb9fa8bea9 Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 14:41:20 -0000 On Tue, May 20, 2008 at 09:24:11AM -0500, Dave Uhring wrote: > Tried again this morning with a fresh cvsup from cvsup4.freebsd.org and the > build went to completion. > > maxwell# grep -v ^# /etc/make.conf > CPUTYPE?=k8 > CFLAGS= -O2 -fno-strict-aliasing -pipe -m32 > CXXFLAGS+= -fconserve-space > MAKE_SHELL?=sh > COPTFLAGS= -O -pipe > INSTALL=install -C > MTREE_FOLLOWS_SYMLINKS= -L > ENABLE_SUID_SSH= > NO_SENDMAIL= > NO_PROFILE= > DOC_LANG= en_US.ISO8859-1 > > maxwell# printenv > MACHTYPE=i386 > USER=root > MAIL=/var/mail/root > SHLVL=2 > VENDOR=intel > HOME=/root > PAGER=more > GROUP=wheel > LOGNAME=root > TERM=xterm > BLOCKSIZE=K > WINDOWPATH=9 > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin > REMOTEHOST= > DISPLAY=:0.0 > XAUTHORITY=/root/.Xauthority > HOST=maxwell.uhring.com > SHELL=/bin/csh > OSTYPE=FreeBSD > PWD=/root > FTP_PASSIVE_MODE=YES > HOSTTYPE=FreeBSD > EDITOR=vi > WINDOWID=14680077 > XTERM_VERSION=XTerm(235) > XTERM_LOCALE=C > TERMCAP=xterm|xterm-color|X11 terminal emulator:ti@:te@:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:kH=\EOF:@7=\EOF:kI=\E[2~:kh=\EOH:*6=\EOF:kP=\E[5~:kN=\E[6~:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:Km=\E[M:li#24:co#80:am:kn#12:km:mi:ms:xn:AX:bl=^G:is=\E[!p\E[?3;4l\E[4l\E>:rs=\E[!p\E[?3;4l\E[4l\E>:le=^H:AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:al=\E[L:dc=\E[P:dl=\E[M:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:ho=\E[H:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l:ks=\E[?1h\E=:ke=\E[?1l\E>:kD=\E[3~:sf=\n:sr=\EM:st=\EH:ct=\E[3g:sc=\E7:rc=\E8:eA=\E(B\E)0:as=\E(0:ae=\E(B:ml=\El:mu=\Em:up=\E[A:nd=\E[C:md=\E[1m:me=\E[m:mr=\E[7m:so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:vi=\E[?25l:ve=\E[?25h:ut:Co#8:pa#64:op=\E[39;49m:AB=\E[4%dm:AF=\E[3%dm:kb=\010: > XTERM_SHELL=/bin/csh > > Note the last line. Even if /etc/make.conf specifies the build shell, that > is apparently ignored in the build process. I do not think the build process cares even slightly which shell is used for xterm. > > The CPUTYPE in /etc/make.conf is also ignored and make chooses one from thin > air apparently since the cflags used in the build are shown in the last line > of the compile: > > cc -O2 -fno-strict-aliasing -pipe -m32 -march=athlon-mp -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -DSTD_INSPIRED -DPCTS -DHAVE_LONG_DOUBLE -DTZDIR=\"/usr/share/zoneinfo\" -Demkdir=mkdir -I/usr/src/usr.sbin/zic/zdump/.. -I/usr/src/usr.sbin/zic/zdump/../../../lib/libc/stdtime -o zdump zdump.o ialloc.o scheck.o > > I specified CPUTYPE?=k8 but make chose -march=athlon-mp. Yes, it is supposed to do that. It used to be the case that gcc did not have any specific -march or -mcpu flags or optimizations for the K8 architecture, so the make system chooses -march=athlon-mp since that is the closest architecture that can be specified. (Look in /usr/share/mk/bsd.cpu.mk too see how it chooses -march flags based on your setting of CPUTYPE.) I am fairly certain however that gcc 4.x does know about the K8 CPUs these days, so somebody should probably go through bsd.cpu.mk and update it for the latest gcc (at least for -CURRENT.) -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-stable@FreeBSD.ORG Tue May 20 14:41:40 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BAD41065674 for ; Tue, 20 May 2008 14:41:40 +0000 (UTC) (envelope-from kutulu@kutulu.org) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.122]) by mx1.freebsd.org (Postfix) with ESMTP id 2FAF38FC2D for ; Tue, 20 May 2008 14:41:40 +0000 (UTC) (envelope-from kutulu@kutulu.org) Received: from basement.kutulu.org ([97.101.60.32]) by cdptpa-omta05.mail.rr.com with ESMTP id <20080520144139.JLVU8238.cdptpa-omta05.mail.rr.com@basement.kutulu.org>; Tue, 20 May 2008 14:41:39 +0000 Received: by basement.kutulu.org (Postfix, from userid 58) id CEAB51146E; Tue, 20 May 2008 10:41:38 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on basement.kutulu.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.4 Received: from [127.0.0.1] (localhost [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTPS id 3DBF611440; Tue, 20 May 2008 10:41:32 -0400 (EDT) Message-ID: <4832E319.7080102@kutulu.org> Date: Tue, 20 May 2008 10:41:29 -0400 From: Mike Edenfield User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Dave Uhring References: <20080520142411.GA18695@charter.net> In-Reply-To: <20080520142411.GA18695@charter.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 14:41:40 -0000 Dave Uhring wrote: > cc -O2 -fno-strict-aliasing -pipe -m32 -march=athlon-mp -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -DSTD_INSPIRED -DPCTS -DHAVE_LONG_DOUBLE -DTZDIR=\"/usr/share/zoneinfo\" -Demkdir=mkdir -I/usr/src/usr.sbin/zic/zdump/.. -I/usr/src/usr.sbin/zic/zdump/../../../lib/libc/stdtime -o zdump zdump.o ialloc.o scheck.o > > I specified CPUTYPE?=k8 but make chose -march=athlon-mp. This part is behaving as expected for FreeBSD; the make process coverts any of the athlon64 cpu types into athlon-mp. Based on the gcc documentation I don't think it makes much difference; the only discrepancy between the two seems the presence of the 64-bit instruction set. From owner-freebsd-stable@FreeBSD.ORG Tue May 20 16:21:07 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 677391065680 for ; Tue, 20 May 2008 16:21:07 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id D1E608FC23 for ; Tue, 20 May 2008 16:21:06 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m4KGL2dl067029; Tue, 20 May 2008 18:21:02 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m4KGL1WU067028; Tue, 20 May 2008 18:21:01 +0200 (CEST) (envelope-from olli) Date: Tue, 20 May 2008 18:21:01 +0200 (CEST) Message-Id: <200805201621.m4KGL1WU067028@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, Nick.Barnes@pobox.com In-Reply-To: <60281.1210842841@thrush.ravenbrook.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 20 May 2008 18:21:05 +0200 (CEST) Cc: Subject: Re: syslog console log not logging SCSI problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, Nick.Barnes@pobox.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 16:21:07 -0000 Nick Barnes wrote: > One of our FreeBSD boxes has a SCSI controller and disk, which showed > problems earlier this week. There was a lot of of chatter from the > SCSI driver in /var/log/messages and to the console. However, the > console is unattended and we only discovered the problem subsequently > because /var/log/console.log didn't show any of the chatter. The console.* syslog facility only logs real console output, i.e. things written to /dev/console. That does _not_ include output from the kernel. For logging kernel output you have to use the kern.* syslog facility. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "And believe me, as a C++ programmer, I don't hesitate to question the decisions of language designers. After a decent amount of C++ exposure, Python's flaws seem ridiculously small." -- Ville Vainio From owner-freebsd-stable@FreeBSD.ORG Tue May 20 19:25:44 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A5D4106567A for ; Tue, 20 May 2008 19:25:44 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from nagual.nl (cc20684-a.assen1.dr.home.nl [82.74.10.158]) by mx1.freebsd.org (Postfix) with ESMTP id BAF4C8FC16 for ; Tue, 20 May 2008 19:25:43 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from shire.nagual.nl (shire.nagual.nl [192.168.11.31]) by nagual.nl (8.13.8+Sun/8.13.8/yanta) with ESMTP id m4KJ8Fs0017279 for ; Tue, 20 May 2008 21:08:15 +0200 (CEST) Received: (from dick@localhost) by shire.nagual.nl (8.13.8+Sun/8.13.8/Submit) id m4KJ84w4017278 for freebsd-stable@freebsd.org; Tue, 20 May 2008 21:08:04 +0200 (CEST) From: Dick Hoogendijk Date: Tue, 20 May 2008 21:08:04 +0200 To: freebsd-stable@freebsd.org Message-ID: <20080520190804.GA17271@shire.nagual.nl> References: <48291889.8030406@pldrouin.net> <20080514223515.84553317.ubm@u-boot-man.de> <5f67a8c40805181740v6f655fdjdfaec3312681b5c9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5f67a8c40805181740v6f655fdjdfaec3312681b5c9@mail.gmail.com> User-Agent: Mutt/1.5.15 (2007-04-06) X-Scanned-By: MIMEDefang 2.63 on 192.168.11.35 Subject: Re: Status of ZFS in -stable? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 19:25:44 -0000 On 18 May Zaphod Beeblebrox wrote: > However, when using Norton Ghost to make backup snapshots, the files > (on ZFS) come out corrupt. They are not corrupt on UFS backed SAMBA > service. Since when does Norton Ghost claim to support ZFS? If not, how can you expect the files *not* to be corrupted? -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ | SunOS 10u4 08/07 ++ From owner-freebsd-stable@FreeBSD.ORG Tue May 20 20:18:13 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 214FD1065670 for ; Tue, 20 May 2008 20:18:13 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from smtp.sd73.bc.ca (smtp.sd73.bc.ca [142.24.13.140]) by mx1.freebsd.org (Postfix) with ESMTP id 06DCF8FC17 for ; Tue, 20 May 2008 20:18:12 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id CA0C91A000B3B for ; Tue, 20 May 2008 12:49:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at smtp.sd73.bc.ca Received: from smtp.sd73.bc.ca ([127.0.0.1]) by localhost (smtp.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id k+C+Go3DETu2 for ; Tue, 20 May 2008 12:49:40 -0700 (PDT) Received: from coal (s10.sbo [192.168.0.10]) by smtp.sd73.bc.ca (Postfix) with ESMTP id 1AEF91A000B35 for ; Tue, 20 May 2008 12:49:40 -0700 (PDT) From: Freddie Cash To: freebsd-stable@freebsd.org Date: Tue, 20 May 2008 12:49:38 -0700 User-Agent: KMail/1.9.9 References: <48291889.8030406@pldrouin.net> <5f67a8c40805181740v6f655fdjdfaec3312681b5c9@mail.gmail.com> <20080520190804.GA17271@shire.nagual.nl> In-Reply-To: <20080520190804.GA17271@shire.nagual.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805201249.39201.fjwcash@gmail.com> Subject: Re: Status of ZFS in -stable? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 20:18:13 -0000 On May 20, 2008 12:08 pm Dick Hoogendijk wrote: > On 18 May Zaphod Beeblebrox wrote: > > However, when using Norton Ghost to make backup snapshots, the files > > (on ZFS) come out corrupt. They are not corrupt on UFS backed SAMBA > > service. > > Since when does Norton Ghost claim to support ZFS? > If not, how can you expect the files *not* to be corrupted? I believe he is using Samba to share the ZFS filesystem, and that Norton Ghost connects to the system via SMB/CIFS. When he configures the Samba share to use a UFS filesystem, everything works. When he configures the Samba share to use a ZFS filesystem, everything is corrupted. -- Freddie Cash fjwcash@gmail.com From owner-freebsd-stable@FreeBSD.ORG Wed May 21 00:47:58 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F25931065671 for ; Wed, 21 May 2008 00:47:58 +0000 (UTC) (envelope-from zbeeble@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 A8EBD8FC16 for ; Wed, 21 May 2008 00:47:58 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1456212ywe.13 for ; Tue, 20 May 2008 17:47:57 -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=cY4oE4L5XjlrS7T7Z7Qu7FpI9lZnVMWsD9TLMOWrhHs=; b=OQgLFIwffoPb62p8i8tuXF2fUtqZzxwlWlyor88Y/aqTf+OIEBcjKz7reBHQ27qHmgiI2j5+eCAOofFYZS4+qQQVt93T4HcYDzhkjoBxfL/pZtI59weriyRzCycajGiyDvRmyUqw9l65LggCZZLleKMZnM2Nsy3MbnY9kEPeSUc= 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=qSENkMTUovSEVjDetagfsGmLAVXVc0IMFMmyxYxAmAMghyodwWRnB5mzOx3BGQl/mbG3DquCEi1FSYccOSRRpntculyxUBOnO7YPt9AmMhtiveI0fXo6apBDDwQhXCJW3di+ZCxBM1XyY0tQTkIvlqkiRhbmysvJCiFzVBqt/ok= Received: by 10.150.83.29 with SMTP id g29mr8253770ybb.142.1211330877934; Tue, 20 May 2008 17:47:57 -0700 (PDT) Received: by 10.150.12.12 with HTTP; Tue, 20 May 2008 17:47:57 -0700 (PDT) Message-ID: <5f67a8c40805201747p79e34870qaa842ab034e133d1@mail.gmail.com> Date: Tue, 20 May 2008 20:47:57 -0400 From: "Zaphod Beeblebrox" To: "Freddie Cash" In-Reply-To: <200805201249.39201.fjwcash@gmail.com> MIME-Version: 1.0 References: <48291889.8030406@pldrouin.net> <5f67a8c40805181740v6f655fdjdfaec3312681b5c9@mail.gmail.com> <20080520190804.GA17271@shire.nagual.nl> <200805201249.39201.fjwcash@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-stable@freebsd.org Subject: Re: Status of ZFS in -stable? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 00:47:59 -0000 On Tue, May 20, 2008 at 3:49 PM, Freddie Cash wrote: > On May 20, 2008 12:08 pm Dick Hoogendijk wrote: > > On 18 May Zaphod Beeblebrox wrote: > > > However, when using Norton Ghost to make backup snapshots, the files > > > (on ZFS) come out corrupt. They are not corrupt on UFS backed SAMBA > > > service. > > > > Since when does Norton Ghost claim to support ZFS? > > If not, how can you expect the files *not* to be corrupted? > > I believe he is using Samba to share the ZFS filesystem, and that Norton > Ghost connects to the system via SMB/CIFS. > > When he configures the Samba share to use a UFS filesystem, everything > works. > > When he configures the Samba share to use a ZFS filesystem, everything is > corrupted. Correct. If I don't use "verify" ... the backup proceeds normally, but it's corrupt. If I turn on verify, the backup stops when it detects the corruption (somewhere about halfway through). This is with XP using a Samba-shared ZFS filesystem. When XP uses a samba shared UFS filesystem, all is good. Additionally, I tried telling samba _not_ to use mmap() (there's an option), but this didn't fix things. From owner-freebsd-stable@FreeBSD.ORG Wed May 21 07:45:57 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21707106566B for ; Wed, 21 May 2008 07:45:57 +0000 (UTC) (envelope-from admin@gyrec.cz) Received: from gate.gyrec.cz (gate.gyrec.cz [195.113.191.162]) by mx1.freebsd.org (Postfix) with ESMTP id C6BF38FC13 for ; Wed, 21 May 2008 07:45:56 +0000 (UTC) (envelope-from admin@gyrec.cz) Received: from [127.0.0.1] (helo=ASSP-nospam) by gate.gyrec.cz with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Jyj1G-0002J6-Uq; Wed, 21 May 2008 09:45:55 +0200 Received: from 192.168.1.251 ([192.168.1.251] helo=inf1.gyrec.cz) by ASSP-nospam ; 21 May 08 07:45:54 -0000 Message-ID: <4833D332.5020800@gyrec.cz> Date: Wed, 21 May 2008 09:45:54 +0200 From: Karel Rous User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070523 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Ivan Voras References: <48312000.9030102@gyrec.cz> In-Reply-To: Content-Type: multipart/mixed; boundary="------------050504090306030104040303" X-ACL-Warn: SPF for 127.0.0.1 is not published for gyrec.cz X-ACL-Warn: SPF for 127.0.0.1 is not published for gyrec.cz X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: ubench on v6 a v7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: karelrous@gyrec.cz List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 07:45:57 -0000 This is a multi-part message in MIME format. --------------050504090306030104040303 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit It needs further exploration on different hw as well. I will try but it'll take quite a long time :-) Ivan Voras wrote: > Karel Rous wrote: >> My home computer (no internet access, cannot share results :-) is >> single processor Athlon 64 on 2250 Mhz/512 KB L2. Visually I have >> seen that on stable it doesn't behave as speedily as on FreeBSD >> number 6. I have checked utility in subject (which is probably not >> the best alternative) and it shows me on memory test half of the >> speed that was in v6 while using default MALLOC_OPTIONS at each >> version. There could be certain speed up changing it but IMHO there >> can not be any we to make it as fast as in previous version. Is there >> anyone who could make a logical explanation? (I think it has >> something to do with new malloc optimization for multi processor >> systems but I might compiled also libc on FreeBSD 7 with wrong >> options). Even using simple compat6x libc (with libmap.conf) helps to >> speed up things there. >> All those measurement are my just my non generalized opinion and I >> hope I am wrong :-) > > If you can confirm your results in a clean environment, you might want > to talk to jasone@ about this. > --------------050504090306030104040303-- From owner-freebsd-stable@FreeBSD.ORG Wed May 21 08:28:37 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E408D106566C for ; Wed, 21 May 2008 08:28:37 +0000 (UTC) (envelope-from votdev@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 3F5DE8FC24 for ; Wed, 21 May 2008 08:28:36 +0000 (UTC) (envelope-from votdev@gmx.de) Received: (qmail 18444 invoked by uid 0); 21 May 2008 08:01:56 -0000 Received: from 91.103.40.50 by www092.gmx.net with HTTP; Wed, 21 May 2008 10:01:55 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" Date: Wed, 21 May 2008 10:01:56 +0200 From: votdev@gmx.de Message-ID: <20080521080156.209010@gmx.net> MIME-Version: 1.0 To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org X-Authenticated: #1412882 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX18sziBIrpUsOnvF9FFc+ArgCSknUpE4z8gLyizUmc Kla+55QIAdhHShmBgrojbT8OlUVuKx25MZtw== Content-Transfer-Encoding: 7bit X-GMX-UID: wOQKcJNkYW0tdXb8dGZp7Hh8amthcxuf Cc: Subject: Instant reboot with FreeBSD 6.3 and > 2GB RAM X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 08:28:38 -0000 Hello, some users of FreeNAS which is based on FreeBSD 6.3 reported instant reboots on systems with > 2GB RAM (most of them use 4GB). The reboot occurs right after displaying the FreeBSD loader menu. Most of them told me that they can boot if they reduce RAM to <= 2GB. We are using the following kernel configuration which is based on GENERIC: http://freenas.svn.sourceforge.net/viewvc/freenas/branches/0.69/build/kernel-config/FREENAS-i386?revision=3291&view=markup I found out another problem that causes a reboot on my 2GB machine. We are using a image for the LiveCD which is 64MB great. If i change back mfs_root size to 63MB all works well, but all above 64MB causes a reboot. Is there any limitation? Could someone help me out of this problem? Regards Volker -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx From owner-freebsd-stable@FreeBSD.ORG Wed May 21 12:44:57 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 753C7106566B for ; Wed, 21 May 2008 12:44:57 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id ED9218FC16 for ; Wed, 21 May 2008 12:44:56 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by ug-out-1314.google.com with SMTP id q2so168969uge.37 for ; Wed, 21 May 2008 05:44:55 -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=iCatw9Af5PVg3xDk0CChbmLM1tYO/vkto7NJbi6+s6A=; b=GMvHeFDIUyQ7ru3kVeAey+sa0W0RKrEw5Mhk2CzQ+AkHR4RoU3ZY976vHvd4puLg5MaBBvLysxvesBHZAorrZSsba0MwLQX+T5/e41prUVPhKd5ZbvvB30WFhpkEc3fU5GzXiHNzbAU3XBBagQWq8qes+NGs7NRAqXL6czbGl78= 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=s89CQa5V10DTyBUiP/i5PgHj9+7Yri20fxqsWyk47pWtzOcaX1pwGES8uogCYEhVyg4509KyENGNd2BYoyiH44/k0DEs+KL7UF7NsjJIQ9lNIY9XsjZP7zDIjIFtJsoTUyUMpR3s2jLKbz2ATwaXB+w3nNFSoL0wOMnw5iO7Tuk= Received: by 10.66.251.3 with SMTP id y3mr980936ugh.88.1211373895363; Wed, 21 May 2008 05:44:55 -0700 (PDT) Received: by 10.67.98.5 with HTTP; Wed, 21 May 2008 05:44:55 -0700 (PDT) Message-ID: Date: Wed, 21 May 2008 09:44:55 -0300 From: "Carlos A. M. dos Santos" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Is it possible to create a directory under /dev? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 12:44:57 -0000 I attempted this: # mkdir /dev/foo mkdir: /dev/foo: Operation not supported Any suggestions (besides creating it elsewhere, of course)? -- Carlos A. M. dos Santos From owner-freebsd-stable@FreeBSD.ORG Wed May 21 13:22:46 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D4F21065672 for ; Wed, 21 May 2008 13:22:46 +0000 (UTC) (envelope-from arnaud.houdelette@tzim.net) Received: from alaranth.tzim.net (alaranth.tzim.net [91.121.97.143]) by mx1.freebsd.org (Postfix) with ESMTP id 39B8E8FC1D for ; Wed, 21 May 2008 13:22:46 +0000 (UTC) (envelope-from arnaud.houdelette@tzim.net) Received: from localhost ([127.0.0.1]) by alaranth.tzim.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Jynvx-000C2q-Dd for freebsd-stable@freebsd.org; Wed, 21 May 2008 15:00:45 +0200 Message-ID: <48341CF9.3040008@tzim.net> Date: Wed, 21 May 2008 15:00:41 +0200 From: Arnaud Houdelette User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-User: tzim@tzim.net X-Authenticator: plain Subject: ZFS on root and disk write caching. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 13:22:46 -0000 I'm playing around with ZFS. Currently, I just use it for storage, with a zpool of 4 sata disks. The system and boot disk is still formatted with UFS. As I'm quite pleased with ZFS features, I'd like to try ZFS on root. The ZFS wiki is quite clear on how to proceed : if the boot and root are on the same disk, you'll have to use bsd labels. The thing is, I read somewhere that ZFS doesn't enable write caching on drives if not used on whole disks. 1. Is it still true on freebsd or just for opensolaris. 2. As the only other(s) label(s) on disk would be the (readonly) boot and swap label, I don't think write caching would be a problem. So how can I tell ZFS it's ok to enable it on the disk (or enable it manualy if necessary and of any use). 3. I'd like to keep the storage pool (zraid1) separated from the system pool (just one disk). The wiki states that we may encounter problems with more than one pool in use : is it still the case ? I know the whole ZFS thing is still experimental, but with it's overall performance, it would really be a shame not to give it its chance. Thanks for your comments. Arnaud Houdelette From owner-freebsd-stable@FreeBSD.ORG Wed May 21 14:13:10 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20782106566C for ; Wed, 21 May 2008 14:13:10 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (myrtle.kcilink.com [66.250.193.116]) by mx1.freebsd.org (Postfix) with ESMTP id D9B1E8FC0C for ; Wed, 21 May 2008 14:13:09 +0000 (UTC) (envelope-from vivek@khera.org) Received: from host-121.int.kcilink.com (host-121.int.kcilink.com [192.168.7.121]) by yertle.kcilink.com (Postfix) with ESMTP id 31D4E8A172; Wed, 21 May 2008 10:13:09 -0400 (EDT) From: Vivek Khera To: FreeBSD Stable In-Reply-To: <20080521080156.209010@gmx.net> X-Priority: 3 References: <20080521080156.209010@gmx.net> Message-Id: <96861789-550A-4F0B-A3AE-AC8538D125DC@khera.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 21 May 2008 10:13:09 -0400 X-Mailer: Apple Mail (2.919.2) Cc: freebsd-questions Subject: Re: Instant reboot with FreeBSD 6.3 and > 2GB RAM X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 14:13:10 -0000 On May 21, 2008, at 4:01 AM, votdev@gmx.de wrote: > some users of FreeNAS which is based on FreeBSD 6.3 reported instant > reboots on systems with > 2GB RAM (most of them use 4GB). The reboot > occurs right after displaying the FreeBSD loader menu. Most of them > told me that they can boot if they reduce RAM to <= 2GB. For what it's worth, I have run several systems with 4GB RAM on FreeBSD/i386 6.3. The only i386 I have left with this much RAM was recently upgraded to 7.0; the rest of my large RAM systems run FreeBSD/ amd64. I didn't see anything obviously bad in your kernel config. By the way, thanks for making FreeNAS... I use it on my home NFS/AFP server to great success... the only thing I wish it included was the amrstat binary to test my LSI RAID controller status (I just copy it from another 6.3 system I have and it works). From owner-freebsd-stable@FreeBSD.ORG Wed May 21 14:15:01 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 134021065670 for ; Wed, 21 May 2008 14:15:01 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 93F248FC15 for ; Wed, 21 May 2008 14:15:00 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 914821CC033; Wed, 21 May 2008 07:15:00 -0700 (PDT) Date: Wed, 21 May 2008 07:15:00 -0700 From: Jeremy Chadwick To: votdev@gmx.de Message-ID: <20080521141500.GA88498@eos.sc1.parodius.com> References: <20080521080156.209010@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080521080156.209010@gmx.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Instant reboot with FreeBSD 6.3 and > 2GB RAM X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 14:15:01 -0000 On Wed, May 21, 2008 at 10:01:56AM +0200, votdev@gmx.de wrote: > Hello, > > some users of FreeNAS which is based on FreeBSD 6.3 reported instant reboots on systems with > 2GB RAM (most of them use 4GB). The reboot occurs right after displaying the FreeBSD loader menu. Most of them told me that they can boot if they reduce RAM to <= 2GB. > > We are using the following kernel configuration which is based on GENERIC: > http://freenas.svn.sourceforge.net/viewvc/freenas/branches/0.69/build/kernel-config/FREENAS-i386?revision=3291&view=markup > > I found out another problem that causes a reboot on my 2GB machine. We are using a image for the LiveCD which is 64MB great. If i change back mfs_root size to 63MB all works well, but all above 64MB causes a reboot. > Is there any limitation? > > Could someone help me out of this problem? Is the mfsroot problem what I've documented here? http://jdc.parodius.com/freebsd/pxeboot_serial_install.html#step7 -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Wed May 21 14:15:04 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B5CC10656E8 for ; Wed, 21 May 2008 14:15:04 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (thingy.kcilink.com [74.92.149.59]) by mx1.freebsd.org (Postfix) with ESMTP id 670858FC13 for ; Wed, 21 May 2008 14:15:04 +0000 (UTC) (envelope-from vivek@khera.org) Received: from host-121.int.kcilink.com (host-121.int.kcilink.com [192.168.7.121]) by yertle.kcilink.com (Postfix) with ESMTP id B4B468A0AD for ; Wed, 21 May 2008 10:15:03 -0400 (EDT) Message-Id: From: Vivek Khera To: FreeBSD Stable In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 21 May 2008 10:15:03 -0400 References: X-Mailer: Apple Mail (2.919.2) Subject: Re: Is it possible to create a directory under /dev? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 14:15:04 -0000 On May 21, 2008, at 8:44 AM, Carlos A. M. dos Santos wrote: > I attempted this: > > # mkdir /dev/foo > mkdir: /dev/foo: Operation not supported > > Any suggestions (besides creating it elsewhere, of course)? Assuming you're using a modern FreeBSD (version number would be useful), /dev does not live on a file system. It exists as its own file system, controlled by devfs. Check the man page for devfs for details. From owner-freebsd-stable@FreeBSD.ORG Wed May 21 14:16:38 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B203A1065676 for ; Wed, 21 May 2008 14:16:38 +0000 (UTC) (envelope-from nb@ravenbrook.com) Received: from raven.ravenbrook.com (raven.ravenbrook.com [193.164.110.8]) by mx1.freebsd.org (Postfix) with ESMTP id 3CA0A8FC26 for ; Wed, 21 May 2008 14:16:37 +0000 (UTC) (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (thrush.ravenbrook.com [193.164.110.145]) by raven.ravenbrook.com (8.13.8/8.13.8) with ESMTP id m4LEGYfd019334 for ; Wed, 21 May 2008 15:16:34 +0100 (BST) (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (localhost [127.0.0.1]) by thrush.ravenbrook.com (8.13.4/8.13.4) with ESMTP id m4LEGYL6074605 for ; Wed, 21 May 2008 15:16:34 +0100 (BST) (envelope-from nb@thrush.ravenbrook.com) From: Nick Barnes Content-transfer-encoding: 8bit Content-type: text/plain; charset=iso-8859-1 MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG In-Reply-To: <200805201621.m4KGL1WU067028@lurza.secnetix.de> from Oliver Fromme of "Tue, 20 May 2008 18:21:01 +0200" Date: Wed, 21 May 2008 15:16:34 +0100 Message-ID: <74604.1211379394@thrush.ravenbrook.com> Sender: nb@ravenbrook.com X-Virus-Scanned: ClamAV 0.92.1/6882/Tue Apr 22 18:33:01 2008 on raven.ravenbrook.com X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on raven.ravenbrook.com X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 Cc: Subject: Re: syslog console log not logging SCSI problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 14:16:38 -0000 At 2008-05-20 16:21:01+0000, Oliver Fromme writes: > Nick Barnes wrote: > > One of our FreeBSD boxes has a SCSI controller and disk, which showed > > problems earlier this week. There was a lot of of chatter from the > > SCSI driver in /var/log/messages and to the console. However, the > > console is unattended and we only discovered the problem subsequently > > because /var/log/console.log didn't show any of the chatter. > > The console.* syslog facility only logs real console output, > i.e. things written to /dev/console. That does _not_ include > output from the kernel. > > For logging kernel output you have to use the kern.* syslog > facility. OK. So when syslogd directs output to the console, it does not also treat it as console.* output? Thanks for this explanation. I'll modify my syslog.conf accordingly. Nick B From owner-freebsd-stable@FreeBSD.ORG Wed May 21 17:00:22 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93F131065675 for ; Wed, 21 May 2008 17:00:22 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 058E78FC14 for ; Wed, 21 May 2008 17:00:21 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m4LH0KHX020844; Wed, 21 May 2008 19:00:20 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m4LH0DH9020843; Wed, 21 May 2008 19:00:13 +0200 (CEST) (envelope-from olli) Date: Wed, 21 May 2008 19:00:13 +0200 (CEST) Message-Id: <200805211700.m4LH0DH9020843@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, Nick.Barnes@pobox.com In-Reply-To: <74604.1211379394@thrush.ravenbrook.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 21 May 2008 19:00:20 +0200 (CEST) Cc: Subject: Re: syslog console log not logging SCSI problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, Nick.Barnes@pobox.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 17:00:22 -0000 Nick Barnes wrote: > Oliver Fromme writes: > > Nick Barnes wrote: > > > One of our FreeBSD boxes has a SCSI controller and disk, which showed > > > problems earlier this week. There was a lot of of chatter from the > > > SCSI driver in /var/log/messages and to the console. However, the > > > console is unattended and we only discovered the problem subsequently > > > because /var/log/console.log didn't show any of the chatter. > > > > The console.* syslog facility only logs real console output, > > i.e. things written to /dev/console. That does _not_ include > > output from the kernel. > > > > For logging kernel output you have to use the kern.* syslog > > facility. > > OK. So when syslogd directs output to the console, it does not also > treat it as console.* output? That's correct. syslogd uses the LOG_CONSOLE flag to distinguish its own output from other console output, otherwise it would run into an infinite loop logging its own output. Best regards Oliver PS: If you're interested in source code, see the printsys() function in src/usr.sbin/syslogd/syslogd.c. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "The ITU has offered the IETF formal alignment with its corresponding technology, Penguins, but that won't fly." -- RFC 2549 From owner-freebsd-stable@FreeBSD.ORG Wed May 21 17:06:03 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1D481065677 for ; Wed, 21 May 2008 17:06:03 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 673DC8FC13 for ; Wed, 21 May 2008 17:06:03 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m4LH62Vn021040; Wed, 21 May 2008 19:06:02 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m4LH61Zb021039; Wed, 21 May 2008 19:06:02 +0200 (CEST) (envelope-from olli) Date: Wed, 21 May 2008 19:06:02 +0200 (CEST) Message-Id: <200805211706.m4LH61Zb021039@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, unixmania@gmail.com In-Reply-To: X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 21 May 2008 19:06:02 +0200 (CEST) Cc: Subject: Re: Is it possible to create a directory under /dev? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, unixmania@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 17:06:04 -0000 Carlos A. M. dos Santos <> wrote: > I attempted this: > > # mkdir /dev/foo > mkdir: /dev/foo: Operation not supported DEVFS is a "virtual" filesystem, i.e. its contents are not stored on disk, but they're dunamically created by the kernel. Subdirectories only come into existence when a driver creates one for its own purposes, e.g. gmirror creates a /dev/mirror directory. > Any suggestions (besides creating it elsewhere, of course)? That depends on the purpose. *Why* do you want to create a subdirectory in /dev? What do you want to do with it? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd $ dd if=/dev/urandom of=test.pl count=1 $ file test.pl test.pl: perl script text executable From owner-freebsd-stable@FreeBSD.ORG Wed May 21 17:37:33 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEEE71065682 for ; Wed, 21 May 2008 17:37:33 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0E5158FC2E for ; Wed, 21 May 2008 17:37:32 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m4LHbV3C023380; Wed, 21 May 2008 19:37:31 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m4LHbVuX023379; Wed, 21 May 2008 19:37:31 +0200 (CEST) (envelope-from olli) Date: Wed, 21 May 2008 19:37:31 +0200 (CEST) Message-Id: <200805211737.m4LHbVuX023379@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <20080403170050.c0110778.torfinn.ingolfsen@broadpark.no> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 21 May 2008 19:37:31 +0200 (CEST) Cc: Subject: Re: Digitally Signed Binaries w/ Kernel support, etc. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 17:37:33 -0000 Sorry for replying to an old mail here, but there's an important point that was unanswered so far ... Torfinn Ingolfsen wrote: > David Schwartz wrote: > > > He would face a chicken and egg problem. To make a signed executable > > to set his key to be accepted, he would need his key to already be > > accepted. > > Uhm, if the attacker managed to get a hole in the sustem and get > in, he / she will surely manage to get the necessary tools (a signed > binrary) onto the system. As an added bonus, this is a binary he > created himself, so it works with his key. That wouldn't work. How is he going to sign a binary if he doesn't have the private key? When you set up a system with signed binaries, you usually store the private key somewhere else (on a floppy, USB stick or whatever). Maybe it could even be just a pass- phrase that only exists in the admin's mind, but not on any physical media. So an attacker _cannot_ create a binary with a valid signature. Of course, the kernel doesn't contain the private key either, because you only need the public key to verify the signature. I agree with Peter Wemm: There are legitimate uses for signed binaries. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Life is short (You need Python)" -- Bruce Eckel, ANSI C++ Comitee member, author of "Thinking in C++" and "Thinking in Java" From owner-freebsd-stable@FreeBSD.ORG Wed May 21 18:17:54 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0042B1065678 for ; Wed, 21 May 2008 18:17:53 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 53FDE8FC18 for ; Wed, 21 May 2008 18:17:53 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m4LIHps1024905; Wed, 21 May 2008 20:17:51 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m4LIHpbd024904; Wed, 21 May 2008 20:17:51 +0200 (CEST) (envelope-from olli) Date: Wed, 21 May 2008 20:17:51 +0200 (CEST) Message-Id: <200805211817.m4LIHpbd024904@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, unga888@yahoo.com In-Reply-To: <438315.78030.qm@web57004.mail.re3.yahoo.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 21 May 2008 20:17:52 +0200 (CEST) Cc: Subject: Re: sched_ule performance on single CPU X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, unga888@yahoo.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 18:17:54 -0000 Sorry for the late reply, but I think there's a technical detail that should be mentioned ... Unga wrote: > My earlier test shows processes in the normal category > can starve processes in real-time category. That's > alarming. It should be get fixed. Note that FreeBSD does not support "hard real time" processing. Strictly speaking no OS does that on PC standard hardware. FreeBSD's idprio/rtprio implementation only affects the decisions of the scheduler, i.e. the assignment of CPU time slices to processes. However, there are other resources beside CPU that influence the execution of processes. For example disk I/O. In other words, if an idle-prio process performs a lot of disk accesses, it creates an I/O bottleneck, and even realtime-prio processes will have to wait because the hardware (disk) is blocked. This problem can be alleviated by using faster and better hardware, e.g. a SCSI RAID-0 disk subsystem or whatever. Besides, for professional audio recording you will also need professional audio hardware (which should include its own buffer memory, among other things), not a consumer card or an el'cheapo USB dongle. Best regards Oliver PS: My notebook at home (Pentium-M, UP, 3 years old) works very well with FreeBSD/i386 RELENG_7 + SCHED_ULE. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "We, the unwilling, led by the unknowing, are doing the impossible for the ungrateful. We have done so much, for so long, with so little, we are now qualified to do anything with nothing."         -- Mother Teresa From owner-freebsd-stable@FreeBSD.ORG Wed May 21 19:08:50 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C3731065683 for ; Wed, 21 May 2008 19:08:50 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id CF4348FC0A for ; Wed, 21 May 2008 19:08:49 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (F72be.f.ppp-pool.de [195.4.114.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 68BA812883F; Wed, 21 May 2008 21:08:41 +0200 (CEST) Received: from cesar.sz.vwsoft.com (cesar.sz.vwsoft.com [192.168.16.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 4E0113F43B; Wed, 21 May 2008 21:12:01 +0200 (CEST) Message-ID: <48347329.8020902@vwsoft.com> Date: Wed, 21 May 2008 21:08:25 +0200 From: Volker User-Agent: Thunderbird 2.0.0.14 (X11/20080503) MIME-Version: 1.0 To: votdev@gmx.de References: <20080521080156.209010@gmx.net> In-Reply-To: <20080521080156.209010@gmx.net> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1212001926.2615@x3vb119HaXIC8/YaTFgpfg X-MailScanner-ID: 4E0113F43B.E2129 X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Instant reboot with FreeBSD 6.3 and > 2GB RAM X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 19:08:50 -0000 On 12/23/-58 20:59, votdev@gmx.de wrote: > Hello, > > some users of FreeNAS which is based on FreeBSD 6.3 reported instant reboots on systems with > 2GB RAM (most of them use 4GB). The reboot occurs right after displaying the FreeBSD loader menu. Most of them told me that they can boot if they reduce RAM to <= 2GB. > > We are using the following kernel configuration which is based on GENERIC: > http://freenas.svn.sourceforge.net/viewvc/freenas/branches/0.69/build/kernel-config/FREENAS-i386?revision=3291&view=markup > > I found out another problem that causes a reboot on my 2GB machine. We are using a image for the LiveCD which is 64MB great. If i change back mfs_root size to 63MB all works well, but all above 64MB causes a reboot. > Is there any limitation? > > Could someone help me out of this problem? > > Regards > Volker Hi Volker ;) I'm not quite sure about your 2nd problem and your report is not quite detailed but from your description it looks like loader is causing that. As there's no filesystem available at that time, the loader has to read itself through the filesystem structures. Knowing that, PR misc/108215 comes to mind. I've not been able to check if the issue and the patch to it is right but you may give it a try. Probably somebody with loader and filesystem (ufs) knowledge may answer that question quickly if the patch contained in the PR is right. The report is about 6.2-R but at least I've checked loader code and 7.x code is the same. I came across that report yesterday and was unable to check the calculation. If that is really the case, your problem may be related to that. http://www.freebsd.org/cgi/query-pr.cgi?pr=108215 Assuming the problem report is right, it's about reading huge files by loader reads in wrong sectors. HTH Volker From owner-freebsd-stable@FreeBSD.ORG Thu May 22 02:11:56 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AE4E1065674 for ; Thu, 22 May 2008 02:11:56 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id D4D178FC21 for ; Thu, 22 May 2008 02:11:55 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so1795492tid.3 for ; Wed, 21 May 2008 19:11:54 -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=euvR6WzV75QseOnv/UEVaSHVh0PZP/Ql4Mb0NMsFQNI=; b=WeacRs3V4AX7c5Lm4/1Mw6SjDwsuS1AJT0DsRaYMjEUhnIr2JLv8eM+JT5c/29Sg8CRkEGV5KeaT2oRl7mND9gzmyKNkMCdIyHn0eKzop9ixV4A1DOGyf+yZzQ7FjJm++vDin86IpaxkX9mdnZF4sk32s1S2BaKl1qr9hzh9Lj0= 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=uBqWt39BYg9YRsoPNOo2ExqWjMsOkhLkcp+FXK3DmKmeCjptpTn8Z3TPsog7BlEK15SQ5HOI1smz5Rr7piEs/O/6vNBTteScIZr1bH0vXR0ERl5pquHPOsK6q1L8FdgTqKJZfMM3RYlPA8g1KfzULjMs7CYVpyGlHrOhGnI/hhM= Received: by 10.110.16.13 with SMTP id 13mr1352125tip.24.1211422314258; Wed, 21 May 2008 19:11:54 -0700 (PDT) Received: by 10.110.50.2 with HTTP; Wed, 21 May 2008 19:11:53 -0700 (PDT) Message-ID: Date: Thu, 22 May 2008 14:11:53 +1200 From: "James Butler" To: freebsd-stable@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: Suspend/resume on IBM X31 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 02:11:56 -0000 On Mon, May 19, 2008 at 10:24 PM, James Butler wrote: > Greetings > > I am having trouble with suspend/resume on my Thinkpad X31, running > 7.0-STABLE as of April 23. Any help would be appreciated. > > First problem: When I run "acpiconf -s3" from mulituser mode, the > system suspends immediately, without executing /etc/rc.suspend (which > has mode 755); then on resume, I get a panic. [...] I just discovered: http://lists.freebsd.org/pipermail/freebsd-acpi/2008-April/004806.html which fixes the problem for me. Cheers, -James From owner-freebsd-stable@FreeBSD.ORG Thu May 22 03:18:09 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FB241065670 for ; Thu, 22 May 2008 03:18:09 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 233D18FC1B for ; Thu, 22 May 2008 03:18:08 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by ug-out-1314.google.com with SMTP id q2so363861uge.37 for ; Wed, 21 May 2008 20:18: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=jZvvz2nsovecPN1l41B08Txn7arQkzRrDqcuTfYKqsQ=; b=ugzYs8I+Gnjd3lorn76CPChQn5btqNIcNENNpVVz7ymJq03kvDp5uGdXxtM/7Xf1Cx0fZcXvbiwLO4LdOwuCop0U2CWZonn36hH/iXNskdhsbUDezd4BPSAa3m31T7QWzCydPKawORXOPr6Z2rNeNBbYDNPj3xU4M5CHUQTPcd4= 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=wz+jEqZg7b7b9GnnHXbPjGKcl1Tra7OU9d1i70WyLTfELGKkiJbCExVrK+fe83qBarhH53Cyn1t4YBpIudGdvOzlqjn80KHG51BU8pT6KEKi8dntXRz/iwTJOMxfm1evo0lY0I9JvVYtDURBdcY7tDDKMNVtrUIp8O2akO94Mn8= Received: by 10.67.89.17 with SMTP id r17mr1954384ugl.2.1211426287668; Wed, 21 May 2008 20:18:07 -0700 (PDT) Received: by 10.67.98.5 with HTTP; Wed, 21 May 2008 20:18:07 -0700 (PDT) Message-ID: Date: Thu, 22 May 2008 00:18:07 -0300 From: "Carlos A. M. dos Santos" To: "Vivek Khera" 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 Stable Subject: Re: Is it possible to create a directory under /dev? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 03:18:09 -0000 On Wed, May 21, 2008 at 11:15 AM, Vivek Khera wrote: > > On May 21, 2008, at 8:44 AM, Carlos A. M. dos Santos wrote: > >> I attempted this: >> >> # mkdir /dev/foo >> mkdir: /dev/foo: Operation not supported >> >> Any suggestions (besides creating it elsewhere, of course)? > > Assuming you're using a modern FreeBSD (version number would be useful), > /dev does not live on a file system. It exists as its own file system, > controlled by devfs. Check the man page for devfs for details. I'm using 7.0-STABLE. I've read devfs(8), devfs(5) and did not find an answer there. -- Carlos A. M. dos Santos From owner-freebsd-stable@FreeBSD.ORG Thu May 22 03:22:32 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2129D1065671 for ; Thu, 22 May 2008 03:22:32 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id AABAD8FC1A for ; Thu, 22 May 2008 03:22:31 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by ug-out-1314.google.com with SMTP id q2so364200uge.37 for ; Wed, 21 May 2008 20:22:30 -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=IrD5BEeQ+35A2iIAev+YdFkA3g8fL44oK7dwhBra8xY=; b=r/Y7/gvEVylrl1fcHmGnjXwteHUtJ1pOTx1jfwA2rlwaTukvaxwoPrvyN3YGgQip9F3rF2kzMTAx5KyfpCtqIFp2zvfB6Rl7jx/RtTASgcHXADTdJheoq7YE1KaFAuWFg1ww3Lm9atTqIotoea51oddnrZwmmM+m2XnyDmjCHRE= 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=U+GBwIr3Wq/pj6Yi/Jf/N/HaSqvqy33uTalrYI37y89jaos5MxL9NEFTBj8G3WLe/HqvrCzynZzNTV61G/lxHueMldNmKotWys6y4vgOwJRUcASoT99M9yaV1VbfM7UskBGhSorYgS02cjqHhfo5OpID8/OeilJuCkDDz3t2Eng= Received: by 10.66.221.18 with SMTP id t18mr1896991ugg.80.1211426550555; Wed, 21 May 2008 20:22:30 -0700 (PDT) Received: by 10.67.98.5 with HTTP; Wed, 21 May 2008 20:22:30 -0700 (PDT) Message-ID: Date: Thu, 22 May 2008 00:22:30 -0300 From: "Carlos A. M. dos Santos" To: freebsd-stable@freebsd.org, unixmania@gmail.com In-Reply-To: <200805211706.m4LH61Zb021039@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200805211706.m4LH61Zb021039@lurza.secnetix.de> Cc: Subject: Re: Is it possible to create a directory under /dev? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 03:22:32 -0000 On Wed, May 21, 2008 at 2:06 PM, Oliver Fromme wrote: > Carlos A. M. dos Santos <> wrote: > > I attempted this: > > > > # mkdir /dev/foo > > mkdir: /dev/foo: Operation not supported > > DEVFS is a "virtual" filesystem [...] I already knew that. :-) > > Any suggestions (besides creating it elsewhere, of course)? > > That depends on the purpose. *Why* do you want to create > a subdirectory in /dev? What do you want to do with it? I intended to use it as the mount point for a filesystem. -- Carlos A. M. dos Santos From owner-freebsd-stable@FreeBSD.ORG Thu May 22 07:02:16 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E8CC1065672 for ; Thu, 22 May 2008 07:02:16 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from hosted.kievnet.com (hosted.kievnet.com [193.138.144.10]) by mx1.freebsd.org (Postfix) with ESMTP id 3CB028FC43 for ; Thu, 22 May 2008 07:02:16 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost ([127.0.0.1] helo=edge.pp.kiev.ua) by hosted.kievnet.com with esmtpa (Exim 4.62) (envelope-from ) id 1Jz4oY-000AE6-9D; Thu, 22 May 2008 10:02:14 +0300 Message-ID: <48351A70.8090402@icyb.net.ua> Date: Thu, 22 May 2008 10:02:08 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.12 (X11/20080320) MIME-Version: 1.0 To: "Carlos A. M. dos Santos" , freebsd-stable@freebsd.org References: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Is it possible to create a directory under /dev? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 07:02:16 -0000 Carlos A. M. dos Santos wrote: > On Wed, May 21, 2008 at 2:06 PM, Oliver Fromme wrote: >> Carlos A. M. dos Santos <> wrote: >> > I attempted this: >> > >> > # mkdir /dev/foo >> > mkdir: /dev/foo: Operation not supported >> >> DEVFS is a "virtual" filesystem [...] > > I already knew that. :-) > >> > Any suggestions (besides creating it elsewhere, of course)? >> >> That depends on the purpose. *Why* do you want to create >> a subdirectory in /dev? What do you want to do with it? > > I intended to use it as the mount point for a filesystem. I think this is a quite weird idea. Why would you want another filesystem under /dev? /dev is for devices! Maybe you want something like /mnt or whatever, unless you are developing your own "sub-" devfs. But, by the way, there is a (slightly) more valid reason to want to create a directory under /dev, I recently had it. For one non-standard third-party application I needed to create a link to existing device in a certain subdirectory. I.e.: /dev/subdirX/device -> /dev/deviceX And I couldn't do that. Or maybe link operation for devfs just needs to be taught about creating subdirectories on demand. I don't know. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Thu May 22 07:05:25 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AEAB1065688 for ; Thu, 22 May 2008 07:05:25 +0000 (UTC) (envelope-from peter@pean.org) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id 0C9658FC24 for ; Thu, 22 May 2008 07:05:24 +0000 (UTC) (envelope-from peter@pean.org) Received: from ironport.bredband.com (195.54.101.120) by proxy3.bredband.net (7.3.127) id 481183EA0081B9E4; Thu, 22 May 2008 09:05:24 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvtYAL+3NEhV4WMOPGdsb2JhbACBVYcliTABAQEBLZ0B Received: from c-0e63e155.166-7-64736c14.cust.bredbandsbolaget.se (HELO pi.pean.org) ([85.225.99.14]) by ironport1.bredband.com with ESMTP; 22 May 2008 09:05:24 +0200 Message-Id: <822C1BB6-3591-4CE1-AFEA-8B07B9F5ED8D@pean.org> From: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= To: freebsd-stable@freebsd.org, freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 22 May 2008 09:05:23 +0200 X-Mailer: Apple Mail (2.919.2) Cc: Subject: Jail resource limits X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 07:05:25 -0000 http://wiki.freebsd.org/JailResourceLimits Is this anthing people are working on? Is it on its way to RELENG_7? Is there a 7-version of the patch or anything? This would be a _VERY_ useful feature. -- Peter Ankerst=E5l peter@pean.org From owner-freebsd-stable@FreeBSD.ORG Thu May 22 07:18:54 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 211C81065687 for ; Thu, 22 May 2008 07:18:54 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57006.mail.re3.yahoo.com (web57006.mail.re3.yahoo.com [66.196.97.110]) by mx1.freebsd.org (Postfix) with SMTP id C33A58FC29 for ; Thu, 22 May 2008 07:18:53 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 16819 invoked by uid 60001); 22 May 2008 07:18:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ha2emJ+QroxEcYECH21JrX8O+6mytk4SqzXnxdGvmSFBzLNpni1n6o866D2Xskp9tUpdpvohspYcSWhbREYWzxpTdE2SNn3ZCBndgmiTGb+aExzLEANnx33ag7qGgD/ywU2h5DlqqrS0DNMyaw/+k4ZHv05nArr1qcubT9ZRVOs=; X-YMail-OSG: Jy9FkEsVM1l1Mkl4WjfUYxBDQuH6PPEFfOVkKEUxwaD.ecoT_CqYHR7hwM0yQ.1ECzFncbcmUvqvpLjr_QOYKIIDGJAGaKCCFcW8bQ-- Received: from [165.21.154.112] by web57006.mail.re3.yahoo.com via HTTP; Thu, 22 May 2008 00:18:53 PDT Date: Thu, 22 May 2008 00:18:53 -0700 (PDT) From: Unga To: freebsd-stable@FreeBSD.ORG In-Reply-To: <200805211817.m4LIHpbd024904@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <69853.16097.qm@web57006.mail.re3.yahoo.com> Cc: Oliver Fromme Subject: Re: sched_ule performance on single CPU X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 07:18:54 -0000 --- Oliver Fromme wrote: > Sorry for the late reply, but I think there's a > technical > detail that should be mentioned ... > > Unga wrote: > > My earlier test shows processes in the normal > category > > can starve processes in real-time category. > That's > > alarming. It should be get fixed. > > Note that FreeBSD does not support "hard real time" > processing. Strictly speaking no OS does that on PC > standard hardware. > > FreeBSD's idprio/rtprio implementation only affects > the decisions of the scheduler, i.e. the assignment > of CPU time slices to processes. However, there are > other resources beside CPU that influence the > execution > of processes. For example disk I/O. > > In other words, if an idle-prio process performs a > lot > of disk accesses, it creates an I/O bottleneck, and > even realtime-prio processes will have to wait > because > the hardware (disk) is blocked. This problem can be > alleviated by using faster and better hardware, e.g. > a SCSI RAID-0 disk subsystem or whatever. Besides, > for professional audio recording you will also need > professional audio hardware (which should include > its > own buffer memory, among other things), not a > consumer > card or an el'cheapo USB dongle. > > Best regards > Oliver > > PS: My notebook at home (Pentium-M, UP, 3 years > old) > works very well with FreeBSD/i386 RELENG_7 + > SCHED_ULE. > Idle-prio process which generates lot of I/O is understandable. But when you either record or playback audio as realtime-prio and you opened up a pdf document as normal-prio, can the pdf rendering in normal-prio breaks down the realtime audio process? I don't think pdf rendering is I/O intensive. Using a faster processor or multi-core may solve this problem, but my question is, can smart scheduling solve it without buying more processors? Kind regards Unga From owner-freebsd-stable@FreeBSD.ORG Thu May 22 09:24:33 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58D2E106566B for ; Thu, 22 May 2008 09:24:33 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 2E8138FC16 for ; Thu, 22 May 2008 09:24:33 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so3113449wah.3 for ; Thu, 22 May 2008 02:24: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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=nZiWrbLkTGX/DsZCtxSCRdtwKiHiR+1wAEDVTA6iTB4=; b=tc2SBsqZQ3zxJpp526aWls9K0EwIz+Pn8dVdBWfOwEPBazCLmba6UhmOXeYLdXz534gWVh1CUutvyt/6K//tlDcJ/HKtLBwF3+CZFaoiVnSYhhPmL5CD1grWyEBARgrs052bxzDo5/nxcRCRvmLPr0wxq94QYPErQ9BIvLB0rDE= 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=P3k0jMli2uPOR9mu6cIwMEr1bapE20fJKrDhP+YFSHLEWIzFnlwcV8pt2hHl9voJI+VsMoYycg3GOStD6/eTWNObuKISGthxBO0UKsUVmCH+3tW3AP1eKhlThiy6l0FLZeOdl6+5wjZAoQsrKx2hTZOr/2sjv/FbNKQsKPm0a8I= Received: by 10.114.88.1 with SMTP id l1mr11818606wab.79.1211446788140; Thu, 22 May 2008 01:59:48 -0700 (PDT) Received: by 10.115.91.7 with HTTP; Thu, 22 May 2008 01:59:47 -0700 (PDT) Message-ID: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> Date: Thu, 22 May 2008 09:59:47 +0100 From: "James Seward" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 09:24:33 -0000 Hello, Two days ago I csup'd my desktop at home, which was running RELENG_7 from about 7.0-RELEASE time, to bring it up-to-date (still on RELENG_7). I followed my usual buildkernel/world procedure (the usual one) which has worked fine all the way since 5.x. After installing kernel and restarting in single user, it was working fine. However, following installworld it will not boot. It stops immediately after "BTX loader 1.00 BTX version 1.02", but with the cursor on the line *above* the first "B". Nothing futher happens, but the system responds to Ctrl-Alt-Del. I have managed to start it using the install CD and csup'd back to a version just before the commit to BTX that moved it to 1.02 (March 18th, I think). However, that version too hangs after "BTX loader 1.00 BTX version 1.01". My desktop is currently building RELENG_7_0 to see if that will work, but I won't know that until later as I'm at work and it is at home :) The install CD (BTX 1.00/1.01) boots fine. Nothing else changed on my system between the last successful boot and the unsuccessful one. Any suggestions/advice for what I can try next, or what I can do to help the troubleshooting process? My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Deluxe board. /JMS From owner-freebsd-stable@FreeBSD.ORG Thu May 22 09:25:28 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 811461065678; Thu, 22 May 2008 09:25:28 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw2.york.ac.uk (mail-gw2.york.ac.uk [144.32.128.247]) by mx1.freebsd.org (Postfix) with ESMTP id 0F7E78FC1E; Thu, 22 May 2008 09:25:27 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw2.york.ac.uk (8.13.6/8.13.6) with ESMTP id m4M9PG55029527; Thu, 22 May 2008 10:25:16 +0100 (BST) Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Jz72y-00017R-58; Thu, 22 May 2008 10:25:16 +0100 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.2/8.14.2) with ESMTP id m4M9PFml071177; Thu, 22 May 2008 10:25:15 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.2/8.14.2/Submit) id m4M9PExp071176; Thu, 22 May 2008 10:25:14 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: d@delphij.net In-Reply-To: <4819F6D3.80104@delphij.net> References: <481560AC.90109@delphij.net> <1209376409.59233.14.camel@buffy.york.ac.uk> <4818BF27.2080209@delphij.net> <200804301544.20802.jhb@freebsd.org> <1209660552.68622.53.camel@buffy.york.ac.uk> <4819F6D3.80104@delphij.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 22 May 2008 10:25:13 +0100 Message-Id: <1211448313.71119.1.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: FreeBSD Stable , John Baldwin Subject: Re: What does system do after "Uptime: "? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 09:25:28 -0000 On Thu, 2008-05-01 at 09:58 -0700, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Gavin Atkinson wrote: > | FWIW, there have been probably around 10 PRs in in the last few months > | about this behaviour. I'd vote for it as an errata candidate. > > FWIW I have written to re@ indicating some changes I wanted for > RELENG_7_0 as candidates. Could you please let me know if I have missed > something important? > > http://www.delphij.net/errata-20080430.xml Did you get anywhere with this request? PRs are still coming in about the "hang after Uptime:" issue. If the errata candidates were turned down, I think we need to have an entry in the release notes errata... Thanks, Gavin From owner-freebsd-stable@FreeBSD.ORG Thu May 22 11:19:42 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 369B9106566B; Thu, 22 May 2008 11:19:42 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id E328C8FC1E; Thu, 22 May 2008 11:19:41 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id C065A19E02A; Thu, 22 May 2008 13:19:39 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 43DA819E023; Thu, 22 May 2008 13:19:37 +0200 (CEST) Message-ID: <483556DB.9070602@quip.cz> Date: Thu, 22 May 2008 13:19:55 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= References: <822C1BB6-3591-4CE1-AFEA-8B07B9F5ED8D@pean.org> In-Reply-To: <822C1BB6-3591-4CE1-AFEA-8B07B9F5ED8D@pean.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-jail@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Jail resource limits X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 11:19:42 -0000 Peter Ankerstål wrote: > http://wiki.freebsd.org/JailResourceLimits > > Is this anthing people are working on? Is it on its way to RELENG_7? > Is there a 7-version of the patch or anything? This would be a _VERY_ > useful feature. Hi, AFAIK nobody is working on it. A year ago there was newer release of the patch against CURRENT at that time (FreeBSD 7) [1] http://www.ualberta.ca/~cdjones/jail-cpumem-current.tgz I never test this patch on current, only version for 6.x and if patch for current were made without improvements, it contains same bugs as patch for 6.x (eg.: not showing memory usage). There are some other guys trying to do the same, but I never saw patches published. Andrew Snow - Jails as a VPS [2] Alex Lyashkov - Jail2 aka FreeVPS [3a][3b] Or fixes for C.D. Jones work: Chris Thunes - jtune not showing resource usage - fixed [4] (note - attached patch is reversed) [5] So as you can see, there were some talks about Jail improvements for one year existence of this mailinglist (freebsd-jail@freebsd.org), also it is two years from SoC [6] and we still don't have anything commited to 7.x or to CURRENT. It is sad. There is little attention to jails, only few people are able to do some coding work etc. If the are somebody with skills and time to resurrect some mentioned projects, I am willing to help with testing. Also it will be good to have some up-to-date wiki page with "all the patches" (resource limits, SysV IPC, multiple IPs...) and status of this work, so people can easily find and try it. Miroslav Lachman [1] http://lists.freebsd.org/pipermail/freebsd-jail/2007-June/000030.html [2] http://lists.freebsd.org/pipermail/freebsd-jail/2008-January/000152.html [3a] http://docs.freevps.com/doku.php?id=freebsd:index [3b] http://lists.freebsd.org/pipermail/freebsd-arch/2006-June/005293.html [4] http://lists.freebsd.org/pipermail/freebsd-jail/2007-August/000060.html [5] http://lists.freebsd.org/pipermail/freebsd-jail/2007-September/000101.html [6] http://wiki.freebsd.org/JailResourceLimits Other links: jail services: http://wiki.freebsd.org/AsiaBSDCon_2007_DevSummit?action=AttachFile&do=get&target=jail_services.pdf kernel level virtualisation requirements: http://lists.freebsd.org/pipermail/freebsd-arch/2007-October/006872.html From owner-freebsd-stable@FreeBSD.ORG Thu May 22 11:46:34 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AC63106567A for ; Thu, 22 May 2008 11:46:34 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 493E48FC12 for ; Thu, 22 May 2008 11:46:34 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5613E.dip.t-dialin.net [84.165.97.62]) by redbull.bpaserver.net (Postfix) with ESMTP id 136942E084; Thu, 22 May 2008 13:31:19 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 26826112A6A; Thu, 22 May 2008 13:31:16 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m4MBVF1T078663; Thu, 22 May 2008 13:31:15 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Thu, 22 May 2008 13:31:15 +0200 Message-ID: <20080522133115.84622rwkp784zi04@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 22 May 2008 13:31:15 +0200 From: Alexander Leidinger To: Miroslav Lachman <000.fbsd@quip.cz> References: <822C1BB6-3591-4CE1-AFEA-8B07B9F5ED8D@pean.org> <483556DB.9070602@quip.cz> In-Reply-To: <483556DB.9070602@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-stable@freebsd.org, freebsd-jail@freebsd.org, Peter =?utf-8?b?QW5rZXJzdMOlbA==?= Subject: Re: Jail resource limits X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 11:46:34 -0000 Quoting Miroslav Lachman <000.fbsd@quip.cz> (from Thu, 22 May 2008 =20 13:19:55 +0200): > Peter Ankerst=C3=A5l wrote: >> http://wiki.freebsd.org/JailResourceLimits > If the are somebody with skills and time to resurrect some mentioned =20 > projects, I am willing to help with testing. > > Also it will be good to have some up-to-date wiki page with "all the =20 > patches" (resource limits, SysV IPC, multiple IPs...) and status of =20 > this work, so people can easily find and try it. Are you willing to update the existing wiki page? If yes register to =20 the wiki (default style would be MiroslavLachman as the username) and =20 I give you write access to the page. Bye, Alexander. --=20 Please take note: http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-stable@FreeBSD.ORG Thu May 22 12:24:30 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DE67106567C for ; Thu, 22 May 2008 12:24:30 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 44EA78FC0C for ; Thu, 22 May 2008 12:24:30 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 415481CC033; Thu, 22 May 2008 05:24:30 -0700 (PDT) Date: Thu, 22 May 2008 05:24:30 -0700 From: Jeremy Chadwick To: James Seward Message-ID: <20080522122430.GA43122@eos.sc1.parodius.com> References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 12:24:30 -0000 On Thu, May 22, 2008 at 09:59:47AM +0100, James Seward wrote: > Two days ago I csup'd my desktop at home, which was running RELENG_7 > from about 7.0-RELEASE time, to bring it up-to-date (still on > RELENG_7). I followed my usual buildkernel/world procedure (the usual > one) which has worked fine all the way since 5.x. After installing > kernel and restarting in single user, it was working fine. However, > following installworld it will not boot. > > It stops immediately after "BTX loader 1.00 BTX version 1.02", but > with the cursor on the line *above* the first "B". Nothing futher > happens, but the system responds to Ctrl-Alt-Del. This sounds like a regression in the recent BTX fixes which were done by John Baldwin on March 18th. Strange, since those fixes addressed booting issues lots of users were having with BTX. See the very bottom of the below page, "BTX crashes on start": http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues After installworld, did you happen to use bsdlabel -B? > Any suggestions/advice for what I can try next, or what I can do to > help the troubleshooting process? > > My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Deluxe board. I've CC'd John here, who might have some ideas. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Thu May 22 13:49:06 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D84B106566B for ; Thu, 22 May 2008 13:49:06 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (myrtle.kcilink.com [66.250.193.116]) by mx1.freebsd.org (Postfix) with ESMTP id 6D8E08FC26 for ; Thu, 22 May 2008 13:49:06 +0000 (UTC) (envelope-from vivek@khera.org) Received: from host-121.int.kcilink.com (host-121.int.kcilink.com [192.168.7.121]) by yertle.kcilink.com (Postfix) with ESMTP id 3ABBE8A172 for ; Thu, 22 May 2008 09:49:05 -0400 (EDT) Message-Id: From: Vivek Khera To: FreeBSD Stable In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 22 May 2008 09:49:05 -0400 References: X-Mailer: Apple Mail (2.919.2) Subject: Re: Is it possible to create a directory under /dev? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 13:49:06 -0000 On May 21, 2008, at 11:18 PM, Carlos A. M. dos Santos wrote: >> Assuming you're using a modern FreeBSD (version number would be >> useful), >> /dev does not live on a file system. It exists as its own file >> system, >> controlled by devfs. Check the man page for devfs for details. > > I'm using 7.0-STABLE. I've read devfs(8), devfs(5) and did not find an > answer there. perhaps if you state your goal rather than the difficulty you encounter using the mechanism you chose to reach that goal, we could help you better. From owner-freebsd-stable@FreeBSD.ORG Thu May 22 13:50:40 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 358591065677 for ; Thu, 22 May 2008 13:50:40 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.182]) by mx1.freebsd.org (Postfix) with ESMTP id DF0348FC12 for ; Thu, 22 May 2008 13:50:39 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: by el-out-1112.google.com with SMTP id m34so41754ele.13 for ; Thu, 22 May 2008 06:50:38 -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=J9PgiR8EyFPJZN7AKxBb5tO8pvNXxmsNYbsAD6DvYcE=; b=cWKPi1WNnY9XZBbZMesW2Pq9rH2XNuJlYmoE91viZvVxLpx5GCODiwxB9VsU95u7N+vpcD7y8YeHzEj13exHUKGvYQS7Yr/DQfiiDuuCbkttsS31QewSyxSC3hLIgFxoWIC6VJ0+sRlbaZnbBGCg5B3T+0FhZ/tnJAL6Z1pvVKw= 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=BkDerwLrfZ8U3phfzn4LaCJkT7oIxO78BmkugaT/L7zUkplbB4SdAQny0hMyq8t6N48OAzPdgDSkZr+zQCj0sIuKQI0tbiLgJrTqv9elkzPyTDMGYeOtoB3wDGsdTcv8Gns7AB99O/voUsWVgDFEabmsEavlaTOeKXAf+WRQoTo= Received: by 10.114.15.16 with SMTP id 16mr108817wao.113.1211464238308; Thu, 22 May 2008 06:50:38 -0700 (PDT) Received: by 10.115.91.7 with HTTP; Thu, 22 May 2008 06:50:38 -0700 (PDT) Message-ID: <720051dc0805220650g299c1488la652cedf9c67f4db@mail.gmail.com> Date: Thu, 22 May 2008 14:50:38 +0100 From: "James Seward" To: "Jeremy Chadwick" In-Reply-To: <20080522122430.GA43122@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <20080522122430.GA43122@eos.sc1.parodius.com> Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 13:50:40 -0000 On Thu, May 22, 2008 at 1:24 PM, Jeremy Chadwick wrote: > http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues My problem doesn't match the description of "screen continually scrolls registers or dumps registers then reboots"; it just freezes. While looking at the code for btx/btxldr I did notice a debug knob in the Makefile; should I turn this on? (And do I have to rebuild all of world to encourage it to update BTX? Presumably I can build/install a subset of it to save time?) > After installworld, did you happen to use bsdlabel -B? No, my procedure was: make buildkernel buildworld, make installkernel, reboot (to single user), mergemaster -p, make installworld, mergemaster (installed everything but passwd/group), reboot. This is the point where it broke :) Thanks, James From owner-freebsd-stable@FreeBSD.ORG Thu May 22 14:19:53 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95AD4106564A; Thu, 22 May 2008 14:19:53 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7B8468FC0A; Thu, 22 May 2008 14:19:53 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 491AD1CC033; Thu, 22 May 2008 07:19:53 -0700 (PDT) Date: Thu, 22 May 2008 07:19:53 -0700 From: Jeremy Chadwick To: James Seward Message-ID: <20080522141953.GA46366@eos.sc1.parodius.com> References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <20080522122430.GA43122@eos.sc1.parodius.com> <720051dc0805220650g299c1488la652cedf9c67f4db@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <720051dc0805220650g299c1488la652cedf9c67f4db@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 14:19:53 -0000 On Thu, May 22, 2008 at 02:50:38PM +0100, James Seward wrote: > On Thu, May 22, 2008 at 1:24 PM, Jeremy Chadwick wrote: > > http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues > > My problem doesn't match the description of "screen continually > scrolls registers or dumps registers then reboots"; it just freezes. > > While looking at the code for btx/btxldr I did notice a debug knob in > the Makefile; should I turn this on? Probably not. > (And do I have to rebuild all of > world to encourage it to update BTX? Presumably I can build/install a > subset of it to save time?) cd /sys/boot && make clean && make && make install will build and install new boot blocks in /boot, as well as /boot/loader. It will not apply new boot blocks to your disk (that's what bsdlabel does). > > After installworld, did you happen to use bsdlabel -B? > > No, my procedure was: make buildkernel buildworld, make installkernel, > reboot (to single user), mergemaster -p, make installworld, > mergemaster (installed everything but passwd/group), reboot. This is > the point where it broke :) My bad, sorry. The problem you're experiencing is likely in /boot/loader, which is what prints the "BTX version is x.xx" message. /boot/loader doesn't require your boot blocks be updated; it's updated during installworld. BTX version 1.01 is what comes with 7.0-RELEASE, while a RELENG_7 snapshot or a recently-rebuilt world (of RELENG_7) would use 1.02. I'm not sure what's breaking there for you; I'll have to dig through the CVS commit logs to check. Do you have anything in /boot/loader.conf? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Thu May 22 14:50:47 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F32E110656AF; Thu, 22 May 2008 14:50:46 +0000 (UTC) (envelope-from peter@pean.org) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id A91258FC27; Thu, 22 May 2008 14:50:46 +0000 (UTC) (envelope-from peter@pean.org) Received: from ironport.bredband.com (195.54.101.120) by proxy2.bredband.net (7.3.127) id 481183330084CD33; Thu, 22 May 2008 16:50:44 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlpAADMlNUhV4WMOPGdsb2JhbACBVZBVAQEBAS2cYQ Received: from c-0e63e155.166-7-64736c14.cust.bredbandsbolaget.se (HELO pi.pean.org) ([85.225.99.14]) by ironport1.bredband.com with ESMTP; 22 May 2008 16:50:43 +0200 Message-Id: <08244555-5BD2-4F67-B311-CCC5E316A068@pean.org> From: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= To: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <483556DB.9070602@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 22 May 2008 16:50:42 +0200 References: <822C1BB6-3591-4CE1-AFEA-8B07B9F5ED8D@pean.org> <483556DB.9070602@quip.cz> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-jail@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Jail resource limits X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 14:50:47 -0000 > > > If the are somebody with skills and time to resurrect some mentioned =20= > projects, I am willing to help with testing. > I will also be happy to help in whatever way I can. I have no coding-=20 experience to talk about. But testing in various env and so on. (and help with docs/wiki) -- Peter Ankerst=E5l peter@pean.org From owner-freebsd-stable@FreeBSD.ORG Thu May 22 17:15:01 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ED49106567A; Thu, 22 May 2008 17:15:01 +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 CFEF18FC16; Thu, 22 May 2008 17:14:59 +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 E310341C72C; Thu, 22 May 2008 18:56:17 +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 WCtwr35G2dtZ; Thu, 22 May 2008 18:56:17 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 8F4A141C729; Thu, 22 May 2008 18:56:17 +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 B9CD444487F; Thu, 22 May 2008 16:55:57 +0000 (UTC) Date: Thu, 22 May 2008 16:55:57 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= In-Reply-To: <08244555-5BD2-4F67-B311-CCC5E316A068@pean.org> Message-ID: <20080522165219.D47338@maildrop.int.zabbadoz.net> References: <822C1BB6-3591-4CE1-AFEA-8B07B9F5ED8D@pean.org> <483556DB.9070602@quip.cz> <08244555-5BD2-4F67-B311-CCC5E316A068@pean.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-248603948-1211475357=:47338" Cc: "Bjoern A. Zeeb" , freebsd-jail@freebsd.org, freebsd-stable@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz> Subject: Re: Jail resource limits X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 17:15:01 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-248603948-1211475357=:47338 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 22 May 2008, Peter Ankerst=E5l wrote: Hi, >> If the are somebody with skills and time to resurrect some mentioned=20 >> projects, I am willing to help with testing. >>=20 > I will also be happy to help in whatever way I can. I have no=20 > coding-experience to talk about. But testing in various env > and so on. (and help with docs/wiki) I will have to go through all this again but it seems that there is more interest from multiple people on this work. As I am currently working on FreeBSD jails (see latetst status report http://www.freebsd.org/news/status/report-2008-01-2008-03.html#Multi-IPv4/v= 6/no-IP-jails and follow to my homepage to also find the slide from the BSDCan WIP session) I should look into this for everyone running FreeBSD 7. I'll try to get an overview on all the work out there based on the pointers already posted and will see how I can integrate that with whatever is going on in FreeBSD atm or come up with new patches.. Regards, Bjoern --=20 Bjoern A. Zeeb Stop bit received. Insert coin for new game. --0-248603948-1211475357=:47338-- From owner-freebsd-stable@FreeBSD.ORG Thu May 22 17:42:40 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 295D5106564A; Thu, 22 May 2008 17:42:40 +0000 (UTC) (envelope-from prvs=1028112938=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 58A5A8FC1B; Thu, 22 May 2008 17:42:39 +0000 (UTC) (envelope-from prvs=1028112938=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1211477021; x=1212081821; q=dns/txt; h=Received: Message-ID:From:To:Cc:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=kljPJJlvNPHvYO18iQDJF fpxv9QzHhfKtFItIU/vNF0=; b=Iz90YdCBgkgcf/+EShy/1JgEWgTbiB4vyVBCc JehJJKchczl6aP7dRaqy/1qyggPqTcb+mAgLLRBSVywL/pQ2PFFWGXKxjxLT7im9 myGpnSQRH6zewgWC33oT+UxBGb8+pPihWXEd0Y3R6BVMlgLkvjZg1D8h6abkWdZb Ys/WTY= X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-14.7 required=6.0 tests=BAYES_00, FORGED_MUA_OUTLOOK, USER_IN_WHITELIST,USER_IN_WHITELIST_TO autolearn=ham version=3.1.8 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v9.6.5) with ESMTP id md50005653894.msg; Thu, 22 May 2008 18:23:40 +0100 X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 212.135.219.182 X-Return-Path: prvs=1028112938=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: <8068148B75CB4B3E953144A0DF47E496@multiplay.co.uk> From: "Steven Hartland" To: "Bjoern A. Zeeb" , =?iso-8859-1?Q?Peter_Ankerst=E5l?= References: <822C1BB6-3591-4CE1-AFEA-8B07B9F5ED8D@pean.org><483556DB.9070602@quip.cz><08244555-5BD2-4F67-B311-CCC5E316A068@pean.org> <20080522165219.D47338@maildrop.int.zabbadoz.net> Date: Thu, 22 May 2008 18:23:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Spam-Processed: mail1.multiplay.co.uk, Thu, 22 May 2008 18:23:41 +0100 X-MDAV-Processed: mail1.multiplay.co.uk, Thu, 22 May 2008 18:23:41 +0100 Cc: freebsd-jail@freebsd.org, "Bjoern A. Zeeb" , freebsd-stable@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz> Subject: Re: Jail resource limits X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 17:42:40 -0000 This is something we're really looking forward to tbh a great feature :) One of the reasons for this is hosting jails, with the addition of multi IP support we will be able to enable jails to connect to "backdoor" secure services such as a mysql server. ----- Original Message ----- From: "Bjoern A. Zeeb" I will have to go through all this again but it seems that there is more interest from multiple people on this work. As I am currently working on FreeBSD jails (see latetst status report http://www.freebsd.org/news/status/report-2008-01-2008-03.html#Multi-IPv4/v6/no-IP-jails and follow to my homepage to also find the slide from the BSDCan WIP session) I should look into this for everyone running FreeBSD 7. I'll try to get an overview on all the work out there based on the pointers already posted and will see how I can integrate that with whatever is going on in FreeBSD atm or come up with new patches.. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-stable@FreeBSD.ORG Thu May 22 19:26:14 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A944A106564A for ; Thu, 22 May 2008 19:26:14 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (thingy.kcilink.com [74.92.149.59]) by mx1.freebsd.org (Postfix) with ESMTP id 7C14A8FC0A for ; Thu, 22 May 2008 19:26:14 +0000 (UTC) (envelope-from vivek@khera.org) Received: from host-121.int.kcilink.com (host-121.int.kcilink.com [192.168.7.121]) by yertle.kcilink.com (Postfix) with ESMTP id 573958A0AD for ; Thu, 22 May 2008 15:26:13 -0400 (EDT) Message-Id: <0FDDD3FE-395C-494C-8325-99FDB2BAEEB5@khera.org> From: Vivek Khera To: FreeBSD Stable Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 22 May 2008 15:26:13 -0400 X-Mailer: Apple Mail (2.919.2) Subject: jail process limits X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 19:26:14 -0000 While we're on the topic of jail resource limits, I think I'll ask my question again... I asked last month but got no response... I've got a jail server (FreeBSD 6.3/amd64) which runs a bunch of web site development environments. There is an apache or lighttpd running in each jail as user httpd (same UID on base system and each jail). On the jail host, I counted 231 processes owned by httpd. If I try to start an application server (or any process) as user httpd in one of the jails, it exits immediately with "Cannot fork: Resource temporarily unavailable". Even if I "su httpd" I get the same error on any command I try to run such as "ls". If I run the same on the jail host, it has no problems. The jail itself only has 34 processes running. On the jail host, the following is logged: Apr 22 16:34:38 staging kernel: maxproc limit exceeded by uid 80, please see tuning(7) and login.conf(5). tuning(7) and login.conf(5) have pretty much nothing to say about "maxproc". The sysctl settings are all default on this box. kern.maxproc: 6164 kern.maxprocperuid: 5547 The user httpd is of login class "daemon". My login.conf is unchanged from the distributed version, which states "unlimited" for max processes. Why am I getting the resource unavailable when I barely have 230 processes, not even close to the limits. Apache seems unaffected since the parent is run as root, so it can fork children willy-nilly and not be blocked by any limits. Can anyone tell me where to look to find out what is limiting user httpd from creating new processes inside the jail, and what exactly that limit is? More importantly, how to increase it. From owner-freebsd-stable@FreeBSD.ORG Thu May 22 23:56:51 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA3521065671 for ; Thu, 22 May 2008 23:56:51 +0000 (UTC) (envelope-from stylinae@email.uc.edu) Received: from mirapoint.uc.edu (mirapoint.uc.edu [129.137.3.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8FA158FC16 for ; Thu, 22 May 2008 23:56:51 +0000 (UTC) (envelope-from stylinae@email.uc.edu) Received: (from mirapoint.uc.edu [10.23.4.253]) by mirapoint.uc.edu (MOS 3.8.7a) with HTTPS/1.1 id CDW33820 (AUTH stylinae); Thu, 22 May 2008 19:36:48 -0400 (EDT) From: Adam Stylinski To: freebsd-stable@freebsd.org X-Mailer: Mirapoint Webmail Direct 3.8.7a MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20080522193648.CDW33820@mirapoint.uc.edu> Date: Thu, 22 May 2008 19:36:48 -0400 (EDT) Subject: Core Dump? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 23:56:51 -0000 I am experiencing the problem that I have found many people have in archived mailing list (and perhaps even this one). I have about 60-80 seconds of stability on my formerly stable freebsd7 installation before it reboots with what appears to be a kernel panic. I get the following message "Panic: ffs_blkfree", it gives an error about my /usr partition, and then it starts dumping physical memory before a reboot. Any idea how to fix this? From owner-freebsd-stable@FreeBSD.ORG Fri May 23 00:15:57 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1491C1065678 for ; Fri, 23 May 2008 00:15:57 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id B13028FC1B for ; Fri, 23 May 2008 00:15:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 949A728448 for ; Fri, 23 May 2008 08:15:55 +0800 (CST) Received: from localhost (tarsier.geekcn.org [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id 2A23BEB83FA; Fri, 23 May 2008 08:15:55 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id xljdwdeGUb3Q; Fri, 23 May 2008 08:15:50 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 41269EB83F3; Fri, 23 May 2008 08:15:49 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=t7At10Dz1tn6I+NMEawrzp3FccWURGjTQbDAys+T39HM3PJXbIFdU5qz3dO6+DE9b LE07AfndpJRyNpi+PhXfA== Message-ID: <48360CB3.6020008@delphij.net> Date: Thu, 22 May 2008 17:15:47 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Adam Stylinski References: <20080522193648.CDW33820@mirapoint.uc.edu> In-Reply-To: <20080522193648.CDW33820@mirapoint.uc.edu> X-Enigmail-Version: 0.95.6 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Core Dump? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 00:15:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adam Stylinski wrote: | I am experiencing the problem that I have found many people have in archived mailing list (and perhaps even this one). I have about 60-80 seconds of stability on my formerly stable freebsd7 installation before it reboots with what appears to be a kernel panic. I get the following message "Panic: ffs_blkfree", it gives an error about my /usr partition, and then it starts dumping physical memory before a reboot. Any idea how to fix this? Try to have a manual 'fsck -fy' in single user mode should fix this I think. Cheers, - -- ** Help China's quake relief at http://www.redcross.org.cn/ |>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkg2DLIACgkQi+vbBBjt66CZ6wCfUs36Nkk7vvGsYa0CHA2piurE ZGkAmgJEXKbv11q6/kkhBnAU2NcABRDo =7EdG -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Fri May 23 01:23:04 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E16451065678 for ; Fri, 23 May 2008 01:23:04 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64]) by mx1.freebsd.org (Postfix) with ESMTP id AFF388FC15 for ; Fri, 23 May 2008 01:23:04 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from zmori.markir.net (121-73-166-51.dsl.telstraclear.net [121.73.166.51]) by smtp3.clear.net.nz (CLEAR Net Mail) with ESMTP id <0K1A00FQERUEIG10@smtp3.clear.net.nz> for freebsd-stable@freebsd.org; Fri, 23 May 2008 13:23:03 +1200 (NZST) Date: Fri, 23 May 2008 13:22:55 +1200 From: Mark Kirkwood In-reply-to: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> To: James Seward Message-id: <48361C6F.2050108@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> User-Agent: Thunderbird 2.0.0.9 (X11/20080419) Cc: freebsd-stable@freebsd.org Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 01:23:05 -0000 James Seward wrote: > Hello, > > Two days ago I csup'd my desktop at home, which was running RELENG_7 > from about 7.0-RELEASE time, to bring it up-to-date (still on > RELENG_7). I followed my usual buildkernel/world procedure (the usual > one) which has worked fine all the way since 5.x. After installing > kernel and restarting in single user, it was working fine. However, > following installworld it will not boot. > > It stops immediately after "BTX loader 1.00 BTX version 1.02", but > with the cursor on the line *above* the first "B". Nothing futher > happens, but the system responds to Ctrl-Alt-Del. > > I have managed to start it using the install CD and csup'd back to a > version just before the commit to BTX that moved it to 1.02 (March > 18th, I think). However, that version too hangs after "BTX loader 1.00 > BTX version 1.01". > > My desktop is currently building RELENG_7_0 to see if that will work, > but I won't know that until later as I'm at work and it is at home :) > > The install CD (BTX 1.00/1.01) boots fine. Nothing else changed on my > system between the last successful boot and the unsuccessful one. > > Any suggestions/advice for what I can try next, or what I can do to > help the troubleshooting process? > > My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Deluxe board. > FWIW - I am seeing this too, on a Supermicro P3TDDE. 7-STABLE src from 28-Feb is fine, but Mar, Apr, May code all hangs after printing "loading /boot/defaults/loader.conf" - presumably reading my /boot/loader.conf? Interestingly I can usually get it to boot by escaping to the loader prompt and then just pressing return. Oddly some other machines (Supermicro P3TDER and Asus PRO31J Laptop) behave normally with src from Mar->May. In all cases the canonical procedure from UPDATING was used (buildworld, kernel, reboot single, mergemaster -p, installworld, delete-old, mergemaster, reboot). I happy to help collect some debug info (how do you switch this on for the loader?), tho the machine exhibiting the problem is my workstation (of course)! regards Mark From owner-freebsd-stable@FreeBSD.ORG Fri May 23 01:33:07 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72F7F106567E for ; Fri, 23 May 2008 01:33:07 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 283808FC0A for ; Fri, 23 May 2008 01:33:07 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 24084 invoked from network); 22 May 2008 20:06:26 -0500 Received: from 124-171-240-53.dyn.iinet.net.au (HELO ayiin) (124.171.240.53) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 22 May 2008 20:06:25 -0500 Date: Fri, 23 May 2008 11:05:56 +1000 From: Norberto Meijome To: freebsd-stable@freebsd.org Message-ID: <20080523110556.485afa89@ayiin> In-Reply-To: <48351A70.8090402@icyb.net.ua> References: <48351A70.8090402@icyb.net.ua> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Is it possible to create a directory under /dev? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 01:33:07 -0000 On Thu, 22 May 2008 10:02:08 +0300 Andriy Gapon wrote: > But, by the way, there is a (slightly) more valid reason to want to > create a directory under /dev, I recently had it. For one non-standard > third-party application I needed to create a link to existing device in > a certain subdirectory. I.e.: > /dev/subdirX/device -> /dev/deviceX > And I couldn't do that. > Or maybe link operation for devfs just needs to be taught about creating > subdirectories on demand. I don't know. you can create links with devfs - man devfs.conf [...] link This action creates a symbolic link named arg that points to devname, the name of the device created by devfs(5). [..] B _________________________ {Beto|Norberto|Numard} Meijome ...using the internet as it was originally intended... for the further research of pornography and pipebombs. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-stable@FreeBSD.ORG Fri May 23 06:37:12 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3168A1065674 for ; Fri, 23 May 2008 06:37:12 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from hosted.kievnet.com (hosted.kievnet.com [193.138.144.10]) by mx1.freebsd.org (Postfix) with ESMTP id E40EB8FC1F for ; Fri, 23 May 2008 06:37:11 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost ([127.0.0.1] helo=edge.pp.kiev.ua) by hosted.kievnet.com with esmtpa (Exim 4.62) (envelope-from ) id 1JzQtp-0002w1-4b; Fri, 23 May 2008 09:37:09 +0300 Message-ID: <4836660D.1070801@icyb.net.ua> Date: Fri, 23 May 2008 09:37:01 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.12 (X11/20080320) MIME-Version: 1.0 To: Norberto Meijome , freebsd-stable@freebsd.org References: <48351A70.8090402@icyb.net.ua> In-Reply-To: <48351A70.8090402@icyb.net.ua> References: <20080523110556.485afa89@ayiin> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Is it possible to create a directory under /dev? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 06:37:12 -0000 Norberto Meijome wrote: > On Thu, 22 May 2008 10:02:08 +0300 > Andriy Gapon wrote: > >> But, by the way, there is a (slightly) more valid reason to want to >> create a directory under /dev, I recently had it. For one non-standard >> third-party application I needed to create a link to existing device in >> a certain subdirectory. I.e.: >> /dev/subdirX/device -> /dev/deviceX >> And I couldn't do that. >> Or maybe link operation for devfs just needs to be taught about creating >> subdirectories on demand. I don't know. > > you can create links with devfs - man devfs.conf > [...] > link This action creates a symbolic link named arg that points to > devname, the name of the device created by devfs(5). > [..] I do know that. Maybe I wasn't clear enough: "/dev/deviceX" was existing device node and I needed to create "/dev/subdirX/device" link, where directory "/dev/subdirX" didn't exist. Any help on this? -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Fri May 23 07:02:39 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3CFD1065671; Fri, 23 May 2008 07:02:39 +0000 (UTC) (envelope-from peter@pean.org) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id 5DC4F8FC1C; Fri, 23 May 2008 07:02:39 +0000 (UTC) (envelope-from peter@pean.org) Received: from ironport2.bredband.com (195.54.101.122) by proxy3.bredband.net (7.3.127) id 481183EA0087A5C4; Fri, 23 May 2008 09:02:37 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnQsAAMJNkhV4WMOPGdsb2JhbACBVZBYAQEBAS2dFw Received: from c-0e63e155.166-7-64736c14.cust.bredbandsbolaget.se (HELO pi.pean.org) ([85.225.99.14]) by ironport2.bredband.com with ESMTP; 23 May 2008 09:02:37 +0200 From: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= To: Alexander Leidinger In-Reply-To: <20080522133115.84622rwkp784zi04@webmail.leidinger.net> X-Priority: 3 (Normal) References: <822C1BB6-3591-4CE1-AFEA-8B07B9F5ED8D@pean.org> <483556DB.9070602@quip.cz> <20080522133115.84622rwkp784zi04@webmail.leidinger.net> Message-Id: Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Date: Fri, 23 May 2008 09:02:37 +0200 X-Mailer: Apple Mail (2.919.2) Cc: freebsd-jail@freebsd.org, freebsd-stable@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz> Subject: Re: Jail resource limits X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 07:02:39 -0000 On May 22, 2008, at 1:31 PM, Alexander Leidinger wrote: > Quoting Miroslav Lachman <000.fbsd@quip.cz> (from Thu, 22 May 2008 =20 > 13:19:55 +0200): > >> Peter Ankerst=E5l wrote: >>> http://wiki.freebsd.org/JailResourceLimits > >> If the are somebody with skills and time to resurrect some =20 >> mentioned projects, I am willing to help with testing. >> >> Also it will be good to have some up-to-date wiki page with "all =20 >> the patches" (resource limits, SysV IPC, multiple IPs...) and =20 >> status of this work, so people can easily find and try it. > > Are you willing to update the existing wiki page? If yes register to =20= > the wiki (default style would be MiroslavLachman as the username) =20 > and I give you write access to the page. > Maybe it will be a good idea to create a new page that puts all jail-=20 stuff in one place. I mean, there is more to this then just resource =20 limits. -- Peter Ankerst=E5l peter@pean.org From owner-freebsd-stable@FreeBSD.ORG Fri May 23 09:41:48 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F33D106566B for ; Fri, 23 May 2008 09:41:48 +0000 (UTC) (envelope-from cflists@helinet.de) Received: from smtp.helinet.de (smtp.helinet.de [212.37.47.67]) by mx1.freebsd.org (Postfix) with ESMTP id D8DAB8FC15 for ; Fri, 23 May 2008 09:41:47 +0000 (UTC) (envelope-from cflists@helinet.de) Received: from [10.40.100.254] (helo=webmail.helinet.de) by smtp.helinet.de with esmtp (Exim 4.68) (envelope-from ) id 1JzTL2-00046L-Tw for freebsd-stable@freebsd.org; Fri, 23 May 2008 11:13:26 +0200 Received: from [192.168.99.167] (unknown [192.168.99.167]) by webmail.helinet.de (Postfix) with ESMTP id B9EF93461BF for ; Fri, 23 May 2008 11:13:17 +0200 (CEST) Message-ID: <48368AA8.6040803@helinet.de> Date: Fri, 23 May 2008 11:13:12 +0200 From: "cflists@helinet.de" User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Building enlightenment-devel fails X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 09:41:48 -0000 Hi All, I'm running a FreeBSD 6.3-PRERELEASE and after a portupgrade building enlightenment-devel fails with following error. --snip-- libtool: link: cannot find the library `/usr/local/lib/libecore_dbus.la' or unhandled argument `/usr/local/lib/libecore_dbus.la' gmake[3]: *** [enlightenment] Error 1 --snip-- I googled this problem an found this --snip-- This removes the DBUS check for ecore. Since ecore does not appear to link against any other DBUS port, it is not necessary. In addition enlightenment-devel will not build if ecore does not have DBUS enabled due to a dependency on Ecore_DBus.h in e.h. A better way is welcome. --snip-- The attached patch doesn't solve the problem as I dunno know which Makefile to patch. "/usr/ports/x11/ecore/Makefile" doesn't exist on my machine, only "/usr/ports/x11/ecore-desktop". This was not the first problem with the upgrade. As ports/UPDATING said on 20080312 ecore and evas have been splitted. After uninstalling and clean reinstalling all e-related packages now problems with libcore_dbus.la occure. Please excuse my probably stupid questions here, but I'm relatively new to FreeBSD and try to fix most of my problems by myself. But in here im stuck. Any help will be highly appreciated. Many greetings from Germany, Christoph From owner-freebsd-stable@FreeBSD.ORG Fri May 23 09:42:24 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EA8A1065676 for ; Fri, 23 May 2008 09:42:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 60B4F8FC29 for ; Fri, 23 May 2008 09:42:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m4N9GS6C030959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 May 2008 12:16:28 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m4N9GRvL059552; Fri, 23 May 2008 12:16:27 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m4N9GRQW059551; Fri, 23 May 2008 12:16:27 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 23 May 2008 12:16:27 +0300 From: Kostik Belousov To: Andriy Gapon Message-ID: <20080523091627.GK29770@deviant.kiev.zoral.com.ua> References: <20080523110556.485afa89@ayiin> <4836660D.1070801@icyb.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DfnuYBTqzt7sVGu3" Content-Disposition: inline In-Reply-To: <4836660D.1070801@icyb.net.ua> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua Cc: freebsd-stable@freebsd.org, Norberto Meijome Subject: Re: Is it possible to create a directory under /dev? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 09:42:24 -0000 --DfnuYBTqzt7sVGu3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 23, 2008 at 09:37:01AM +0300, Andriy Gapon wrote: > Norberto Meijome wrote: > >On Thu, 22 May 2008 10:02:08 +0300 > >Andriy Gapon wrote: > > > >>But, by the way, there is a (slightly) more valid reason to want to=20 > >>create a directory under /dev, I recently had it. For one non-standard= =20 > >>third-party application I needed to create a link to existing device in= =20 > >>a certain subdirectory. I.e.: > >>/dev/subdirX/device -> /dev/deviceX > >>And I couldn't do that. > >>Or maybe link operation for devfs just needs to be taught about creatin= g=20 > >>subdirectories on demand. I don't know. > > > >you can create links with devfs - man devfs.conf > >[...] > >link This action creates a symbolic link named arg that points to > > devname, the name of the device created by devfs(5). > >[..] >=20 > I do know that. > Maybe I wasn't clear enough: "/dev/deviceX" was existing device node and= =20 > I needed to create "/dev/subdirX/device" link, where directory=20 > "/dev/subdirX" didn't exist. > Any help on this? As an ugly workaround, you may create an directory on ufs filesystem, populate it with needed symlinks, and then make a symlink /dev/subdirX -> the directory. I would prefer not to allow users to create the directories on the devfs. On the other hand, I like Solaris approach with devfs on /devices and /dev being populated with short symlinks to ../devices. --DfnuYBTqzt7sVGu3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkg2i2oACgkQC3+MBN1Mb4hrBACgoejZ/alwX03AaOG6uU4LC2XN l6oAn0aFP6N2WEmRt7TxGpYBQnDyFCJn =F0gP -----END PGP SIGNATURE----- --DfnuYBTqzt7sVGu3-- From owner-freebsd-stable@FreeBSD.ORG Fri May 23 11:53:16 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA1CC106567E for ; Fri, 23 May 2008 11:53:16 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 789328FC0A for ; Fri, 23 May 2008 11:53:16 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m4NBrDQo036716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 May 2008 14:53:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m4NBrCBS000583; Fri, 23 May 2008 14:53:12 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m4NBrBIj000581; Fri, 23 May 2008 14:53:11 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 23 May 2008 14:53:11 +0300 From: Kostik Belousov To: Mark Kirkwood Message-ID: <20080523115311.GM29770@deviant.kiev.zoral.com.ua> References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <48361C6F.2050108@paradise.net.nz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fNagykWcDoSVAmSd" Content-Disposition: inline In-Reply-To: <48361C6F.2050108@paradise.net.nz> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua Cc: freebsd-stable@freebsd.org, James Seward Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 11:53:17 -0000 --fNagykWcDoSVAmSd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 23, 2008 at 01:22:55PM +1200, Mark Kirkwood wrote: > James Seward wrote: > >Hello, > > > >Two days ago I csup'd my desktop at home, which was running RELENG_7 > >from about 7.0-RELEASE time, to bring it up-to-date (still on > >RELENG_7). I followed my usual buildkernel/world procedure (the usual > >one) which has worked fine all the way since 5.x. After installing > >kernel and restarting in single user, it was working fine. However, > >following installworld it will not boot. > > > >It stops immediately after "BTX loader 1.00 BTX version 1.02", but > >with the cursor on the line *above* the first "B". Nothing futher > >happens, but the system responds to Ctrl-Alt-Del. > > > >I have managed to start it using the install CD and csup'd back to a > >version just before the commit to BTX that moved it to 1.02 (March > >18th, I think). However, that version too hangs after "BTX loader 1.00 > >BTX version 1.01". > > > >My desktop is currently building RELENG_7_0 to see if that will work, > >but I won't know that until later as I'm at work and it is at home :) > > > >The install CD (BTX 1.00/1.01) boots fine. Nothing else changed on my > >system between the last successful boot and the unsuccessful one. > > > >Any suggestions/advice for what I can try next, or what I can do to > >help the troubleshooting process? > > > >My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Deluxe= =20 > >board. > > =20 > FWIW - I am seeing this too, on a Supermicro P3TDDE. 7-STABLE src from=20 > 28-Feb is fine, but Mar, Apr, May code all hangs after printing "loading= =20 > /boot/defaults/loader.conf" - presumably reading my /boot/loader.conf? >=20 > Interestingly I can usually get it to boot by escaping to the loader=20 > prompt and then just pressing return. >=20 > Oddly some other machines (Supermicro P3TDER and Asus PRO31J Laptop)=20 > behave normally with src from Mar->May. >=20 > In all cases the canonical procedure from UPDATING was used (buildworld,= =20 > kernel, reboot single, mergemaster -p, installworld, delete-old,=20 > mergemaster, reboot). >=20 > I happy to help collect some debug info (how do you switch this on for=20 > the loader?), tho the machine exhibiting the problem is my workstation=20 > (of course)! Try to install new bootblock. --fNagykWcDoSVAmSd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkg2sCYACgkQC3+MBN1Mb4il8ACghf8OSbKxfTEbrPiwNYXOtiSQ i5IAoLIEQDLBprILZoG1TphkHe7BeAxV =C9d1 -----END PGP SIGNATURE----- --fNagykWcDoSVAmSd-- From owner-freebsd-stable@FreeBSD.ORG Fri May 23 13:04:20 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22346106566C for ; Fri, 23 May 2008 13:04:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 05CBA8FC28 for ; Fri, 23 May 2008 13:04:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (server.baldwin.cx [208.65.91.234]) by elvis.mu.org (Postfix) with ESMTP id 89A701A4D7C; Fri, 23 May 2008 06:04:19 -0700 (PDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Fri, 23 May 2008 08:29:09 -0400 User-Agent: KMail/1.9.7 References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <48361C6F.2050108@paradise.net.nz> <20080523115311.GM29770@deviant.kiev.zoral.com.ua> In-Reply-To: <20080523115311.GM29770@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805230829.09524.jhb@freebsd.org> Cc: Kostik Belousov , James Seward , Mark Kirkwood Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 13:04:20 -0000 On Friday 23 May 2008 07:53:11 am Kostik Belousov wrote: > On Fri, May 23, 2008 at 01:22:55PM +1200, Mark Kirkwood wrote: > > James Seward wrote: > > >Hello, > > > > > >Two days ago I csup'd my desktop at home, which was running RELENG_7 > > >from about 7.0-RELEASE time, to bring it up-to-date (still on > > >RELENG_7). I followed my usual buildkernel/world procedure (the usual > > >one) which has worked fine all the way since 5.x. After installing > > >kernel and restarting in single user, it was working fine. However, > > >following installworld it will not boot. > > > > > >It stops immediately after "BTX loader 1.00 BTX version 1.02", but > > >with the cursor on the line *above* the first "B". Nothing futher > > >happens, but the system responds to Ctrl-Alt-Del. > > > > > >I have managed to start it using the install CD and csup'd back to a > > >version just before the commit to BTX that moved it to 1.02 (March > > >18th, I think). However, that version too hangs after "BTX loader 1.00 > > >BTX version 1.01". > > > > > >My desktop is currently building RELENG_7_0 to see if that will work, > > >but I won't know that until later as I'm at work and it is at home :) > > > > > >The install CD (BTX 1.00/1.01) boots fine. Nothing else changed on my > > >system between the last successful boot and the unsuccessful one. > > > > > >Any suggestions/advice for what I can try next, or what I can do to > > >help the troubleshooting process? > > > > > >My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Deluxe > > >board. > > > > FWIW - I am seeing this too, on a Supermicro P3TDDE. 7-STABLE src from > > 28-Feb is fine, but Mar, Apr, May code all hangs after printing "loading > > /boot/defaults/loader.conf" - presumably reading my /boot/loader.conf? > > > > Interestingly I can usually get it to boot by escaping to the loader > > prompt and then just pressing return. > > > > Oddly some other machines (Supermicro P3TDER and Asus PRO31J Laptop) > > behave normally with src from Mar->May. > > > > In all cases the canonical procedure from UPDATING was used (buildworld, > > kernel, reboot single, mergemaster -p, installworld, delete-old, > > mergemaster, reboot). > > > > I happy to help collect some debug info (how do you switch this on for > > the loader?), tho the machine exhibiting the problem is my workstation > > (of course)! > > Try to install new bootblock. I would be wary of that as it might make things worse? These problems are all from starting /boot/loader. boot2 is still working fine and thus there is still the possiblity of using boot2 to load /boot/loader.old as a workaround. If you update boot2 and it breaks you can't fix that w/o booting off of some other media such as a CD. Debugging these hangs is not easy to do remotely. If you know assembly then there are some things you can play with. For example, in the case where it hangs after printing out the BTX version (from btxldr.S) you could start adding debugging to btx.S to print out '.' characters in various places and see how many get printed out before it hangs. However, doing this requires familiarity with assembly and is a lot easier with physical access to a box. -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Fri May 23 13:23:21 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4E96106566C for ; Fri, 23 May 2008 13:23:21 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.179]) by mx1.freebsd.org (Postfix) with ESMTP id 8DED78FC21 for ; Fri, 23 May 2008 13:23:21 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: by el-out-1112.google.com with SMTP id m34so380463ele.13 for ; Fri, 23 May 2008 06:23:20 -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=EX5/3LzJJW5KmTu8S4uyFibpzWxUYNccXZZdkfPQBUQ=; b=CXBhtY5Bkt36gxHOVvzxVFZQdR/8i8/FDv4JwaneuLfTAQ1I8ukdFtqS9GFBJ5vnXjLRc2n2TQAr3HFWpcza8mcLITvjTbwAQ/8lltdm2JaNJHoLuak1Duox/IWG05enZEEOKSSgyyKUq+tcDtSyvoIbQxEmx3a8ysmoEfFe4/I= 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=MF0vrCnx/CC3B4EL2jXEDRIg5LcunYPLtlWQ5uj/o08qI+96i1MQEzbX0Re8dzvddO2rgHc0L2/irGwn1TQwCmS3wEsZKdxAoK9kGWYwM1T/jyoIP4NgHUkLINwjErJ4rhsLLSemO8sKv2s3svqEcNz7a+7CxeXVbl6J6Tu4+Bw= Received: by 10.114.95.1 with SMTP id s1mr1735823wab.13.1211549000344; Fri, 23 May 2008 06:23:20 -0700 (PDT) Received: by 10.115.91.7 with HTTP; Fri, 23 May 2008 06:23:20 -0700 (PDT) Message-ID: <720051dc0805230623r3d5b5234sa9d3d167656d7995@mail.gmail.com> Date: Fri, 23 May 2008 14:23:20 +0100 From: "James Seward" To: "John Baldwin" In-Reply-To: <200805230829.09524.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <48361C6F.2050108@paradise.net.nz> <20080523115311.GM29770@deviant.kiev.zoral.com.ua> <200805230829.09524.jhb@freebsd.org> Cc: Kostik Belousov , freebsd-stable@freebsd.org, Mark Kirkwood Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 13:23:22 -0000 On Fri, May 23, 2008 at 1:29 PM, John Baldwin wrote: > If you update boot2 and it breaks you can't fix that w/o booting off of some > other media such as a CD. This is where I'm at anyway :) Oh, I forgot to mention I'm booting with grub (which then hands over to BTX if I choose my FreeBSD option). I guess I should try getting rid of that temporarily. Jeremy, I do have a couple of lines in loader.conf but off hand I can't remember what precisely. I think it's a DMA hint, and disabling AGP (a solution I think sos@ came up with for problem I had some time during 6.2's release cycle). Unfortunately I was busy last night so couldn't try anything further, but I should be able to tonight and over the weekend. Thanks, James From owner-freebsd-stable@FreeBSD.ORG Fri May 23 13:26:59 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7AA71065671; Fri, 23 May 2008 13:26:59 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 5EDC28FC1C; Fri, 23 May 2008 13:26:59 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m4NDQkWx039695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 May 2008 16:26:46 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m4NDQjkS073977; Fri, 23 May 2008 16:26:45 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m4NDQjLM073976; Fri, 23 May 2008 16:26:45 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 23 May 2008 16:26:45 +0300 From: Kostik Belousov To: John Baldwin Message-ID: <20080523132645.GO29770@deviant.kiev.zoral.com.ua> References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <48361C6F.2050108@paradise.net.nz> <20080523115311.GM29770@deviant.kiev.zoral.com.ua> <200805230829.09524.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/d7X7C0hV/blnKmH" Content-Disposition: inline In-Reply-To: <200805230829.09524.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua Cc: freebsd-stable@freebsd.org, James Seward , Mark Kirkwood Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 13:26:59 -0000 --/d7X7C0hV/blnKmH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 23, 2008 at 08:29:09AM -0400, John Baldwin wrote: > On Friday 23 May 2008 07:53:11 am Kostik Belousov wrote: > > On Fri, May 23, 2008 at 01:22:55PM +1200, Mark Kirkwood wrote: > > > James Seward wrote: > > > >Hello, > > > > > > > >Two days ago I csup'd my desktop at home, which was running RELENG_7 > > > >from about 7.0-RELEASE time, to bring it up-to-date (still on > > > >RELENG_7). I followed my usual buildkernel/world procedure (the usual > > > >one) which has worked fine all the way since 5.x. After installing > > > >kernel and restarting in single user, it was working fine. However, > > > >following installworld it will not boot. > > > > > > > >It stops immediately after "BTX loader 1.00 BTX version 1.02", but > > > >with the cursor on the line *above* the first "B". Nothing futher > > > >happens, but the system responds to Ctrl-Alt-Del. > > > > > > > >I have managed to start it using the install CD and csup'd back to a > > > >version just before the commit to BTX that moved it to 1.02 (March > > > >18th, I think). However, that version too hangs after "BTX loader 1.= 00 > > > >BTX version 1.01". > > > > > > > >My desktop is currently building RELENG_7_0 to see if that will work, > > > >but I won't know that until later as I'm at work and it is at home :) > > > > > > > >The install CD (BTX 1.00/1.01) boots fine. Nothing else changed on my > > > >system between the last successful boot and the unsuccessful one. > > > > > > > >Any suggestions/advice for what I can try next, or what I can do to > > > >help the troubleshooting process? > > > > > > > >My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Delu= xe > > > >board. > > > > > > FWIW - I am seeing this too, on a Supermicro P3TDDE. 7-STABLE src from > > > 28-Feb is fine, but Mar, Apr, May code all hangs after printing "load= ing > > > /boot/defaults/loader.conf" - presumably reading my /boot/loader.conf? > > > > > > Interestingly I can usually get it to boot by escaping to the loader > > > prompt and then just pressing return. > > > > > > Oddly some other machines (Supermicro P3TDER and Asus PRO31J Laptop) > > > behave normally with src from Mar->May. > > > > > > In all cases the canonical procedure from UPDATING was used (buildwor= ld, > > > kernel, reboot single, mergemaster -p, installworld, delete-old, > > > mergemaster, reboot). > > > > > > I happy to help collect some debug info (how do you switch this on for > > > the loader?), tho the machine exhibiting the problem is my workstation > > > (of course)! > > > > Try to install new bootblock. >=20 > I would be wary of that as it might make things worse? These problems ar= e all=20 > from starting /boot/loader. boot2 is still working fine and thus there i= s=20 > still the possiblity of using boot2 to load /boot/loader.old as a workaro= und. =20 > If you update boot2 and it breaks you can't fix that w/o booting off of s= ome=20 > other media such as a CD. >=20 > Debugging these hangs is not easy to do remotely. If you know assembly t= hen=20 > there are some things you can play with. For example, in the case where = it=20 > hangs after printing out the BTX version (from btxldr.S) you could start= =20 > adding debugging to btx.S to print out '.' characters in various places a= nd=20 > see how many get printed out before it hangs. However, doing this requir= es=20 > familiarity with assembly and is a lot easier with physical access to a b= ox. When I worked on my version of the realbtx, I sometimes experienced hangs w= hen vm86 btx run before real-mode btx. I did not investigated it then, only not= ed the issue. --/d7X7C0hV/blnKmH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkg2xhQACgkQC3+MBN1Mb4hhSACgvaElheqN3e6lURrW9Ij2hK2M wXEAoIXYZPfhVHtb5RZ3bhTIlkjgg8XV =1xaa -----END PGP SIGNATURE----- --/d7X7C0hV/blnKmH-- From owner-freebsd-stable@FreeBSD.ORG Fri May 23 14:33:10 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE91A106564A for ; Fri, 23 May 2008 14:33:10 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 6B9EB8FC15 for ; Fri, 23 May 2008 14:33:10 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id A0057744004 for ; Fri, 23 May 2008 17:33:08 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r2SUT8hJdCwc for ; Fri, 23 May 2008 17:33:08 +0300 (EEST) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [91.198.50.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id C044A744003 for ; Fri, 23 May 2008 17:33:07 +0300 (EEST) Message-ID: <4836D5A2.5050404@icyb.net.ua> Date: Fri, 23 May 2008 17:33:06 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.14 (X11/20080513) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: btw: kernel printing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 14:33:10 -0000 This is RELENG_7, i386, uni-processor(!), SCHED_ULE: kernel: umass0: at uhub3 port 2 (addr 2) disconnected kernel: (da0:umass-sim0:0:0:0): loGEOM_LABEL: Label ufs/extbackup removed. kernel: st device kernel: (da0:umass-sim0:0:0:0): removing device entry kernel: umass0: detached So apparently not only SMP is affected. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Fri May 23 16:00:54 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC1201065677 for ; Fri, 23 May 2008 16:00:54 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 1973E8FC15 for ; Fri, 23 May 2008 16:00:53 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m4NG0o1t025983; Fri, 23 May 2008 18:00:52 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m4NG0oWq025982; Fri, 23 May 2008 18:00:50 +0200 (CEST) (envelope-from olli) Date: Fri, 23 May 2008 18:00:50 +0200 (CEST) Message-Id: <200805231600.m4NG0oWq025982@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, avg@icyb.net.ua In-Reply-To: <48351A70.8090402@icyb.net.ua> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 23 May 2008 18:00:53 +0200 (CEST) Cc: Subject: Re: Is it possible to create a directory under /dev? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, avg@icyb.net.ua List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 16:00:54 -0000 Andriy Gapon wrote: > But, by the way, there is a (slightly) more valid reason to want to > create a directory under /dev, I recently had it. For one non-standard > third-party application I needed to create a link to existing device in > a certain subdirectory. I.e.: > /dev/subdirX/device -> /dev/deviceX > And I couldn't do that. You could create a directory elsewhere and use UNIONFS to merge it with your existing /dev. I haven't tried this, but I think it should work. # mkdir /mydev # mount -t unionfs -o below /mydev /dev # cd /mydev # mkdir subdirX # ln -s /dev/deviceX subdirX/device The "-o below" option is used so that any modifications on /dev -- such as creating symlinks -- still happen on the real /dev, not on /mydev. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Passwords are like underwear. You don't share them, you don't hang them on your monitor or under your keyboard, you don't email them, or put them on a web site, and you must change them very often. From owner-freebsd-stable@FreeBSD.ORG Fri May 23 16:16:25 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEF7A106566B for ; Fri, 23 May 2008 16:16:25 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 088C38FC0C for ; Fri, 23 May 2008 16:16:24 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m4NGGNcx026612; Fri, 23 May 2008 18:16:23 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m4NGGNkK026611; Fri, 23 May 2008 18:16:23 +0200 (CEST) (envelope-from olli) Date: Fri, 23 May 2008 18:16:23 +0200 (CEST) Message-Id: <200805231616.m4NGGNkK026611@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, unga888@yahoo.com In-Reply-To: <69853.16097.qm@web57006.mail.re3.yahoo.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 23 May 2008 18:16:24 +0200 (CEST) Cc: Subject: Re: sched_ule performance on single CPU X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, unga888@yahoo.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 16:16:25 -0000 Unga wrote: > Idle-prio process which generates lot of I/O is > understandable. > > But when you either record or playback audio as > realtime-prio and you opened up a pdf document as > normal-prio, can the pdf rendering in normal-prio > breaks down the realtime audio process? I don't think > pdf rendering is I/O intensive. I think it can. Opening a PDF causes quite a lot of I/O. The viewer application has to be paged in from disk, all the libraries and configuration files it uses, possibly even parts of the X server have to be paged in, depending on what features of the X protocol and which extensions the viewer application uses. And of course the PDF itself has to be loaded (which might be not small), and finally all fonts used by the PDF have to be loaded by the viewer application. On the other hand, the default buffer space of the audio driver is quite small (the reason for that is to reduce latency for sound effects in games). So even a very short I/O congestion can cause an audible hiccup in audio playback or recording. > Using a faster processor or multi-core may solve this > problem, No, faster I/O hardware will solve it, or hardware that better supports concurrent access. It's also quite possible that improvements in FreeBSD's disk system might solve the problem, i.e. by reordering disk access in a more efficient manner, but this is very non-trivial. But all of that is not a matter of the process scheduler. Anotehr solution is to use more aggressive buffering by either the audio application or the audio driver. The latter can be set via sysctl. The former is a matter of your audio application. I use mpg123 for mp3 playback on a 3-year old UP machine. It has a buffer option which I use. E.g. "mpg123 -b5000" will use 5 MB buffer; that's enough for half a minute of audio. I do not use renice, idprio, rtprio or anything, but still audio playback works perfectly fine, even during a buildworld. Or when opening a PDF. No hiccups. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- RFC 1925 From owner-freebsd-stable@FreeBSD.ORG Fri May 23 19:57:59 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0E5F106567C for ; Fri, 23 May 2008 19:57:59 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 8EA9F8FC25 for ; Fri, 23 May 2008 19:57:59 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (server.baldwin.cx [208.65.91.234]) by elvis.mu.org (Postfix) with ESMTP id 0D4991A4D82; Fri, 23 May 2008 12:57:58 -0700 (PDT) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m4NJvj02019389; Fri, 23 May 2008 15:57:46 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Kostik Belousov Date: Fri, 23 May 2008 12:38:10 -0400 User-Agent: KMail/1.9.7 References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <200805230829.09524.jhb@freebsd.org> <20080523132645.GO29770@deviant.kiev.zoral.com.ua> In-Reply-To: <20080523132645.GO29770@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805231238.10786.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 23 May 2008 15:57:46 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/7222/Fri May 23 08:53:12 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.1 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00, DATE_IN_PAST_03_06 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-stable@freebsd.org, James Seward , Mark Kirkwood Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 19:57:59 -0000 On Friday 23 May 2008 09:26:45 am Kostik Belousov wrote: > On Fri, May 23, 2008 at 08:29:09AM -0400, John Baldwin wrote: > > On Friday 23 May 2008 07:53:11 am Kostik Belousov wrote: > > > On Fri, May 23, 2008 at 01:22:55PM +1200, Mark Kirkwood wrote: > > > > James Seward wrote: > > > > >Hello, > > > > > > > > > >Two days ago I csup'd my desktop at home, which was running RELENG_7 > > > > >from about 7.0-RELEASE time, to bring it up-to-date (still on > > > > >RELENG_7). I followed my usual buildkernel/world procedure (the usual > > > > >one) which has worked fine all the way since 5.x. After installing > > > > >kernel and restarting in single user, it was working fine. However, > > > > >following installworld it will not boot. > > > > > > > > > >It stops immediately after "BTX loader 1.00 BTX version 1.02", but > > > > >with the cursor on the line *above* the first "B". Nothing futher > > > > >happens, but the system responds to Ctrl-Alt-Del. > > > > > > > > > >I have managed to start it using the install CD and csup'd back to a > > > > >version just before the commit to BTX that moved it to 1.02 (March > > > > >18th, I think). However, that version too hangs after "BTX loader 1.00 > > > > >BTX version 1.01". > > > > > > > > > >My desktop is currently building RELENG_7_0 to see if that will work, > > > > >but I won't know that until later as I'm at work and it is at home :) > > > > > > > > > >The install CD (BTX 1.00/1.01) boots fine. Nothing else changed on my > > > > >system between the last successful boot and the unsuccessful one. > > > > > > > > > >Any suggestions/advice for what I can try next, or what I can do to > > > > >help the troubleshooting process? > > > > > > > > > >My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Deluxe > > > > >board. > > > > > > > > FWIW - I am seeing this too, on a Supermicro P3TDDE. 7-STABLE src from > > > > 28-Feb is fine, but Mar, Apr, May code all hangs after printing "loading > > > > /boot/defaults/loader.conf" - presumably reading my /boot/loader.conf? > > > > > > > > Interestingly I can usually get it to boot by escaping to the loader > > > > prompt and then just pressing return. > > > > > > > > Oddly some other machines (Supermicro P3TDER and Asus PRO31J Laptop) > > > > behave normally with src from Mar->May. > > > > > > > > In all cases the canonical procedure from UPDATING was used (buildworld, > > > > kernel, reboot single, mergemaster -p, installworld, delete-old, > > > > mergemaster, reboot). > > > > > > > > I happy to help collect some debug info (how do you switch this on for > > > > the loader?), tho the machine exhibiting the problem is my workstation > > > > (of course)! > > > > > > Try to install new bootblock. > > > > I would be wary of that as it might make things worse? These problems are all > > from starting /boot/loader. boot2 is still working fine and thus there is > > still the possiblity of using boot2 to load /boot/loader.old as a workaround. > > If you update boot2 and it breaks you can't fix that w/o booting off of some > > other media such as a CD. > > > > Debugging these hangs is not easy to do remotely. If you know assembly then > > there are some things you can play with. For example, in the case where it > > hangs after printing out the BTX version (from btxldr.S) you could start > > adding debugging to btx.S to print out '.' characters in various places and > > see how many get printed out before it hangs. However, doing this requires > > familiarity with assembly and is a lot easier with physical access to a box. > > When I worked on my version of the realbtx, I sometimes experienced hangs when > vm86 btx run before real-mode btx. I did not investigated it then, only noted > the issue. We could get a hang if a vm86 request was ever done with interrupts disabled for some reason. I'll see if I can add some assertions to make BTX explicitly panic if that happens. -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Fri May 23 22:11:17 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA0D91065680 for ; Fri, 23 May 2008 22:11:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id A63A68FC13 for ; Fri, 23 May 2008 22:11:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (server.baldwin.cx [208.65.91.234]) by elvis.mu.org (Postfix) with ESMTP id 444B41A4D82; Fri, 23 May 2008 15:11:17 -0700 (PDT) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m4NMB8aI020304; Fri, 23 May 2008 18:11:09 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Kostik Belousov Date: Fri, 23 May 2008 18:11:01 -0400 User-Agent: KMail/1.9.7 References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <200805230829.09524.jhb@freebsd.org> <20080523132645.GO29770@deviant.kiev.zoral.com.ua> In-Reply-To: <20080523132645.GO29770@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805231811.01936.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 23 May 2008 18:11:09 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/7222/Fri May 23 08:53:12 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-stable@freebsd.org, James Seward , Mark Kirkwood Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 22:11:18 -0000 On Friday 23 May 2008 09:26:45 am Kostik Belousov wrote: > On Fri, May 23, 2008 at 08:29:09AM -0400, John Baldwin wrote: > > On Friday 23 May 2008 07:53:11 am Kostik Belousov wrote: > > > On Fri, May 23, 2008 at 01:22:55PM +1200, Mark Kirkwood wrote: > > > > James Seward wrote: > > > > >Hello, > > > > > > > > > >Two days ago I csup'd my desktop at home, which was running RELENG_7 > > > > >from about 7.0-RELEASE time, to bring it up-to-date (still on > > > > >RELENG_7). I followed my usual buildkernel/world procedure (the usual > > > > >one) which has worked fine all the way since 5.x. After installing > > > > >kernel and restarting in single user, it was working fine. However, > > > > >following installworld it will not boot. > > > > > > > > > >It stops immediately after "BTX loader 1.00 BTX version 1.02", but > > > > >with the cursor on the line *above* the first "B". Nothing futher > > > > >happens, but the system responds to Ctrl-Alt-Del. > > > > > > > > > >I have managed to start it using the install CD and csup'd back to a > > > > >version just before the commit to BTX that moved it to 1.02 (March > > > > >18th, I think). However, that version too hangs after "BTX loader 1.00 > > > > >BTX version 1.01". > > > > > > > > > >My desktop is currently building RELENG_7_0 to see if that will work, > > > > >but I won't know that until later as I'm at work and it is at home :) > > > > > > > > > >The install CD (BTX 1.00/1.01) boots fine. Nothing else changed on my > > > > >system between the last successful boot and the unsuccessful one. > > > > > > > > > >Any suggestions/advice for what I can try next, or what I can do to > > > > >help the troubleshooting process? > > > > > > > > > >My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Deluxe > > > > >board. > > > > > > > > FWIW - I am seeing this too, on a Supermicro P3TDDE. 7-STABLE src from > > > > 28-Feb is fine, but Mar, Apr, May code all hangs after printing "loading > > > > /boot/defaults/loader.conf" - presumably reading my /boot/loader.conf? > > > > > > > > Interestingly I can usually get it to boot by escaping to the loader > > > > prompt and then just pressing return. > > > > > > > > Oddly some other machines (Supermicro P3TDER and Asus PRO31J Laptop) > > > > behave normally with src from Mar->May. > > > > > > > > In all cases the canonical procedure from UPDATING was used (buildworld, > > > > kernel, reboot single, mergemaster -p, installworld, delete-old, > > > > mergemaster, reboot). > > > > > > > > I happy to help collect some debug info (how do you switch this on for > > > > the loader?), tho the machine exhibiting the problem is my workstation > > > > (of course)! > > > > > > Try to install new bootblock. > > > > I would be wary of that as it might make things worse? These problems are all > > from starting /boot/loader. boot2 is still working fine and thus there is > > still the possiblity of using boot2 to load /boot/loader.old as a workaround. > > If you update boot2 and it breaks you can't fix that w/o booting off of some > > other media such as a CD. > > > > Debugging these hangs is not easy to do remotely. If you know assembly then > > there are some things you can play with. For example, in the case where it > > hangs after printing out the BTX version (from btxldr.S) you could start > > adding debugging to btx.S to print out '.' characters in various places and > > see how many get printed out before it hangs. However, doing this requires > > familiarity with assembly and is a lot easier with physical access to a box. > > When I worked on my version of the realbtx, I sometimes experienced hangs when > vm86 btx run before real-mode btx. I did not investigated it then, only noted > the issue. > Try this patch. I'm not 100% certain this will fix it as I can't reproduce the issue, but I think it might help. Specifically, when the boot code makes a v86 call, the loader/boot2/whatever swaps in/out a new set of registers via the v86 structure including the eflags register. However, none of the boot programs actually initialized the v86 structure. Thus, the BIOS routines would start off running with whatever garbage was in v86.efl when each boot program started. This meant that we could end up invoking BIOS routines with interrupts disabled, and I think this might explain a hard hang (if a BIOS routine was waiting for an interrupt the interrupt would never fire). The patch fixes all the boot programs to initialize v86 to a better known state. At the least it sets v86.efl to a sane value (0x202) rather than random. (The random might have always been 0x0 BTW, not sure on that one.) --- //depot/vendor/freebsd/src/sys/boot/i386/boot2/boot2.c 2008/02/28 17:10:57 +++ //depot/user/jhb/boot/sys/boot/i386/boot2/boot2.c 2008/05/23 21:59:59 @@ -24,6 +24,7 @@ #include #include +#include #include @@ -83,8 +84,8 @@ #define NDEV 3 #define MEM_BASE 0x12 #define MEM_EXT 0x15 -#define V86_CY(x) ((x) & 1) -#define V86_ZR(x) ((x) & 0x40) +#define V86_CY(x) ((x) & PSL_C) +#define V86_ZR(x) ((x) & PSL_Z) #define DRV_HARD 0x80 #define DRV_MASK 0x7f @@ -237,6 +238,7 @@ dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); v86.ctl = V86_FLAGS; + v86.efl = PSL_RESERVED_DEFAULT | PSL_I; dsk.drive = *(uint8_t *)PTOV(ARGS); dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; dsk.unit = dsk.drive & DRV_MASK; --- //depot/vendor/freebsd/src/sys/boot/i386/gptboot/gptboot.c 2008/02/28 17:10:57 +++ //depot/user/jhb/boot/sys/boot/i386/gptboot/gptboot.c 2008/05/23 21:59:59 @@ -23,6 +23,7 @@ #include #include +#include #include @@ -81,8 +82,8 @@ #define NDEV 3 #define MEM_BASE 0x12 #define MEM_EXT 0x15 -#define V86_CY(x) ((x) & 1) -#define V86_ZR(x) ((x) & 0x40) +#define V86_CY(x) ((x) & PSL_C) +#define V86_ZR(x) ((x) & PSL_Z) #define DRV_HARD 0x80 #define DRV_MASK 0x7f @@ -235,6 +236,7 @@ dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); v86.ctl = V86_FLAGS; + v86.efl = PSL_RESERVED_DEFAULT | PSL_I; dsk.drive = *(uint8_t *)PTOV(ARGS); dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; dsk.unit = dsk.drive & DRV_MASK; --- //depot/vendor/freebsd/src/sys/boot/i386/loader/main.c 2007/10/24 04:07:14 +++ //depot/user/jhb/boot/sys/boot/i386/loader/main.c 2008/05/23 21:59:59 @@ -35,6 +35,7 @@ #include #include #include +#include #include #include "bootstrap.h" @@ -86,6 +87,10 @@ initial_bootdev = kargs->bootdev; initial_bootinfo = kargs->bootinfo ? (struct bootinfo *)PTOV(kargs->bootinfo) : NULL; + /* Initialize the v86 register set to a known-good state. */ + bzero(&v86, sizeof(v86)); + v86.efl = PSL_RESERVED_DEFAULT | PSL_I; + /* * Initialise the heap as early as possible. Once this is done, malloc() is usable. */ --- //depot/vendor/freebsd/src/sys/boot/pc98/loader/main.c 2007/10/24 11:57:58 +++ //depot/user/jhb/boot/sys/boot/pc98/loader/main.c 2008/05/23 22:03:45 @@ -35,6 +35,7 @@ #include #include #include +#include #include #include "bootstrap.h" @@ -86,6 +87,10 @@ initial_bootdev = kargs->bootdev; initial_bootinfo = kargs->bootinfo ? (struct bootinfo *)PTOV(kargs->bootinfo) : NULL; + /* Initialize the v86 register set to a known-good state. */ + bzero(&v86, sizeof(v86)); + v86.efl = PSL_RESERVED_DEFAULT | PSL_I; + /* * Initialise the heap as early as possible. Once this is done, malloc() is usable. */ -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Sat May 24 01:37:47 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 905091065671 for ; Sat, 24 May 2008 01:37:47 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57010.mail.re3.yahoo.com (web57010.mail.re3.yahoo.com [66.196.97.114]) by mx1.freebsd.org (Postfix) with SMTP id 3CB6A8FC14 for ; Sat, 24 May 2008 01:37:47 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 1883 invoked by uid 60001); 24 May 2008 01:37:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=V2n56v1cbUqKy2RFBqwp3DU22ilwZbx5WZM+oiqBnSalKGgif5hnAHUBCTA4zqsE77K7F47yBRuM3JFd0Bz+CG4huAVHpPR5cAwnW3SWACIWptvGDiiGWdOQh2F83YHb9TeCYdm+nv+6pBmwndR66zO11a3Wdw9zzvWPrLE6lII=; X-YMail-OSG: Fp_xhooVM1ltzyUB2i2KB1PTZbpcrzsVBVMMYLV1rttelqTDdeM0jbnx6bWawaGUZ5ClkoxluX12FmVPig1p_22HTsEdeDUATinSVQ-- Received: from [165.21.155.108] by web57010.mail.re3.yahoo.com via HTTP; Fri, 23 May 2008 18:37:46 PDT Date: Fri, 23 May 2008 18:37:46 -0700 (PDT) From: Unga To: freebsd-stable@FreeBSD.ORG In-Reply-To: <200805231616.m4NGGNkK026611@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <555870.1659.qm@web57010.mail.re3.yahoo.com> Cc: Oliver Fromme Subject: Re: sched_ule performance on single CPU X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 01:37:47 -0000 --- Oliver Fromme wrote: > Unga wrote: > > Idle-prio process which generates lot of I/O is > > understandable. > > > > But when you either record or playback audio as > > realtime-prio and you opened up a pdf document as > > normal-prio, can the pdf rendering in normal-prio > > breaks down the realtime audio process? I don't > think > > pdf rendering is I/O intensive. > > I think it can. > > Opening a PDF causes quite a lot of I/O. The viewer > application has to be paged in from disk, all the > libraries and configuration files it uses, possibly > even parts of the X server have to be paged in, > depending on what features of the X protocol and > which extensions the viewer application uses. > And of course the PDF itself has to be loaded (which > might be not small), and finally all fonts used by > the PDF have to be loaded by the viewer application. > > On the other hand, the default buffer space of the > audio driver is quite small (the reason for that is > to reduce latency for sound effects in games). So > even a very short I/O congestion can cause an > audible > hiccup in audio playback or recording. > > > Using a faster processor or multi-core may solve > this > > problem, > > No, faster I/O hardware will solve it, or hardware > that better supports concurrent access. It's also > quite possible that improvements in FreeBSD's disk > system might solve the problem, i.e. by reordering > disk access in a more efficient manner, but this is > very non-trivial. But all of that is not a matter > of the process scheduler. > > Anotehr solution is to use more aggressive buffering > by either the audio application or the audio driver. > The latter can be set via sysctl. The former is a > matter of your audio application. > > I use mpg123 for mp3 playback on a 3-year old UP > machine. It has a buffer option which I use. > E.g. "mpg123 -b5000" will use 5 MB buffer; that's > enough for half a minute of audio. I do not use > renice, idprio, rtprio or anything, but still > audio playback works perfectly fine, even during > a buildworld. Or when opening a PDF. No hiccups. > Noted your points. When open an pdf has two types of scenarios in FreeBSD: 1. When X run as a realtime-prio process, X go mad and swallow up almost all of CPU cycles, making audio hiccups. 2. When X run as a normal-prio process, X behaves well and rarely gets an audible hiccup. Why X behave different under different priority categories? Isn't this scheduler related? I wonder the issue I mentioned, open a pdf while playback audio, is it a issue on Apple Mac OSX? Could somebody give some light here who uses an Apple Mac OSX on this list? If it is not an issue in Mac OSX, how they have overcome it then? Kind regards Unga From owner-freebsd-stable@FreeBSD.ORG Sat May 24 08:49:08 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 758) id BF1A71065674; Sat, 24 May 2008 08:49:08 +0000 (UTC) Date: Sat, 24 May 2008 08:49:08 +0000 From: Kris Kennaway To: Vivek Khera Message-ID: <20080524084908.GK20868@hub.freebsd.org> References: <0FDDD3FE-395C-494C-8325-99FDB2BAEEB5@khera.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0FDDD3FE-395C-494C-8325-99FDB2BAEEB5@khera.org> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Stable Subject: Re: jail process limits X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 08:49:08 -0000 On Thu, May 22, 2008 at 03:26:13PM -0400, Vivek Khera wrote: > While we're on the topic of jail resource limits, I think I'll ask my > question again... I asked last month but got no response... > > > I've got a jail server (FreeBSD 6.3/amd64) which runs a bunch of web > site development environments. There is an apache or lighttpd running > in each jail as user httpd (same UID on base system and each jail). > > On the jail host, I counted 231 processes owned by httpd. > > If I try to start an application server (or any process) as user httpd > in one of the jails, it exits immediately with "Cannot fork: Resource > temporarily unavailable". Even if I "su httpd" I get the same error > on any command I try to run such as "ls". If I run the same on the > jail host, it has no problems. The jail itself only has 34 processes > running. > > On the jail host, the following is logged: > > Apr 22 16:34:38 staging kernel: maxproc limit exceeded by uid 80, > please see tuning(7) and login.conf(5). > Can anyone tell me where to look to find out what is limiting user > httpd from creating new processes inside the jail, and what exactly > that limit is? More importantly, how to increase it. I'd start by instrumenting the code path that leads to the above kernel printf, to try and differentiate any possible causes. Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe From owner-freebsd-stable@FreeBSD.ORG Sat May 24 15:01:37 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAB121065672 for ; Sat, 24 May 2008 15:01:37 +0000 (UTC) (envelope-from pho@holm.cc) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.freebsd.org (Postfix) with SMTP id 59D2C8FC18 for ; Sat, 24 May 2008 15:01:36 +0000 (UTC) (envelope-from pho@holm.cc) Received: (qmail 12178 invoked from network); 24 May 2008 14:34:55 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 24 May 2008 14:34:55 -0000 X-pair-Authenticated: 87.58.145.180 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.6/8.13.6) with ESMTP id m4OEYsj9051157; Sat, 24 May 2008 16:34:54 +0200 (CEST) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.6/8.13.6/Submit) id m4OEYrnU051156; Sat, 24 May 2008 16:34:53 +0200 (CEST) (envelope-from pho) Date: Sat, 24 May 2008 16:34:53 +0200 From: Peter Holm To: John Baldwin Message-ID: <20080524143453.GA51069@peter.osted.lan> References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <200805230829.09524.jhb@freebsd.org> <20080523132645.GO29770@deviant.kiev.zoral.com.ua> <200805231811.01936.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805231811.01936.jhb@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: Kostik Belousov , freebsd-stable@freebsd.org, Mark Kirkwood , James Seward Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 15:01:37 -0000 On Fri, May 23, 2008 at 06:11:01PM -0400, John Baldwin wrote: > On Friday 23 May 2008 09:26:45 am Kostik Belousov wrote: > > On Fri, May 23, 2008 at 08:29:09AM -0400, John Baldwin wrote: > > > On Friday 23 May 2008 07:53:11 am Kostik Belousov wrote: > > > > On Fri, May 23, 2008 at 01:22:55PM +1200, Mark Kirkwood wrote: > > > > > James Seward wrote: > > > > > >Hello, > > > > > > > > > > > >Two days ago I csup'd my desktop at home, which was running RELENG_7 > > > > > >from about 7.0-RELEASE time, to bring it up-to-date (still on > > > > > >RELENG_7). I followed my usual buildkernel/world procedure (the usual > > > > > >one) which has worked fine all the way since 5.x. After installing > > > > > >kernel and restarting in single user, it was working fine. However, > > > > > >following installworld it will not boot. > > > > > > > > > > > >It stops immediately after "BTX loader 1.00 BTX version 1.02", but > > > > > >with the cursor on the line *above* the first "B". Nothing futher > > > > > >happens, but the system responds to Ctrl-Alt-Del. > > > > > > > > > > > >I have managed to start it using the install CD and csup'd back to a > > > > > >version just before the commit to BTX that moved it to 1.02 (March > > > > > >18th, I think). However, that version too hangs after "BTX loader 1.00 > > > > > >BTX version 1.01". > > > > > > > > > > > >My desktop is currently building RELENG_7_0 to see if that will work, > > > > > >but I won't know that until later as I'm at work and it is at home :) > > > > > > > > > > > >The install CD (BTX 1.00/1.01) boots fine. Nothing else changed on my > > > > > >system between the last successful boot and the unsuccessful one. > > > > > > > > > > > >Any suggestions/advice for what I can try next, or what I can do to > > > > > >help the troubleshooting process? > > > > > > > > > > > >My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Deluxe > > > > > >board. > > > > > > > > > > FWIW - I am seeing this too, on a Supermicro P3TDDE. 7-STABLE src from > > > > > 28-Feb is fine, but Mar, Apr, May code all hangs after printing "loading > > > > > /boot/defaults/loader.conf" - presumably reading my /boot/loader.conf? > > > > > > > > > > Interestingly I can usually get it to boot by escaping to the loader > > > > > prompt and then just pressing return. > > > > > > > > > > Oddly some other machines (Supermicro P3TDER and Asus PRO31J Laptop) > > > > > behave normally with src from Mar->May. > > > > > > > > > > In all cases the canonical procedure from UPDATING was used (buildworld, > > > > > kernel, reboot single, mergemaster -p, installworld, delete-old, > > > > > mergemaster, reboot). > > > > > > > > > > I happy to help collect some debug info (how do you switch this on for > > > > > the loader?), tho the machine exhibiting the problem is my workstation > > > > > (of course)! > > > > > > > > Try to install new bootblock. > > > > > > I would be wary of that as it might make things worse? These problems are all > > > from starting /boot/loader. boot2 is still working fine and thus there is > > > still the possiblity of using boot2 to load /boot/loader.old as a workaround. > > > If you update boot2 and it breaks you can't fix that w/o booting off of some > > > other media such as a CD. > > > > > > Debugging these hangs is not easy to do remotely. If you know assembly then > > > there are some things you can play with. For example, in the case where it > > > hangs after printing out the BTX version (from btxldr.S) you could start > > > adding debugging to btx.S to print out '.' characters in various places and > > > see how many get printed out before it hangs. However, doing this requires > > > familiarity with assembly and is a lot easier with physical access to a box. > > > > When I worked on my version of the realbtx, I sometimes experienced hangs when > > vm86 btx run before real-mode btx. I did not investigated it then, only noted > > the issue. > > > > Try this patch. I'm not 100% certain this will fix it as I can't reproduce > the issue, but I think it might help. Specifically, when the boot code makes > a v86 call, the loader/boot2/whatever swaps in/out a new set of registers via > the v86 structure including the eflags register. However, none of the boot > programs actually initialized the v86 structure. Thus, the BIOS routines > would start off running with whatever garbage was in v86.efl when each boot > program started. This meant that we could end up invoking BIOS routines with > interrupts disabled, and I think this might explain a hard hang (if a BIOS > routine was waiting for an interrupt the interrupt would never fire). The > patch fixes all the boot programs to initialize v86 to a better known state. > At the least it sets v86.efl to a sane value (0x202) rather than random. (The > random might have always been 0x0 BTW, not sure on that one.) > I can confirm that this patch fixes the loader problem seen with my old Tyan S2720 MB. - Peter From owner-freebsd-stable@FreeBSD.ORG Sat May 24 16:34:59 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3DA61065688 for ; Sat, 24 May 2008 16:34:59 +0000 (UTC) (envelope-from jamesoff@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 6DD958FC14 for ; Sat, 24 May 2008 16:34:59 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so851952pyb.10 for ; Sat, 24 May 2008 09:34:58 -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=jRcUEX8QPRvZZUpmH84bzDxCwFu4qDyf7E3r0OD6yl4=; b=B9AJqH5No8Ty7UbdWgOQIJ+uYB9H8fMr2lFD/7PDLTumQYvjkYYIMN9RUDfcBjXbWKOpCKb8z5PuJFkIm4TOZvbjKWon4Ocl3K0D54vUDuSdOrY5trHH/tCCpwbTYEmIgAwzJLx/Ky6EhyB7gDOWhp/PAkcCwBojZ+NjjWFlXd0= 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=iq6G1wy955nVBCecTQJQQOv1suOzADqWQY/C/prg4yvfSJS55Lm//BTV0uhmX2yYl+sUjVSwWgvYY5OMvz4v8BUiHVaDqX+4ezaNtsjhu+K7e15IeVADq6ZatLjI9HNpnQkQanUB1U+sAF2CMZxFS6YnPqWPekYWjRmm5aHYLpM= Received: by 10.114.197.1 with SMTP id u1mr2370932waf.10.1211646897906; Sat, 24 May 2008 09:34:57 -0700 (PDT) Received: by 10.115.91.7 with HTTP; Sat, 24 May 2008 09:34:57 -0700 (PDT) Message-ID: <720051dc0805240934o211c522eha6888dc55ebd928f@mail.gmail.com> Date: Sat, 24 May 2008 17:34:57 +0100 From: "James Seward" To: "John Baldwin" In-Reply-To: <200805231811.01936.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <200805230829.09524.jhb@freebsd.org> <20080523132645.GO29770@deviant.kiev.zoral.com.ua> <200805231811.01936.jhb@freebsd.org> Cc: Kostik Belousov , freebsd-stable@freebsd.org, Mark Kirkwood Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 16:34:59 -0000 `On Fri, May 23, 2008 at 11:11 PM, John Baldwin wrote: > [patch] I have not yet tried this patch, but here is my progress so far: * Rolling back to 7.0-RELEASE made it worse - now after choosing FreeBSD from grub the machine would immediately reboot. * I booted with the CD again and came forward to RELENG_7. This still caused an immediate reboot. * I booted with the CD and replaced grub with "boot0cfg -B" (bsdlabel, which I tried earlier, had no effect). This fixed it, mostly. My desktop now boots fine and completes normal startup. It even starts X. However, from the moment I press F1 to choose FreeBSD to the moment it's done booting, all I see on the screen is "BTX loader 1.00 BTX version is 1.02" and the cursor blinking below it. My only clues that it's booting at the time are disk activity, and the cursor changing from a flashing underline to a solid block (which it always has as the kernel proper takes over). The next thing I see is "FreeBSD/i386 (hostname.goes.here) (ttyv0)". I have also noticed that I don't get any output when I restart - no rc.d scripts telling me things are stopping, no vnodes syncing, nothing. It's apparently happening though, as everything is starting/stopping/umounting correctly. I don't see that I have anything configured to boot to serial rather than the console, but is there anything I can do/check to make sure this definitely isn't happening? Unfortunately, putting a cable on the serial port is not an option as I currently do not own one suitable :) Thanks, James From owner-freebsd-stable@FreeBSD.ORG Sat May 24 16:53:30 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D1FB106568F for ; Sat, 24 May 2008 16:53:30 +0000 (UTC) (envelope-from andrew@thefrog.net) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 64A198FC0A for ; Sat, 24 May 2008 16:53:29 +0000 (UTC) (envelope-from andrew@thefrog.net) Received: by fk-out-0910.google.com with SMTP id k31so1195683fkk.11 for ; Sat, 24 May 2008 09:53:28 -0700 (PDT) Received: by 10.82.167.9 with SMTP id p9mr16877bue.40.1211646397176; Sat, 24 May 2008 09:26:37 -0700 (PDT) Received: by 10.82.149.3 with HTTP; Sat, 24 May 2008 09:26:37 -0700 (PDT) Message-ID: <16a6ef710805240926t3b4f631bja349fed8df6785ff@mail.gmail.com> Date: Sun, 25 May 2008 02:26:37 +1000 From: "Andrew Hill" Sender: andrew@thefrog.net To: "Arnaud Houdelette" MIME-Version: 1.0 X-Google-Sender-Auth: 1651b4643b5f72be 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-stable@freebsd.org Subject: ZFS on root and disk write caching. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 16:53:30 -0000 I don't have a definite answer to your first two questions (I've got a similar set up and would be interested to get some definite answers to those) however I'd like to comment on your third point... On May 21, 11:00 pm, arnaud.houdele...@tzim.net (Arnaud Houdelette) wrote: > 3. I'd like to keep the storage pool (zraid1) separated from the system > pool (just one disk). The wiki states that we may encounter problems > with more than one pool in use : is it still the case ? as for encountering problems with multiple zpools, my impression from the mailing lists is that it seems to work fine for some people and not for others... (i'm in the latter category, unfortunately) but what struck me as odd is the desire to create two separate zpools - one for data storage and one for the system. i think one of zfs's greatest strengths is the abstraction/separation between disks and filesystems. unless you're planning on removing/recreating the raidz1 pool in the near future, it seems a bit odd to put your system on a single/separate, non-redundant drive when you could just create a raidz across all four disks with storage and system filesystems in the one raidz pool. this way you don't lose anything if the disk you chose to run the OS from happens to fail, or even just gets a bad sector in an unfortunately crucial location... And even if you were going to recreate the raidz pool in the near future, it shouldn't be too hard to backup the system filesystems with zfs snapshot/send/receive commands, recreate the pool and then restore the system filesystems from the backup Andrew From owner-freebsd-stable@FreeBSD.ORG Sat May 24 17:00:40 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDA541065677; Sat, 24 May 2008 17:00:40 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id 210188FC17; Sat, 24 May 2008 17:00:39 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id m4OH0a5d003951; Sun, 25 May 2008 01:00:36 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id m4OH0aRf003950; Sun, 25 May 2008 01:00:36 +0800 (KRAST) (envelope-from eugen) Date: Sun, 25 May 2008 01:00:36 +0800 From: Eugene Grosbein To: James Seward Message-ID: <20080524170036.GA3385@svzserv.kemerovo.su> References: <720051dc0805220159n23eb6205yfcf9450be7af5c77@mail.gmail.com> <200805230829.09524.jhb@freebsd.org> <20080523132645.GO29770@deviant.kiev.zoral.com.ua> <200805231811.01936.jhb@freebsd.org> <720051dc0805240934o211c522eha6888dc55ebd928f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <720051dc0805240934o211c522eha6888dc55ebd928f@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: Kostik Belousov , freebsd-stable@freebsd.org, Mark Kirkwood , John Baldwin Subject: Re: BTX loader hangs after version info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 17:00:40 -0000 On Sat, May 24, 2008 at 05:34:57PM +0100, James Seward wrote: > X. However, from the moment I press F1 to choose FreeBSD to the moment > it's done booting, all I see on the screen is "BTX loader 1.00 BTX > version is 1.02" and the cursor blinking below it. My only clues that > it's booting at the time are disk activity, and the cursor changing > from a flashing underline to a solid block (which it always has as the > kernel proper takes over). It seems you have /boot/device.hints missing or broken. Just do "cp /usr/src/sys/i386/conf/GENERIC.hints /boot/device.hints". Eugene Grosbein From owner-freebsd-stable@FreeBSD.ORG Sat May 24 20:08:38 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27E3D106567B for ; Sat, 24 May 2008 20:08:38 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id E9DEC8FC15 for ; Sat, 24 May 2008 20:08:37 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so779813ywe.13 for ; Sat, 24 May 2008 13:08:28 -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=7FfyB4umLsUjlzcbftckevKxfe+O96nD6pdWUMjHZvU=; b=ab1T0+ZWKVX4/42KQUiEQHL3JGp0B66YcPtgbY9ChpBpwqr2tqiNNK3IUApVBnp0RyPp+OehkuN8FKvrgbeo57NqA5aSuT7JQtTlGpf4ItzXAT9TazWAM/P8rS/ri42YTeTkvIhrgZGsevWc+v9RjhMY3VTF6d/4zFUrXA/DH/k= 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=q+pVG1UMfQdKM/N/GGPtY9RTIOVsw+93YlXeCW8D95+a1+ncny8sxfHhzRSxnjayH+0Wky6lAfBpSpsVAmXeB/nOb9GjingE6zqeWhswS6QnO0/Vmu1lqFx2fNH0QzzUD564Os0rSYvs75tHmBc0F58dFARrnsPR1sriQgHjWRs= Received: by 10.150.69.41 with SMTP id r41mr685376yba.52.1211659708696; Sat, 24 May 2008 13:08:28 -0700 (PDT) Received: by 10.150.12.12 with HTTP; Sat, 24 May 2008 13:08:28 -0700 (PDT) Message-ID: <5f67a8c40805241308s15c98737w29bd66c0273bfe95@mail.gmail.com> Date: Sat, 24 May 2008 16:08:28 -0400 From: "Zaphod Beeblebrox" To: "Andrew Hill" In-Reply-To: <16a6ef710805240926t3b4f631bja349fed8df6785ff@mail.gmail.com> MIME-Version: 1.0 References: <16a6ef710805240926t3b4f631bja349fed8df6785ff@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-stable@freebsd.org, Arnaud Houdelette Subject: Re: ZFS on root and disk write caching. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 20:08:38 -0000 On Sat, May 24, 2008 at 12:26 PM, Andrew Hill wrote: > but what struck me as odd is the desire to create two separate zpools - one > for data storage and one for the system. i think one of zfs's greatest > strengths is the abstraction/separation between disks and filesystems. There are a few reasons to consider more than one zpool. One is performance. Another is the ability to boot from it (AFAIK, you can only boot from mirror'd pools). The ZFS abstraction is cool --- but it's not magic. From owner-freebsd-stable@FreeBSD.ORG Sat May 24 20:17:01 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE85D1065679 for ; Sat, 24 May 2008 20:17:01 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.71]) by mx1.freebsd.org (Postfix) with ESMTP id AE38D8FC1F for ; Sat, 24 May 2008 20:17:01 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from smtpin126.mac.com (smtpin126-bge351000 [10.150.68.126]) by smtpoutm.mac.com (Xserve/smtpout008/MantshX 4.0) with ESMTP id m4OJwHq4021723 for ; Sat, 24 May 2008 12:58:17 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.152.145.172] ([72.165.115.225]) by smtpin126.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPA id <0K1E002M8253UY80@smtpin126.mac.com> for freebsd-stable@FreeBSD.ORG; Sat, 24 May 2008 12:58:17 -0700 (PDT) Message-id: <35C9A4DD-3491-4850-92D5-CBE2BE4F814F@mac.com> From: Chuck Swiger To: Unga In-reply-to: <555870.1659.qm@web57010.mail.re3.yahoo.com> Date: Sat, 24 May 2008 12:58:15 -0700 References: <555870.1659.qm@web57010.mail.re3.yahoo.com> X-Mailer: Apple Mail (2.919.2) Cc: Oliver Fromme , freebsd-stable@FreeBSD.ORG Subject: Re: sched_ule performance on single CPU X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 20:17:01 -0000 On May 23, 2008, at 6:37 PM, Unga wrote: > When open an pdf has two types of scenarios in FreeBSD: > 1. When X run as a realtime-prio process, X go mad and swallow up > almost all of CPU cycles, making audio hiccups. > > 2. When X run as a normal-prio process, X behaves well and rarely > gets an audible hiccup. > > Why X behave different under different priority categories? Isn't > this scheduler related? Sure. To generalize, the traditional scheduler goal for Unix has been to maximize overall throughput and avoid starvation of even low- priority tasks, at the expense of higher and unpredictable latency. Using realtime priority means that the kernel is told to minimize latency for that process even if it means starving other processes of CPU time. That is well suited for things like CD/DVD burning or audio/visual capture, but as you've experienced yourself, it does poorly for heavily client-server oriented stuff like X11's architecture. > I wonder the issue I mentioned, open a pdf while playback audio, is > it a issue on Apple Mac OSX? Nope. :-) > Could somebody give some light here who uses an Apple Mac OSX on > this list? > > If it is not an issue in Mac OSX, how they have overcome it then? While both FreeBSD and MacOS X are general-purpose operating systems, doing multimedia creation and playback is among the primary functionality goals for MacOS X, in much the same way that FreeBSD regards providing "robust network services" like Apache, DNS, email, databases and so forth. Core Audio is probably the biggest user of realtime thread scheduling under MacOS X, followed by QuickTime or DVD playback over Core Video. These frameworks were designed to handle multimedia without skipping by preallocating sensible amounts of buffer space, and they take advantage of the Mach kernel and IOKit drivers which are intended to support realtime needs. Unlike the traditional BSD kernels, the Mach kernel was originally designed with SMP, soft & hard realtime scheduling in the kernel. The original userland threads library which came with Mach, called CThreads, was largely responsible for the design that was abstracted into the portable POSIX threads model widely used today. After FreeBSD 4, there has been a tremendous amount of work in the kernel on fine-grained locking and moving device drivers from running in the non-preemptable interrupt context to having device kernel threads which can be preempted, and there has also been a lot of work on the userland side to improve the C threading libraries and to improve multithreaded malloc() performance via jemalloc, but this is still ongoing and higher level applications like X11 programs haven't had years to adapt and take advantage of these changes. Simple things like auto-tuning the size of the audio buffers to avoid or minimize skipping or dropouts isn't really in place yet with FreeBSD. Realtime video on FreeBSD is dependent upon X11, which was originally designed by a bunch of guys at MIT to be able to display lots of xterms or other things involving simple blits of bits, possibly over the network, in order to replace the Andrew window manager system used by CMU, MIT, IBM, and a few others. X11 wasn't designed to do alpha channel (aka transparency), much less stream a couple of hundred MB per second of data for realtime OpenGL texturing or video. (Although, Composite and GLX have since been added to X11, they are extensions rather than core functionality, and hardware driver support for GLX is less than perfectly available, especially once you start looking at the AMD64/EM64T platform, rather than 32-bit x86....) There's a 2002 BSDcon paper here, written around the time of FreeBSD 5.x's release, which has more details: http://www.usenix.org/events/bsdcon02/full_papers/gerbarg/gerbarg_html/ Regards, -- -Chuck