From owner-freebsd-geom@FreeBSD.ORG Sun Apr 15 19:31:05 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 4BEB816A41B for ; Sun, 15 Apr 2007 19:31:05 +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 9746913C45B for ; Sun, 15 Apr 2007 19:31:04 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so797581ugh for ; Sun, 15 Apr 2007 12:31:03 -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=oxp5/QSCBfGvwfrluo7kukSqfs8iWvPNPcTNdM39NxW1/q5HrgcAYglFpuztD1T3O80E+/w7/uhHzZ3+h+2M8LxdJQaJ5/vlwh2hhRDOu+OfIw1vd0JyJzUI32Z8OL1eDbHJGzQx4mKrCUAOI5Tz+quVXh4siGXIGXBr1miOIzM= 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=kAPsgemA67I47Fp4X+XYLODN/Chy1Cjs5Ig0/sRSD1GPsKiWLp81dyv3bHnpyjl53KM1eFtHLRSTfxxSHgFL7th9Rwyyz45e4FGUIJ99EFFmQEzHYINkcIBUDLJ5gpF2ruo4/g4yGr5G8fSLLOxQoycXC/KMqLkbLyC//g5TsBM= Received: by 10.66.250.17 with SMTP id x17mr3730138ugh.1176663907999; Sun, 15 Apr 2007 12:05:07 -0700 (PDT) Received: from ?192.168.123.202? ( [195.241.221.201]) by mx.google.com with ESMTP id 13sm1678368ugb.2007.04.15.12.05.07; Sun, 15 Apr 2007 12:05:07 -0700 (PDT) Message-ID: <46227755.6010208@gmail.com> Date: Sun, 15 Apr 2007 21:04:53 +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> In-Reply-To: <20070414115959.GN81821@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:31:05 -0000 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