From owner-freebsd-geom@FreeBSD.ORG Sun Jan 14 14:32:10 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FBAB16A5BD for ; Sun, 14 Jan 2007 14:32:10 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id ADE8913C45A for ; Sun, 14 Jan 2007 14:32:09 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1773084nfc for ; Sun, 14 Jan 2007 06:32:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=mKB/HhnqETgdQd75IPaa29ZFRvXYCwUw3XrKIKVmjaHsNvZdSeGuX3oyHGxGgu8pJfzDn4Jz8zoAnKoU7Yiu4LQijsKjrngJfkB/Nc45aueGOFvkOL7iqNlINMcSr8jKFTpTHaXH0gJeW0XWZ50IYisoHnCEKqFtmIvLW7SKoYM= Received: by 10.49.13.19 with SMTP id q19mr2952172nfi.1168785128233; Sun, 14 Jan 2007 06:32:08 -0800 (PST) Received: from ?192.168.123.201? ( [195.241.221.201]) by mx.google.com with ESMTP id k23sm17768814nfc.2007.01.14.06.32.06; Sun, 14 Jan 2007 06:32:07 -0800 (PST) Message-ID: <45AA3EDE.6070806@gmail.com> Date: Sun, 14 Jan 2007 15:31:58 +0100 From: Rene Ladan User-Agent: Thunderbird 1.5.0.9 (X11/20061224) MIME-Version: 1.0 To: Poul-Henning Kamp References: <14692.1168184789@critter.freebsd.dk> In-Reply-To: <14692.1168184789@critter.freebsd.dk> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: pp->mediasize == 0 when reattaching physical medium ? 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: Sun, 14 Jan 2007 14:32:10 -0000 Poul-Henning Kamp schreef: > In message <45A103F4.5040108@gmail.com>, Rene Ladan writes: > >>> 1) If you kldload the class and plug in a physical medium afterwards, >>> then pp->mediasize == 0 so the taste function fails. > > That's a USB bug. > Well, I put the raw image of the medium on a CD to see if that works. Results: * if the CD is loaded during boot and the module is loaded after boot, the CD gets recognized by GEOM and the xbox360 class creates the two slices; * if the CD is loaded after boot and after the module is loaded, nothing happens (the drive spins up a few times, but the taste function is not called). So maybe the bug is somewhere in the CAM layer? Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001