Go Back   Pro/Forums > ProCooling Technical Discussions > Snap Server / NAS / Storage Technical Goodies
Password
Register FAQ Members List Calendar Chat

Snap Server / NAS / Storage Technical Goodies The Home for Snap Server Hacking, Storage and NAS info. And NAS / Snap Classifides

Reply
Thread Tools
Unread 03-21-2006, 11:34 AM   #1
blue72gem
Cooling Neophyte
 
Join Date: Mar 2006
Location: Ljubljana
Posts: 5
Default Snap 4100 BIOS dump, unlocking 137 limit

Just an idea:
has anyone tried to dump bios od Snap 4100 and try to edit it in one of those BIOS editors to patch the LBA 48 bit?

I can provide the dump if someone is interested to do some hacking.
I can also offer to be test rabbit since I can backup and restore the bios anytime (with universal off-board programmer).

Is here in forum anyone with a bit of assembler know-how who's interested to lift the 137 Giga limit of our 4100's?

Let me know, I'll try to be of any assistace as possible.

Regards,
blue72gem

P.S. I'm one of fresh 4100 owner with a 4x 200 Gigz WesternDigitals
blue72gem is offline   Reply With Quote
Unread 03-21-2006, 01:00 PM   #2
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

If the 4100 is like the 2000, it has 2 flashram chips. 1 is removable, the other is soldered in. I currently have read the removable one, with my programmer. But have not unsoldered the second. The OS is stored in these chips, alone with the BIOS. The chips in the 2000 are 29F800BT TSOP. I found reference to pkzip, in the flashram. Indicating that it uncompress the OS, as it installs it to the drive.

If you look at the sup file that Snap uses to update the OS. You will find it is a Intel HEX format.

I was looking at what would be needed to backup a OS. The older 2000 v1 do not like 4.0.860. The installer will not allow you to install a older version.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-21-2006, 04:47 PM   #3
esh
Cooling Neophyte
 
Join Date: Feb 2006
Location: Roswell, GA
Posts: 19
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

I have been wanting to buy a universal programmer for this reason. (and other reasons of course)

I'd be very interested in hacking up the 4100 to accept 48bit LBA. Also I'm surprised a linux or bsd replacement OS hasn't emerged yet for the snap servers... I'm sick of this pansy web interface.

So you have already taken the dump?
esh is offline   Reply With Quote
Unread 03-21-2006, 05:12 PM   #4
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

The hack you need, is one to make the 4100 boot like a standard boot loader. That would allow any OS to be loaded. The std boot loader is on these models: 1100, 2200, and 4200.

I have a Willem Programmer, the new design. Plus the TSOP socket to fit the flashram used in the 2000. I still wan't to un-solder the 2nd flashram and read it. Just havn't got around to it yet.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-22-2006, 01:23 AM   #5
blue72gem
Cooling Neophyte
 
Join Date: Mar 2006
Location: Ljubljana
Posts: 5
Re: Snap 4100 BIOS dump, unlocking 137 limit

Here's the dump of the PIC 16c505 that I've taken.
Unfortunately I tought that this was the eeprom with BIOS, but it looks like that it's keeping the BIOS along with the OS in Intel's flash chip.
I'm going to dump that aswell, but since it's TSOP it requires a little more handy workaround and precision. Especialy to solder it back.
Look forward to see the 4100 flash dump soon, meanwhile here's the PIC dump if anyone might know what snap is keeping inside here.
blue72gem is offline   Reply With Quote
Unread 03-22-2006, 01:26 AM   #6
blue72gem
Cooling Neophyte
 
Join Date: Mar 2006
Location: Ljubljana
Posts: 5
Re: Snap 4100 BIOS dump, unlocking 137 limit

Here's the PIC dump...
Attached Files
File Type: zip pic 16c505.zip (1.5 KB, 38 views)
blue72gem is offline   Reply With Quote
Unread 03-22-2006, 10:42 AM   #7
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

This is a Intel Hex format file. That is un-usually small. in size. The 29F800 are 4 meg chips. Did you read the whole chip. If you want to look at these use Hex Workshop. You will see : followed with a address type and key related to the data. I have utilities for stripping the Address header and checksum at the end. But I have NO clue what the hex code means.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-22-2006, 11:40 AM   #8
blue72gem
Cooling Neophyte
 
Join Date: Mar 2006
Location: Ljubljana
Posts: 5
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

This is PIC code and not flash code!
I haven't dump the flash yet. PIC dump is ASM code that can be disassembled with dev tools for microcontrolers (www.microchip.com).
But I haven't got a clue what's used for in 4100, maybe some coder here would tell us from its disassembly.
As I told I haven't dump the flash yet... I don't have the knowledge nor the tools to decompile it or make a proper patch. I can only provide assistence for testing if someone [with a bit of free brain capacity] would try to make the LBA48 patch.
blue72gem is offline   Reply With Quote
Unread 04-03-2006, 05:57 AM   #9
Davesworld
Cooling Neophyte
 
Join Date: Oct 2004
Location: Seattle, Wa
Posts: 45
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

This issue has been discussed ad nauseum and it has nothing to do with the bios but rather the fact that SnapOS in all forms does not have the bsd driver necessary to allow lba48 on the promise chip. The reason it DOES work on the 4000 is because that platform uses the native intel ide controllers and those drivers do support lba48 although they are much slower controllers. The reason this has never been fixed is simply lack of resources while trying to update other aspects of SnapOS, mainly support for newer Windows versions took priority over trying to reach terabyte capability. I'm not sure if you can get a post 1999 promise driver to compile on that version of bsd they used here. Nothing is impossible though. If only we could put a more modern nas os in place of it.
Davesworld is offline   Reply With Quote
Unread 04-03-2006, 06:13 AM   #10
blue72gem
Cooling Neophyte
 
Join Date: Mar 2006
Location: Ljubljana
Posts: 5
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

Thank you for enlightment.
I guess we should look more into FreeNAS OS port to 4100 hardware.
blue72gem is offline   Reply With Quote
Unread 04-03-2006, 08:29 AM   #11
esh
Cooling Neophyte
 
Join Date: Feb 2006
Location: Roswell, GA
Posts: 19
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

OpenFiler would be good :-D
esh is offline   Reply With Quote
Unread 04-03-2006, 09:44 AM   #12
re3dyb0y
Cooling Savant
 
re3dyb0y's Avatar
 
Join Date: Aug 2004
Location: UK
Posts: 909
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

http://www.openfiler.com/

Quote:
Openfiler is a powerful, intuitive browser-based network storage software distribution. Openfiler delivers file-based Network Attached Storage and block-based Storage Area Networking in a single framework.

Openfiler sits atop of CentOS Linux (which is derived from sources freely provided to the public by a prominent North American Enterprise Linux vendor). It is distributed as a stand-alone Linux distribution. The entire software stack interfaces with third-party software that is all open source.

File-based networking protocols supported by Openfiler include: NFS, SMB/CIFS, HTTP/WebDAV and FTP. Network directories supported by Openfiler include NIS, LDAP (with support for SMB/CIFS encrypted passwords), Active Directory (in native and mixed modes) and Hesiod. Authentication protocols include Kerberos 5.

Openfiler includes support for volume-based partitioning, iSCSI (target and initiator), scheduled snapshots, resource quota, and a single unified interface for share management which makes allocating shares for various network file-system protocols a breeze.
Someone gonna buy me and david a 4100 to play with each?

Nah, im joking



Hmm, Cent OS based.....

Its gonna really have to be a unit we can have a screen on, i suppose, but then again, it doesnt..... But it would be easier
__________________
Snap Server Help Wiki - http://wiki.procooling.com/index.php/Snap_Server

Snap Server 2200 v3.4.807
2x 250GB Seagate Barracuda 7200.9
w/ UNIDFC601512M Replacement Fan

"Did you really think it would be that easy??"


Other NAS's
1x NSLU2 w/ 512mb Corsair Flash Voyager
Running Unslung 6.8b

1x NSLU2 w/ 8Gb LaCie Carte Orange
Running Debian/NSLU2 Stable 4.0r0


250GB LaCie Ethernet Disk
Running Windows XP Embedded
re3dyb0y is offline   Reply With Quote
Unread 04-03-2006, 10:03 AM   #13
esh
Cooling Neophyte
 
Join Date: Feb 2006
Location: Roswell, GA
Posts: 19
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

Quote:
Originally Posted by re3dyb0y
http://www.openfiler.com/



Someone gonna buy me and david a 4100 to play with each?

Nah, im joking



Hmm, Cent OS based.....

Its gonna really have to be a unit we can have a screen on, i suppose, but then again, it doesnt..... But it would be easier
If I had the money I would buy you one if you could do it.

I'd even loan my 4100 out if you wanted to screw with it.... Eventually I'll be building an openfiler box, would just be nice if the snap server could run it... but that may be asking too much from this little box.
esh is offline   Reply With Quote
Unread 04-03-2006, 06:32 PM   #14
Davesworld
Cooling Neophyte
 
Join Date: Oct 2004
Location: Seattle, Wa
Posts: 45
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

Anyone figured out what that ide style header is for next to the flash drive on a Snap4100?
Davesworld is offline   Reply With Quote
Unread 04-03-2006, 08:28 PM   #15
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

You got the same header on a 1000v1 & 1100. I know it you connect a IDE drive to it the 1100 will not boot. But it could be a SCSI port and not a IDE like I tried. But it may be like a snap tech told me on the 2000. They took some single board computer and customized them for there need. Killing off un necessary parts. Look for a SCSI controller???? Or send me a componet list and will will google them.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 04-03-2006, 10:06 PM   #16
esh
Cooling Neophyte
 
Join Date: Feb 2006
Location: Roswell, GA
Posts: 19
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

my guess is it is for some sort of daughter-board... which snap never had a need for.
esh is offline   Reply With Quote
Unread 04-08-2006, 06:00 PM   #17
Davesworld
Cooling Neophyte
 
Join Date: Oct 2004
Location: Seattle, Wa
Posts: 45
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

If an IDE drive keeps it from booting, I would guess that it overrides the bootable flash image. If this is true, one could install FreeNAS on a drive and see if it will allow the snap to boot up off of it. Too bad there isn't at least a serial port on these. It definitely is NOT scsi since that would be a 50 pin or 68 pin connector and a scsi controller chip would would be obvious on the mobo as are the promise controllers. It's probably a direct connection to the piix controller which likely also runs the Intel flash chip where SnapOS resides. BTW, I dl'ed the FreeNAS VMWare player image and set it up. The update notification page is sweet. I've already updated it twice from the gui after I installed it from the slightly older VMWare image. At version 0.65, it's already way ahead of SnapOS. The development cycle seems to be moving fast and there is no hardware on a snapserver that FreeNAS won't drive. It only uses about 16MB once installed so it will definitely fit on the flash image. Now, if only there was an easy way to get it to replace SnapOS. Sure, it's easier just to get a newer platform but why not get some new life out of these devices? They are plenty powerful enough to run large capacity raid volumes for just a small network. Newer drives may actually have less load on the cpu since IDE devices have become more cpu friendly with time, not less.

Last edited by Davesworld; 04-08-2006 at 06:14 PM.
Davesworld is offline   Reply With Quote
Unread 04-08-2006, 09:27 PM   #18
esh
Cooling Neophyte
 
Join Date: Feb 2006
Location: Roswell, GA
Posts: 19
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

Quote:
Originally Posted by Davesworld
It only uses about 16MB once installed so it will definitely fit on the flash image. Now, if only there was an easy way to get it to replace SnapOS. Sure, it's easier just to get a newer platform but why not get some new life out of these devices? They are plenty powerful enough to run large capacity raid volumes for just a small network. Newer drives may actually have less load on the cpu since IDE devices have become more cpu friendly with time, not less.
That would be ideal, I'm really hoping for a replacement like that... and @ 16MB there would be a bit of room left over as well for future upgrades to the OS or custom apps to run.

Sure you can build your own platform for it, but I already have one of these... they are a nice form-factor and they are relatively cheap to come by (compared to building a new 1U box). I think there would be even more potential with something like freenas.
esh is offline   Reply With Quote
Unread 04-09-2006, 01:58 AM   #19
re3dyb0y
Cooling Savant
 
re3dyb0y's Avatar
 
Join Date: Aug 2004
Location: UK
Posts: 909
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

We really need like one of the original design team so that we can find out how it was done

Or at least be able to read the drive in something to find out how its setup, becuse altering the bootloader could work... As it could quite easily be a special one
__________________
Snap Server Help Wiki - http://wiki.procooling.com/index.php/Snap_Server

Snap Server 2200 v3.4.807
2x 250GB Seagate Barracuda 7200.9
w/ UNIDFC601512M Replacement Fan

"Did you really think it would be that easy??"


Other NAS's
1x NSLU2 w/ 512mb Corsair Flash Voyager
Running Unslung 6.8b

1x NSLU2 w/ 8Gb LaCie Carte Orange
Running Debian/NSLU2 Stable 4.0r0


250GB LaCie Ethernet Disk
Running Windows XP Embedded
re3dyb0y is offline   Reply With Quote
Unread 04-09-2006, 05:30 PM   #20
jontz
Cooling Savant
 
Join Date: Feb 2006
Location: South Bend, IN
Posts: 385
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

I just "offer" to take peoples old computers from them so they don't have to recycle them. It is amazing what people think is an old computer these days. Someone gave me an Athlon XP 1700+ the other day. Too "old" for them Sure makes for some nice computers laying around to put FreeNAS on though...
jontz is offline   Reply With Quote
Unread 04-10-2006, 06:59 PM   #21
Davesworld
Cooling Neophyte
 
Join Date: Oct 2004
Location: Seattle, Wa
Posts: 45
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

Quote:
Originally Posted by jontz
I just "offer" to take peoples old computers from them so they don't have to recycle them. It is amazing what people think is an old computer these days. Someone gave me an Athlon XP 1700+ the other day. Too "old" for them Sure makes for some nice computers laying around to put FreeNAS on though...
That's probably powerful enough to make a pvr out of with KnoppMyth. There's always something to be tested where you don't want to alter your current running workstation and having something extra, even as slow as 450mhz is useful to try things out such as an os you want to try. I may just grab an extra 4100 or 705N to play with. The worst case scenario is having to desolder the flash drive and set up a jig to allow you to write to it on a desktop pc. Hmm, wonder if that ide header is to hook to an ide controller on another computer and reflash it that way? They had to have made a way so they could easily get the boards from mfr, flash the os into them and have someone fire it up after the entire box was assembled. I'm also wondering if the 10/100 realtek chip is pin compatible with their faster stuff.
Davesworld is offline   Reply With Quote
Unread 04-10-2006, 07:02 PM   #22
Davesworld
Cooling Neophyte
 
Join Date: Oct 2004
Location: Seattle, Wa
Posts: 45
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

Quote:
Originally Posted by re3dyb0y
We really need like one of the original design team so that we can find out how it was done

Or at least be able to read the drive in something to find out how its setup, becuse altering the bootloader could work... As it could quite easily be a special one
Wow! You've been De-Poogled! Didn't know that was you.
Davesworld is offline   Reply With Quote
Unread 04-10-2006, 08:39 PM   #23
jontz
Cooling Savant
 
Join Date: Feb 2006
Location: South Bend, IN
Posts: 385
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

Quote:
Originally Posted by Davesworld
That's probably powerful enough to make a pvr out of with KnoppMyth. There's always something to be tested where you don't want to alter your current running workstation and having something extra, even as slow as 450mhz is useful to try things out such as an os you want to try. I may just grab an extra 4100 or 705N to play with. The worst case scenario is having to desolder the flash drive and set up a jig to allow you to write to it on a desktop pc. Hmm, wonder if that ide header is to hook to an ide controller on another computer and reflash it that way? They had to have made a way so they could easily get the boards from mfr, flash the os into them and have someone fire it up after the entire box was assembled. I'm also wondering if the 10/100 realtek chip is pin compatible with their faster stuff.

I've been wondering about the mysterious header myself. Perhaps it is a combination of your two suggestions. Maybe they had a drive that had a seperate OS on it, from which they could flash the OS onto the board. They plug the drive in, the machine boots from it, installs the OS, and bam...all done. I don't really want to torch my current 4100 either, but I am on the lookout for a secondary "experiment" 4100 as well. I would LOVE to get gigabit ethernet out of this machine...If I come up with anything I'll keep you all posted.
jontz is offline   Reply With Quote
Unread 04-11-2006, 02:47 PM   #24
re3dyb0y
Cooling Savant
 
re3dyb0y's Avatar
 
Join Date: Aug 2004
Location: UK
Posts: 909
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

Quote:
Originally Posted by Davesworld
Wow! You've been De-Poogled! Didn't know that was you.
Lol, it would confuse people

Hence why having it in my signature!
__________________
Snap Server Help Wiki - http://wiki.procooling.com/index.php/Snap_Server

Snap Server 2200 v3.4.807
2x 250GB Seagate Barracuda 7200.9
w/ UNIDFC601512M Replacement Fan

"Did you really think it would be that easy??"


Other NAS's
1x NSLU2 w/ 512mb Corsair Flash Voyager
Running Unslung 6.8b

1x NSLU2 w/ 8Gb LaCie Carte Orange
Running Debian/NSLU2 Stable 4.0r0


250GB LaCie Ethernet Disk
Running Windows XP Embedded
re3dyb0y is offline   Reply With Quote
Unread 04-22-2006, 05:10 PM   #25
Eric Kirk
Cooling Neophyte
 
Join Date: Apr 2006
Location: Tennessee
Posts: 8
Default Re: Snap 4100 BIOS dump, unlocking 137 limit

so i have a Dell 705 which is really a snap 4100, i am trying to flash it with the new snap os 4.0.860 and i down load the software package but the Assist says that all 3 files in that package are not the corrcect files to patch this server, but i can use the release from dell and that will patch it. and i thought that this new patch allowoed 48 bit drives
o well i just found this thing in the rack last week and got it up and running. but i am trying to get it to do XP and 2k3 user/pass procteting and that is why i am trying to flash the thing
Eric Kirk is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:02 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...