From owner-freebsd-fs@FreeBSD.ORG Sun Feb 20 07:26:29 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F1D4106564A for ; Sun, 20 Feb 2011 07:26:29 +0000 (UTC) (envelope-from s.dave.jones@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id DCACF8FC17 for ; Sun, 20 Feb 2011 07:26:28 +0000 (UTC) Received: by iwn39 with SMTP id 39so5138003iwn.13 for ; Sat, 19 Feb 2011 23:26:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ItlBALxB1qDl4f2yLq8v+gQZW45vfClM3tV3ZiUTz8E=; b=U2sAegKAlU43xhsoYbS0jRYciWuUOmMs3fTjn30VtWS40OklLI65dupl2RCS1G6AqX zgcFjqMILtiP4I4rL6v4mdEP5qbxZPt4E9wm8qizY2lQd3xrb9w0XMwkdwrePv4rPoZP b4Z2njVHazbVOlKvxAI8BGfTz/D0OA/O4euC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=B4neUXBIjLwARk7RjtucfaACYV0yYyZBf6FPKoew1tInepUzdd4uLzvBshS4V+gN34 1E4cqcz4rM2pE6bic9/2Y9RXFwQDk46c57YFsPNQuhR5aJulgC9pyI5rUUXE2k8z86lI 0Nk8CI2KFNbGsTlDqFjwVRbit8mm4gcQ3Gxmg= MIME-Version: 1.0 Received: by 10.42.217.68 with SMTP id hl4mr165259icb.181.1298186788207; Sat, 19 Feb 2011 23:26:28 -0800 (PST) Received: by 10.42.225.193 with HTTP; Sat, 19 Feb 2011 23:26:28 -0800 (PST) In-Reply-To: <20110219105634.1c5e4402@ernst.jennejohn.org> References: <20110219105634.1c5e4402@ernst.jennejohn.org> Date: Sun, 20 Feb 2011 15:26:28 +0800 Message-ID: From: dave jones To: gljennjohn@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-fs@freebsd.org Subject: Re: msdosfs kernel panic with a broken usb flash drive X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 07:26:29 -0000 Sorry, I don't have a kernel crash dump, but the ddb trace is something like: msdosfs_setattr()+0x.... The machine is running is 9.0 -current. On Sat, Feb 19, 2011 at 5:56 PM, Gary Jennejohn wrote: > On Sat, 19 Feb 2011 12:42:48 +0800 > dave jones wrote: > >> Recently I have two broken USB thumb drives. I tried to mount /dev/da0s1 >> by using mount_msdosfs /dev/da0s1 /mnt, and I got the kernel panic. >> I tried another broken usb drive, the result is the same, kernel panic. >> I also tried it on Linux using "mount -t /dev/sdb1 /mnt", no panic. >> >> Does it make sense that mounting broken USB drives would cause the >> kernel panic? >> Any idea how to solve this issue? thank you. >> > > Without back trace from ddb or a kernel crash dump it would a little > difficult for anyone to provide an intelligent answer. > > -- > Gary Jennejohn >