View Issue Details

IDProjectCategoryView StatusLast Update
0001444channel: elrepo/el8kmod-aacraidpublic2024-04-13 12:05
Reportergiathanhtmq@gmail.com Assigned Topperry  
PriorityhighSeverityblockReproducibilityalways
Status assignedResolutionopen 
PlatformLinux ServerOSRocky Linux 8OS Version8.9
Summary0001444: kmod-aacraid problem when access the physical/logical device
DescriptionMy system specs is:
---
OS - Rocky Linux 8.9
Kernel - 4.18.0-513.24.1.el8_9.x86_64
Harddisk - HDD*4ea install with Hardware Raid Adaptec Series 8 - ASR-8805
---

- My hardware raid is using aacraid kernel module for communicating with the OS.
# lspci -knn
3b:00.0 RAID bus controller [0104]: Adaptec Series 8 12G SAS/PCIe 3 [9005:028d] (rev 01)
    Subsystem: Adaptec Series 8 - ASR-8805 - 8 internal 0 external 12G SAS Port/PCIe 3.0 [9005:0552]
    Kernel driver in use: aacraid
    Kernel modules: aacraid

- But whenever I access the logical device created by hardware raid, the server is hang and error log occur:
# vi /var/log/messages
Apr 10 00:30:08 rocky kernel: aacraid: Host adapter abort request.#012aacraid: Outstanding commands on (0,0,1,0):
Apr 10 00:30:08 rocky kernel: aacraid: Host adapter abort request.#012aacraid: Outstanding commands on (0,0,1,0):
Apr 10 00:30:08 rocky kernel: aacraid: Host adapter abort request.#012aacraid: Outstanding commands on (0,0,1,0):
Apr 10 00:30:08 rocky kernel: aacraid: Host adapter abort request.#012aacraid: Outstanding commands on (0,0,1,0):
Apr 10 00:30:08 rocky kernel: aacraid: Host adapter reset request. SCSI hang ?
Apr 10 00:30:23 rocky kernel: aacraid: Host adapter reset request. SCSI hang ?
Apr 10 00:30:23 rocky kernel: aacraid 0000:3b:00.0: outstanding cmd: midlevel-0
Apr 10 00:30:23 rocky kernel: aacraid 0000:3b:00.0: outstanding cmd: lowlevel-0
Apr 10 00:30:23 rocky kernel: aacraid 0000:3b:00.0: outstanding cmd: error handler-0
Apr 10 00:30:23 rocky kernel: aacraid 0000:3b:00.0: outstanding cmd: firmware-224
Apr 10 00:30:23 rocky kernel: aacraid 0000:3b:00.0: outstanding cmd: kernel-0
--> Within this log occur, the server is freeze
Steps To Reproduce1. Install a rocky linux 8.9 server
2. download the source from https://mirror.rackspace.com/elrepo/elrepo/el8/x86_64/RPMS/kmod-aacraid-1.2.1-9.el8_9.elrepo.x86_64.rpm
3. Install by rpm command
4. Access with the logical device I/O
Additional Information- I found that the Kernel modules aacraid included in your kernel version "5.4.272-1.el8.elrepo.x86_64" (lt version) will get rid of this problem.
- But I have a requirement to keep the kernel version "4.18.0-513.24.1.el8_9.x86_64" (distributed version) and not update.
-> My question is that : is there a different in the Kernel modules "aacraid" between kernel version "4.18.0-513.24.1.el8_9.x86_64" AND "5.4.272-1.el8.elrepo.x86_64" ? Can you provide me a way to install the aacraid version IN "5.4.272-1.el8.elrepo.x86_64" FOR "4.18.0-513.24.1.el8_9.x86_64" ?

Please help me to check it ASAP.
Thank you and have a nice day.
TagsNo tags attached.

Activities

toracat

2024-04-09 13:14

administrator   ~0009659

Can you show us the output from:

$ find /lib/modules -name aacraid.ko

giathanhtmq@gmail.com

2024-04-09 13:28

reporter   ~0009660

Yes, here you are.
This is my production server:
---
# uname -r
4.18.0-513.24.1.el8_9.x86_64

# find /lib/modules -name *aacraid.ko*
/lib/modules/4.18.0-477.10.1.el8_8.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/4.18.0-477.10.1.el8_8.x86_64/weak-updates/aacraid/aacraid.ko
/lib/modules/4.18.0-513.11.1.el8_9.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/4.18.0-513.11.1.el8_9.x86_64/weak-updates/aacraid/aacraid.ko
/lib/modules/4.18.0-513.5.1.el8_9.x86_64/extra/aacraid/aacraid.ko
/lib/modules/4.18.0-513.11.1.el8_9.0.1.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/4.18.0-513.11.1.el8_9.0.1.x86_64/weak-updates/aacraid/aacraid.ko
/lib/modules/4.18.0-372.13.1.el8_6.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/4.18.0-477.15.1.el8_8.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/4.18.0-477.15.1.el8_8.x86_64/weak-updates/aacraid/aacraid.ko
/lib/modules/4.18.0-372.19.1.el8_6.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/4.18.0-513.9.1.el8_9.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/4.18.0-513.9.1.el8_9.x86_64/weak-updates/aacraid/aacraid.ko
/lib/modules/5.4.265-1.el8.elrepo.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/4.18.0-513.24.1.el8_9.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/4.18.0-513.24.1.el8_9.x86_64/weak-updates/aacraid/aacraid.ko
---

And this is my test server:
---
# uname -r
5.4.272-1.el8.elrepo.x86_64

# find /lib/modules -name *aacraid.ko*
/lib/modules/4.18.0-513.18.1.el8_9.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/5.4.272-1.el8.elrepo.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/4.18.0-513.5.1.el8_9.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
/lib/modules/4.18.0-513.24.1.el8_9.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
---

toracat

2024-04-09 13:33

administrator   ~0009661

And:

$ modinfo aacraid | grep filename

giathanhtmq@gmail.com

2024-04-09 21:05

reporter   ~0009670

Yes, the output is:

My production server:
---
# modinfo aacraid | grep filename
filename: /lib/modules/4.18.0-513.24.1.el8_9.x86_64/weak-updates/aacraid/aacraid.ko
---

My test server:
---
# modinfo aacraid | grep filename
filename: /lib/modules/5.4.272-1.el8.elrepo.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz
---

toracat

2024-04-10 13:28

administrator   ~0009672

Thank you. We just wanted to confirm that the latest version was correctly installed.

We have rebuilt the kmod package against the current kernel 4.18.0-513.24.1.el8_9 and released it to the elrepo-testing repository. It will show up on our mirror sites shortly. You can install it by running:

# dnf --enablerepo=elrepo-testing install kmod-aacraid

giathanhtmq

2024-04-10 22:51

reporter   ~0009673

Yes.

I will try to install it and test it again. I will let you know if the problem still occur.

Thank you very much.

Issue History

Date Modified Username Field Change
2024-04-09 13:08 giathanhtmq@gmail.com New Issue
2024-04-09 13:08 giathanhtmq@gmail.com Status new => assigned
2024-04-09 13:08 giathanhtmq@gmail.com Assigned To => pperry
2024-04-09 13:14 toracat Note Added: 0009659
2024-04-09 13:28 giathanhtmq@gmail.com Note Added: 0009660
2024-04-09 13:33 toracat Note Added: 0009661
2024-04-09 21:05 giathanhtmq@gmail.com Note Added: 0009670
2024-04-10 13:28 toracat Note Added: 0009672
2024-04-10 22:51 giathanhtmq Note Added: 0009673