New GEOM module: geom_xboxhd

Ed Schouten ed at fxq.nl
Sun Apr 15 19:09:55 UTC 2007


* Rene Ladan <r.c.ladan at gmail.com> wrote:
> Can you confirm that the slices are created if you first plug in the
> xbox harddisk and kldload the module afterwards?  I once wrote a GEOM
> module to slice xbox360 media (kern/107707), which only works if you
> first kldload it and _then_ plug in the media.  This is caused by
> pp->mediasize == 0 in the taste function.

Yes, it works. The only problem is that kldloading without disconnecting
the md deadlocks my machine because I guess it is indefinately waiting
for all dependencies to disappear.

> Note that you'll need a physical harddisk for the test because the
> behaviour is always correct when using md images.  I suspect that the
> bug is near /sys/cam/scsi/scsi_da.c

It works in both cases. I performed tests on a 10 GB disk afterwards.
Thanks for the tips :-)

-- 
 Ed Schouten <ed at fxq.nl>
 WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20070415/d14957c7/attachment.pgp


More information about the freebsd-geom mailing list