View unanswered posts | View active topics It is currently Wed Aug 23, 2017 1:27 pm



Reply to topic  [ 21 posts ]  Go to page 1, 2, 3  Next
 Working aic7xxx driver for Adaptec 2940, etc; please test... 
Author Message

Joined: Sat Jul 25, 2009 5:08 pm
Posts: 13
Reply with quote
Post Working aic7xxx driver for Adaptec 2940, etc; please test...
Anyone interested in an esxi / esx 4.x driver for this card? If so, let me know; I'm thinking of posting one (if you have a preferred way to post, I'd love to know that too).


Last edited by curmudgeon on Sun Dec 20, 2009 8:14 am, edited 2 times in total.



Thu Dec 10, 2009 11:15 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: aic7xxx driver for Adaptec 2940 and friends
I'm sure someone will be interested and I have a 2944 around that I could test. Usually people will just attached their oem.tgz and make a note of which IDs were added to simple.map.

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


Thu Dec 10, 2009 12:54 pm
Profile

Joined: Sat Jul 25, 2009 5:08 pm
Posts: 13
Reply with quote
Post Re: aic7xxx driver for Adaptec 2940 and friends
Cool. In that case, here's the oem.tgz (including my simple.map) and a quick install writeup. It should work on any of the aic7xxx variants; for my cards, I added:

9005:00c0 9005:f620 storage aic7xxx.o
9005:0080 9005:e2a0 storage aic7xxx.o

to /etc/vmware/simple.map.

I've tested with SCSI CD-ROMs, 8mm, 4mm, and DLT tapes, and of course disk.

The only issue that's outstanding is that I don't know how to generate a signature that will keep VMware from complaining at load time. I know that I need a .vmsign section in the ELF file and I can generate that from the source, but creating the cert that goes in there is still a mystery to me.

Let me know how it works out for you!


Attachments:
aic7xxx_install.txt [7.2 KiB]
Downloaded 858 times
oem.tgz [1.44 MiB]
Downloaded 1197 times


Last edited by curmudgeon on Wed Dec 16, 2009 5:15 am, edited 2 times in total.

Thu Dec 10, 2009 1:10 pm
Profile

Joined: Tue Nov 17, 2009 6:10 am
Posts: 83
Reply with quote
Post Re: aic7xxx driver for Adaptec 2940 and friends
curmudgeon wrote:
The only issue that's outstanding is that I don't know how to generate a signature that will keep VMware from complaining at load time. I know that I need a .vmsign section in the ELF file and I can generate that from the source, but creating the cert that goes in there is still a mystery to me.

My ported drivers for STORAGE modules (JMicron-PATA and Marvell-PATA) loads well.
Can you publish your source code?
Or you can use my build-script in sources adapting it to your module (see viewtopic.php?f=12&t=1762&start=0)

More open drivers for ESX4i, please! :P :mrgreen:


Fri Dec 11, 2009 3:40 am
Profile

Joined: Sat Jul 25, 2009 5:08 pm
Posts: 13
Reply with quote
Post Re: aic7xxx driver for Adaptec 2940 and friends
The driver loads (and works) fine. It's just that VMware issues a message regarding an unsigned driver. Which is harmless, but annoying. I built your pata_jmicron driver and it has the same issue; on load, you get "ALERT: Elf: 2518: Kernel module pata_jmicron was loaded, but has no signature attached" in the vmkernel log. You need to add a section to the ELF file called .vmsign and in there you need to have a PKCS3 signature file, but I don't know how to generate one that makes VMware happy.

I can post the source and build if you want. Can you send instructions as to how you want it posted?


Fri Dec 11, 2009 6:10 am
Profile

Joined: Tue Nov 17, 2009 6:10 am
Posts: 83
Reply with quote
Post Re: aic7xxx driver for Adaptec 2940 and friends
Sorry! I misunderstand you: I don't know how to generate the missing signature file. Nevertheless, this message is only a warning. Driver loads and execute fine, even at boot time automatically. I hope this will be only a method from the Company (VMware) to check supported/unsupported drivers on a system.

In any case, please, use the attachment option of the forum to upload your driver (binary and source)! Will be nice if the page in http://www.vm-help.com/esx40i/customize_oem_tgz.php enlarge even more. :mrgreen:


Mon Dec 14, 2009 12:43 am
Profile

Joined: Sat Jul 25, 2009 5:08 pm
Posts: 13
Reply with quote
Post Re: aic7xxx driver for Adaptec 2940 and friends
Correct -- this one loads and works properly (autoload at boot works as well -- I have a SCSI drive with vmdks on it loading at boot and am happily running VMs off of it). The message is indeed just for info -- but it is also annoying.

I did upload the driver (previous post). I'll post the source once a few folks have tested it - don't want to send up source for a driver that isn't up to speed :roll:


Mon Dec 14, 2009 5:14 am
Profile

Joined: Tue Nov 17, 2009 6:10 am
Posts: 83
Reply with quote
Post Re: aic7xxx driver for Adaptec 2940 and friends
Ok, but I subscribe to differentiate from official drivers from 3rd party, and signing drivers is a good and easy mode to do it!

Furthermore, inside your file "vmware-install.txt" you comment that you use a Promise IDE card because the lack of JMicron PATA driver. Please, note that I ported this driver! :mrgreen:


Wed Dec 16, 2009 2:06 am
Profile

Joined: Sat Jul 25, 2009 5:08 pm
Posts: 13
Reply with quote
Post Re: aic7xxx driver for Adaptec 2940 and friends
Thanks for pointing that out. It's the _wrong_ file -- those were notes for me. Here's the correct install file.

Too many documents for this project. Please disregard the previous file.

j.


Attachments:
File comment: This is the _correct_ file for the install.
aic7xxx_install.txt [7.2 KiB]
Downloaded 730 times
Wed Dec 16, 2009 5:13 am
Profile

Joined: Tue Jan 26, 2010 9:37 pm
Posts: 2
Reply with quote
Post Re: Working aic7xxx driver for Adaptec 2940, etc; please test...
But where can I find the driver binary - aix7xxx.o for esxi4?


Tue Jan 26, 2010 9:43 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 21 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 1 guest


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.