我在家里有一个Nexenta核心盒子,在做NAS的工作。 最近,我买了一台二手的3ware 8506 12端口SATA控制器,与我已经拥有的Supermicro AOC-SAT2-MV8控制器一起使用,这应该允许我使用8个以上的驱动器。 主板是一个老的Iwill DK8N。
我有的问题是试图让Nexenta看到控制器。 本来,我认为操作系统已经有驱动程序,但运行tw_cli实用程序显示no controllers found 。 在用JVM和类似的东西parsing之后,我设法安装了安装在/usr/kernel/drv/和/usr/kernel/drv/amd64中的tw驱动9.5.3版本。 但是,当我尝试添加驱动程序时,我得到以下内容:
$ add_drv -c scsi -i "pci13c1,1001" tw devfsadm: driver failed to attach: tw Warning: Driver (tw) successfully added to system but failed to attach
dmesg显示了更多的细节:
Apr 28 15:14:16 storebot pcplusmp: [ID 805372 kern.info] pcplusmp: ide (ata) instance 0 irq 0xe vector 0x46 ioapic 0x2 intin 0xe is bound to cpu 0 Apr 28 15:14:16 storebot unix: [ID 954099 kern.info] NOTICE: IRQ20 is being shared by drivers with different interrupt levels. Apr 28 15:14:16 storebot This may result in reduced system performance. Apr 28 15:14:16 storebot tw: [ID 716744 kern.warning] WARNING: tw0: Attach failed 0001 Apr 28 15:14:16 storebot pcplusmp: [ID 805372 kern.info] pcplusmp: ide (ata) instance 1 irq 0xf vector 0x46 ioapic 0x2 intin 0xf is bound to cpu 1 Apr 28 15:14:16 storebot pcplusmp: [ID 805372 kern.info] pcplusmp: pci-ide (pci-ide) instance 2 irq 0x1b vector 0x46 ioapic 0x3 intin 0x3 is bound to cpu 0 Apr 28 15:14:16 storebot pcplusmp: [ID 805372 kern.info] pcplusmp: pci-ide (pci-ide) instance 2 irq 0x1b vector 0x46 ioapic 0x3 intin 0x3 is bound to cpu 1
之后,驱动程序被列在modinfo|grep 3ware
193 fffffffff85a1000 6ea8 353 1 tw (3ware SCSI HBA 1.12)
我在启动时得到了相同的IRQ错误,但从未影响过去的性能。 8506位于主板上的最后一个PCI-X插槽(此盒中的其他内容包括:上述Supermicro Sata控制器,Intel四端口千兆网卡和Emulex 2GB FC卡)。
另一个奇怪的是,在加载驱动程序之后, tw_cli实用程序现在仅使用100%的CPU挂起而没有输出。
我做错了什么,或者是由于某种原因,这个设置从根本上不兼容?