View unanswered posts | View active topics It is currently Thu Nov 15, 2018 5:19 am



Reply to topic  [ 5 posts ] 
 Aic7899W and the aic7xxx driver 
Author Message

Joined: Fri Nov 25, 2011 8:46 pm
Posts: 2
Reply with quote
Post Aic7899W and the aic7xxx driver
Hi folks!

After years of happy running of vmware workstation on my laptops, i figured i'd give esx a try on my server, resulting in 4 days of fiddling about ;-)

I've been trying to get esx 3.5 to recognise my adaptec 7899w scsi controller in a Supermicro superserver 6012P-6.
This card is not listed as supported, but the driver is supposed to handle this chip according to what i read on the net.

What i have tried so far:

Modify the simple.map and pci.ids to include the card and id's,
pack them into oem.tgz and make esx load them,
modify the module parameters to give verbose feedback,
and scratched my head. A lot. While reading and googling driver and chip details.

I currently get it to load and search for devices, then it fails with -19 as error code. The card(including the raid controller) are functioning properly in ubuntu. The relevant parts of /var/log/messages are included below:

Code:
Nov 26 03:57:28 vmkernel: 0:00:00:03.253 cpu0:1024)PCI: 1279: 004:03.0 1044:a511 1044:c032 added

Nov 26 03:58:08 vmkernel: 
Nov 26 03:58:08 vmkernel: 0:00:00:46.548 cpu3:1212)Mod: 1445: modLoaderHeap avail after: 7793600
Nov 26 03:58:08 vmkernel: 0:00:00:46.548 cpu3:1212)Mod: 1473: no private ID set
Nov 26 03:58:08 vmkernel: 0:00:00:46.668 cpu0:1215)Loading module aic7xxx ...
Nov 26 03:58:08 vmkernel: 0:00:00:46.668 cpu0:1215)Mod: 936: Starting load for module: aic7xxx R/O length: 0x27000 R/W length: 0xb000 Md5sum: 5c95d71bd7fcbc5766e14da1a68edf1e
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)Mod: 1373: Module aic7xxx: initFunc: 0x9b9060 text: 0x9a2000 data: 0x29673e0 bss: 0x296b3a0 (writeable align 32)
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)Mod: 1389: modLoaderHeap avail before: 7793584
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)Initial heap size : 131072, max heap size: 524288
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: driver aic7xxx is looking for devices
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 00:1d.0
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 00:1d.1
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 00:1d.2
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 00:1f.1
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 00:1f.3
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Announcing 00:1f.3
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 03:04.0
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 03:05.0
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 04:01.0
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 04:01.1
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 04:01.2
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 04:03.0
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Announcing 04:03.0
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 04:04.0
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Announcing 04:04.0
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 05:01.0
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Announcing 05:01.0
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: Trying 05:02.0
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)PCI: driver aic7xxx claimed 0 device 
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)ALERT: Mod: 1413: Initialization for aic7xxx failed with -19.
Nov 26 03:58:08 vmkernel: 0:00:00:46.993 cpu2:1215)aic7xxx failed to load with status 0, -19, 0xbad0001.
Nov 26 03:58:08 vmkernel:



It does enumerate the pci device (1044:a511), checks the pci address (04:03.0), and then nothing.

Any suggestions as to what i can try out? I'm a bit at loss of what to do right now.

Thanks in advance.


Fri Nov 25, 2011 9:21 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Aic7899W and the aic7xxx driver
If the device is enumerated but passed over then the driver won't contain a PCI ID reference to the device. Are you able to try ESXi 4 or 5 on the host?

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


Sat Nov 26, 2011 6:52 pm
Profile

Joined: Fri Nov 25, 2011 8:46 pm
Posts: 2
Reply with quote
Post Re: Aic7899W and the aic7xxx driver
Hi,

and thanks for the reply.
The device is enumerated(always was), and after i updated pci.ids and simple.map it loads the driver as well. But i don't know any way to specifically point it at the pci address. As shown in the syslog, it does detect the right address(among a few others, just like the E100 net driver), but ends up with -19. I was thinking about finding a linux ide-only kernel and making it load this driver to test (a separate install), but haven't gotten that far yet. Been sick a few days.

My ubuntu install running on the same box has the driver in kernel, so no help there.

Oh, and the box is 32 bit, so esx4 is out of the question, unfortunately.


I'll post any findings.


Fri Dec 02, 2011 10:08 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Aic7899W and the aic7xxx driver
While the drivers for ESXi do use Linux source code, they do have to be compiled specifically for ESXi (as the kernel of ESXi is not Linux).

If you can compile a driver you might find some useful links here - http://www.vm-help.com/esx41/developing_for_ESXi.php

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


Fri Dec 02, 2011 10:57 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Aic7899W and the aic7xxx driver
While the drivers for ESXi do use Linux source code, they do have to be compiled specifically for ESXi (as the kernel of ESXi is not Linux).

If you can compile a driver you might find some useful links here - http://www.vm-help.com/esx41/developing_for_ESXi.php

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


Fri Dec 02, 2011 10:57 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 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.