Can't access fatx - only getting green "x x x x x ... '

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
bokon
Newbie
Posts: 5
Joined: Sun Oct 03, 2004 3:39 pm

Can't access fatx - only getting green "x x x x x ... '

Post by bokon »

Hello,
first I'd like to say, that my f-drive works (outside of Linux I can access the drive by FTP)

But when I'm trying to enter my fatx f-drive with gentoox I'm getting only green x'es like that.

ls
x x x x x x x x x x

ls -l
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x
-rwxrwxrwx 1 root root 7900173 Mar 24 2000 x

There's no trouble with my e-drive. The files are displayed regularly.

The frustrating thing is, that after reinstalling gentoox the same problem appeared again :(
bokon
Newbie
Posts: 5
Joined: Sun Oct 03, 2004 3:39 pm

Trouble with f-drive

Post by bokon »

I've edited my original message, because I found out, that my E-Drive works normally.
Trevante
Power user
Posts: 203
Joined: Mon Oct 11, 2004 10:21 pm

Post by Trevante »

How big is your HDD? It's probably because you have a large F drive and LBA48 support has been removed, so you can't properly read the contents of the F drive.

If possible, switch to an LBA48 enabled bios that supports the G drive (you will need to format F and G, it will erase any data on F so be careful). This will put your F drive under the 137GB limit and will allow you to browse your F drive in linux.
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

Support was never there for large F drive in the first place :\
The original Xbox adaptation of Gentoo
crazy-flash
Linux User
Posts: 10
Joined: Mon Nov 22, 2004 9:41 am

Post by crazy-flash »

ShALLaX wrote:Support was never there for large F drive in the first place :\
Damn my F-Drive has 290 gb =( I thought magic fatx corrects this ... but didn't try.... I HATE FATX but i want still to be able to access my data within the other xbox software

Does gentooX support a G-Drive > 137GB? Or can I split my HDD in F,G and additional H ???
crazy-flash
Linux User
Posts: 10
Joined: Mon Nov 22, 2004 9:41 am

Post by crazy-flash »

Ah I surfed a bit through the posts and saw that link:
http://cvs.sourceforge.net/viewcvs.py/x ... 11&r2=1.12

What I can read from the code is that a G drive >137gig should work or am I wrong?
dmp
Linux User
Posts: 13
Joined: Sat Oct 23, 2004 5:00 pm

Post by dmp »

Theoretically yes.

I added support for this, but nobody seems to be able to give me a 100% straight answer as to whether it actually works, noting that I don't have a drive of those proportions with FATX on to test myself.

David
dmp
Linux User
Posts: 13
Joined: Sat Oct 23, 2004 5:00 pm

Post by dmp »

Theoretically yes.

I added support for this, but nobody seems to be able to give me a 100% straight answer as to whether it actually works, noting that I don't have a drive of those proportions with FATX on to test myself.

Also, the code you're looking at is old, and long removed. It also wasn't able to handle the possibility that you might have an F all the way to the end of drive, and no G, on a 200gb drive, for example. The current code is, or attempts to be, smarter.

/* Support for 'extended partitions' */
if (xbox_sig_string_match(bdev,XBOX_SECTOR_EXTEND_F ,"FATX")) {
if ((XBOX_SECTOR_EXTEND_G < num_sectors) && xbox_sig_string_match(bdev, XBOX_SECTOR_EXTEND_G, "FATX")) {
/* There's an F and G on this system - F only goes to the LBA28 boundary */
add_gd_partition(hd,minor++,XBOX_SECTOR_EXTEND_F,XBOX_SECTORS_EXTEND_F_POSS);
/* G goes to end of drive */
add_gd_partition(hd,minor++,XBOX_SECTOR_EXTEND_G, num_sectors-XBOX_SECTOR_EXTEND_G);
}
/* Just a large F on this system - to end of drive*/
else add_gd_partition(hd,minor++,XBOX_SECTOR_EXTEND_F, num_sectors-XBOX_SECTOR_EXTEND_F);
}

David
appleguru
Newbie
Posts: 2
Joined: Wed Dec 15, 2004 4:46 pm
Contact:

Post by appleguru »

dmp, I'd be willing to be a test dummy with my 200GB HDD with a large F: partition... Just tell me what to do to apply your patch... :D
appleguru
Newbie
Posts: 2
Joined: Wed Dec 15, 2004 4:46 pm
Contact:

Post by appleguru »

Looks like ShALL added this to the latest magic patch :D

/me runs magic for the second time today to test :)
dmp
Linux User
Posts: 13
Joined: Sat Oct 23, 2004 5:00 pm

Post by dmp »

So, does it work? Or not...?

David
Post Reply