From owner-freebsd-geom@FreeBSD.ORG Tue Dec 21 09:20:33 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABE061065697 for ; Tue, 21 Dec 2010 09:20:33 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0286E8FC08 for ; Tue, 21 Dec 2010 09:20:32 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA02328; Tue, 21 Dec 2010 11:20:31 +0200 (EET) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1PUyOU-000L1b-Q7; Tue, 21 Dec 2010 11:20:30 +0200 Message-ID: <4D10715E.9010909@freebsd.org> Date: Tue, 21 Dec 2010 11:20:30 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101211 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Lev Serebryakov References: <159888671.20101221024723@serebryakov.spb.ru> <201012210811.oBL8Bv1I083482@lurza.secnetix.de> <4D106702.7000608@freebsd.org> <1279680207.20101221121235@serebryakov.spb.ru> In-Reply-To: <1279680207.20101221121235@serebryakov.spb.ru> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-geom@freebsd.org Subject: Re: FreeBSD 8.2-PRERELASE doesn't see slice on SDHC card in cardreader ?-- what should I do? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2010 09:20:33 -0000 on 21/12/2010 11:12 Lev Serebryakov said the following: > Hello, Andriy. > You wrote 21 декабря 2010 г., 11:36:18: > >> on 21/12/2010 10:11 Oliver Fromme said the following: >>> Lev Serebryakov wrote: >>> > I inserted 16Gb SDHC card, with one FAT32 slice (it is card from my >>> > PDA). After that I've tried: >>> > [...] >>> > blob# ls /dev/da0* >>> > /dev/da0 >>> >>> # /bin/dd if=/dev/null of=/dev/da0 count=0 >>> >>> Then try again. > $ true > /dev/da0 >> is shorter and less prone to typos. > It works! But it is not intiutive at all :) Why all CAM-related > commands like "load" and "open" don't work (I don't mention > auto-sensing ;-))? Is it problem with my cardreader or common > problem for FreeBSD? It's kind of both. The issue results from interactions between timings in usb, cam and geom with some slower hardware. Essentially, as I understand the situation, when geom is notified about a new disk and tries to taste it for partitions, the hardware is not fully ready yet. -- Andriy Gapon