Bug 2246087 - UFS storage not enabled on x86_64 kernel
Summary: UFS storage not enabled on x86_64 kernel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-25 11:02 UTC by James
Modified: 2023-11-04 03:45 UTC (History)
16 users (show)

Fixed In Version: kernel-6.5.9-300.fc39 kernel-6.5.9-200.fc38 kernel-6.5.9-100.fc37
Clone Of:
Environment:
Last Closed: 2023-11-03 18:46:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
dmesg.txt (182.67 KB, text/plain)
2023-10-25 11:03 UTC, James
no flags Details

Description James 2023-10-25 11:02:43 UTC
1. Please describe the problem:

On the ASUS Vivobook 13 Slate OLED (T3304) device, the internal UFS storage is not accessible.

Fedora 39 Beta is working quite well on this Alder Lake-N device, however the Fedora kernel appears to be missing the required drivers for UFS storage. I believe the relevant configs are CONFIG_SCSI_UFSHCD and CONFIG_SCSI_UFSHCD_PCI.

2. What is the Version-Release number of the kernel:

6.5.2-301.fc39.x86_64

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

Not sure.

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

Boot Fedora on x86_64 device with UFS storage, observe the storage is not shown in lsblk.

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

I haven't tried, but according to https://src.fedoraproject.org/rpms/kernel/blob/rawhide/f/kernel-x86_64-fedora.config the relevant drivers are not included.

6. Are you running any modules that not shipped with directly Fedora's kernel?:

No.

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Reproducible: Always

Comment 1 James 2023-10-25 11:03:18 UTC
Created attachment 1995377 [details]
dmesg.txt

Comment 2 James 2023-10-25 11:59:15 UTC
The PCI ID of the UFS controller is 8086:54ff

Comment 3 Fedora Update System 2023-10-25 23:38:54 UTC
FEDORA-2023-d471dae70d has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d471dae70d

Comment 4 Fedora Update System 2023-10-25 23:38:56 UTC
FEDORA-2023-0d0c841d93 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0d0c841d93

Comment 5 Fedora Update System 2023-10-25 23:44:19 UTC
FEDORA-2023-cfd46a8051 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-cfd46a8051

Comment 6 Fedora Update System 2023-10-26 01:52:55 UTC
FEDORA-2023-cfd46a8051 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-cfd46a8051`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-cfd46a8051

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-10-26 02:48:04 UTC
FEDORA-2023-0d0c841d93 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0d0c841d93`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0d0c841d93

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-10-26 02:53:14 UTC
FEDORA-2023-d471dae70d has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-d471dae70d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d471dae70d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 James 2023-10-26 10:21:38 UTC
Created a new live USB with kernel-6.5.9-300.fc39 and the internal storage is detected. Thanks!

Comment 10 Fedora Update System 2023-11-03 18:46:42 UTC
FEDORA-2023-cfd46a8051 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2023-11-04 03:41:57 UTC
FEDORA-2023-0d0c841d93 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2023-11-04 03:45:29 UTC
FEDORA-2023-d471dae70d has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.