From owner-freebsd-geom@FreeBSD.ORG Thu Dec 23 13:14:41 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 4A9AF1065672 for ; Thu, 23 Dec 2010 13:14:41 +0000 (UTC) (envelope-from lev@serebryakov.spb.ru) Received: from ftp.translate.ru (ftp.translate.ru [80.249.188.42]) by mx1.freebsd.org (Postfix) with ESMTP id 071958FC13 for ; Thu, 23 Dec 2010 13:14:40 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (89.112.15.178.pppoe.eltel.net [89.112.15.178]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id 1708813DF5F; Thu, 23 Dec 2010 16:14:40 +0300 (MSK) Date: Thu, 23 Dec 2010 16:14:30 +0300 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <141767543.20101223161430@serebryakov.spb.ru> To: Oliver Fromme In-Reply-To: <201012211126.oBLBQOT9090842@lurza.secnetix.de> References: <1279680207.20101221121235@serebryakov.spb.ru> <201012211126.oBLBQOT9090842@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable 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: Thu, 23 Dec 2010 13:14:41 -0000 Hello, Oliver. You wrote 21 =E4=E5=EA=E0=E1=F0=FF 2010 =E3., 14:26:24: > Lev Serebryakov 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