Date: Sun, 14 Jan 2007 15:31:58 +0100 From: Rene Ladan <r.c.ladan@gmail.com> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: freebsd-geom@freebsd.org Subject: Re: pp->mediasize == 0 when reattaching physical medium ? Message-ID: <45AA3EDE.6070806@gmail.com> In-Reply-To: <14692.1168184789@critter.freebsd.dk> References: <14692.1168184789@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45AA3EDE.6070806>