Jump to content

ApplePCIIDE.kext


hnak
 Share

49 posts in this topic

Recommended Posts

I wrote a kext supporting some inexpensive PCI IDE/SATA chips.

( The code is based on AppleVIAATA and NetBSD drivers )

10.6 only. ( it should be easy to modify the project file to build 10.5 kext )

 

---------------------------------------

Supported PCI IDE/SATA cards .

 

Don't connect master/slave drives. I never tested more than 1 drives per port.

 

VIA 6421:

SATA / PATA work.

 

SiliconImage 0680:

Tested with BASE BIOS 3.4.0

As it seems that the BIOS does not initialize hardware completely, reboot may not work if your boot drive is connected to the secondary channel. In the case, even hardware reset does not work. You have to shutdown and power on again to reboot.

To recognize connected drives, Chameleon 2.0 RC4 or later is required.

 

SiliconImage 3512/3112:

Tested with BASE BIOS 4.5.02/4.4.02

As I experienced crash when disk sleep is enabled, I disabled power state control. Sil3132 driver from the vendor does not support it anyway.

To boot, Chameleon 2.0 RC4 or later is required.

 

SiliconImage 3114:

Only the first 2 ports work as 3112.

 

ITE 8212:

Only PIO mode is supported. Experimental.

 

---------------------------------------

Binary (10.6 & 10.5) + Source

 

1.01

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

I like it alot. Nice work. Can you estimate how much work would be required to make it Leopard 10.5 compatible aswell?

 

merry chrismas 2009,

x!

 

// search terms: SiL 3112, SiL3112, Silicon Image, PCI, SATA, Controller, Delock, 70096

Link to comment
Share on other sites

dude,

thanx a lot. gonna put it on my dev/test rig NOW :-)

x!

 

 

<REPLY EDIT>

<TIME>3 minutes later</TIME>

<COMMENT>tested and working on leopard 10.5.8 as expected, BUT tested only with dvd-rw drive attached. no raid or other testing here.</COMMENT>

</REPLY EDIT>

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

Using under 10.5.6, 10.6 &10.6.2 with 2 Sil3112A PCI cards simultaneously on IDE ports. Works great except one of these cards has a different revision # and can be finicky about showing drives connected, also does not show drives in bootup on this one card. Originally cards were BIOS ver 4.2.02, flashed them to 4.2.84 under XP and they seem to work the same. The drives show up under "secondary" channel. Have not tried the SATA port yet.

Thanks a heap for the great work with these drivers!

 

Update 4/6/10

DUH! Just needed to set the jumper to "master/single" instead of w/slave present!. Now shows up in bios bootup and in OSX properly. Wish these cards supported dual IDE drives, I'd be all set!

Link to comment
Share on other sites

I experience that a SiliconImage based card fails in activating its BIOS, when multiple cards are set (3114 + 0680).

It says something like "not enough space for bios rom".

It seems they require some fixed-address location or simply large memory space.

What happens when you remove one of them ?

Link to comment
Share on other sites

  • 2 months later...

Are there any updates to the ITE 8212/8213 driver? It would be great if someone finally got this working correctly, there are a lot of boards that utilize these chipsets.

Link to comment
Share on other sites

  • 2 weeks later...

I used this kext with a 3112a pci card and the write speeds are very slow. I'm getting around 22 mb/s on a seagate 7200 drive. If I plug the drive into a 3132 pci-e x1 card and use the official silicon image supported kext/driver for 3132, my write rate is an expected 126mb/s

 

 

Any ideas on improving this kext's write speeds? Thanks

Link to comment
Share on other sites

  • 3 months later...

Thanks! This is working perfectly for a PCI VIA VT6421A card (SATA) on a D945GCLF2D; board only has 2 SATA ports available

 

SL 10.6.3 32bit mode

test 1 SATA port

HD Spindown seems to working too!

Haven't tested sleep as system runs 24/7

 

Saved me a couple bux on having to buy a new SIL3124

Link to comment
Share on other sites

  • 4 weeks later...

Works great on IT8213 IDE Controller [1283:8213] in 64-bit... but causes kernel panic on 10.6.5 a little while after boot.

 

Panic doesn't make it to the logs, but it mentions IOATAFamily.kext, IOATABlockStorage.kext and a few others.

 

Once I find a minute to reinstall the kext, I'll post a screenshot of the panic.  I'd love to get this working.

Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...

Thank you very much for the driver. Using a Sil3114 with 4 ports on Snow Leopard 10.6.7. Only 2 of the ports work, as stated above, but I am now able to get my SATA hard drive and blu-ray drive working.

 

Any hope of enabling all 4 ports?

Link to comment
Share on other sites

  • 2 weeks later...

The porting was quite easy as Sil3114 works in Sil3112 compatible mode with the driver.

I tried to enable port2/3 later, but I could not make them work in a short period and gave up.

Link to comment
Share on other sites

  • 1 month later...

hi! this is the output of lspci -nnvv

 

03:05.0 RAID bus controller [0104]: VIA Technologies, Inc. VT6421 IDE RAID Controller [1106:3249] (rev 50)

Subsystem: VIA Technologies, Inc. VT6421 IDE RAID Controller [1106:3249]

Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

Latency: 64

Interrupt: pin A routed to IRQ 20

Region 0: I/O ports at e800

Region 1: I/O ports at e400

Region 2: I/O ports at e000

Region 3: I/O ports at d800

Region 4: I/O ports at d400

Region 5: I/O ports at d000

Expansion ROM at febf0000 [disabled]

Capabilities: [e0] Power Management version 2

Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)

Status: D0 PME-Enable- DSel=0 DScale=0 PME-

 

working great! very neat of you to deliver this driver, I was hopeless 2 years ago when I bought two adapters bearing this chipset, I thought they would work out-of-the-box but they didn't, now I've got one working on my A780GM-A, I'm using it because I can only work with sata on the mobo, not ide, I get random KP and I realized it was due to the IDE channels being enabled and also I was using AppleATIPATA for it to work, after a while I thought it might have also been the bus master option enabled on BIOS but oh well... it works really well now, only two things, first I can't seem to stop the DVD-RW drive from resetting every once in a while, it kindda anoyis me it waking up every 10 minutes or so, and also... does any of you knows how to enable its expansion rom? so I can boot using the card instead of the mobo?... I almost forgot, which one is newer? the one from here or the one at http://sourceforge.net/projects/osx86drive...iles/Kext/Snow/ ... ?

 

thanks hnak.

Link to comment
Share on other sites

I have been using the driver myself for long, both IDE and SATA and I can boot Snow Leopard using BIOS ROM.

I own several 6421-based PCI cards and they work fine unless it is set to legacy mode ( IRQ 14/15 ).

 

However, I do not burn CD/DVD recently and never tested the behaviour.

 

The link to the latest build is at the top of this thread, which should be the same as the osx86drivers project version.

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

Hi.

Today I downloaded your ApplePciIde driver, but I noticed that is compiled for intel processors.

Since I have to install a VIA VT6421A card in a G4 Powermac, is there any way to compile the driver for osx 10.5 PowerPC?

Thank you.

Best regards

 

Federico

Link to comment
Share on other sites

 Share

×
×
  • Create New...