Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2007 21:21:26 +0200
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        Ed Schouten <ed@fxq.nl>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: New GEOM module: geom_xboxhd
Message-ID:  <46227B36.7020805@gmail.com>
In-Reply-To: <20070415190953.GA98082@hoeg.nl>
References:  <20070414115959.GN81821@hoeg.nl> <46227755.6010208@gmail.com> <20070415190953.GA98082@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Ed Schouten schreef:
> * Rene Ladan <r.c.ladan@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 :-)
> 
Strange... in my case loading the module afterwards didn't work either
when burning the image to a CD-RW and using that CD as the physical
medium.  That was back in January 2007.

Both geom_xboxhd and geom_xbox360 check pp->mediasize in their taste
functions right after setting up the GEOM trace, so their behaviour
should be similar.

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?46227B36.7020805>