From owner-freebsd-usb@FreeBSD.ORG Mon Sep 3 15:26:59 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A16E0106564A; Mon, 3 Sep 2012 15:26:59 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 027738FC08; Mon, 3 Sep 2012 15:26:58 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 314197297; Mon, 03 Sep 2012 17:26:57 +0200 To: freebsd-usb@freebsd.org From: Hans Petter Selasky X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-15?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-15?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O Date: Mon, 3 Sep 2012 17:27:59 +0200 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201209031727.59369.hselasky@c2i.net> Cc: Waitman Gobble , freebsd-gnats-submit@freebsd.org 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 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:26:59 -0000 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