From owner-freebsd-geom@FreeBSD.ORG Sun Apr 15 19:21:29 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 511F016A415 for ; Sun, 15 Apr 2007 19:21:29 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id AF63013C4BD for ; Sun, 15 Apr 2007 19:21:28 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so796564ugh for ; Sun, 15 Apr 2007 12:21:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=h2UN81GjkMVOXVDiNXNBr2SBcxtE/yKt59Iv2bEDoAny47vtKgiW4YcRfvqaV2uBdeF1tgOpsQHTWSgC4w6MPctUj8lQd190LvOCvGJnDnJuExcUVYnFNnTAU4DhKW11L2crKM4+yV1V+sHSGt1VIDrTXM02MX2w9JQrtYIQZ+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=OoHhdoiV6F89jyj8khbGAvQKDhWQPHzsHY5/aSuFGsPlAvnmv93dUH5HmZNQqcovwt0RD6ImQz3lC0DZFoEGY0pT17EDQNlcy1dW/wPTfjaEQZc7s2TkmNUrG8JPfhcI45njKVku9gZg7gtD+Ie9NVYYweKF0l6FMcDXq3Togas= Received: by 10.67.96.1 with SMTP id y1mr3743039ugl.1176664887787; Sun, 15 Apr 2007 12:21:27 -0700 (PDT) Received: from ?192.168.123.202? ( [195.241.221.201]) by mx.google.com with ESMTP id 34sm5705507uga.2007.04.15.12.21.26; Sun, 15 Apr 2007 12:21:27 -0700 (PDT) Message-ID: <46227B36.7020805@gmail.com> Date: Sun, 15 Apr 2007 21:21:26 +0200 From: Rene Ladan User-Agent: Thunderbird 1.5.0.10 (X11/20070320) MIME-Version: 1.0 To: Ed Schouten References: <20070414115959.GN81821@hoeg.nl> <46227755.6010208@gmail.com> <20070415190953.GA98082@hoeg.nl> In-Reply-To: <20070415190953.GA98082@hoeg.nl> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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:21:29 -0000 Ed Schouten schreef: > * 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 == 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