#11 Can't detect Xbox HDD on slave

open
nobody
None
5
2012-12-05
2004-07-27
Lewis Jardine
No

Using kernel 2.4.26 / Xbox kernel HEAD 20040727, I
attempted to mount two xbox hard disks on the same IDE
channel.

/dev/hdc got split into /dev/hdc[50-55] as normal, but
/dev/hdd also got split into /dev/hdc[50-55] .

Possibly in /fs/partitions/xbox.c,

///////////////////////////////
retv = xbox_drive_detect(bdev);
if (retv > 0) {
/* trying to find the first free partition */
minor = 50;
add_gd_partition(hd,minor++,XBOX_SECTOR_STORE
,XBOX_SECTORS_STORE );
add_gd_partition(
////////////////////////////////

minor should be 114 (64+50), instead of 50, when
mounting a slave drive like /dev/hdb or /dev/hdd ?

Discussion