我正在尝试在干净的 Ubuntu 16.04.2 TLS Server、内核 4.4.0-66-generic (amd64) 上更新mpt3sas
驱动程序。该驱动程序用于处理 LSI 卡 (SAS300-8i)。已安装的版本是12.100.00.00
,我想更新到15.00.00.00-1
。我下载了官方 LSImpt3sas
驱动程序并按照说明进行操作。基本上:
dpkg -i mpt3sas-15.00.00.00-1_Ubuntu16.04.amd64.deb
它返回以下输出:
(Reading database ... 113018 files and directories currently installed.)
Preparing to unpack mpt3sas-15.00.00.00-1_Ubuntu16.04.amd64.deb ...
pre 15.00.00.00
Unpacking mpt3sas (15.00.00.00-1) over (15.00.00.00-1) ...
postun 15.00.00.00
depmod: WARNING: could not open /var/tmp/mkinitramfs_gIqVq7/lib/modules/4.4.0-21-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_gIqVq7/lib/modules/4.4.0-21-generic/modules.builtin: No such file or directory
Working files in /var/tmp/mkinitramfs_gIqVq7, early initramfs in /var/tmp/mkinitramfs-FW_QotG2g and overlay in /var/tmp/mkinitramfs-OL_4s5aQ6
depmod: WARNING: could not open /var/tmp/mkinitramfs_RiD83t/lib/modules/4.4.0-22-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_RiD83t/lib/modules/4.4.0-22-generic/modules.builtin: No such file or directory
Working files in /var/tmp/mkinitramfs_RiD83t, early initramfs in /var/tmp/mkinitramfs-FW_YW2Fm1 and overlay in /var/tmp/mkinitramfs-OL_jhGqll
depmod: WARNING: could not open /var/tmp/mkinitramfs_COZjvn/lib/modules/4.4.0-24-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_COZjvn/lib/modules/4.4.0-24-generic/modules.builtin: No such file or directory
Working files in /var/tmp/mkinitramfs_COZjvn, early initramfs in /var/tmp/mkinitramfs-FW_2W2S79 and overlay in /var/tmp/mkinitramfs-OL_pElhFg
depmod: WARNING: could not open /var/tmp/mkinitramfs_Ue1zIN/lib/modules/4.4.0-28-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_Ue1zIN/lib/modules/4.4.0-28-generic/modules.builtin: No such file or directory
Working files in /var/tmp/mkinitramfs_Ue1zIN, early initramfs in /var/tmp/mkinitramfs-FW_aOAOVR and overlay in /var/tmp/mkinitramfs-OL_nfk8px
depmod: WARNING: could not open /var/tmp/mkinitramfs_TSAsP8/lib/modules/4.4.0-31-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_TSAsP8/lib/modules/4.4.0-31-generic/modules.builtin: No such file or directory
Working files in /var/tmp/mkinitramfs_TSAsP8, early initramfs in /var/tmp/mkinitramfs-FW_vOKAle and overlay in /var/tmp/mkinitramfs-OL_gBPCHy
Working files in /var/tmp/mkinitramfs_hA6seh, early initramfs in /var/tmp/mkinitramfs-FW_Geezyb and overlay in /var/tmp/mkinitramfs-OL_VE0JlP
Working files in /var/tmp/mkinitramfs_39yjJk, early initramfs in /var/tmp/mkinitramfs-FW_SnLNwC and overlay in /var/tmp/mkinitramfs-OL_zt3DyR
Uninstall Done.
Setting up mpt3sas (15.00.00.00-1) ...
post 15.00.00.00
post Install Done.
尽管有警告,但软件包似乎已正确安装。命令dpkg -s mpt3sas
返回:
Package: mpt3sas
Status: install ok installed
Priority: extra
Section: alien
Installed-Size: 2518
Maintainer: root <root@ubuntu16x64>
Architecture: amd64
Version: 15.00.00.00-1
Description: LSI MPT Fusion drivers for SAS 3.0
Drivers for (i686, x86_64 and updates) for the
LSI Corporation MPT Fusion Architecture parts.
.
(Converted from a rpm package by alien version 8.95.)
重启系统后,旧驱动程序仍然存在。我可以从以下位置看到它dmesg
:
[ 3.754208] mpt3sas version 12.100.00.00 loaded
[ 3.766770] mpt3sas_cm0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (98847588 kB)
[ 3.836145] mpt3sas_cm0: MSI-X vectors supported: 96, no of cores: 16, max_msix_vectors: -1
[ 3.836621] mpt3sas0-msix0: PCI-MSI-X enabled: IRQ 61
[ 3.836621] mpt3sas0-msix1: PCI-MSI-X enabled: IRQ 62
[ 3.836621] mpt3sas0-msix2: PCI-MSI-X enabled: IRQ 63
[ 3.836622] mpt3sas0-msix3: PCI-MSI-X enabled: IRQ 64
[ 3.836622] mpt3sas0-msix4: PCI-MSI-X enabled: IRQ 65
[ 3.836622] mpt3sas0-msix5: PCI-MSI-X enabled: IRQ 66
[ 3.836623] mpt3sas0-msix6: PCI-MSI-X enabled: IRQ 67
[ 3.836623] mpt3sas0-msix7: PCI-MSI-X enabled: IRQ 68
[ 3.836624] mpt3sas0-msix8: PCI-MSI-X enabled: IRQ 69
[ 3.836624] mpt3sas0-msix9: PCI-MSI-X enabled: IRQ 70
[ 3.836624] mpt3sas0-msix10: PCI-MSI-X enabled: IRQ 71
[ 3.836625] mpt3sas0-msix11: PCI-MSI-X enabled: IRQ 74
[ 3.836625] mpt3sas0-msix12: PCI-MSI-X enabled: IRQ 75
[ 3.836625] mpt3sas0-msix13: PCI-MSI-X enabled: IRQ 76
[ 3.836626] mpt3sas0-msix14: PCI-MSI-X enabled: IRQ 77
[ 3.836626] mpt3sas0-msix15: PCI-MSI-X enabled: IRQ 78
[ 3.836627] mpt3sas_cm0: iomem(0x00000000a4fb0000), mapped(0xffffc9000cf00000), size(65536)
[ 3.836628] mpt3sas_cm0: ioport(0x0000000000003f00), size(256)
[ 3.894108] mpt3sas_cm0: sending message unit reset !!
[ 3.895620] mpt3sas_cm0: message unit reset: SUCCESS
[ 3.948983] mpt3sas_cm0: Allocated physical memory: size(18690 kB)
[ 3.948984] mpt3sas_cm0: Current Controller Queue Depth(10104),Max Controller Queue Depth(10240)
[ 3.948984] mpt3sas_cm0: Scatter Gather Elements per IO(128)
[ 3.994549] mpt3sas_cm0: LSISAS3008: FWVersion(14.00.00.00), ChipRevision(0x02), BiosVersion(16.00.00.00)
[ 3.994549] mpt3sas_cm0: Protocol=(
[ 3.995026] mpt3sas_cm0: sending port enable !!
[ 3.996931] mpt3sas_cm0: host_add: handle(0x0001), sas_addr(0x500605b009cbcea0), phys(8)
[ 4.010103] mpt3sas_cm0: port enable: SUCCESS
来自modinfo mpt3sas
:
filename: /lib/modules/4.4.0-66-generic/kernel/drivers/scsi/mpt3sas/mpt3sas.ko
alias: mpt2sas
version: 12.100.00.00
license: GPL
description: LSI MPT Fusion SAS 3.0 Device Driver
author: Avago Technologies <[email protected]>
srcversion: 0105FF6DD1EDBDD8C2A5345
alias: pci:v00001000d000000C3sv*sd*bc*sc*i*
alias: pci:v00001000d000000C2sv*sd*bc*sc*i*
alias: pci:v00001000d000000C1sv*sd*bc*sc*i*
alias: pci:v00001000d000000C0sv*sd*bc*sc*i*
alias: pci:v00001000d000000C8sv*sd*bc*sc*i*
alias: pci:v00001000d000000C7sv*sd*bc*sc*i*
alias: pci:v00001000d000000C6sv*sd*bc*sc*i*
alias: pci:v00001000d000000C5sv*sd*bc*sc*i*
alias: pci:v00001000d000000C4sv*sd*bc*sc*i*
alias: pci:v00001000d000000C9sv*sd*bc*sc*i*
alias: pci:v00001000d00000095sv*sd*bc*sc*i*
alias: pci:v00001000d00000094sv*sd*bc*sc*i*
alias: pci:v00001000d00000091sv*sd*bc*sc*i*
alias: pci:v00001000d00000090sv*sd*bc*sc*i*
alias: pci:v00001000d00000097sv*sd*bc*sc*i*
alias: pci:v00001000d00000096sv*sd*bc*sc*i*
alias: pci:v00001000d0000007Esv*sd*bc*sc*i*
alias: pci:v00001000d0000006Esv*sd*bc*sc*i*
alias: pci:v00001000d00000087sv*sd*bc*sc*i*
alias: pci:v00001000d00000086sv*sd*bc*sc*i*
alias: pci:v00001000d00000085sv*sd*bc*sc*i*
alias: pci:v00001000d00000084sv*sd*bc*sc*i*
alias: pci:v00001000d00000083sv*sd*bc*sc*i*
alias: pci:v00001000d00000082sv*sd*bc*sc*i*
alias: pci:v00001000d00000081sv*sd*bc*sc*i*
alias: pci:v00001000d00000080sv*sd*bc*sc*i*
alias: pci:v00001000d00000065sv*sd*bc*sc*i*
alias: pci:v00001000d00000064sv*sd*bc*sc*i*
alias: pci:v00001000d00000077sv*sd*bc*sc*i*
alias: pci:v00001000d00000076sv*sd*bc*sc*i*
alias: pci:v00001000d00000074sv*sd*bc*sc*i*
alias: pci:v00001000d00000072sv*sd*bc*sc*i*
alias: pci:v00001000d00000070sv*sd*bc*sc*i*
depends: scsi_transport_sas,raid_class
intree: Y
vermagic: 4.4.0-66-generic SMP mod_unload modversions
parm: logging_level: bits for enabling additional logging info (default=0)
parm: max_sectors:max sectors, range 64 to 32767 default=32767 (ushort)
parm: missing_delay: device missing delay , io missing delay (array of int)
parm: max_lun: max lun, default=16895 (ullong)
parm: hbas_to_enumerate: 0 - enumerates both SAS 2.0 & SAS 3.0 generation HBAs
1 - enumerates only SAS 2.0 generation HBAs
2 - enumerates only SAS 3.0 generation HBAs (default=0) (ushort)
parm: diag_buffer_enable: post diag buffers (TRACE=1/SNAPSHOT=2/EXTENDED=4/default=0) (int)
parm: disable_discovery: disable discovery (int)
parm: prot_mask: host protection capabilities mask, def=7 (int)
parm: max_queue_depth: max controller queue depth (int)
parm: max_sgl_entries: max sg entries (int)
parm: msix_disable: disable msix routed interrupts (default=0) (int)
parm: smp_affinity_enable:SMP affinity feature enable/disbale Default: enable(1) (int)
parm: max_msix_vectors: max msix vectors (int)
parm: mpt3sas_fwfault_debug: enable detection of firmware fault and halt firmware - (default=0)
我尝试过update-initramfs -u
,但reboot
没有成功。
在尝试编译驱动程序之前(Avago 提供了有关如何编译它的源代码和说明),我想知道这是否是在 Ubuntu 16.04.2 TLS 服务器上安装/更新驱动程序的正确方法。
更新 1
在摆弄了从未安装过的内核的僵尸 initramfs 映像后,我设法在没有任何警告的情况下安装了驱动程序。我发出了以下命令:
update-initramfs -v -d -k 4.4.0-21-generic
update-initramfs -v -d -k 4.4.0-22-generic
update-initramfs -v -d -k 4.4.0-24-generic
update-initramfs -v -d -k 4.4.0-28-generic
update-initramfs -v -d -k 4.4.0-31-generic
for i in `find / -name "4.4.0-2*"` ; do rm -R $i ; done
for i in `find / -name "4.4.0-3*"` ; do rm -R $i ; done
update-initramfs -u
update-grub
dpkg -i mpt3sas-15.00.00.00-1_Ubuntu16.04.amd64.deb
现在返回:
Selecting previously unselected package mpt3sas.
(Reading database ... 97652 files and directories currently installed.)
Preparing to unpack mpt3sas-15.00.00.00-1_Ubuntu16.04.amd64.deb ...
pre 15.00.00.00
Unpacking mpt3sas (15.00.00.00-1) ...
Setting up mpt3sas (15.00.00.00-1) ...
post 15.00.00.00
post Install Done.
问题是,重启后加载的驱动程序仍然相同。lsmod | grep mpt3
返回:
Module Size Used by
mpt3sas 221184 11
raid_class 16384 1 mpt3sas
scsi_transport_sas 40960 1 mpt3sas
更新 2
我刚刚发现mpt3sas-15.00.00.00-1_Ubuntu16.04.amd64.deb
LSI提供的包(Ubuntu 16.04官方驱动包)包含针对特定内核版本编译的驱动程序。
dpkg-deb -c mpt3sas-15.00.00.00-1_Ubuntu16.04.amd64.deb
返回:
drwxr-xr-x root/root 0 2016-11-16 13:17 ./
drwxr-xr-x root/root 0 2016-11-16 13:17 ./usr/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./usr/share/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./usr/share/doc/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./usr/share/doc/mpt3sas/
-rw-r--r-- root/root 167 2016-11-16 13:17 ./usr/share/doc/mpt3sas/changelog.Debian.gz
-rw-r--r-- root/root 815 2016-11-16 13:17 ./usr/share/doc/mpt3sas/copyright
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-28-generic/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-28-generic/weak-updates/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-28-generic/weak-updates/mpt3sas/
-r--r--r-- root/root 508840 2016-11-16 13:17 ./lib/modules/4.4.0-28-generic/weak-updates/mpt3sas/mpt3sas.ko
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-24-generic/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-24-generic/weak-updates/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-24-generic/weak-updates/mpt3sas/
-r--r--r-- root/root 509576 2016-11-16 13:17 ./lib/modules/4.4.0-24-generic/weak-updates/mpt3sas/mpt3sas.ko
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-31-generic/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-31-generic/weak-updates/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-31-generic/weak-updates/mpt3sas/
-r--r--r-- root/root 508840 2016-11-16 13:17 ./lib/modules/4.4.0-31-generic/weak-updates/mpt3sas/mpt3sas.ko
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-21-generic/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-21-generic/weak-updates/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-21-generic/weak-updates/mpt3sas/
-r--r--r-- root/root 509576 2016-11-16 13:17 ./lib/modules/4.4.0-21-generic/weak-updates/mpt3sas/mpt3sas.ko
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-22-generic/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-22-generic/weak-updates/
drwxr-xr-x root/root 0 2016-11-16 13:17 ./lib/modules/4.4.0-22-generic/weak-updates/mpt3sas/
-r--r--r-- root/root 509576 2016-11-16 13:17 ./lib/modules/4.4.0-22-generic/weak-updates/mpt3sas/mpt3sas.ko
这意味着该驱动程序可能永远不会安装在我当前的内核模块目录中。
答案1
找到了安装驱动的方法。首先,LSI(Broadcom)提供了源文件。我进入源文件目录并发出以下命令:
./compile.sh
返回:
rm: cannot remove 'tags': No such file or directory
./compile.sh: line 50: ctags: command not found
make: Entering directory '/usr/src/linux-headers-4.4.0-66-generic'
LD /home/pietro/N2215/Linux_Driver_RHEL6-7_SLES11-12_P14/mpt3sas/built-in.o
CC [M] /home/pietro/N2215/Linux_Driver_RHEL6-7_SLES11-12_P14/mpt3sas/mpt3sas_base.o
CC [M] /home/pietro/N2215/Linux_Driver_RHEL6-7_SLES11-12_P14/mpt3sas/mpt3sas_config.o
CC [M] /home/pietro/N2215/Linux_Driver_RHEL6-7_SLES11-12_P14/mpt3sas/mpt3sas_warpdrive.o
CC [M] /home/pietro/N2215/Linux_Driver_RHEL6-7_SLES11-12_P14/mpt3sas/mpt3sas_scsih.o
CC [M] /home/pietro/N2215/Linux_Driver_RHEL6-7_SLES11-12_P14/mpt3sas/mpt3sas_transport.o
CC [M] /home/pietro/N2215/Linux_Driver_RHEL6-7_SLES11-12_P14/mpt3sas/mpt3sas_ctl.o
CC [M] /home/pietro/N2215/Linux_Driver_RHEL6-7_SLES11-12_P14/mpt3sas/mpt3sas_trigger_diag.o
LD [M] /home/pietro/N2215/Linux_Driver_RHEL6-7_SLES11-12_P14/mpt3sas/mpt3sas.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/pietro/N2215/Linux_Driver_RHEL6-7_SLES11-12_P14/mpt3sas/mpt3sas.mod.o
LD [M] /home/pietro/N2215/Linux_Driver_RHEL6-7_SLES11-12_P14/mpt3sas/mpt3sas.ko
make: Leaving directory '/usr/src/linux-headers-4.4.0-66-generic'
./load.sh
返回:
dev.scsi.logging_level = 0x1C0
insmod: ERROR: could not insert module mpt3sas.ko: File exists
因此我尝试mpt3sas
通过删除当前驱动程序rmmod mpt3sas
,但没有成功:
rmmod: ERROR: Module mpt3sas is in use
我手动将刚刚编译的内核模块复制到正确的目录中:
cp /lib/modules/4.4.0-66-generic/kernel/drivers/scsi/mpt3sas/mpt3sas.ko /lib/modules/4.4.0-66-generic/kernel/drivers/scsi/mpt3sas/mpt3sas.ko.bk
cp mpt3sas.ko /lib/modules/4.4.0-66-generic/kernel/drivers/scsi/mpt3sas/
然后我运行update-initramfs -u
,重新启动并modinfo mpt3sas
返回:
filename: /lib/modules/4.4.0-66-generic/kernel/drivers/scsi/mpt3sas/mpt3sas.ko
alias: mpt2sas
version: 15.00.00.00
license: GPL
description: LSI MPT Fusion SAS 3.0 Device Driver
author: Avago Technologies <[email protected]>
srcversion: B199EC43635A547B22D7056
alias: pci:v00001000d000000C3sv*sd*bc*sc*i*
alias: pci:v00001000d000000C2sv*sd*bc*sc*i*
alias: pci:v00001000d000000C1sv*sd*bc*sc*i*
alias: pci:v00001000d000000C0sv*sd*bc*sc*i*
alias: pci:v00001000d000000C8sv*sd*bc*sc*i*
alias: pci:v00001000d000000C7sv*sd*bc*sc*i*
alias: pci:v00001000d000000C6sv*sd*bc*sc*i*
alias: pci:v00001000d000000C5sv*sd*bc*sc*i*
alias: pci:v00001000d000000C4sv*sd*bc*sc*i*
alias: pci:v00001000d000000C9sv*sd*bc*sc*i*
alias: pci:v00001000d00000095sv*sd*bc*sc*i*
alias: pci:v00001000d00000094sv*sd*bc*sc*i*
alias: pci:v00001000d00000091sv*sd*bc*sc*i*
alias: pci:v00001000d00000090sv*sd*bc*sc*i*
alias: pci:v00001000d00000097sv*sd*bc*sc*i*
alias: pci:v00001000d00000096sv*sd*bc*sc*i*
alias: pci:v00001000d0000007Esv*sd*bc*sc*i*
alias: pci:v00001000d0000006Esv*sd*bc*sc*i*
alias: pci:v00001000d00000087sv*sd*bc*sc*i*
alias: pci:v00001000d00000086sv*sd*bc*sc*i*
alias: pci:v00001000d00000085sv*sd*bc*sc*i*
alias: pci:v00001000d00000084sv*sd*bc*sc*i*
alias: pci:v00001000d00000083sv*sd*bc*sc*i*
alias: pci:v00001000d00000082sv*sd*bc*sc*i*
alias: pci:v00001000d00000081sv*sd*bc*sc*i*
alias: pci:v00001000d00000080sv*sd*bc*sc*i*
alias: pci:v00001000d00000065sv*sd*bc*sc*i*
alias: pci:v00001000d00000064sv*sd*bc*sc*i*
alias: pci:v00001000d00000077sv*sd*bc*sc*i*
alias: pci:v00001000d00000076sv*sd*bc*sc*i*
alias: pci:v00001000d00000074sv*sd*bc*sc*i*
alias: pci:v00001000d00000072sv*sd*bc*sc*i*
alias: pci:v00001000d00000070sv*sd*bc*sc*i*
depends: scsi_transport_sas,raid_class
vermagic: 4.4.0-66-generic SMP mod_unload modversions
parm: logging_level: bits for enabling additional logging info (default=0)
parm: sdev_queue_depth: globally setting SAS device queue depth
parm: max_sectors:max sectors, range 64 to 32767 default=32767 (ushort)
parm: command_retry_count: Device discovery TUR command retry count: (default=144) (int)
parm: missing_delay: device missing delay , io missing delay (array of int)
parm: host_lock_mode:Enable SCSI host lock if set to 1(default=0) (int)
parm: max_lun: max lun, default=16895 (int)
parm: hbas_to_enumerate: 0 - enumerates both SAS 2.0 & SAS 3.0 generation HBAs
1 - enumerates only SAS 2.0 generation HBAs
2 - enumerates only SAS 3.0 generation HBAs (default=-1, Enumerated both SAS 2.0 & SAS 3.0 else SAS 3.0 only) (int)
parm: mpt3sas_multipath: enabling mulipath support for target resets (default=0) (int)
parm: disable_eedp: disable EEDP support: (default=0) (uint)
parm: diag_buffer_enable: post diag buffers (TRACE=1/SNAPSHOT=2/EXTENDED=4/default=0) (int)
parm: disable_discovery: disable discovery (int)
parm: allow_drive_spindown: allow host driver to issue START STOP UNIT(STOP) command to spindown the drive before shut down or driver unload, default=1,
Dont spindown any SATA drives =0 / Spindown SSD but not HDD = 1/ Spindown HDD but not SSD =2/ Spindown all SATA drives =3 (uint)
parm: prot_mask: host protection capabilities mask, def=0x07 (int)
parm: protection_guard_mask: host protection algorithm mask, def=3 (int)
parm: issue_scsi_cmd_to_bringup_drive: allow host driver to issue SCSI commands to bring the drive to READY state, default=1 (int)
parm: sata_smart_polling: poll for smart errors on SATA drives: (default=0) (uint)
parm: max_queue_depth: max controller queue depth (int)
parm: max_sgl_entries: max sg entries (int)
parm: msix_disable: disable msix routed interrupts (default=0) (int)
parm: smp_affinity_enable:SMP affinity feature enable/disbale Default: enable(1) (int)
parm: max_msix_vectors: max msix vectors (int)
parm: mpt3sas_fwfault_debug: enable detection of firmware fault and halt firmware - (default=0)
另外,dmesg | grep mpt3sas
返回:
[ 3.654905] mpt3sas: module verification failed: signature and/or required key missing - tainting kernel
[ 3.707454] mpt3sas version 15.00.00.00 loaded
[ 3.812218] mpt3sas_cm0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (98847588 kB)
[ 4.133670] mpt3sas_cm0: IOC Number : 0
[ 4.134366] mpt3sas0-msix0: PCI-MSI-X enabled: IRQ 81
[ 4.134366] mpt3sas0-msix1: PCI-MSI-X enabled: IRQ 82
[ 4.134366] mpt3sas0-msix2: PCI-MSI-X enabled: IRQ 83
[ 4.134367] mpt3sas0-msix3: PCI-MSI-X enabled: IRQ 84
[ 4.134367] mpt3sas0-msix4: PCI-MSI-X enabled: IRQ 85
[ 4.134367] mpt3sas0-msix5: PCI-MSI-X enabled: IRQ 86
[ 4.134368] mpt3sas0-msix6: PCI-MSI-X enabled: IRQ 87
[ 4.134368] mpt3sas0-msix7: PCI-MSI-X enabled: IRQ 88
[ 4.134368] mpt3sas0-msix8: PCI-MSI-X enabled: IRQ 89
[ 4.134369] mpt3sas0-msix9: PCI-MSI-X enabled: IRQ 90
[ 4.134369] mpt3sas0-msix10: PCI-MSI-X enabled: IRQ 91
[ 4.134369] mpt3sas0-msix11: PCI-MSI-X enabled: IRQ 92
[ 4.134370] mpt3sas0-msix12: PCI-MSI-X enabled: IRQ 93
[ 4.134370] mpt3sas0-msix13: PCI-MSI-X enabled: IRQ 94
[ 4.134370] mpt3sas0-msix14: PCI-MSI-X enabled: IRQ 95
[ 4.134371] mpt3sas0-msix15: PCI-MSI-X enabled: IRQ 96
[ 4.134372] mpt3sas_cm0: iomem(0x00000000a4fb0000), mapped(0xffffc9000cfe0000), size(65536)
[ 4.134372] mpt3sas_cm0: ioport(0x0000000000003f00), size(256)
[ 4.441696] mpt3sas_cm0: IOC Number : 0
[ 4.441698] mpt3sas_cm0: sending message unit reset !!
[ 4.449668] mpt3sas_cm0: message unit reset: SUCCESS
[ 4.622550] mpt3sas_cm0: Allocated physical memory: size(18690 kB)
[ 4.628086] mpt3sas_cm0: Current Controller Queue Depth(10104), Max Controller Queue Depth(10240)
[ 4.633588] mpt3sas_cm0: Scatter Gather Elements per IO(128)
[ 4.870241] mpt3sas_cm0: LSISAS3008: FWVersion(14.00.00.00), ChipRevision(0x02), BiosVersion(16.00.00.00)
[ 4.875699] mpt3sas_cm0: Protocol=(Initiator,Target), Capabilities=(TLR,EEDP,Snapshot Buffer,Diag Trace Buffer,Task Set Full,NCQ)
[ 4.887009] mpt3sas_cm0: : host protection capabilities enabled DIF1 DIF2 DIF3
[ 4.899062] mpt3sas_cm0: sending port enable !!
[ 4.906595] mpt3sas_cm0: host_add: handle(0x0001), sas_addr(0x500605b009cbcea0), phys(8)
[ 4.917659] mpt3sas_cm0: port enable: SUCCESS
现在我唯一担心的是mpt3sas: module verification failed: signature and/or required key missing - tainting kernel
,但我想这不是一个问题。