[4284] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: Patches to get Arla running on FreeBSD 8-CURRENT

daemon@ATHENA.MIT.EDU (Alec Kloss)
Fri Feb 22 15:47:13 2008

From arla-drinkers-bounces@stacken.kth.se Fri Feb 22 20:47:13 2008
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 5930 invoked from network); 22 Feb 2008 20:47:13 -0000
Received: from mx2.kth.se (130.237.48.98)
  by charon.mit.edu with SMTP; 22 Feb 2008 20:47:13 -0000
Received: from localhost (localhost [127.0.0.1])
	by mx2.kth.se (Postfix) with ESMTP id 5B24E109F50;
	Fri, 22 Feb 2008 21:47:11 +0100 (CET)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from mx2.kth.se ([127.0.0.1])
	by localhost (mx2.kth.se [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id TqqGQy2ThhNB; Fri, 22 Feb 2008 21:47:08 +0100 (CET)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx2.kth.se (Postfix) with ESMTP id 06BA1109F3A;
	Fri, 22 Feb 2008 21:47:03 +0100 (CET)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 1AA7553520;
	Fri, 22 Feb 2008 21:46:51 +0100 (CET)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 7A1CF53519
	for <arla-drinkers@tapas.stacken.kth.se>;
	Fri, 22 Feb 2008 14:51:07 +0100 (CET)
Received: from mx3.kth.se (mx3.kth.se [130.237.48.97])
	by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id m1MDp6LR009672
	for <arla-drinkers@stacken.kth.se>;
	Fri, 22 Feb 2008 14:51:06 +0100 (MET)
Received: from localhost (localhost [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id 72ACE69E68
	for <arla-drinkers@stacken.kth.se>;
	Fri, 22 Feb 2008 14:51:01 +0100 (CET)
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-200 required=5
	tests=[BAYES_00=-2.599, WEIRD_PORT=0.001]
Received: from mx3.kth.se ([127.0.0.1])
	by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id LH3mYc0lDxps for <arla-drinkers@stacken.kth.se>;
	Fri, 22 Feb 2008 14:50:52 +0100 (CET)
Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com
	[63.224.10.2]) by mx3.kth.se (Postfix) with SMTP id 668066988A
	for <arla-drinkers@stacken.kth.se>;
	Fri, 22 Feb 2008 14:50:51 +0100 (CET)
Received: (qmail 42976 invoked by uid 4250); 22 Feb 2008 07:50:50 -0600
Received: by hamlet.setfilepointer.com (tmda-sendmail, from uid 4250);
	Fri, 22 Feb 2008 07:50:50 -0600
Date: Fri, 22 Feb 2008 07:50:50 -0600
To: Robert Watson <rwatson@FreeBSD.org>
Subject: Re: Patches to get Arla running on FreeBSD 8-CURRENT
Message-ID: <20080222135050.GE38141@hamlet.setfilepointer.com>
References: <20080216035658.W93919@fledge.watson.org>
	<1203286882.16414.3.camel@heterodyne.kaj>
	<20080218012608.V96329@fledge.watson.org>
	<20080222125207.GD38141@hamlet.setfilepointer.com>
Mime-Version: 1.0
In-Reply-To: <20080222125207.GD38141@hamlet.setfilepointer.com>
User-Agent: Mutt/1.4.2.3i
X-Delivery-Agent: TMDA/1.1.12 (Macallan)
From: Alec Kloss <alec-keyword-freebsd.org.a6e2e4@SetFilePointer.com>
X-Primary-Address: alec@SetFilePointer.com
X-Mailman-Approved-At: Fri, 22 Feb 2008 21:46:46 +0100
Cc: afs@FreeBSD.org, arla-drinkers@stacken.kth.se, Rasmus Kaj <kaj@kth.se>
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1327395985=="
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se


--===============1327395985==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="imjhCm/Pyz7Rq5F2"
Content-Disposition: inline


--imjhCm/Pyz7Rq5F2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2008-02-22 06:52,  wrote:
> Robert, I've been playing with your patches, etc. on 8-CURRENT.
[chop]

I take it back... boldly adding printf all over says:

	vp->v_mount is null

in the NNPFS_FROM_VNODE macro.

Adding if (vp->v_mount) return EDOOFUS does:

ls: /afs: Programming error

Attempting to umount /afs then panics most likely for the same
reason (v_mount is null):


Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address   =3D 0x26c
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x20:0xc2a26dfc
stack pointer           =3D 0x28:0xcd49bb00
frame pointer           =3D 0x28:0xcd49bb2c
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 5754 (umount)
[thread pid 5754 tid 100206 ]
Stopped at      nnpfs_inactive_common+0xc:      movl
0x26c(%eax),%eax
db> bt
Tracing pid 5754 tid 100206 td 0xc298e220
nnpfs_inactive_common(c2a58440,c298e220,cd49bb54,c0a68485,cd49bb6c,...)
at nnpfs_inactive_common+0xc
nnpfs_inactive(cd49bb6c,c2a584c8,c2a58440,c2a584c8,cd49bb84,...) at
nnpfs_inactive+0x1e
VOP_INACTIVE_APV(c2a2b4a0,cd49bb6c,c0afa47c,8fd,c0bd93e0,...) at
VOP_INACTIVE_APV+0xa5
vinactive(c2a584c8,0,c0afa47c,86d,c253b880,...) at vinactive+0x91
vrele(c2a58440,c2a2ba70,0,c2a2800b,0,...) at vrele+0x18b
nnpfs_free_all_nodes(c2a2b6e0,0,1,c2a58330,c2a2b6e0,...) at
nnpfs_free_all_nodes+0xa5
nnpfs_unmount_common(c231329c,8000000,0,c298e220,cd49bc54,...) at
nnpfs_unmount_common+0x4e
nnpfs_unmount(c231329c,8000000,c298e220,4f0,4da,...) at
nnpfs_unmount+0x49
dounmount(c231329c,8000000,c298e220,482,8,...) at dounmount+0x426
unmount(c298e220,cd49bcfc,8,3d90d,c0ba0ed0,...) at unmount+0x2e0
syscall(cd49bd38) at syscall+0x2b3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (22, FreeBSD ELF32, unmount), eip =3D 0x280c62db, esp =3D
0xbfbfe4dc, ebp =3D 0xbfbfe598 ---
db>

--=20
Alec Kloss  alec@SetFilePointer.com   IM: angryspamhater@yahoo.com
PGP key at http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xA241980E
"No Bunny!" -- Simon, from Frisky Dingo

--imjhCm/Pyz7Rq5F2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFHvtM62s33paJBmA4RAlNPAJwOqsMhld3HDPHGaqQpXb8tZhy6hACfa3Rk
BHMYeEKqk0KZw5332RlzI0c=
=yRdD
-----END PGP SIGNATURE-----

--imjhCm/Pyz7Rq5F2--

--===============1327395985==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers

--===============1327395985==--

home help back first fref pref prev next nref lref last post