From owner-freebsd-current@FreeBSD.ORG Tue Jul 7 06:06:29 2009 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 586DA1065670 for ; Tue, 7 Jul 2009 06:06:29 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 12D168FC1A for ; Tue, 7 Jul 2009 06:06:28 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: by an-out-0708.google.com with SMTP id d14so2075873and.13 for ; Mon, 06 Jul 2009 23:06:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=kS34ZqNKIqShvV1MIYyturznZM3JsDN1lS+ka5kXYqM=; b=PM3wmjH35Yvi0T2OHOw9fMCAtwQ3k2lGAFk5Zf3gB2Eu4Ea72+KD76Fkvrd/47pe5Q arMd8F/42Xi+tUhnahZCdQFyPC4twc2HymWyn/oQQYY6BVK+SnA6hG6q+GSaT/7QcgaG i3tzZyHg8CspoVijteCtNFq317yJRPvPfNu0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=aUeh/xkFhGeHiWdBf7+8sLxuauf+j7nP9ThWtcJTbKzGgyXbQ1eir9kXPqvfwzK017 vTS0XTSgYmdULSbvoCxiyC1KERG30hRaLcoc2Om9MOcFjrOIxXRWcfSyg0e2R09qj1Ei Xg5W70IqjWnUvkWKeskkkp+O7Wl9XRnI4Kvik= MIME-Version: 1.0 Received: by 10.100.12.17 with SMTP id 17mr10046585anl.2.1246945357640; Mon, 06 Jul 2009 22:42:37 -0700 (PDT) Date: Tue, 7 Jul 2009 02:42:37 -0300 Message-ID: <19e9a5dc0907062242qe6ec24br677c79996623c3e5@mail.gmail.com> From: Gonzalo Nemmi To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: LOR on umount on -BETA1 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: Tue, 07 Jul 2009 06:06:29 -0000 LOR on -CURRENT and -BETA1. plug pen-drive: Jul 7 01:45:42 gargoyle root: Unknown USB device: vendor 0x08ec product 0x0008 bus uhub3 Jul 7 01:45:42 gargoyle kernel: ugen6.2: at usbus6 Jul 7 01:45:42 gargoyle kernel: umass0: on usbus6 Jul 7 01:45:42 gargoyle kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Jul 7 01:45:43 gargoyle kernel: umass0:1:0:-1: Attached to scbus1 Jul 7 01:45:43 gargoyle kernel: (probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0? Jul 7 01:45:45 gargoyle kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Jul 7 01:45:45 gargoyle kernel: (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 7 01:45:45 gargoyle kernel: (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 7 01:45:45 gargoyle kernel: (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Jul 7 01:45:45 gargoyle kernel: (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Jul 7 01:45:45 gargoyle kernel: (probe0:umass-sim0:0:0:0): (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Jul 7 01:45:45 gargoyle kernel: (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Jul 7 01:45:45 gargoyle kernel: (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Jul 7 01:45:45 gargoyle kernel: Retrying Command (per Sense Data) Jul 7 01:45:45 gargoyle kernel: (probe0:umass-sim0:0:0:0): Retrying Command Jul 7 01:45:45 gargoyle kernel: pass0 at umass-sim0 bus 0 target 0 lun 0 Jul 7 01:45:45 gargoyle kernel: pass0: Removable Direct Access SCSI-0 device Jul 7 01:45:45 gargoyle kernel: pass0: 40.000MB/s transfers Jul 7 01:45:45 gargoyle kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 7 01:45:45 gargoyle kernel: da0: Removable Direct Access SCSI-0 device Jul 7 01:45:45 gargoyle kernel: da0: 40.000MB/s transfers Jul 7 01:45:45 gargoyle kernel: da0: 490MB (1003520 512 byte sectors: 64H 32S/T 490C) Jul 7 01:45:45 gargoyle kernel: GEOM: new disk da0 Jul 7 01:45:46 gargoyle kernel: GEOM: da0: partition 1 does not start on a track boundary. Jul 7 01:45:46 gargoyle kernel: GEOM: da0: partition 1 does not end on a track boundary. # mount_msdosfs /dev/da0s1 pen/, write and then # umount pen/: Jul 7 01:56:45 gargoyle kernel: lock order reversal: Jul 7 01:56:45 gargoyle kernel: 1st 0xc4e63bdc ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1199 Jul 7 01:56:45 gargoyle kernel: 2nd 0xc4e63ce8 devfs (devfs) @ /usr/src/sys/fs/msdosfs/msdosfs_vfsops.c:944 Jul 7 01:56:45 gargoyle kernel: KDB: stack backtrace: Jul 7 01:56:45 gargoyle kernel: db_trace_self_wrapper(c0c5b564,e6da0a48,c08b5b35,c08a68db,c0c5e3f9,...) at db_trace_self_wrapper+0x26 Jul 7 01:56:45 gargoyle kernel: kdb_backtrace(c08a68db,c0c5e3f9,c4530430,c4530360,e6da0aa4,...) at kdb_backtrace+0x29 Jul 7 01:56:45 gargoyle kernel: _witness_debugger(c0c5e3f9,c4e63ce8,c0c4d3c5,c4530360,c0c4dba9,...) at _witness_debugger+0x25 Jul 7 01:56:45 gargoyle kernel: witness_checkorder(c4e63ce8,9,c0c4dba9,3b0,c4e63d04,...) at witness_checkorder+0x839 Jul 7 01:56:45 gargoyle kernel: __lockmgr_args(c4e63ce8,80400,c4e63d04,0,0,...) at __lockmgr_args+0x7a7 Jul 7 01:56:45 gargoyle kernel: vop_stdlock(e6da0bac,c0ee9a48,c4afc9a4,80400,c4e63c90,...) at vop_stdlock+0x62 Jul 7 01:56:45 gargoyle kernel: VOP_LOCK1_APV(c0d38d00,e6da0bac,e6da0bcc,c0d75c00,c4e63c90,...) at VOP_LOCK1_APV+0xb5 Jul 7 01:56:45 gargoyle kernel: _vn_lock(c4e63c90,80400,c0c4dba9,3b0,c4add284,...) at _vn_lock+0x5e Jul 7 01:56:45 gargoyle kernel: msdosfs_sync(c4add284,1,c0c64e9d,4f4,80,...) at msdosfs_sync+0x29c Jul 7 01:56:45 gargoyle kernel: dounmount(c4add284,8000000,c4afc900,479,2,...) at dounmount+0x44e Jul 7 01:56:45 gargoyle kernel: unmount(c4afc900,e6da0cf8,8,c4afc900,c0d3c288,...) at unmount+0x30f Jul 7 01:56:45 gargoyle kernel: syscall(e6da0d38) at syscall+0x2a3 Jul 7 01:56:45 gargoyle kernel: Xint0x80_syscall() at Xint0x80_syscall+0x20 Jul 7 01:56:45 gargoyle kernel: --- syscall (22, FreeBSD ELF32, unmount), eip = 0x280d91ff, esp = 0xbfbfe52c, ebp = 0xbfbfe5f8 --- bervose boot: http://pastebin.com/f604c1399 some more info can be found at http://forums.freebsd.org/showthread.php?t=5025 Willing to try patches or solutions at your request. Best Regards. Gonzalo