View unanswered posts | View active topics It is currently Mon Nov 11, 2019 11:37 am



Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
 Asus K8N system almost working - SATA problem 
Author Message

Joined: Fri Mar 27, 2009 3:01 pm
Posts: 33
Reply with quote
Post Asus K8N system almost working - SATA problem
Hello!

So far I've gotten the 'installable' ESX Server 3i 3.5 U3 (is any of that redundant???) installed on a USB thumb drive. I have succeeded in customizing the installation to get a Realtek 8169 NIC and the onboard nVidia NIC working with some mods. I was able to get two VMs configured (even imported one with the Converter!) and working when I installed on an IDE drive for testing. But the IDE drive is small, noisy, and near death. I want to install the VMs on my SATA drive.

However, when the SATA drive is plugged in to the mobo ESXi boots very slowly and sometimes hangs at sata_nv loading. If I can get booted and look at the storage adapters it will see the SATA bus as vmhba1 and vmhba33. If I recall correctly, it did see the actual drive at vmhba33. However if I try to use the drive at all by going to 'create storage' it will hang and timeout the management client.

Now, this exact drive has been working fine in this computer under Ubuntu Server 8.0.4 LTS (with vmware server 2) so I don't think it's any hardware problem. So something is up with the driver I guess.

Code:
~ # lspci -v
00:00.00 Host bridge Bridge: nVidia Corporation 
    Class 0600: 10de:00e1

00:01.00 ISA bridge Bridge: nVidia Corporation 
    Class 0601: 10de:00e0

00:01.01 SMBus Serial bus controller: nVidia Corporation 
    Class 0c05: 10de:00e4

00:02.00 USB Controller Serial bus controller: nVidia Corporation 
    Class 0c03: 10de:00e7

00:02.01 USB Controller Serial bus controller: nVidia Corporation 
    Class 0c03: 10de:00e7

00:02.02 USB Controller Serial bus controller: nVidia Corporation 
    Class 0c03: 10de:00e8

00:05.00 Bridge Bridge: nVidia Corporation CK8S Ethernet Controller [vmnic1]
    Class 0680: 10de:00df

00:06.00 Multimedia audio controller Multimedia controller: nVidia Corporation 
    Class 0401: 10de:00ea

Code:
00:08.00 IDE interface Mass storage controller: nVidia Corporation CK8S Parallel ATA Controller (v2.5) [vmhba0]
    Class 0101: 10de:00e5

00:10.00 IDE interface Mass storage controller: nVidia Corporation CK8S Serial ATA Controller (v2.5) [vmhba1]
    Class 0101: 10de:00e3
Code:

00:11.00 PCI bridge Bridge: nVidia Corporation 
    Class 0604: 10de:00e2

00:14.00 PCI bridge Bridge: nVidia Corporation 
    Class 0604: 10de:00ed

00:24.00 Host bridge Bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
    Class 0600: 1022:1100

00:24.01 Host bridge Bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address MapK8 NorthBridge
    Class 0600: 1022:1101

00:24.02 Host bridge Bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
    Class 0600: 1022:1102

00:24.03 Host bridge Bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
    Class 0600: 1022:1103

01:00.00 VGA compatible controller Display controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]
    Class 0300: 10de:002d

02:08.00 Ethernet controller Network controller: Realtek Semiconductor Co., Ltd. RTL-8169 [vmnic0]
    Class 0200: 10ec:8169


From your list:
Code:
10de   00e3   0000   0000   storage   sata_nv   CK8S Serial ATA Controller (v2.5)


The mobo is an nForce3 generation. More info in sig.

Do you have any clues for me? Could it be any bios settings for the drive (320 GB Seagate) I should change? Could the existing formatting of the drive be throwing it off somehow? I think it's ext2, not sure if it's MBR or something else.

Thanks much.

_________________
Asus M4A78T-E
Phenom II X4 905e
8GB ECC DDR3
2x Intel Pro1000 GT NICs
3 drives on Dell SAS6/iR

VMWare ESXi 4: VMs: pfSense router, FreeNAS, another Ubuntu mail server, Ubuntu iSCSI host, plus a WinXP machine.


Last edited by mixer on Sun Mar 29, 2009 2:49 am, edited 1 time in total.



Sat Mar 28, 2009 4:15 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Ausu K8N system almost working - SATA problem
When you have the SATA drive connected and run fdisk -l at the console it is visible? Also if you run lspci -p is a module loaded for vmhba33?


Sat Mar 28, 2009 7:25 pm
Profile

Joined: Fri Mar 27, 2009 3:01 pm
Posts: 33
Reply with quote
Post Re: Asus K8N system almost working - SATA problem
With both drives connected, after booting with a very long (2-3 mins) pause while loading sata_nv:

Code:
~ # lspci -p
Bus:Sl.F Vend:Dvid Subv:Subd ISA/irq/Vec P M Module       Name   
                             Spawned bus                         
00:00.00 10de:00e1 1043:813f               V             
00:01.00 10de:00e0 1043:813f               V             
00:01.01 10de:00e4 1043:813f  0/   /     A V             
00:02.00 10de:00e7 1043:813f  5/  5/0x61 A V usb-ohci     
00:02.01 10de:00e7 1043:813f  9/  9/0x61 B V usb-ohci     
00:02.02 10de:00e8 1043:813f 10/ 10/0x61 C V ehci-hcd     
00:05.00 10de:00df 1043:80a7  3/  3/0x61 A V forcedeth    vmnic1
00:06.00 10de:00ea 1043:812a  7/  7/0x61 A V             
00:08.00 10de:00e5 1043:813f 255/   /     @ V ide          vmhba0
00:10.00 10de:00e3 1043:813f 10/ 10/0x61 A V sata_nv      vmhba1
00:11.00 10de:00e2 0000:0000     001       V             
00:14.00 10de:00ed 0000:0000     002       V             
00:24.00 1022:1100 0000:0000               V             
00:24.01 1022:1101 0000:0000               V             
00:24.02 1022:1102 0000:0000               V             
00:24.03 1022:1103 0000:0000               V             
01:00.00 10de:002d 0000:0000 11/   /     A V             
02:08.00 10ec:8169 1385:311a  4/  4/0x69 A V r8169        vmnic0
~ # fdisk -l

Disk /dev/disks/vmhba33:0:0:0: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                  Device Boot    Start       End    Blocks   Id  System

Disk /dev/disks/vmhba0:0:0:0: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                 Device Boot    Start       End    Blocks   Id  System
/dev/disks/vmhba0:0:0:1             1      9729  78148128+  fb  VMFS

Disk /dev/disks/vmhba32:0:0:0: 2119 MB, 2119172096 bytes
64 heads, 32 sectors/track, 2021 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

                  Device Boot    Start       End    Blocks   Id  System
/dev/disks/vmhba32:0:0:1             5       750    763904    5  Extended
/dev/disks/vmhba32:0:0:4   *         1         4      4080    4  FAT16 <32M
/dev/disks/vmhba32:0:0:5             5        52     49136    6  FAT16
/dev/disks/vmhba32:0:0:6            53       100     49136    6  FAT16
/dev/disks/vmhba32:0:0:7           101       210    112624   fc  VMKcore
/dev/disks/vmhba32:0:0:8           211       750    552944    6  FAT16

Partition table entries are not in disk order


The output of fdisk was also very slow to come up. Before this output I removed the SATA drive and made sure it was MBR partitioned all free space, so that's not the problem.

Thank you very much for your help, Dave!

_________________
Asus M4A78T-E
Phenom II X4 905e
8GB ECC DDR3
2x Intel Pro1000 GT NICs
3 drives on Dell SAS6/iR

VMWare ESXi 4: VMs: pfSense router, FreeNAS, another Ubuntu mail server, Ubuntu iSCSI host, plus a WinXP machine.


Sun Mar 29, 2009 2:28 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Asus K8N system almost working - SATA problem
What BIOS options do you have to change the controller mode? With some Intel controllers you can change to Legacy / IDE mode and ESXi will load up another driver. It may be an issue with the sata_nv driver and that controller. The list shows what ESXi will recognize, but unfortunately some items don't work 100%.

Update 4 was released tonight I would update ESXi to the latest patch to see if that helps - http://www.vm-help.com/esx/esx3i/Patch_ ... out_VC.php.


Mon Mar 30, 2009 11:19 pm
Profile

Joined: Fri Mar 27, 2009 3:01 pm
Posts: 33
Reply with quote
Post Re: Asus K8N system almost working - SATA problem
Hello!

Well, a mildly painful update done (but I learned some things!) and the SATA still doesn't work, though at least now it's being seen as vmhba1:0 instead of that weird vmhba1:33 as before.

Still, the boot is very slow and storage adapter viewing is slow and attempts to add a datastore on that drive cannot be completed. Here's how it looks now:
Code:
~ # fdisk -l

Disk /dev/disks/vmhba1:0:0:0: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                 Device Boot    Start       End    Blocks   Id  System

Disk /dev/disks/vmhba0:0:0:0: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                 Device Boot    Start       End    Blocks   Id  System
/dev/disks/vmhba0:0:0:1             1      9729  78148128+  fb  VMFS

Disk /dev/disks/vmhba32:0:0:0: 2119 MB, 2119172096 bytes
64 heads, 32 sectors/track, 2021 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

                  Device Boot    Start       End    Blocks   Id  System
/dev/disks/vmhba32:0:0:1             5       750    763904    5  Extended
/dev/disks/vmhba32:0:0:4   *         1         4      4080    4  FAT16 <32M
/dev/disks/vmhba32:0:0:5             5        52     49136    6  FAT16
/dev/disks/vmhba32:0:0:6            53       100     49136    6  FAT16
/dev/disks/vmhba32:0:0:7           101       210    112624   fc  VMKcore
/dev/disks/vmhba32:0:0:8           211       750    552944    6  FAT16

Partition table entries are not in disk order

Code:
~ # lspci -v
00:00.00 Host bridge Bridge: nVidia Corporation 
    Class 0600: 10de:00e1

00:01.00 ISA bridge Bridge: nVidia Corporation 
    Class 0601: 10de:00e0

00:01.01 SMBus Serial bus controller: nVidia Corporation 
    Class 0c05: 10de:00e4

00:02.00 USB Controller Serial bus controller: nVidia Corporation 
    Class 0c03: 10de:00e7

00:02.01 USB Controller Serial bus controller: nVidia Corporation 
    Class 0c03: 10de:00e7

00:02.02 USB Controller Serial bus controller: nVidia Corporation 
    Class 0c03: 10de:00e8

00:05.00 Bridge Bridge: nVidia Corporation CK8S Ethernet Controller [vmnic1]
    Class 0680: 10de:00df

00:06.00 Multimedia audio controller Multimedia controller: nVidia Corporation 
    Class 0401: 10de:00ea

00:08.00 IDE interface Mass storage controller: nVidia Corporation CK8S Parallel ATA Controller (v2.5) [vmhba0]
    Class 0101: 10de:00e5

00:10.00 IDE interface Mass storage controller: nVidia Corporation CK8S Serial ATA Controller (v2.5) [vmhba1]
    Class 0101: 10de:00e3

00:11.00 PCI bridge Bridge: nVidia Corporation 
    Class 0604: 10de:00e2

00:14.00 PCI bridge Bridge: nVidia Corporation 
    Class 0604: 10de:00ed

00:24.00 Host bridge Bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
    Class 0600: 1022:1100

00:24.01 Host bridge Bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address MapK8 NorthBridge
    Class 0600: 1022:1101

00:24.02 Host bridge Bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
    Class 0600: 1022:1102

00:24.03 Host bridge Bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
    Class 0600: 1022:1103

01:00.00 VGA compatible controller Display controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]
    Class 0300: 10de:002d

02:08.00 Ethernet controller Network controller: Realtek Semiconductor Co., Ltd. RTL-8169 [vmnic0]
    Class 0200: 10ec:8169



~ # lspci -p
Bus:Sl.F Vend:Dvid Subv:Subd ISA/irq/Vec P M Module       Name   
                             Spawned bus                         
00:00.00 10de:00e1 1043:813f               V             
00:01.00 10de:00e0 1043:813f               V             
00:01.01 10de:00e4 1043:813f  0/   /     A V             
00:02.00 10de:00e7 1043:813f  5/  5/0x61 A V usb-ohci     
00:02.01 10de:00e7 1043:813f  9/  9/0x61 B V usb-ohci     
00:02.02 10de:00e8 1043:813f 10/ 10/0x61 C V ehci-hcd     
00:05.00 10de:00df 1043:80a7  3/  3/0x61 A V forcedeth    vmnic1
00:06.00 10de:00ea 1043:812a  7/  7/0x61 A V             
00:08.00 10de:00e5 1043:813f 255/   /     @ V ide          vmhba0
00:10.00 10de:00e3 1043:813f 10/ 10/0x61 A V sata_nv      vmhba1
00:11.00 10de:00e2 0000:0000     001       V             
00:14.00 10de:00ed 0000:0000     002       V             
00:24.00 1022:1100 0000:0000               V             
00:24.01 1022:1101 0000:0000               V             
00:24.02 1022:1102 0000:0000               V             
00:24.03 1022:1103 0000:0000               V             
01:00.00 10de:002d 0000:0000 11/   /     A V             
02:08.00 10ec:8169 1385:311a  4/  4/0x69 A V r8169        vmnic0


I'm guessing it's pretty much hopeless unless you know of another driver that will run the onboard SATA besides sata_nv.

I think my next step is to try it with the drive on a SATA to IDE adapter to the IDE bus (not using the sata bus). Performance doesn't have to be great... I'd just like it to work.

Thanks.

_________________
Asus M4A78T-E
Phenom II X4 905e
8GB ECC DDR3
2x Intel Pro1000 GT NICs
3 drives on Dell SAS6/iR

VMWare ESXi 4: VMs: pfSense router, FreeNAS, another Ubuntu mail server, Ubuntu iSCSI host, plus a WinXP machine.


Tue Mar 31, 2009 9:28 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Asus K8N system almost working - SATA problem
You might want to try an install with ESXi 3.5 Update 4 (it just came out yesterday). The driver sata_nv has changed with the new release.


Tue Mar 31, 2009 10:26 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Asus K8N system almost working - SATA problem
And you might want to check out this thread - http://communities.vmware.com/message/1213716#1213716. Seems someone tried an older version of the file to get around another issue.

Have you tried regular ESX on the system?


Tue Mar 31, 2009 10:54 am
Profile

Joined: Fri Mar 27, 2009 3:01 pm
Posts: 33
Reply with quote
Post Re: Asus K8N system almost working - SATA problem
Funny you should mention it... I did find that post today and tried it... I could see that my system did load the sata_nv_n.o (since it hangs so long there!) that I got from that post, but the problem is the same.

I don't know if I have access to "regular esx" with the free license... I don't feel like I'd want to go backwards though... I either have to buy a new PATA drive or try a SATA-PATA adapter. But I'm going to look a little more for another linux SATA driver to try...

Thanks!

_________________
Asus M4A78T-E
Phenom II X4 905e
8GB ECC DDR3
2x Intel Pro1000 GT NICs
3 drives on Dell SAS6/iR

VMWare ESXi 4: VMs: pfSense router, FreeNAS, another Ubuntu mail server, Ubuntu iSCSI host, plus a WinXP machine.


Tue Mar 31, 2009 12:00 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Asus K8N system almost working - SATA problem
One thing to keep in mind with ESXi drivers is that they have to be compiled specifically for the vmkernel. While some of the drivers come from Linux source, you can't just add any Linux driver and have it work.


Tue Mar 31, 2009 12:09 pm
Profile

Joined: Fri Mar 27, 2009 3:01 pm
Posts: 33
Reply with quote
Post Re: Asus K8N system almost working - SATA problem
I see! Thanks for that... probably saved me some time! I'm going to hang up my nv_sata search now...

_________________
Asus M4A78T-E
Phenom II X4 905e
8GB ECC DDR3
2x Intel Pro1000 GT NICs
3 drives on Dell SAS6/iR

VMWare ESXi 4: VMs: pfSense router, FreeNAS, another Ubuntu mail server, Ubuntu iSCSI host, plus a WinXP machine.


Tue Mar 31, 2009 12:35 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 13 posts ]  Go to page 1, 2  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.