Author Topic: Phatbox filesystem layout  (Read 9664 times)

0 Members and 1 Guest are viewing this topic.

Offline sulaco

  • A few posts under my belt.
  • *
  • Posts: 33
Phatbox filesystem layout
« on: March 11, 2005, 01:26:36 pm »
By the looks of it, the phatbox sets up a ramdisk that contains most of the filesystem, including /bin /sbin /etc .......

/bin contains programs such as mount, and a path env must be set up as rc.sh doesnt specify a full path.
« Last Edit: March 11, 2005, 01:27:02 pm by sulaco »

Offline AndyMan

  • Getting the hang of things.
  • **
  • Posts: 75
Re: Phatbox filesystem layout
« Reply #1 on: March 11, 2005, 03:06:21 pm »
Looking at this site... seems like the linux environment is un-archived on the fly...  It might be old data but is probably still good


http://www.lynuxworks.com/solutions/electronics/in-action/phatnoise.php3


Offline AndyMan

  • Getting the hang of things.
  • **
  • Posts: 75
Re: Phatbox filesystem layout
« Reply #2 on: March 17, 2005, 03:03:44 pm »
If only we could implement some kind of "symlink" under the vfat mounted music directory (we'd still need to mount the additional drive as well) but it may also work

Offline A543

  • Senior Member
  • Veteran.
  • *****
  • Posts: 214
Re: Phatbox filesystem layout
« Reply #3 on: March 17, 2005, 08:42:11 pm »
Hey AndyMan, does/can Linux automount a drive if a symlink points to it?

Offline sbingner

  • Administrator
  • Veteran.
  • *****
  • Posts: 1301
Re: Phatbox filesystem layout
« Reply #4 on: March 17, 2005, 09:54:17 pm »
the firmware isn't going to do anything unless the signature is correct... I expect we need to get a rom-programmer and modify the rom to not check it.... or make a mod chip similar to the xbox chip
« Last Edit: March 17, 2005, 10:13:32 pm by admin »

Offline Oaf

  • Newbie
  • Posts: 11
Re: Phatbox filesystem layout
« Reply #5 on: March 17, 2005, 10:33:22 pm »
Hi everyone, I've enjoyed reading your thoughts on this.

I think there are two potential approaches:

You can either try the modchip (disabling the signature checks/making them always return true, etc)

OR

(and I think this is likely to be easier but is much less flexible) clone an existing "genuine" DMS.

I've had no time to look at this but if I were wanting to secure a drive I'd probably take some kind of hash of the unique characteristics of the drive I was "locking", e.g. manufacturer name/ID, drive serial number, BIOS version, etc (or a combination) and write it to the drive somewhere (possibly the "interesting" space before the partitions start, but who knows?) It would then be trivial for the Phatbox to read this hash, compare it with the expected value from the drive ID etc and then accept or reject...

It would be interesting to see the result of a sector copy of a DMS onto the SAME make/model/version of "normal" HD - which has had its firmware hacked to return the same serial number etc as the "genuine" DMS. HD manufacturers release flash utilities/HD toolkits, it probably wouldn't be too difficult to dump a DMS firmware (disc BIOS) image and reupload it to a non-Phatnoise drive.

I'd like to have more time to look into this but at the moment real life is getting in the way...   :)

If I were Phatnoise I would sell the empty DMS cases at say $50 a pop and release a signing util/development kit. It seems odd that a company should base its product on an open source solution yet take such a proprietary approach. I feel it stifles a lot of the enthusiasm for their product.

Offline AndyMan

  • Getting the hang of things.
  • **
  • Posts: 75
Re: Phatbox filesystem layout
« Reply #6 on: March 18, 2005, 02:42:55 pm »
Quote
Hey AndyMan, does/can Linux automount a drive if a symlink points to it?


Nope... it doesn't auto-mount the drive unfortunately... we still need a way to mount the drive prior to referencing it

Offline AndyMan

  • Getting the hang of things.
  • **
  • Posts: 75
Re: Phatbox filesystem layout
« Reply #7 on: March 18, 2005, 02:45:00 pm »
Quote
the firmware isn't going to do anything unless the signature is correct... I expect we need to get a rom-programmer and modify the rom to not check it.... or make a mod chip similar to the xbox chip


sbinger, is it the 8051 that's doing the firmware check...? if so, then I'll break out my 8051 manuals and see what I can find out.

I'm gonna buy one of those $147 specials from ebay so I don't destroy my working keg

Offline sbingner

  • Administrator
  • Veteran.
  • *****
  • Posts: 1301
Re: Phatbox filesystem layout
« Reply #8 on: March 18, 2005, 04:12:19 pm »
Quote

sbinger, is it the 8051 that's doing the firmware check...? if so, then I'll break out my 8051 manuals and see what I can find out.

I'm gonna buy one of those $147 specials from ebay so I don't destroy my working keg

I'm not sure what does the check... but you can look at a pic of the board itself at http://ns3.bingner.com/phatnoise/phatbox.jpg

Sam