From owner-freebsd-stable@FreeBSD.ORG Wed Mar 17 11:32:55 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 506FB16A4CE for ; Wed, 17 Mar 2004 11:32:55 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C4C343D1F for ; Wed, 17 Mar 2004 11:32:55 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) i2HJV582075022; Wed, 17 Mar 2004 11:31:05 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.9p2/8.12.9/Submit) id i2HJV5KP075021; Wed, 17 Mar 2004 11:31:05 -0800 (PST) (envelope-from dillon) Date: Wed, 17 Mar 2004 11:31:05 -0800 (PST) From: Matthew Dillon Message-Id: <200403171931.i2HJV5KP075021@apollo.backplane.com> To: Doug White References: <200403170900.i2H90Rb06558@alogis.com> <20040317103133.D52341@carver.gumbysoft.com> cc: stable@freebsd.org Subject: Re: umass panic (after detaching/attaching card-reader 3 times) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 19:32:55 -0000 : :I would love to, if I could find hardware that reproduces the problem. I :went shopping for USB thumb drives a while back and only came up with :working ones. : :I have a Soyo KT400 Dragon Lite machine at home. : :-- :Doug White | FreeBSD: The Power to Serve :dwhite@gumbysoft.com | www.FreeBSD.org It took me a while to reproduce the panic from the first bug report that was posted to our list, but I was finally able to do it by plugging in three or four USB mass storage devices all at once, in various combinations before and after booting. The key in reproducing the bug is to get the system to detach a UMASS during the boot sequence, that's what causes the (now disconnected) CAM bus rescan timeout to blow up. For some unknown reason the UMASS/USB subsystem will often attach/ deattach/reattach devices during boot, even though you haven't unplugged them. I don't know why... it still happens in DFly but it no longer crashes. I have brought the DFly ISO image up to date and added a README.USB section and also an ehci.ko module (the rest of USB is already compiled into GENERIC), which should be enough for anyone having this problem to play around with the USB subsystem from a DragonFly ISO CD boot without having to touch their hard drive. The ISO is available here (around 70MB gzip'd, 200MB unzipped). It's a fully live boot CD, just login as root. You can even edit things in /etc, /tmp, /dev, etc... they are MFS mounts, of course. ftp://ftp.dragonflybsd.org/iso-images/dfly-20040317b.iso.gz I am curious if the people reporting the problem on FBsd-4 still have the problem when the above DFly ISO. If not then I would say that pretty much guarentees that my recent bug fixes (described in my previous posting to this list) have dealt with the issue. If so then I have more work to do and would appreciate a bug report / dmesg output / backtrace from DDB if possible :-) p.s. the ISO fits on those cute mini CD-R's. -Matt