From owner-freebsd-current@FreeBSD.ORG Tue Nov 27 08:50:51 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA4B916A469 for ; Tue, 27 Nov 2007 08:50:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 5AC9D13C4FD for ; Tue, 27 Nov 2007 08:50:50 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id EF7B774400E; Tue, 27 Nov 2007 10:50:48 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qBIa6FIYy7al; Tue, 27 Nov 2007 10:50:48 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id B052F744007; Tue, 27 Nov 2007 10:50:48 +0200 (EET) Message-ID: <474BDA68.1090209@icyb.net.ua> Date: Tue, 27 Nov 2007 10:50:48 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Matthias Schmidt References: <1196083425.00833381.1196073005@10.7.7.3> <20071126111520.GA29188@soaustin.net> <1196108585.00833572.1196096401@10.7.7.3> In-Reply-To: <1196108585.00833572.1196096401@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: 7.0-BETA3 kernel panic when unplugging USB stick X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 08:50:51 -0000 on 26/11/2007 18:50 Matthias Schmidt said the following: > Hi, > > * Mark Linimon wrote: >> On Mon, Nov 26, 2007 at 11:00:45AM +0100, Matthias Schmidt wrote: >>> When I plugged out the stick, I got the below messages followed by a >>> kernel panic: >> Unfortunately, a well-known problem that will require some serious >> re-architecting to fix. > > OK, thanks for the answer. Could you elaborate on that topic a bit > further. Is there a difference between unplugging a "recognized" USB > stick and an "unrecognized" USB stick? Not an answer to this particular question but to the thread in general: I have here certain combination of a card reader and a miniSD card that causes the same symptom. If I use the card with other reader - everything's OK, if I use the reader with other card - everything's OK, use them together - very strange problems: the card is not recognized, some error messages are spewed onto console every now and then, panic on plugging out. I just gave up, blaming this on hardware incompatibility and cursed the vendors :-) As additional information point: the combination didn't work with other OSes I tried, neither Linux nor Windows 2K recognized the card. But they didn't panic. Just in case: the reader - Trust CR-1420P the card - SanDisk SDSDM-2048 So it might happen that you also have a hardware problem with your USB stick. Panic might be a result of that plus certain fragility of FreeBSD USB stack + CAM. -- Andriy Gapon