FS#72402 - [linux] 5.X kernel not loading scsi devices in bus order

Attached to Project: Arch Linux
Opened by hyeon yu (hyu) - Tuesday, 12 October 2021, 07:03 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 14 October 2021, 14:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I Upgraded 3.X -> 5.X
Starting with kernel 5.X SCSI devices are no longer loaded/processed in bus order, and instead appear to be processed randomly.
Prior to 5.X the device names would always be related to their bus order. For example, if my SCSI bus IDs are 0:0:0:0 and 0:0:1:2, then 0:0:0:0 would always be sda and 0:0:1:2 would always be sdb. Starting with 5.X, this is no longer the case and the result is different with each reboot.

Due to internal circumstances, UUID cannot be modified. Can I change the kernel?

current kernel)
5.14.11-1.el7.elrepo.x86_64

When it's normal)
[ 1.185979] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 1.185985] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)

When it's abnormal)
[ 1.172712] sd 1:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 1.172714] sd 0:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)


This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 14 October 2021, 14:53 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#63984 
Comment by hyeon yu (hyu) - Wednesday, 13 October 2021, 00:53 GMT
I don't Understand Duplicate  FS#63984 . what is mean '82a54da641f3cacfa31db36fc58a5e903f804c22' and 'f049cf1a7b6737c75884247c3f6383ef104d255a'?
Comment by Andreas Radke (AndyRTR) - Thursday, 14 October 2021, 14:53 GMT

Loading...