Author Topic: SIL3112 Mass Storage Drivers!  (Read 7668 times)

Offline darthnVader

  • Platinum Member
  • *****
  • Posts: 679
  • New Member
SIL3112 Mass Storage Drivers!
« on: March 28, 2022, 08:17:23 AM »
I have, with the help of @joevt/imic/Daniel/whoisthisguy, and Apple's somewhat confusing documentation on 'NDRV's, created a Classic Mac OS( not Mac OS X Classic Mode ) driver for Sil3112 SATA.

These drivers will not make a drive connected to the Sil3112 bootable in the Classic Mac OS, it is meant to be a Mass Storage Driver and you do not need it for a card the already has the FirmTek 'NDRV' in ROM.

Driver #1 is for a generic Sil3112 with a PC Bios on it.

Driver #2 is for a Sil3112 with the WiebeTech Firmware on it.

Driver #3 is for a Sil3112 with a reduced SerilTek/Firmtek Firmware on it.( I have reduced the firmware to 82k but have not found the EPPROM ID check to bypass it. )

THESE ARE ALPHA LEVEL DRIVERS!!!!!!!!!!!!!!!!!!!!!!!

Don't use them on drives with mission critical data until you have tested them and you are sure enough to trust them. I take no responsibility for loss of your data.

Driver #2 and #3 will allow you to use the StartupDisk Control Panel to boot OS X on New World Macs that support it without XPOSTFACTO. XPostFacto has a bug with the "device_tyoe" ATA from the WiebeTech firmware, it should not effect the Startup Disk Control Panel. There is a workaround if you need to boot OS X with the WiebeTech firmware using XPostFacto.

These drivers will not enable you to boot versions of OS X, that is a function of the cards firmware! But they will enable you to select and boot versions of OS X that are supported by the OS X Driver in your cards Firmware for the Mac OS Startup Disk Control Panel( versions that support OS X ) Basically the Mac OS Startup Disk Control Panel for OS 9.x. It also enables the use of XPostFacto to boot OS X with cards that have the correct firmware( WeibeTech/FirmTech ).

You will not be able to boot OS X from a card with a PC Bios, this Driver does not support that.

What has been tested:

Mac OS 9.2.2 Powermac 9600
Mac OS 7.6.1 PowerMac 9600

Known Bugs:

ATAPI devices will causes a long boot hang as the driver loads and probes the ATAPI device.

ATAPI devices seem to lack DMA, very slow, but my test of copying a 732MB file from DVD to HD did not result in any system hangs or data corruption. It's just damed slow( a known issue with FirmTek on the Mac OS ).

Hard Drives connected don't always Auto Mount( Use Drive Setup to mount drives ).

What needs to be done:

Create custom Icons for our driver.( You can help with this! )
Combine all three drivers into one Extension.( I'm working on it! )
Fix DMA? for ATAPI devices( It's complicated! )
Figure out why some Hard Drives don't auto mount.( I'm working on it, but you can help by reporting the vendor and device for your drives that do or don't auto mount! )

Limitations:

Mac OS 7.5.2 and greater should support partitions up to 2TB for drives formatted HFS/HFS+.( untested ).
Requires a Free PCI Slot.

Untested:

Mostly everything.

Offline IIO

  • Platinum Member
  • *****
  • Posts: 4439
  • just a number
Re: SIL3112 Mass Storage Drivers!
« Reply #1 on: March 28, 2022, 09:18:51 AM »
icons are on their way.
insert arbitrary signature here

Offline Greystash

  • Gold Member
  • *****
  • Posts: 219
  • Too many Macs..
    • Mac Classic, Mac Attic
Re: SIL3112 Mass Storage Drivers!
« Reply #2 on: March 30, 2022, 12:42:04 AM »
Amazing work!!!  8)

Offline MacTron

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 2116
  • keep it simple
Re: SIL3112 Mass Storage Drivers!
« Reply #3 on: March 30, 2022, 11:00:05 AM »
Thanks a lot.  ;D
Another great job!
Please don't PM about things that are not private.

Offline IIO

  • Platinum Member
  • *****
  • Posts: 4439
  • just a number
Re: SIL3112 Mass Storage Drivers!
« Reply #4 on: April 01, 2022, 03:10:51 PM »
...
insert arbitrary signature here

Offline darthnVader

  • Platinum Member
  • *****
  • Posts: 679
  • New Member
Re: SIL3112 Mass Storage Drivers!
« Reply #5 on: April 03, 2022, 04:15:07 AM »
...

Thanks, looks great, I'll update the downloads soon with your custom icons.

Anyone have any feedback on how the drivers are working?

I noted with the Wiebe Driver that disks didn't want to mount via drive setup on my Beige G3, so still some work to do there.

Offline tunedbytad

  • Veteran Member
  • ****
  • Posts: 163
  • ProTools 5 addict
Re: SIL3112 Mass Storage Drivers!
« Reply #6 on: April 03, 2022, 07:05:21 PM »
would love to test this.
I have a bench MDD 1.25 ready to test
It currently has a Sonnet Tempo Sata card with M.2 Sata Samsung 850s to benchmark against.

Plz, give me a solid link to what Sata card the driver purchase  / mate to the drivers and I will report back.
Hi, My name is Tad
I have a PMG4 problem
aka tunedbytad aka ProTools4 aka NotoriouSS

Offline superseth

  • Newcomer
  • Posts: 1
  • New Member
Re: SIL3112 Mass Storage Drivers!
« Reply #7 on: April 15, 2022, 10:58:16 AM »
I have an Adaptec card that I suspect will work with this and a copy of 9.2.1 on a Sawtooth I am rebuilding right now. I downloaded the zip for the PC bios but the extension comes through as a simpletext file. Is there a good way to extract it with the resource forks working? I have been away from the classic mac world for 15-20 years so things are a bit fuzzy.


Offline IIO

  • Platinum Member
  • *****
  • Posts: 4439
  • just a number
Re: SIL3112 Mass Storage Drivers!
« Reply #8 on: April 15, 2022, 02:24:37 PM »
if a zip can be unstuffed without loosing resource forks depends on how it was made. the files above must be unzipped under OSX or you end up with only the readme. :)
insert arbitrary signature here

Offline threeJane

  • Newcomer
  • Posts: 1
  • New Member
Re: SIL3112 Mass Storage Drivers!
« Reply #9 on: April 16, 2022, 10:15:26 PM »
I don't like speaking and mostly observe from the shadows, but I need to say thank you. The work people on this forum do directly helps me and my family, who live with and use a Power Macintosh every day. You make that computer better than it was in the past.

Offline joevt

  • Enthusiast Member
  • ***
  • Posts: 65
  • New Member
Re: SIL3112 Mass Storage Drivers!
« Reply #10 on: March 02, 2023, 08:45:47 PM »
Since this thread is pinned, I thought I should note that dosdude1 has done some work with the firmware to reduce the size of the embedded NDRV (for OS 9) so that you might not need to exclude it from the firmware to make it fit on a 128K ROM chip.
 http://macos9lives.com/smforum/index.php/topic,306.msg50427.html#msg50427

A 64K ROM may be possible by excluding the mkext (for OS X). Then the kexts included in the mkext would need to be added to OS X somehow. I don't think I've heard of a SIL3112 card with 64K ROM chip though.

Offline darthnVader

  • Platinum Member
  • *****
  • Posts: 679
  • New Member
Re: SIL3112 Mass Storage Drivers!
« Reply #11 on: March 24, 2023, 09:06:55 AM »
Since this thread is pinned, I thought I should note that dosdude1 has done some work with the firmware to reduce the size of the embedded NDRV (for OS 9) so that you might not need to exclude it from the firmware to make it fit on a 128K ROM chip.
 http://macos9lives.com/smforum/index.php/topic,306.msg50427.html#msg50427

A 64K ROM may be possible by excluding the mkext (for OS X). Then the kexts included in the mkext would need to be added to OS X somehow. I don't think I've heard of a SIL3112 card with 64K ROM chip though.

The .kext files for the 3112 are added to OS X, just not in the standard location in the /System/Extensions. I'll have to check the path......