Patches to get Arla running on FreeBSD 8-CURRENT

Alec Kloss alec-keyword-freebsd.org.a6e2e4 at SetFilePointer.com
Fri Feb 22 14:50:50 CET 2008


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 = 0; apic id = 00
fault virtual address   = 0x26c
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc2a26dfc
stack pointer           = 0x28:0xcd49bb00
frame pointer           = 0x28:0xcd49bb2c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 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 = 0x280c62db, esp =
0xbfbfe4dc, ebp = 0xbfbfe598 ---
db>

-- 
Alec Kloss  alec at SetFilePointer.com   IM: angryspamhater at yahoo.com
PGP key at http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA241980E
"No Bunny!" -- Simon, from Frisky Dingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.stacken.kth.se/pipermail/arla-drinkers/attachments/20080222/3e425fd9/attachment.bin


More information about the Arla-drinkers mailing list