I have an Areca 1280ML-24 with the latest firmware (1.49 12/2/2010). I have started experimenting with ESXi and I have the card on a slot that is not behind the NF200 chip so that I can support PCI passthrough.
First I experimented with the 8.3.1 nightly. That didn't go too well. So I went to 8.3-RELEASE. Now I have different problems, but still problems I can't resolve by searching.
Note that if I boot from FreeNAS 8.3 on a USB key I do not have any of these issues. I can issue SMART tests and obtain SMART info. Everything seems to work fine.. if I use USB. If I use ESXi 5.1 then things change.
Currently the system has a 250GB drive hooked up to my motherboard's Intel SATA port as the boot drive. I also have a 250GB drive on my Areca as a test drive to see if I can get proper passthrough. The controller is in RAID mode with the one attached hard drive setup in passthrough mode. I gave the VM 6GB of RAM while I'm testing, then I'll up it to at least 10GB.
During bootup the card is properly identified and the driver loads (arcmsr0). Then everything starts going wrong...
It takes a very long time to load since I have to wait the 300 seconds to timeout.
After the bootup completes I get:
This happens every second. Google searching lead me to add hw.intr_storm_threshold=200000 to sysctls section of FreeNAS GUI. No change in anything. I still get the error every second.
So I then ran camcontrol dev list
Here's the output of vmstat -i:
If I run the areca CLI it does detect the controller and work fine, so I'm fairly certain that the driver is loading and is fully functional. But if I go look at disk no disks are detected nor can I import the ZFS pool I created previously when i booted from the USB key.
I've search and searched and I'm coming up with nothing. A few other people have made posts on the internet with no replies back or any fixes that seemed to work with similar problems. So far I've tried:
1. Changing FreeNAS to use 1 CPU physical socket and 1 core per socket(default was was 1 physical socket and 4 cores)
2. Changing the RAID controller to JBOD mode. This seems to disable passthrough in the controller BIOS.
3. Disabled the USB Mouse function, onboard NICs, onboard Gigabyte SATA controller and onboard Firewire in the system BIOS. I won't be using any of those anyway.
4. Switched the VM SATA controller from the default of "LSI Logic SAS" to "LSI Logic Parallel".
5. Tried disabling acceleration for the VM and Hide the NX/XD flag from guest.
Any other ideas of what I should try? I'm pretty much out of good ideas...
First I experimented with the 8.3.1 nightly. That didn't go too well. So I went to 8.3-RELEASE. Now I have different problems, but still problems I can't resolve by searching.
Note that if I boot from FreeNAS 8.3 on a USB key I do not have any of these issues. I can issue SMART tests and obtain SMART info. Everything seems to work fine.. if I use USB. If I use ESXi 5.1 then things change.
Currently the system has a 250GB drive hooked up to my motherboard's Intel SATA port as the boot drive. I also have a 250GB drive on my Areca as a test drive to see if I can get proper passthrough. The controller is in RAID mode with the one attached hard drive setup in passthrough mode. I gave the VM 6GB of RAM while I'm testing, then I'll up it to at least 10GB.
During bootup the card is properly identified and the driver loads (arcmsr0). Then everything starts going wrong...
Code:
arcmsr_dr_handle: Target=0, lun=0, Plug-IN!!! run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config arcmsr0: scsi id 0 lun 0 cmd=0x12 srb='0xffffff8000176000' ccb command time out! arcmsr0: scsi id 1 lun 0 cmd=0x12 srb='0xffffff8000176260' ccb command time out! arcmsr0: scsi id 2 lun 0 cmd=0x12 srb='0xffffff80001764c0' ccb command time out! arcmsr0: scsi id 3 lun 0 cmd=0x12 srb='0xffffff8000176720' ccb command time out! arcmsr0: scsi id 4 lun 0 cmd=0x12 srb='0xffffff8000176980' ccb command time out! arcmsr0: scsi id 5 lun 0 cmd=0x12 srb='0xffffff8000176be0' ccb command time out! arcmsr0: scsi id 6 lun 0 cmd=0x12 srb='0xffffff8000176e40' ccb command time out! arcmsr0: scsi id 7 lun 0 cmd=0x12 srb='0xffffff80001770a0' ccb command time out! arcmsr0: scsi id 8 lun 0 cmd=0x12 srb='0xffffff8000177300' ccb command time out! arcmsr0: scsi id 9 lun 0 cmd=0x12 srb='0xffffff8000177560' ccb command time out! arcmsr0: scsi id 10 lun 0 cmd=0x12 srb='0xffffff80001777c0' ccb command time out! arcmsr0: scsi id 11 lun 0 cmd=0x12 srb='0xffffff8000177a20' ccb command time out! arcmsr0: scsi id 12 lun 0 cmd=0x12 srb='0xffffff8000177c80' ccb command time out! arcmsr0: scsi id 13 lun 0 cmd=0x12 srb='0xffffff8000177ee0' ccb command time out! arcmsr0: scsi id 14 lun 0 cmd=0x12 srb='0xffffff8000178140' ccb command time out! arcmsr0: scsi id 15 lun 0 cmd=0x12 srb='0xffffff80001783a0' ccb command time out! arcmsr0: scsi id 17 lun 0 cmd=0x12 srb='0xffffff8000178600' ccb command time out! run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config arcmsr0: scsi id 0 lun 0 cmd=0x12 srb='0xffffff8000178860' ccb command time out! arcmsr0: scsi id 1 lun 0 cmd=0x12 srb='0xffffff8000178ac0' ccb command time out! arcmsr0: scsi id 2 lun 0 cmd=0x12 srb='0xffffff8000178d20' ccb command time out! arcmsr0: scsi id 3 lun 0 cmd=0x12 srb='0xffffff8000178f80' ccb command time out! arcmsr0: scsi id 4 lun 0 cmd=0x12 srb='0xffffff80001791e0' ccb command time out! arcmsr0: scsi id 5 lun 0 cmd=0x12 srb='0xffffff8000179440' ccb command time out! arcmsr0: scsi id 6 lun 0 cmd=0x12 srb='0xffffff80001796a0' ccb command time out! arcmsr0: scsi id 7 lun 0 cmd=0x12 srb='0xffffff8000179900' ccb command time out! arcmsr0: scsi id 8 lun 0 cmd=0x12 srb='0xffffff8000179b60' ccb command time out! arcmsr0: scsi id 9 lun 0 cmd=0x12 srb='0xffffff8000179dc0' ccb command time out! arcmsr0: scsi id 10 lun 0 cmd=0x12 srb='0xffffff800017a020' ccb command time out! arcmsr0: scsi id 11 lun 0 cmd=0x12 srb='0xffffff800017a280' ccb command time out! arcmsr0: scsi id 12 lun 0 cmd=0x12 srb='0xffffff800017a4e0' ccb command time out! arcmsr0: scsi id 13 lun 0 cmd=0x12 srb='0xffffff800017a740' ccb command time out! arcmsr0: scsi id 14 lun 0 cmd=0x12 srb='0xffffff800017a9a0' ccb command time out! arcmsr0: scsi id 15 lun 0 cmd=0x12 srb='0xffffff800017ac00' ccb command time out! arcmsr0: scsi id 17 lun 0 cmd=0x12 srb='0xffffff800017ae60' ccb command time out! run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config arcmsr0: scsi id 0 lun 0 cmd=0x12 srb='0xffffff800017b0c0' ccb command time out! arcmsr0: scsi id 1 lun 0 cmd=0x12 srb='0xffffff800017b320' ccb command time out! arcmsr0: scsi id 2 lun 0 cmd=0x12 srb='0xffffff800017b580' ccb command time out! arcmsr0: scsi id 3 lun 0 cmd=0x12 srb='0xffffff800017b7e0' ccb command time out! arcmsr0: scsi id 4 lun 0 cmd=0x12 srb='0xffffff800017ba40' ccb command time out! arcmsr0: scsi id 5 lun 0 cmd=0x12 srb='0xffffff800017bca0' ccb command time out! arcmsr0: scsi id 6 lun 0 cmd=0x12 srb='0xffffff800017bf00' ccb command time out! arcmsr0: scsi id 7 lun 0 cmd=0x12 srb='0xffffff800017c160' ccb command time out! arcmsr0: scsi id 8 lun 0 cmd=0x12 srb='0xffffff800017c3c0' ccb command time out! arcmsr0: scsi id 9 lun 0 cmd=0x12 srb='0xffffff800017c620' ccb command time out! arcmsr0: scsi id 10 lun 0 cmd=0x12 srb='0xffffff800017c880' ccb command time out! arcmsr0: scsi id 11 lun 0 cmd=0x12 srb='0xffffff800017cae0' ccb command time out! arcmsr0: scsi id 12 lun 0 cmd=0x12 srb='0xffffff800017cd40' ccb command time out! arcmsr0: scsi id 13 lun 0 cmd=0x12 srb='0xffffff800017cfa0' ccb command time out! arcmsr0: scsi id 14 lun 0 cmd=0x12 srb='0xffffff800017d200' ccb command time out! arcmsr0: scsi id 15 lun 0 cmd=0x12 srb='0xffffff800017d460' ccb command time out! arcmsr0: scsi id 17 lun 0 cmd=0x12 srb='0xffffff800017d6c0' ccb command time out! arcmsr0: scsi id 0 lun 0 cmd=0x12 srb='0xffffff800017d920' ccb command time out! arcmsr0: scsi id 1 lun 0 cmd=0x12 srb='0xffffff800017db80' ccb command time out! arcmsr0: scsi id 2 lun 0 cmd=0x12 srb='0xffffff800017dde0' ccb command time out! arcmsr0: scsi id 3 lun 0 cmd=0x12 srb='0xffffff800017e040' ccb command time out! arcmsr0: scsi id 4 lun 0 cmd=0x12 srb='0xffffff800017e2a0' ccb command time out! arcmsr0: scsi id 5 lun 0 cmd=0x12 srb='0xffffff800017e500' ccb command time out! arcmsr0: scsi id 6 lun 0 cmd=0x12 srb='0xffffff800017e760' ccb command time out! arcmsr0: scsi id 7 lun 0 cmd=0x12 srb='0xffffff800017e9c0' ccb command time out! arcmsr0: scsi id 8 lun 0 cmd=0x12 srb='0xffffff800017ec20' ccb command time out! arcmsr0: scsi id 9 lun 0 cmd=0x12 srb='0xffffff800017ee80' ccb command time out! arcmsr0: scsi id 10 lun 0 cmd=0x12 srb='0xffffff800017f0e0' ccb command time out! arcmsr0: scsi id 11 lun 0 cmd=0x12 srb='0xffffff800017f340' ccb command time out! arcmsr0: scsi id 12 lun 0 cmd=0x12 srb='0xffffff800017f5a0' ccb command time out! arcmsr0: scsi id 13 lun 0 cmd=0x12 srb='0xffffff800017f800' ccb command time out! arcmsr0: scsi id 14 lun 0 cmd=0x12 srb='0xffffff800017fa60' ccb command time out! arcmsr0: scsi id 15 lun 0 cmd=0x12 srb='0xffffff800017fcc0' ccb command time out! arcmsr0: scsi id 17 lun 0 cmd=0x12 srb='0xffffff800017ff20' ccb command time out! arcmsr0: scsi id 0 lun 0 cmd=0x12 srb='0xffffff8000180180' ccb command time out! arcmsr0: scsi id 1 lun 0 cmd=0x12 srb='0xffffff80001803e0' ccb command time out! arcmsr0: scsi id 2 lun 0 cmd=0x12 srb='0xffffff8000180640' ccb command time out! arcmsr0: scsi id 3 lun 0 cmd=0x12 srb='0xffffff80001808a0' ccb command time out! arcmsr0: scsi id 4 lun 0 cmd=0x12 srb='0xffffff8000180b00' ccb command time out! arcmsr0: scsi id 5 lun 0 cmd=0x12 srb='0xffffff8000180d60' ccb command time out! arcmsr0: scsi id 6 lun 0 cmd=0x12 srb='0xffffff8000180fc0' ccb command time out! arcmsr0: scsi id 7 lun 0 cmd=0x12 srb='0xffffff8000181220' ccb command time out! arcmsr0: scsi id 8 lun 0 cmd=0x12 srb='0xffffff8000181480' ccb command time out! arcmsr0: scsi id 9 lun 0 cmd=0x12 srb='0xffffff80001816e0' ccb command time out! arcmsr0: scsi id 10 lun 0 cmd=0x12 srb='0xffffff8000181940' ccb command time out! arcmsr0: scsi id 11 lun 0 cmd=0x12 srb='0xffffff8000181ba0' ccb command time out! arcmsr0: scsi id 12 lun 0 cmd=0x12 srb='0xffffff8000181e00' ccb command time out! arcmsr0: scsi id 13 lun 0 cmd=0x12 srb='0xffffff8000182060' ccb command time out! arcmsr0: scsi id 14 lun 0 cmd=0x12 srb='0xffffff80001822c0' ccb command time out! arcmsr0: scsi id 15 lun 0 cmd=0x12 srb='0xffffff8000182520' ccb command time out! arcmsr0: scsi id 17 lun 0 cmd=0x12 srb='0xffffff8000182780' ccb command time out!
It takes a very long time to load since I have to wait the 300 seconds to timeout.
After the bootup completes I get:
Code:
interrupt storm detected on "irq19:"; throttling interrupt source
This happens every second. Google searching lead me to add hw.intr_storm_threshold=200000 to sysctls section of FreeNAS GUI. No change in anything. I still get the error every second.
So I then ran camcontrol dev list
Code:
<VMware Virtual disk 1.0> at scbus2 target 0 lun 0 (pass0,da0) <Areca RAID controller R001> at scbus3 target 16 lun 0 (pass1)
Here's the output of vmstat -i:
Code:
interrupt total rate irq1: atkbd0 20 0 irq6: fdc0 85 0 irq18: em0 2897 3 irq19: arcmsr0 40563545 42122 cpu0: timer 384270 399 irq256: mpt0 4736 4 cpu2: timer 142241 147 cpu3: timer 142214 147 cpu1: timer 142238 147 Total 41382246 42972
If I run the areca CLI it does detect the controller and work fine, so I'm fairly certain that the driver is loading and is fully functional. But if I go look at disk no disks are detected nor can I import the ZFS pool I created previously when i booted from the USB key.
I've search and searched and I'm coming up with nothing. A few other people have made posts on the internet with no replies back or any fixes that seemed to work with similar problems. So far I've tried:
1. Changing FreeNAS to use 1 CPU physical socket and 1 core per socket(default was was 1 physical socket and 4 cores)
2. Changing the RAID controller to JBOD mode. This seems to disable passthrough in the controller BIOS.
3. Disabled the USB Mouse function, onboard NICs, onboard Gigabyte SATA controller and onboard Firewire in the system BIOS. I won't be using any of those anyway.
4. Switched the VM SATA controller from the default of "LSI Logic SAS" to "LSI Logic Parallel".
5. Tried disabling acceleration for the VM and Hide the NX/XD flag from guest.
Any other ideas of what I should try? I'm pretty much out of good ideas...