View unanswered posts | View active topics It is currently Thu Sep 20, 2018 2:18 pm



Reply to topic  [ 25 posts ]  Go to page 1, 2, 3  Next
 A little help needed with on-board SATA... 
Author Message

Joined: Mon Sep 20, 2010 5:18 pm
Posts: 26
Reply with quote
Post A little help needed with on-board SATA...
Hi there.

First of all, I have an EVGA 630i/7100 NVIDIA nForce motherboard, and I'm running VMware ESXi 4.1 on it booted using an USB drive. The console screen detects the motherboard as NVIDIA MCP73. I have found my way to make the onboard Marvell Yukon NIC work but I have yet to find how to make the MCP73 SATA controller work. pata_amd loads the built-in IDE controller for vmhba0 but for the SATA controller vmhba1, the driver doesn't load.

I have set up my SATA controller as AHCI (no RAID) and the pci id is 07f4. fdisk only shows my bootable usb drive. lspci shows that pata_amd loads up successfully for vmhba0, but nothing loads for vmhba1 (the SATA controller). I tried loading up the sata_nv.o driver using vmkload_mod and it loads up but it doesn't do anything at all. I'm guessing that I need the sata_nv.o and/or ahci.o driver recompiled to add support to this controller.

Any help on that? If more info is needed, I'll provide asap. Thanks in advance.


Mon Sep 20, 2010 5:35 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: A little help needed with on-board SATA...
Is the PCI id the same for both vmhba0 and 1?

Could you reboot and post the file messages and sysboot.log (they've found in /var/log).

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


Tue Sep 21, 2010 11:16 am
Profile

Joined: Mon Sep 20, 2010 5:18 pm
Posts: 26
Reply with quote
Post Re: A little help needed with on-board SATA...
This is the output of the lspci command. I'll attach the log files as well.


Code:
~ # lspci -p
Seg:Bus:Sl.F Vend:Dvid Subv:Subd ISA/irq/Vec P M Module       Name   
                                Spawned bus                         
000:000:00.0 10de:07c1 10de:cb73               V             
000:000:00.1 10de:07cb 10de:cb73               V             
000:000:01.0 10de:07cd 10de:cb73               V             
000:000:01.1 10de:07ce 10de:cb73               V             
000:000:01.2 10de:07cf 10de:cb73               V             
000:000:01.3 10de:07d0 10de:cb73               V             
000:000:01.4 10de:07d1 10de:cb73               V             
000:000:01.5 10de:07d2 10de:cb73               V             
000:000:01.6 10de:07d3 10de:cb73               V             
000:000:02.0 10de:07d6 10de:cb73               V             
000:000:03.0 10de:07d7 10de:cb73               V             
000:000:03.1 10de:07d8 10de:cb73  5/   /     A V             
000:000:03.2 10de:07d9 10de:cb73               V             
000:000:03.3 10de:07da 10de:cb73 10/ 10/0x88 B V             
000:000:03.4 10de:07c8 10de:cb73               V             
000:000:04.0 10de:07fe 10de:cb73 10/ 10/0x88 A V usb-ohci     
000:000:04.1 10de:056a 10de:cb73 11/ 11/0x88 B V ehci-hcd     
000:000:08.0 10de:056c 10de:cb73 255/   /     @ V pata_amd     vmhba0
000:000:09.0 10de:07fc 10de:07fc 11/ 11/0x88 A V             
000:000:10.0 10de:056d 0000:0000               V             
                                 001     
000:000:11.0 10de:056e 0000:0000               V              PCIe RP[000:000:11.0]
                                 002     
000:000:12.0 10de:056f 0000:0000               V              PCIe RP[000:000:12.0]
                                 003     
000:000:13.0 10de:056f 0000:0000               V              PCIe RP[000:000:13.0]
                                 004     
000:000:14.0 10de:07f4 10de:cb73 11/ 11/0x88 A V              vmhba1
000:000:16.0 10de:07e1 10de:cb73  5/  5/0x88 A V             
000:001:11.0 104c:8023 0000:0000  5/  5/0x98 A V             
000:003:00.0 11ab:4364 11ab:00ba 10/ 10/0xa0 A V sky2         vmnic0
~ #


Attachments:
File comment: the messages file...
messages.txt [294.24 KiB]
Downloaded 297 times
File comment: current oem.tgz file i'm using...
oem.tgz [649.88 KiB]
Downloaded 296 times
File comment: the sysboot.log file...
sysboot.log [12.38 KiB]
Downloaded 284 times
Tue Sep 21, 2010 1:26 pm
Profile

Joined: Mon Sep 20, 2010 5:18 pm
Posts: 26
Reply with quote
Post Re: A little help needed with on-board SATA...
Dave, did you get a chance to look over these files? I'll keep checking out this afternoon and will continue to troubleshoot this problem. Thanks for any help you can give me on this issue.


Wed Sep 22, 2010 10:45 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: A little help needed with on-board SATA...
Can you try this command

vmkload_mod /usr/lib/vmware/vmkmod/sata_nv.o

and then run lspci -p again to see if the driver is loaded?

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


Wed Sep 22, 2010 2:47 pm
Profile

Joined: Mon Sep 20, 2010 5:18 pm
Posts: 26
Reply with quote
Post Re: A little help needed with on-board SATA...
Dave.Mishchenko wrote:
Can you try this command

vmkload_mod /usr/lib/vmware/vmkmod/sata_nv.o

and then run lspci -p again to see if the driver is loaded?

This does nothing. The module loads but it doesn't claim any device.


Thu Sep 23, 2010 3:52 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: A little help needed with on-board SATA...
I'd take a hex editor and edit the PCI id list in the driver to add the sub-vender / sub-device IDs to the driver. You wouldn't have to put the driver into oem.tgz - just copy it back while ESXi is running and try to load it again.

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


Thu Sep 23, 2010 7:31 am
Profile

Joined: Mon Sep 20, 2010 5:18 pm
Posts: 26
Reply with quote
Post Re: A little help needed with on-board SATA...
Dave.Mishchenko wrote:
I'd take a hex editor and edit the PCI id list in the driver to add the sub-vender / sub-device IDs to the driver. You wouldn't have to put the driver into oem.tgz - just copy it back while ESXi is running and try to load it again.

you mean to edit the sata_nv.o file directly using a hex editor? i'll try that when i get home tonight.


last night, i was continuing my troubleshooting on this issue and I found a few interesting things. First of all, this motherboard has 4 options for it's on-board SATA controller and depending on the option chosen, the PCI ID changes: IDE (PCI ID = 07f0), AHCI (PCI ID = 07f4), Linux AHCI (PCI ID = 0584), and RAID (PCI ID = 07f8).

*** ***
Note about the RAID option using Windows Server 2003: The RAID option allows me to enable/disable the RAID capability per port in the BIOS. When I had Windows Server 2003 installed, I had the controller set as RAID with only two ports enabled in the BIOS. This tells the RAID BIOS to "see" only those two drives enabled (which I had in a RAID 1 configuration) and the other two ones that were disabled would still be presented to the host OS as standalone disks.
*** ***

now, i have tried switching all of those 4 options and the one that "partially" worked was when i set the SATA controller as RAID but with all ports disabled, thus exposing the disks directly to the host. ESXi loads the sata_nv.o module for this option. now comes the issue: ESXi 4.1's sata_nv.o module sees only one disk. the other 3 are M.I.A. and i haven't found the way to make them work. whenever i used the AHCI option in the BIOS, ESXi doesn't claim any device. I'll continue troubleshooting this tonight.


Last edited by doctorx on Thu Sep 23, 2010 7:46 pm, edited 1 time in total.



Thu Sep 23, 2010 9:25 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: A little help needed with on-board SATA...
Quote:
you mean to edit the sata_nv.o file directly using a hex editor? i'll try that when i get home tonight.


Yes.
That's a bit odd about the missing 3 drives. The drivers that come with ESXi don't support software RAID but usually you can see the individual disks just fine when the controller is in "RAID" mode.

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


Thu Sep 23, 2010 9:32 am
Profile

Joined: Mon Sep 20, 2010 5:18 pm
Posts: 26
Reply with quote
Post Re: A little help needed with on-board SATA...
Dave.Mishchenko wrote:
Quote:
you mean to edit the sata_nv.o file directly using a hex editor? i'll try that when i get home tonight.


Yes.
That's a bit odd about the missing 3 drives. The drivers that come with ESXi don't support software RAID but usually you can see the individual disks just fine when the controller is in "RAID" mode.

i'll try hex-editing the sata_nv.o file tonight. and yes, it is odd. i can confirm all 4 drives being online and working but ESXi 4.1 only sees one.


Thu Sep 23, 2010 9:48 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 25 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 8 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.