Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[solved] USB Drives not aviable

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
Gladdle
Guru
Guru
User avatar
Posts: 348
Joined: Sun Jul 27, 2008 12:44 am
Location: Cleebronn, Germany
Contact:
Contact Gladdle
Website

[solved] USB Drives not aviable

  • Quote

Post by Gladdle » Tue Oct 14, 2025 12:54 pm

Hi there, since my kernel update to 6.12.41-gentoo-x86_64 i've got a few problems. Currently i can't use USB Drives. If i plug them in (i've tried different, so it's not the drive itself), dmesg shows me:

Code: Select all

[  300.723946] usb 3-2: new high-speed USB device number 4 using xhci_hcd
[  300.859577] usb 3-2: New USB device found, idVendor=0951, idProduct=1624, bcdDevice= 1.00
[  300.859587] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  300.859591] usb 3-2: Product: DataTraveler G2
[  300.859594] usb 3-2: Manufacturer: Kingston
[  300.859597] usb 3-2: SerialNumber: 0019E02B7592F9512588025A
[  300.876861] usb-storage 3-2:1.0: USB Mass Storage device detected
[  300.877079] scsi host0: usb-storage 3-2:1.0
[  300.877201] usbcore: registered new interface driver usb-storage
[  300.878808] usbcore: registered new interface driver uas
[  301.894640] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler G2  1.00 PQ: 0 ANSI: 2
But there is nothing in /dev/sd*, also gparted or something else didn't find something. Also lsblk or blkid is blind:

Code: Select all

NAME                               MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
nvme0n1                            259:0    0 953,9G  0 disk  
├─nvme0n1p1                        259:1    0     1G  0 part  /boot
└─nvme0n1p2                        259:2    0 952,9G  0 part  
  └─root                           254:0    0 952,9G  0 crypt 
    ├─VG--Encrypted--Gentoo-LVswap 254:1    0    32G  0 lvm   [SWAP]
    └─VG--Encrypted--Gentoo-LVroot 254:2    0 920,9G  0 lvm   /
So it seems it's a missing kernel configuration. I've searched a lot, but i cant find something, so can someone give me a hint?
Last edited by Gladdle on Thu Oct 16, 2025 1:35 pm, edited 1 time in total.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2185
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Tue Oct 14, 2025 1:14 pm

I wonder if you missing scsi disk support in kernel.
Top
Gladdle
Guru
Guru
User avatar
Posts: 348
Joined: Sun Jul 27, 2008 12:44 am
Location: Cleebronn, Germany
Contact:
Contact Gladdle
Website

  • Quote

Post by Gladdle » Tue Oct 14, 2025 1:51 pm

It seem so, but where can i find it?
Top
grknight
Retired Dev
Retired Dev
Posts: 2565
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Tue Oct 14, 2025 2:06 pm

Ensure that CONFIG_BLK_DEV_SD is enabled in the kernel for most USB_STORAGE to be effective
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2185
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Tue Oct 14, 2025 2:11 pm

Gladdle wrote:It seem so, but where can i find it?
if you grep -i scsi /path/to/kernel/.config what do you see?
Top
grknight
Retired Dev
Retired Dev
Posts: 2565
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Tue Oct 14, 2025 2:16 pm

pingtoo wrote:if you grep -i scsi /path/to/kernel/.config what do you see?
Unfortunately, this will not show a required option (see above).
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2185
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Tue Oct 14, 2025 2:25 pm

grknight wrote:
pingtoo wrote:if you grep -i scsi /path/to/kernel/.config what do you see?
Unfortunately, this will not show a required option (see above).
Thanks, I am just guessing.
Top
pietinger
Administrator
Administrator
Posts: 6633
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Tue Oct 14, 2025 2:47 pm

grknight wrote:Ensure that CONFIG_BLK_DEV_SD is enabled in the kernel for most USB_STORAGE to be effective
From the output in the first post I can see that this is enabled (also CONFIG_USB_STORAGE; even UAS) ...

Gladdle,

which filesystem do you have on this stick? I ask, because I once had a problem with a stick from a friend ... from Windows ... it was formated with NTFS :lol:

(make sure you have this FS enabled)

Make sure you have also this option enabled: CONFIG_MSDOS_PARTITION=y
https://wiki.gentoo.org/wiki/User:Pietinger --> New at Gentoo
Top
Gladdle
Guru
Guru
User avatar
Posts: 348
Joined: Sun Jul 27, 2008 12:44 am
Location: Cleebronn, Germany
Contact:
Contact Gladdle
Website

  • Quote

Post by Gladdle » Tue Oct 14, 2025 2:52 pm

I can't even see the USB Stick partition table within gparted, mparted or familiar, so the file system seems not to be the problem. Here is the kernel config with SCSI:

Code: Select all

# SCSI device support
CONFIG_SCSI_MOD=y
CONFIG_SCSI_COMMON=y
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y
# SCSI support type (disk, tape, CD-ROM)
# CONFIG_SCSI_ENCLOSURE is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
# SCSI Transports
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
CONFIG_SCSI_ISCSI_ATTRS=m
CONFIG_SCSI_SAS_ATTRS=m
CONFIG_SCSI_SAS_LIBSAS=m
CONFIG_SCSI_SAS_ATA=y
CONFIG_SCSI_SAS_HOST_SMP=y
CONFIG_SCSI_SRP_ATTRS=m
# end of SCSI Transports
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not set
# end of SCSI device support
CONFIG_TCM_PSCSI=m
CONFIG_ISCSI_TARGET=m
CONFIG_ISCSI_TARGET_CXGB4=m
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
CONFIG_SCSI_UFSHCD=m
CONFIG_SCSI_UFS_BSG=y
# CONFIG_SCSI_UFS_HWMON is not set
CONFIG_SCSI_UFSHCD_PCI=m
# CONFIG_SCSI_UFS_DWC_TC_PCI is not set
# CONFIG_SCSI_UFSHCD_PLATFORM is not set
CONFIG_VHOST_SCSI=m
CONFIG_XEN_SCSI_BACKEND=m
CONFIG_NFSD_SCSILAYOUT=y
Same with BLK_DEV:

Code: Select all

CONFIG_BLK_DEV_INITRD=y
CONFIG_BLK_DEV_BSG_COMMON=y
CONFIG_BLK_DEV_BSGLIB=y
CONFIG_BLK_DEV_INTEGRITY=y
CONFIG_BLK_DEV_WRITE_MOUNTED=y
CONFIG_BLK_DEV_ZONED=y
CONFIG_BLK_DEV_THROTTLING=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_NULL_BLK=m
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_FD_RAWCMD is not set
CONFIG_BLK_DEV_PCIESSD_MTIP32XX=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_LOOP_MIN_COUNT=0
CONFIG_BLK_DEV_DRBD=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=16384
CONFIG_BLK_DEV_RBD=m
# CONFIG_BLK_DEV_UBLK is not set
# CONFIG_BLK_DEV_RNBD_CLIENT is not set
# CONFIG_BLK_DEV_RNBD_SERVER is not set
CONFIG_BLK_DEV_NVME=m
# CONFIG_BLK_DEV_SD is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_BLK_DEV_BSG is not set
CONFIG_BLK_DEV_MD=m
CONFIG_BLK_DEV_DM_BUILTIN=y
CONFIG_BLK_DEV_DM=m
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
CONFIG_BLK_DEV_PMEM=m
CONFIG_BLK_DEV_IO_TRACE=y
and

Code: Select all

CONFIG_MSDOS_PARTITION=y
CONFIG_MSDOS_FS=y
Last but not least, "STORAGE":

Code: Select all

# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
# also be needed; see USB_STORAGE Help for more info
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_REALTEK=m
CONFIG_USB_STORAGE_DATAFAB=m
CONFIG_USB_STORAGE_FREECOM=m
CONFIG_USB_STORAGE_ISD200=m
CONFIG_USB_STORAGE_USBAT=m
CONFIG_USB_STORAGE_SDDR09=m
CONFIG_USB_STORAGE_SDDR55=m
CONFIG_USB_STORAGE_JUMPSHOT=m
CONFIG_USB_STORAGE_ALAUDA=m
CONFIG_USB_STORAGE_ONETOUCH=m
CONFIG_USB_STORAGE_KARMA=m
CONFIG_USB_STORAGE_CYPRESS_ATACB=m
CONFIG_USB_STORAGE_ENE_UB6250=m
Last edited by Gladdle on Tue Oct 14, 2025 3:02 pm, edited 5 times in total.
Top
grknight
Retired Dev
Retired Dev
Posts: 2565
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Tue Oct 14, 2025 2:54 pm

I believe it is time to stop guessing. Please post the entire kernel config to a paste site.
Top
Hu
Administrator
Administrator
Posts: 24401
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Oct 14, 2025 3:21 pm

Although the full configuration would be nice, the most recent post from OP shows grknight's earlier advice was not heeded:
[post=8871860]grknight[/post] wrote:Ensure that CONFIG_BLK_DEV_SD is enabled in the kernel for most USB_STORAGE to be effective
However:
[post=8871866]Gladdle[/post] wrote:

Code: Select all

# CONFIG_BLK_DEV_SD is not set
I also note that OP repeatedly edited that post, most recently after grknight requested the full configuration, so the relevant quote might not have been there when grknight posted.
Top
Gladdle
Guru
Guru
User avatar
Posts: 348
Joined: Sun Jul 27, 2008 12:44 am
Location: Cleebronn, Germany
Contact:
Contact Gladdle
Website

  • Quote

Post by Gladdle » Tue Oct 14, 2025 6:19 pm

Hu wrote:Although the full configuration would be nice, the most recent post from OP shows grknight's earlier advice was not heeded:
[post=8871860]grknight[/post] wrote:Ensure that CONFIG_BLK_DEV_SD is enabled in the kernel for most USB_STORAGE to be effective
However:
[post=8871866]Gladdle[/post] wrote:

Code: Select all

# CONFIG_BLK_DEV_SD is not set
I also note that OP repeatedly edited that post, most recently after grknight requested the full configuration, so the relevant quote might not have been there when grknight posted.
I am sorry, i dont want to spam, so i edited the post to reduce spam. Thank you for your help, thats it. If anyone use "make menuconfig", it's within this menu:

Code: Select all

Device Drivers  --->
  SCSI device support  --->
    <*> SCSI disk support
It was my own failure, i tought, thst's the old SCSI Connection, at that time IDE was going to be old and SATA wasn't there.
Top
Post Reply

12 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic