Jump to content

ApplePCIIDE.kext


  • Please log in to reply
43 replies to this topic

#1
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
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

#2
ximekon

ximekon

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts
  • Gender:Male
  • Location:e-mac's place
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

#3
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
I have just uploaded 10.5 build.
merry christmas!

#4
junkyarddiver

junkyarddiver

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Location:Medford, NY USA
Thank You, works great.
Merry Christmas!

#5
ximekon

ximekon

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts
  • Gender:Male
  • Location:e-mac's place
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>

#6
whum

whum

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
Using 10.5.8.
Tried the kext with VIA 6421
and SiliconImage 0680 (BIOS 3.2.10)

Mirroring RAID is not working.
System recognizes two volumes, but not RAID.
(and I had such a hope...)

#7
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
Are you talking about BIOS raid, or Mac software raid ?
As mentioned in other places in this forum, BIOS raid does not work in OSX86.

#8
whum

whum

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
Oh, sorry,
was talking about BIOS one, didn't get this.
Software raid works.
Thank you for your work!

#9
Macduzzit

Macduzzit

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
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!

#10
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
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 ?

#11
Zulu.Walker

Zulu.Walker

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Interests:Film/TV Post-Production<br />Independent Films<br />Music<br />Literatur...
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.

#12
hisham_dell

hisham_dell

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
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

#13
kmare

kmare

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 121 posts
  • Gender:Male
  • Location:Toronto
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

#14
inimicus

inimicus

    Drunk and Angry Slurs in 31 Flavors

  • Members
  • PipPipPipPipPipPip
  • 473 posts
  • Gender:Male
  • Location:Sacramento, CA
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.

#15
alfonzotan

alfonzotan

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
Just sending a belated many-thanks for this kext. One of the SATA ports on my Hackintosh home server died this week; with this code added in, an old $12 card in my parts bin works perfectly as a substitute.

#16
crazyJAT

crazyJAT

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 300 posts
  • Gender:Male
  • Location:US
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?

#17
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
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.

#18
M@dMac

M@dMac

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Mérida, Venezuela
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.n...iles/Kext/Snow/ ... ?

thanks hnak.

#19
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
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.

#20
geigi

geigi

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Hey,

is there a change to use this kext in Lion? Could sb. adjust it or tell me how i have to adjust it? I have the 0680 and need it for my dvd drive...
thanks ;)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy