From owner-freebsd-questions@FreeBSD.ORG Wed Oct 5 00:49:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6908016A41F for ; Wed, 5 Oct 2005 00:49:45 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11CDB43D45 for ; Wed, 5 Oct 2005 00:49:45 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 17151 invoked from network); 5 Oct 2005 00:49:44 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Oct 2005 00:49:44 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 364902D; Tue, 4 Oct 2005 20:49:43 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Brian John To: freebsd-questions@freebsd.org References: <1468.209.87.176.132.1128439684.fusewebmail-19592@webmail.fusemail.com > <20051005000110.GA51496@holestein.holy.cow> <43431D86.40903@fusemail.com> From: Lowell Gilbert Date: 04 Oct 2005 20:49:42 -0400 In-Reply-To: <43431D86.40903@fusemail.com> Message-ID: <44achoiy8p.fsf@be-well.ilk.org> Lines: 67 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: 5.4 reboots when I plug in a flash drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2005 00:49:45 -0000 Brian John writes: > Parv wrote: > > >in message > ><1468.209.87.176.132.1128439684.fusewebmail-19592@webmail.fusemail.com > > > >>, wrote Brian John thusly... > >> > >>I just got a 128MB USB flash drive. When I plug it in in FreeBSD, > >>the box promptly reboots! What would cause this? > >> > > > >I don't know the cause. > > > >Have you tried booting FreeBSD from power-off state w/ the flash > >drive already inserted? That may solve your booting problem, but > >will not make use of the drive any easier. > > > >Which version if FreeBSD are you using? Which of the [ueo]hci > >drivers come up in dmesg(8) on instertion of the USB drive? > > > > > > - Parv > > > > > Ok, I tried booting up with the drive installed. If I leave it > installed while it is booting up, it eventually reboots. However, I > was able to unplug it during boot and look at dmesg. It says this > over and over again: > > umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 1.000MB/s transfers > da0: 119MB (245473 512 byte sectors: 64H 32S/T 119C) > umass0: BBB reset failed, STALLED > umass0: BBB bulk-in clear stall failed, STALLED > umass0: BBB bulk-out clear stall failed, STALLED > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 > umass0: BBB reset failed, STALLED > umass0: BBB bulk-in clear stall failed, STALLED > umass0: BBB bulk-out clear stall failed, STALLED > umass0: BBB reset failed, STALLED > umass0: BBB bulk-in clear stall failed, STALLED > umass0: BBB bulk-out clear stall failed, STALLED > umass0: BBB reset failed, STALLED > umass0: BBB bulk-in clear stall failed, STALLED > umass0: BBB bulk-out clear stall failed, STALLED > umass0: BBB reset failed, STALLED > umass0: BBB bulk-in clear stall failed, STALLED > umass0: BBB bulk-out clear stall failed, STALLED > umass0: BBB reset failed, STALLED > umass0: BBB bulk-in clear stall failed, STALLED > umass0: BBB bulk-out clear stall failed, STALLED > umass0: at uhub2 port 1 (addr 2) disconnected > (da0:umass-sim0:0:0:0): lost device > (da0:umass-sim0:0:0:0): removing device entry > Opened disk da0 -> 5 > umass0: detached > > I am running FreeBSD 5.4. Does this shed some light on the problem? Only a little. Do you have udbp(4) in your kernel? Can you try booting 6.0 with the flash unit plugged in and see if it still has problems?