Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2010 11:20:30 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        Lev Serebryakov <lev@serebryakov.spb.ru>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: FreeBSD 8.2-PRERELASE doesn't see slice on SDHC card in cardreader ?-- what should I do?
Message-ID:  <4D10715E.9010909@freebsd.org>
In-Reply-To: <1279680207.20101221121235@serebryakov.spb.ru>
References:  <159888671.20101221024723@serebryakov.spb.ru> <201012210811.oBL8Bv1I083482@lurza.secnetix.de> <4D106702.7000608@freebsd.org> <1279680207.20101221121235@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <lev@serebryakov.spb.ru> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D10715E.9010909>