View Issue Details

IDProjectCategoryView StatusLast Update
0001164channel: elrepo/el8--elrepo--request-for-enhancement--public2021-11-25 04:39
Reporteroden Assigned Totoracat  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Summary0001164: RFE: Provide the kmod-sata_mv module
Descriptionsata_mv is missing and I needed this for an older Supermicro server that has two SAT2-MV8 REV 3.00 PCI-X cards.

The fix is rather easy.

rpm -ivh http://elrepo.reloumirrors.net/elrepo/el8/SRPMS/kmod-sata_nv-3.5-4.el8_4.elrepo.src.rpm
cd ...
cp sata_nv-kmod.spec sata_mv-kmod.spec
patch -p0 < sata_mv.diff

Additional Informationlspci -v -v
[...]
02:01.0 SCSI storage controller: Marvell Technology Group Ltd. MV88SX6081 8-port SATA II PCI-X Controller (rev 09)
        Subsystem: Marvell Technology Group Ltd. Device 11ab
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B+ DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at d0200000 (64-bit, non-prefetchable) [size=1M]
        Region 2: I/O ports at 2000 [size=256]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000 Data: 0000
        Capabilities: [60] PCI-X non-bridge device
                Command: DPERE- ERO- RBC=512 OST=4
                Status: Dev=02:01.0 64bit+ 133MHz+ SCD- USC- DC=simple DMMRBC=512 DMOST=4 DMCRS=8 RSCEM- 266MHz- 533MHz-
        Kernel driver in use: sata_mv
        Kernel modules: sata_mv

03:02.0 SCSI storage controller: Marvell Technology Group Ltd. MV88SX6081 8-port SATA II PCI-X Controller (rev 09)
        Subsystem: Marvell Technology Group Ltd. Device 11ab
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B+ DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at d0c00000 (64-bit, non-prefetchable) [size=1M]
        Region 2: I/O ports at 3000 [size=256]
        Region 3: Memory at d0800000 (64-bit, non-prefetchable) [virtual] [size=4M]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000 Data: 0000
        Capabilities: [60] PCI-X non-bridge device
                Command: DPERE- ERO- RBC=512 OST=4
                Status: Dev=03:02.0 64bit+ 133MHz+ SCD- USC- DC=simple DMMRBC=512 DMOST=4 DMCRS=8 RSCEM- 266MHz- 533MHz-
        Kernel driver in use: sata_mv
        Kernel modules: sata_mv
[...]

modinfo sata_mv
filename: /lib/modules/4.18.0-348.2.1.el8_5.x86_64/weak-updates/sata_mv/sata_mv.ko
alias: platform:sata_mv
version: 1.28
license: GPL v2
description: SCSI low-level driver for Marvell SATA controllers
author: Brett Russ
rhelversion: 8.4
srcversion: 1BD160C91E75FA62BDEE147
alias: pci:v00001103d00002310sv*sd*bc*sc*i*
alias: pci:v00001103d00002300sv*sd*bc*sc*i*
alias: pci:v000011ABd00007042sv*sd*bc*sc*i*
alias: pci:v00009005d00000243sv*sd*bc*sc*i*
alias: pci:v00009005d00000241sv*sd*bc*sc*i*
alias: pci:v000011ABd00006081sv*sd*bc*sc*i*
alias: pci:v000011ABd00006080sv*sd*bc*sc*i*
alias: pci:v000011ABd00006042sv*sd*bc*sc*i*
alias: pci:v000011ABd00006041sv*sd*bc*sc*i*
alias: pci:v000011ABd00006040sv*sd*bc*sc*i*
alias: pci:v00001103d00001742sv*sd*bc*sc*i*
alias: pci:v00001103d00001740sv*sd*bc*sc*i*
alias: pci:v00001103d00001720sv*sd*bc*sc*i*
alias: pci:v000011ABd00005081sv*sd*bc*sc*i*
alias: pci:v000011ABd00005080sv*sd*bc*sc*i*
alias: pci:v000011ABd00005041sv*sd*bc*sc*i*
alias: pci:v000011ABd00005040sv*sd*bc*sc*i*
depends: libata
name: sata_mv
vermagic: 4.18.0-305.el8.x86_64 SMP mod_unload modversions
parm: msi:Enable use of PCI MSI (0=off, 1=on) (int)
parm: irq_coalescing_io_count:IRQ coalescing I/O count threshold (0..255) (int)
parm: irq_coalescing_usecs:IRQ coalescing time threshold in usecs (int)

TagsNo tags attached.

Relationships

has duplicate 0001163 closedtoracat RFE: Provide the kmod-sata_mv module 

Activities

toracat

2021-11-18 15:13

administrator   ~0008026

Acknowledged.

toracat

2021-11-18 15:36

administrator   ~0008028

The following package has been built. It will be syncing to our mirror sites shortly.

kmod-sata_mv-1.28-1.el8_5.elrepo.x86_64.rpm

oden

2021-11-18 15:37

reporter   ~0008029

sata_mv.diff (1,323 bytes)   
--- sata_nv-kmod.spec	2021-05-24 15:32:14.000000000 +0200
+++ sata_mv-kmod.spec	2021-11-17 17:17:14.000000000 +0100
@@ -1,5 +1,5 @@
 # Define the kmod package name here.
-%define kmod_name		sata_nv
+%define kmod_name		sata_mv
 %define kmod_vendor		elrepo
 
 # If kmod_kernel_version isn't defined on the rpmbuild line, define it here.
@@ -9,7 +9,7 @@
 
 Name:           kmod-%{kmod_name}
 Version:        3.5
-Release:        4%{?dist}.%{kmod_vendor}
+Release:        1%{?dist}.%{kmod_vendor}
 Summary:        %{kmod_name} kernel module(s)
 Group:          System Environment/Kernel
 License:        GPLv2
@@ -68,7 +68,7 @@
 %patch0 -p1
 
 %build
-%{__make} -C %{kernel_source} %{?_smp_mflags} modules M=$PWD CONFIG_SATA_NV=m
+%{__make} -C %{kernel_source} %{?_smp_mflags} modules M=$PWD CONFIG_SATA_MV=m
 
 whitelist="/lib/modules/kabi-current/kabi_whitelist_%{_target_cpu}"
 for modules in $( find . -name "*.ko" -type f -printf "%{findpat}\n" | sed 's|\.ko$||' | sort -u ) ; do
@@ -178,6 +178,9 @@
 %doc /usr/share/doc/kmod-%{kmod_name}-%{version}/
 
 %changelog
+* Wed Nov 17 2021 Oden Eriksson <oe@nux.se> - 3.5-1
+- initial package, based on kmod-sata_nv-3.5-4.el8_4.elrepo.src.rpm
+
 * Tue May 18 2021 Philip J Perry <phil@elrepo.org> - 3.5-4
 - Rebuilt against RHEL 8.4 kernel
 - Source code from kernel-4.18.0-305
sata_mv.diff (1,323 bytes)   

toracat

2021-11-18 15:38

administrator   ~0008030

Sorry, I did not have a chance to use your diff file. :(

oden

2021-11-18 15:40

reporter   ~0008031

20211116_164918.jpg (3,106,256 bytes)

oden

2021-11-19 01:18

reporter   ~0008034

Nice. Switched to kmod-sata_mv-1.28-1.el8_5.elrepo and it works fine.

Thank you.

toracat

2021-11-19 10:52

administrator   ~0008035

Thank you for reporting back. Now closing as 'resolved'.

Issue History

Date Modified Username Field Change
2021-11-18 15:09 oden New Issue
2021-11-18 15:09 oden Status new => assigned
2021-11-18 15:09 oden Assigned To => toracat
2021-11-18 15:13 toracat Note Added: 0008026
2021-11-18 15:36 toracat Note Added: 0008028
2021-11-18 15:37 oden Note Added: 0008029
2021-11-18 15:37 oden File Added: sata_mv.diff
2021-11-18 15:38 toracat Note Added: 0008030
2021-11-18 15:40 oden Note Added: 0008031
2021-11-18 15:40 oden File Added: 20211116_164918.jpg
2021-11-19 01:18 oden Note Added: 0008034
2021-11-19 10:52 toracat Status assigned => resolved
2021-11-19 10:52 toracat Resolution open => fixed
2021-11-19 10:52 toracat Note Added: 0008035
2021-11-25 04:39 toracat Relationship added has duplicate 0001163