Date: Thu, 23 Dec 2010 16:14:30 +0300 From: Lev Serebryakov <lev@serebryakov.spb.ru> To: Oliver Fromme <olli@lurza.secnetix.de> 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: <141767543.20101223161430@serebryakov.spb.ru> In-Reply-To: <201012211126.oBLBQOT9090842@lurza.secnetix.de> References: <1279680207.20101221121235@serebryakov.spb.ru> <201012211126.oBLBQOT9090842@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Oliver. You wrote 21 =E4=E5=EA=E0=E1=F0=FF 2010 =E3., 14:26:24: > Lev Serebryakov <lev@serebryakov.spb.ru> wrote: >> It works! But it is not intiutive at all :) > The command opens the device for writing (but it doesn't > actually write anything), and closes it immediately. > This causes the GEOM system to read and "taste" the > device and look for new slices or partitions. I understand, what these command do, but geom retaste is not obvious result and it is not obvious, that it is proper (and easiest) way to trigger re-taste. >> Why all CAM-related commands like "load" and "open" don't work > All of those commands are only related to the hardware, > i.e. SCSI busses and devices. They are not related to > the _content_ of the device (slices etc.). Yes, but each device is geom_disk, and re-scanning hardware level could trigger re-taste, starting from releant geom_disks. It looks resonable. > In other words, the problem is on a different level. >> (I don't mention auto-sensing ;-))? Is it problem with my >> cardreader or common problem for FreeBSD? > The main problem here is that there is no notification > mechanism when you insert an SD card (the same is true > for floppy disks and CD drives, by the way, but it's less > of a problem because they usually don't have slices). It is strange. Any SD card reader has spring contacts, which detects card insertion. Does cardreader pass this signal? And I'm sure, that SCSI (and ATAPI, as ATAPI is SCSI-commands-over-ATA) CD-ROM drives has "media changed" signal. --=20 // Black Lion AKA Lev Serebryakov <lev@serebryakov.spb.ru>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?141767543.20101223161430>