From owner-freebsd-usb@FreeBSD.ORG Mon Sep 3 15:30:18 2012 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D29AD106564A for ; Mon, 3 Sep 2012 15:30:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BD6978FC18 for ; Mon, 3 Sep 2012 15:30:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q83FUInP014147 for ; Mon, 3 Sep 2012 15:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q83FUIbA014131; Mon, 3 Sep 2012 15:30:18 GMT (envelope-from gnats) Date: Mon, 3 Sep 2012 15:30:18 GMT Message-Id: <201209031530.q83FUIbA014131@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/171262: plug in sdhc via usb reader reboots machine X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 15:30:18 -0000 The following reply was made to PR usb/171262; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Waitman Gobble , freebsd-gnats-submit@freebsd.org Subject: Re: usb/171262: plug in sdhc via usb reader reboots machine Date: Mon, 3 Sep 2012 17:27:59 +0200 On Sunday 02 September 2012 23:03:52 Waitman Gobble wrote: > >Number: 171262 > >Category: usb > >Synopsis: plug in sdhc via usb reader reboots machine > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Sep 02 21:10:11 UTC 2012 > >Closed-Date: > >Last-Modified: > >Originator: Waitman Gobble > >Release: FreeBSD 9.1-RC1 > > >Organization: > Waitman Gobble > > >Environment: > FreeBSD kamira.waitman.net 9.1-RC1 FreeBSD 9.1-RC1 #0: Tue Aug 14 04:25:06 > UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > amd64 > > >Description: > was dumping sdhc cards to ntfs-3g mounted usb drive (8 cards successfully, > then inserting 9th card rebooted machine) > > this in logs 45 times: > > Sep 3 04:36:59 kamira kernel: (da1:umass-sim1:1:0:0): SCSI sense: HARDWARE > FAILURE asc:4b,0 (Data phase error) > > (then machine reboot.) > > full log starting from insert: > > > >How-To-Repeat: > reader in usb port with sdhc card seems to work 'most of the time' but for > some reason caused machine reboot in one instance. thank you. > Hi, If you add the kernel debugging options to your GENERIC file, then you will get a backtrace next time it crashes. There is also a script under: /usr/src/tools/regression/usb/ Which you can use to forcedly re-enumerate your USB card-reader. Try that when a card is inserted with NTFS and see what happens. --HPS