View unanswered posts | View active topics It is currently Mon Dec 11, 2017 5:25 am



Reply to topic  [ 7 posts ] 
 Drivers for JMicron+Marvell PATA and others(r8169/sky2/ahci) 
Author Message

Joined: Tue Nov 17, 2009 6:10 am
Posts: 83
Reply with quote
Post Drivers for JMicron+Marvell PATA and others(r8169/sky2/ahci)
Hi to all,

I updated my custom OEM.TGZ with support for JMicron PATA controllers. :lol:

I ported the driver from kernel 2.6.21 to ESX4i. :o
Please, note that I don't tested it because I don't have the hardware (I do because someone asked for it in the forum).

Moreover, this controller is mixing SATA (in AHCI mode) and IDE (as emulation). You need to set your correct configuration in "simple.map" adjusting the PCI ID subclass acording to your hardware. In my custom OEM.TGZ "197b:2361" only loads "pata_jmicron.o" driver and "197b:2363" only loads "ahci.o". Please, change as you need!

Current drivers:

* NIC Realtek 8169 (yes, the PCI version!)
* NIC Marvell Yukon
* STORAGE Enhanced AHCI
* STORAGE Marvell PATA (88SE61xx, ported & compiled by myself)
* STORAGE JMicron PATA (JMB36x, ported & compiled by myself)

Finally, please, continue porting more drivers to ESX4i !!!! :mrgreen:


Attachments:
File comment: custom oem.tgz with all binaries
Remember: rename to "oem.tgz"

mymod-network.new3.tgz [664.48 KiB]
Downloaded 1658 times
File comment: Source code of pata_jmicron
See guide from http://www.kernelcrash.com/blog/using-a-marvell-lan-card-with-esxi-4/2009/08/22/
Remember: Output binary is in bora/build/scons/build/vmkdriver-<MODULE>/release/vmkernel64/

esx4i-pata_jmicron-src.tgz [3.75 KiB]
Downloaded 822 times
Thu Dec 10, 2009 4:45 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Drivers for JMicron+Marvell PATA and others(r8169/sky2/ahci)
Thanks for posting this.

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Fri Dec 11, 2009 12:53 am
Profile

Joined: Tue Nov 17, 2009 6:10 am
Posts: 83
Reply with quote
Post Re: Drivers for JMicron+Marvell PATA and others(r8169/sky2/ahci)
You welcome! :mrgreen:

Who upgrades http://www.vm-help.com/esx40i/customize_oem_tgz.php ?


Fri Dec 11, 2009 3:43 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Drivers for JMicron+Marvell PATA and others(r8169/sky2/ahci)
That would be me and it's done :)

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Fri Dec 11, 2009 8:28 am
Profile

Joined: Sat Jan 02, 2010 4:35 pm
Posts: 3
Reply with quote
Post Re: Drivers for JMicron+Marvell PATA and others(r8169/sky2/ahci)
danisoto wrote:
Hi to all,

I updated my custom OEM.TGZ with support for JMicron PATA controllers. :lol:

I ported the driver from kernel 2.6.21 to ESX4i. :o
Please, note that I don't tested it because I don't have the hardware (I do because someone asked for it in the forum).

Moreover, this controller is mixing SATA (in AHCI mode) and IDE (as emulation). You need to set your correct configuration in "simple.map" adjusting the PCI ID subclass acording to your hardware. In my custom OEM.TGZ "197b:2361" only loads "pata_jmicron.o" driver and "197b:2363" only loads "ahci.o". Please, change as you need!


Just wanted to confirm that the JMicron driver is working, but my controller (asus p5b motherboard) reports itself as "197b:2363" (no matter whether I set it to raid/ide/ahci in bios) so I had to change the "simple.map" file in order to actually load "pata_jmicron.o" ("ahci.o" didn't work).

Now it finally detects a DVD drive connected to this controller, so thanks a lot! :-)

Also, I can confirm that the Marvell Yukon driver works as well. Although, my motherboard has two of them and only the first one (11AB:4320) is detected. No luck with the other one (11AB:4364) even when I added it to the "simple.map" file. But it's not really a problem for me since I've already bought the Intel NIC so I have 2 (of 3 possible) NICs available in ESXi now.


Sun Jan 03, 2010 7:41 pm
Profile

Joined: Sat Jan 09, 2010 11:44 pm
Posts: 1
Reply with quote
Post Re: Drivers for JMicron+Marvell PATA and others(r8169/sky2/ahci)
Folks,

I now have IDE storage working on my Asus P5K with Jmicron drivers

I did have to customize the /etc/vmware/simple.map

and replace the second occurence of 197b:2361 pata_jmicron.o
which is 197b:2363 ahci.o with 197b:2363 pata_jmicron.o

and I also needed to do this inside OEM.TGZ on dd5 on my usb stick image

So I did
mount -o loop ddimage offset of the dd5 partition /my mount directory
then replaced oem.tgz in there with the modified one

and the tar of the ddimage is tar zcvf oem.tgz etc bin oem.txt
not tar oem.tgz .
that kernel panicked

it works

f.


Sat Jan 09, 2010 11:50 pm
Profile

Joined: Mon Jan 24, 2011 8:50 am
Posts: 1
Reply with quote
Post Re: Drivers for JMicron+Marvell PATA and others(r8169/sky2/a
Hi all,

unfortunately in my case the pata_jmicron driver 0.1.4 doesn't seem to work. It loads fine but doesn't find any drive at all. If i change simple.map to use AHCI drivers it finds at least the drive attached at the first port.

On the same PC i have a working installation of UBUNTU 10.00 which identifies all the drives successfully using their pata_jmicron which is version 0.1.5

I tried to recompile using the instructions i have found here :

http://www.kernelcrash.com/blog/using-a ... 009/08/22/

but it fails with numerous errors when i compile the driver. I'm afraid my C programming skills are not enough to do the necessary changes to make it work.

Does anybody that has the necessary skills bother to compile version 0.1.5 it for us ?

Regards,
Pocopico


Tue Jan 25, 2011 2:41 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.