Bug 107707

Summary: [geom] [patch] [request] add new class geom_xbox360 to slice up xbox360 media
Product: Base System Reporter: Rene Ladan <r.c.ladan>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me Keywords: patch
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Rene Ladan 2007-01-09 14:30:10 UTC
Xbox360 media don't have an explicit partition table.  The table is
hardcoded into the console itself.  This means that a new GEOM class is
needed to correctly slice the media so that the file systems on it can
be mounted (the file system code itself is under development).

The class can be loaded as a kernel module and it can be built into the
kernel using "options GEOM_XBOX360"

Fix: 

apply patch at http://home.tiscali.nl/rladan/freebsd/geom_xbox360.diff

Patch is tested with 'make kernel'
How-To-Repeat: * Attach an Xbox360 memory card/hard disk (e.g. via a USB connector) to
  a FreeBSD 7.0 box.
* A new device node /dev/daX appears
* Load the geom_xbox360 kernel module
* The GEOM class now recognises the medium and creates /dev/daXs1 through
  /dev/daXsN (N=2 for memory card and N=5 for hard disks)
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2007-01-11 14:09:51 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-geom

Over to maintainer(s).
Comment 2 Rene Ladan 2007-04-21 10:58:55 UTC
2007-04-20 : added support for the new 512 MB memory units.

The new patch is at the same location and tested with the 64 MB and
512 MB memory units and the 20 GB hard disk.
Comment 3 Gavin Atkinson freebsd_committer freebsd_triage 2008-01-29 18:00:04 UTC
State Changed
From-To: open->feedback

To submitter: the link is a 404 now.  Do you have a new location where 
the patch can be found?  Thanks. 


Comment 4 Gavin Atkinson freebsd_committer freebsd_triage 2008-01-29 18:00:04 UTC
Responsible Changed
From-To: freebsd-geom->gavin

Track
Comment 5 Gavin Atkinson freebsd_committer freebsd_triage 2008-01-30 15:31:43 UTC
State Changed
From-To: feedback->open

Feedback was received.  Patch is now available from 
ftp://rene-ladan.nl/pub/freebsd/geom_xbox360.diff 

Additional notes from submitter:
Note that the module cannot cope with the newer 256MB memory cards shipping with the
XBox 360 Arcade, nor with the 120GB hard disks (160 euro seems a bit too much for me)

Other interesting utilities:
* ftp://rene-ladan.nl/pub/distfiles/uxtaf.{c,txt} {code/doc} userland implementation of
  the XBox360 file system (XTAF)
* ftp://rene-ladan.nl/pub/distfiles/extract360.py utility to extract/analyze the actual
  XBox360 files (most files are wrapped in an archive)


Comment 6 Gavin Atkinson freebsd_committer freebsd_triage 2008-01-30 15:31:43 UTC
Responsible Changed
From-To: gavin->freebsd-geom

Back to mailing list
Comment 7 Rene Ladan 2008-12-03 21:52:57 UTC
I've moved the patch to perforce, available in //depot/user/rene/xtaf/...

Rene
Comment 8 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:14 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 9 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:39:19 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>