From owner-freebsd-questions@FreeBSD.ORG Wed Oct 5 12:37:00 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 7BCCA16A41F for ; Wed, 5 Oct 2005 12:37:00 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF58A43D48 for ; Wed, 5 Oct 2005 12:36:59 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 18800 invoked from network); 5 Oct 2005 12:36:59 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Oct 2005 12:36:58 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 7470827; Wed, 5 Oct 2005 08:36:57 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Brian John References: <1468.209.87.176.132.1128439684.fusewebmail-19592@webmail.fusemail.com > <20051005000110.GA51496@holestein.holy.cow> <43431D86.40903@fusemail.com> <44achoiy8p.fsf@be-well.ilk.org> <43432E25.6060907@fusemail.com> From: Lowell Gilbert Date: 05 Oct 2005 08:36:57 -0400 In-Reply-To: <43432E25.6060907@fusemail.com> Message-ID: <44irwcb0nq.fsf@be-well.ilk.org> Lines: 95 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2005 12:37:00 -0000 Brian John writes: > Lowell Gilbert wrote: > > >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? > > > > > I could try it, but I don't want to have to roll 6.0 back to 5.4 > afterward if it doesn't work. Upgrading to 6.0 is a major change and > I only have 1 PC. I am still kind of a novice, how easy is it to > upgrade to 6.0 and how stable is it? You don't need to install it to your hard drive; just boot the install disk and see if it gets all of the way through the kernel loading. > I see that I have the line with > udbp commented out in my kernel config. Should I rebuild with it > uncommented? > > #device udbp # USB Double Bulk Pipe devices You could try that. I was meaning to read up on that USB feature, but unfortunately I can't find the specs for it at the moment. I don't actually know whether it might be relevant.