New GEOM module: geom_xboxhd

Rene Ladan r.c.ladan at gmail.com
Sun Apr 15 19:31:05 UTC 2007


Ed Schouten schreef:
> Hello,
> 
> One of the problems of the current FreeBSD/xbox port is that it's not
> possible to install FreeBSD, while leaving the existing software alone.
> The Microsoft Xbox uses a custom disk layout which doesn't have a
> partition table format which specifies the geometries. All partitions
> are hardcoded.
> 
[...]


> My Xbox isn't capable anymore to deal with original Xbox harddisks
> anymore, so I tested it on my desktop with a snapshot of an Xbox
> harddisk from a friend of mine (thanks Laurens!).
> 
[...]

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.

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

Thanks,
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





More information about the freebsd-geom mailing list