From owner-freebsd-current@FreeBSD.ORG  Tue Jan  8 08:05:11 2008
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
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 AD1AA16A41A
	for <freebsd-current@freebsd.org>; Tue,  8 Jan 2008 08:05:11 +0000 (UTC)
	(envelope-from dougb@FreeBSD.org)
Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4])
	by mx1.freebsd.org (Postfix) with SMTP id 5640F13C478
	for <freebsd-current@freebsd.org>; Tue,  8 Jan 2008 08:05:11 +0000 (UTC)
	(envelope-from dougb@FreeBSD.org)
Received: (qmail 9517 invoked by uid 399); 8 Jan 2008 08:05:10 -0000
Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1)
	by localhost with ESMTP; 8 Jan 2008 08:05:10 -0000
X-Originating-IP: 127.0.0.1
Message-ID: <47832EB5.8000905@FreeBSD.org>
Date: Tue, 08 Jan 2008 00:05:09 -0800
From: Doug Barton <dougb@FreeBSD.org>
Organization: http://www.FreeBSD.org/
User-Agent: Thunderbird 2.0.0.9 (X11/20071119)
MIME-Version: 1.0
To: John Baldwin <jhb@freebsd.org>
References: <alpine.BSF.1.00.0712261500011.932@ync.qbhto.arg>
	<200801071352.42690.jhb@freebsd.org>
In-Reply-To: <200801071352.42690.jhb@freebsd.org>
X-Enigmail-Version: 0.95.5
OpenPGP: id=D5B2F0FB
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: freebsd-current@freebsd.org
Subject: panic: NTFS VOP_STRATEGY failed
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
	<freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
	<mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Jan 2008 08:05:11 -0000

John Baldwin wrote:
> On Wednesday 26 December 2007 06:01:47 pm Doug Barton wrote:
>> I have a dual boot system, and from time to time I use mount_ntfs to read 
>> stuff from the windows partition. Doing that today I got the following 
>> with a system built on 23 December:
>>
>> #0  doadump () at pcpu.h:195
>> 195	pcpu.h: No such file or directory.
>>  	in pcpu.h
>> (kgdb) bt
>> #0  doadump () at pcpu.h:195
>> #1  0xc056a0ae in boot (howto=260)
>>      at /usr/local/src/sys/kern/kern_shutdown.c:409
>> #2  0xc056a36b in panic (fmt=Variable "fmt" is not available.
>> ) at /usr/local/src/sys/kern/kern_shutdown.c:563
>> #3  0xc05586a2 in _lockmgr (lkp=0xc90049e8, flags=8212, 
>> interlkp=0xc9004a18,
>>      td=0xc92d5220, file=0xc077c0ed "/usr/local/src/sys/kern/vfs_subr.c",
>>      line=2213) at /usr/local/src/sys/kern/kern_lock.c:319
> 
> We'd need the actual panic message I think.

Sure. I updated my -current tonight, then did the following:

mount_ntfs /dev/ad0s1 /mnt/tmp
cd /mnt/tmp
find .
IFS='
'
for file in `find . -type f`; do
cp $file /tmp
rm /tmp/${file##*/}
done

Took about 45 seconds to panic with:

ntfs_strategy: ntfs_readattr failed
panic: NTFS VOP_STRATEGY failed:
bp=0xd9369988, vp=0xc9a55880, rc=7
cpuid=1

hth,

Doug

-- 

    This .signature sanitized for your protection