From owner-freebsd-geom@FreeBSD.ORG Sun Apr 15 19:09:55 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 733CA16A400 for ; Sun, 15 Apr 2007 19:09:55 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id 3C19A13C480 for ; Sun, 15 Apr 2007 19:09:55 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 9D45B1CC2A; Sun, 15 Apr 2007 21:09:53 +0200 (CEST) Date: Sun, 15 Apr 2007 21:09:53 +0200 From: Ed Schouten To: Rene Ladan Message-ID: <20070415190953.GA98082@hoeg.nl> References: <20070414115959.GN81821@hoeg.nl> <46227755.6010208@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <46227755.6010208@gmail.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-geom@freebsd.org Subject: Re: New GEOM module: geom_xboxhd 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, 15 Apr 2007 19:09:55 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Rene Ladan 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 =3D=3D 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 :-) --=20 Ed Schouten WWW: http://g-rave.nl/ --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGIniB52SDGA2eCwURAvjmAJ0VjATJJ87AMdA/WljC5o7QH2IfAQCeOUM2 k/mdDr+5pw8FLIrpPkFezQ0= =bTjH -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--