From owner-freebsd-current@FreeBSD.ORG Fri Apr 25 21:23:25 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE8F61065674 for ; Fri, 25 Apr 2008 21:23:25 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 491EA8FC24 for ; Fri, 25 Apr 2008 21:23:25 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so4152026fgg.35 for ; Fri, 25 Apr 2008 14:23:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:message-id; bh=/Ub1Ks6n7J46oQZILBZ4uSDFqVeRCJva/YPz7MLsUnQ=; b=YRKoKCfsBDmVtHCns+7PTZHrJYHKRfenysfVSSEGLL4l07f+s8v9aj1IxvFbKM8iQ2vajPQpJ3HlFxxGrABq+9e3e8wou/2/nb/vejWDqLY5/Wfg01SmfM1ZP64IEWckhx2aQbwqe1UCqsudinEuFjVSjiCi5kKIQhMoHQLHgdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:message-id; b=sW/ZRzHQE82o4+EYOfC5jsGmHGdsuCoN4O91liYtS/t57inzxo3/uqwPEtnAVuw3oPe1HBKUo9UG62x4wgoYIw755yLdfaIJQEF3E/HGQ4jz8DQN0EU2oR1UuyP/dK1dq2rJQNOrSlFneEDgWayarb/GdgV217Ho41d10z3tPm8= Received: by 10.86.51.10 with SMTP id y10mr4142703fgy.21.1209158603976; Fri, 25 Apr 2008 14:23:23 -0700 (PDT) Received: from ?0.0.0.0? ( [196.34.241.123]) by mx.google.com with ESMTPS id f19sm4596906fka.19.2008.04.25.14.23.20 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Apr 2008 14:23:23 -0700 (PDT) From: David Naylor Organization: Private To: Kris Kennaway Date: Fri, 25 Apr 2008 23:23:07 +0200 User-Agent: KMail/1.9.7 References: <200804242134.57772.naylor.b.david@gmail.com> <20080424224342.GB47671@hub.freebsd.org> In-Reply-To: <20080424224342.GB47671@hub.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1704078.MeupPWKSAL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200804252323.12875.naylor.b.david@gmail.com> X-Mailman-Approved-At: Fri, 25 Apr 2008 22:11:09 +0000 Cc: freebsd-current@freebsd.org Subject: Re: init_chroot broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2008 21:23:25 -0000 --nextPart1704078.MeupPWKSAL Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 25 April 2008 00:43:42 you wrote: > On Thu, Apr 24, 2008 at 09:34:53PM +0200, David Naylor wrote: > > Hi, > > > > init_chroot appears to be broken when used with unionfs (it did work > > sometime before RELENG_7 [definitely before the BETA's]). When using > > -current (with the vaps patch :-) I get the following message before the > > system stops: > > > > [...] > > stat(c2d3fcc0,d3ceccfc,8,c0b094e7,c0bbc0a0,...) at stat+0x2f > > syscall(d3cecd38) at syscall+0x2a3 > > Xint0x80_syscall() at Xint0x80_syscall+0x20 > > --- syscall (188, FreeBSD ELF32, stat), eip =3D 0x826fe23, esp =3D > > 0x9bfbfe9bc, ebp =3D 0xbfbee98 > > > > I tracked the stop to line 320 of init.c: > > if (chdir(kenv_value) !=3D 0 || chroot(".") !=3D 0) > > The [...] was the important part. It is a lot to type out, is there perhaps an easier way to get the output. = I=20 do not have access to a serial cable but I do have VMWare? Also, do you=20 really need all the parameters or just some (and if so which ones). =20 > Kris > David --nextPart1704078.MeupPWKSAL Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBIEkvAUaaFgP9pFrIRApkTAKCNOBLvnh8XDlAoCoumqpyoCgY0eACfW4vO /9UzAP5fRjwegbCe7EmcwUc= =jr9j -----END PGP SIGNATURE----- --nextPart1704078.MeupPWKSAL--