LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-28-2020, 01:09 PM   #16
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,954

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542

I'm afraid I have no more suggestions. My card readers mount fine, and always have. I'm on Debian, but I've used a number of other distros over the years, and I haven't seen this issue. I hope you solve it, and share the solution.
 
Old 08-28-2020, 03:58 PM   #17
Haxsaw
LQ Newbie
 
Registered: Aug 2020
Location: English in France
Distribution: Linux Mint 20 “Ulyana” & RPI Desktop
Posts: 14

Original Poster
Rep: Reputation: Disabled
I have just created and loaded a live-bootable-USB of Manjaro without installing. I plugged in the sandisk reader and it mounted the card without a problem. Coming back to mint it still does not see the reader, same for the RPI.

Baffled is an understatement

Any more ideas and suggestions are more than welcome.

Cheers
 
Old 08-28-2020, 04:05 PM   #18
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,636

Rep: Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279
Post the lsusb output with the reader plugged in while running manjaro. I wonder if is a USB 3 software problem. Unfortunately there are a few variables to ponder between the two sysfems and wonder if some update is to blame.

Last edited by michaelk; 08-28-2020 at 04:08 PM.
 
Old 08-29-2020, 08:55 AM   #19
Haxsaw
LQ Newbie
 
Registered: Aug 2020
Location: English in France
Distribution: Linux Mint 20 “Ulyana” & RPI Desktop
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Post the lsusb output with the reader plugged in while running manjaro. I wonder if is a USB 3 software problem. Unfortunately there are a few variables to ponder between the two sysfems and wonder if some update is to blame.
Hi MichaelK, Unfortunately I can't reproduce the mount. I tried again and again for a couple of hours but no joy. On the other hand I am now receiving 2 error messages on boot and shutdown. I filmed an out of focus instance and I could see that it has something to do with:

Code:
zfs-mount.service failed
As for USB3 that you mentioned, i think you may be onto something. The USB Reader is USB3 but my laptop has USB2 ports. Saying that it stopped working on the RPI also.
I don't want to admit it but i think i may have to buy a new reader not giving up yet though
 
Old 08-29-2020, 11:38 AM   #20
Haxsaw
LQ Newbie
 
Registered: Aug 2020
Location: English in France
Distribution: Linux Mint 20 “Ulyana” & RPI Desktop
Posts: 14

Original Poster
Rep: Reputation: Disabled
Just found this

After various google suggestions, i followed this:
https://www.cyberciti.biz/faq/usb-dr...d-under-linux/
This is the outcome in the order of things:

# dmesg
Just the last part where finally i am able to see the reader/card but with errors.
Code:
[ 5269.877070] scsi 5:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
[ 5269.878153] sd 5:0:0:0: Attached scsi generic sg2 type 0
[ 5270.695485] sd 5:0:0:0: [sdb] 124735488 512-byte logical blocks: (63.9 GB/59.5 GiB)
[ 5270.697248] sd 5:0:0:0: [sdb] Write Protect is off
[ 5270.697252] sd 5:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 5270.698243] sd 5:0:0:0: [sdb] No Caching mode page found
[ 5270.698248] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 5270.716274]  sdb: sdb1
[ 5270.720007] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 5442.296875] usb 2-4: USB disconnect, device number 7
[ 7613.628819] perf: interrupt took too long (6286 > 6216), lowering kernel.perf_event_max_sample_rate to 31750
[ 7640.453422] iwl4965 0000:06:00.0: RF_KILL bit toggled to disable radio.
[ 7640.460611] iwl4965 0000:06:00.0: Not sending command - RF KILL
[ 7640.460616] iwl4965 0000:06:00.0: Error sending C_RXON: enqueue_hcmd failed: -5
[ 7640.460639] iwl4965 0000:06:00.0: Error setting new RXON (-5)
[ 7640.463523] iwl4965 0000:06:00.0: Timeout stopping DMA channel 1 [0xa5a5a5a0]
[ 7640.463523] iwl4965 0000:06:00.0: Timeout stopping DMA channel 3 [0xa5a5a5a0]
[ 7640.473709] iwl4965 0000:06:00.0: Timeout stopping DMA channel 4 [0xa5a5a5a0]
[ 7640.479760] iwl4965 0000:06:00.0: Timeout stopping DMA channel 6 [0xa5a5a5a0]
[ 7684.803597] perf: interrupt took too long (7947 > 7857), lowering kernel.perf_event_max_sample_rate to 25000
[ 7752.421773] ATL1E 0000:02:00.0 enp2s0: NIC Link is Down
[ 7967.911735] CE: hpet increased min_delta_ns to 30172 nsec
[ 8187.940219] perf: interrupt took too long (9958 > 9933), lowering kernel.perf_event_max_sample_rate to 20000
[ 8360.691153] ATL1E 0000:02:00.0 enp2s0: NIC Link is Up <1000 Mbps Full Duplex>
Then:
# sudo lspci -v | grep HCI

Returned this:
Code:
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 04) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI] 82801H (ICH8 Family) USB UHCI Controller
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 04) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI] 82801H (ICH8 Family) USB UHCI Controller
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 04) (prog-if 20 [EHCI])
	Subsystem: Acer Incorporated [ALI] 82801H (ICH8 Family) USB2 EHCI Controller
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 04) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI] 82801H (ICH8 Family) USB UHCI Controller
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 04) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI] 82801H (ICH8 Family) USB UHCI Controller
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 04) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI] 82801H (ICH8 Family) USB UHCI Controller
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 04) (prog-if 20 [EHCI])
	Subsystem: Acer Incorporated [ALI] 82801H (ICH8 Family) USB2 EHCI Controller
00:1f.2 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
	Subsystem: Acer Incorporated [ALI] 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]
the next steps results scared me 'FATAL'
# modprobe usb-uhci
# modprobe usb-ohci
# modprobe usb-storage (no return on this one)

Code:
modprobe usb-uhci
modprobe: FATAL: Module usb-uhci not found in directory /lib/modules/5.4.0-42-generic
modprobe usb-ohci
modprobe: FATAL: Module usb-ohci not found in directory /lib/modules/5.4.0-42-generic
# dmesg again
Gave the same result as above.

# sudo fdisk -l | grep sdb
Gave no return

and finally:
# mount /dev/sdb1 /mnt

Code:
sudo mount /dev/sdb1 /mnt
mount: /mnt: special device /dev/sdb1 does not exist.
Until now i was unable to see the USB in dmesg, it's a start, but still lost.
 
Old 08-29-2020, 02:49 PM   #21
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,954

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
The error message says that the modules usb-uhci and usb-ohci are not present. What firmware do you have installed? I'm not sure exactly which package contains those modules, but try installing firmware-linux-free, firmware-linux-nonfree, firmware-misc-nonfree, and firmware-linux, if they are not already installed. Perhaps try installing one at a time until you find it.
 
Old 08-29-2020, 04:36 PM   #22
Haxsaw
LQ Newbie
 
Registered: Aug 2020
Location: English in France
Distribution: Linux Mint 20 “Ulyana” & RPI Desktop
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sgosnell View Post
The error message says that the modules usb-uhci and usb-ohci are not present. What firmware do you have installed? I'm not sure exactly which package contains those modules, but try installing firmware-linux-free, firmware-linux-nonfree, firmware-misc-nonfree, and firmware-linux, if they are not already installed. Perhaps try installing one at a time until you find it.
System info says Kernal version 5.4.0-42-generic

Which I am guessing corresponds with the last part of the error message usb-uhci and usb-ohci not being present.

As to what you suggested, i have no idea what they are or where to find them, YET! but will look into them. They look like a lot of things to just try....and hope
 
Old 08-29-2020, 04:45 PM   #23
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,954

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
You have to install many modules manually, in addition to the kernel. Try the packages I suggested. You can tell whether they are installed by using
Code:
apt-cache policy <packagename>
, obviously using the actual package name, which I gave you, and which are not included in the bare kernel.
 
Old 08-29-2020, 04:57 PM   #24
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,636

Rep: Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279
Just as a frame a reference my CentOS 7 does not have these as loadable modules either and USB works fine. They are just compiled into the kernel and I assume Mint is similar. If those drivers were not loaded you would not of seen those sdb1 in the output of dmesg. I'm fresh out of ideas...
 
Old 08-29-2020, 07:28 PM   #25
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,954

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
I would have thought they were in the kernel also, but I don't know about his kernel. I've never seen that issue, so I'm really clutching at straws.
 
Old 08-30-2020, 11:18 AM   #26
Haxsaw
LQ Newbie
 
Registered: Aug 2020
Location: English in France
Distribution: Linux Mint 20 “Ulyana” & RPI Desktop
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thanks anyway people

To all of you that kindly took the time....Thank you

Apparently this is a very uncommon problem and i guess i have to just accept that i can no longer use this reader as i want.
I wont take any more of your time on this issue but will post here 'IF' ever I manage to solve the problem just in case anyone else needs it.

Thanks again.

P.S feel free to suggest though.
For info the other firmware's are not present.
 
Old 09-02-2020, 11:28 AM   #27
Haxsaw
LQ Newbie
 
Registered: Aug 2020
Location: English in France
Distribution: Linux Mint 20 “Ulyana” & RPI Desktop
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thumbs up Why SOLVED'ish

I hadn't actually stopped trying to get this to work, i kept on googling & visiting different sites and threads, i even came back here to other threads for similar issues and after trying lots of things some of which were old, i ground things down to mount options. When trying with a different live usb i could occasionally see the reader so i noted the info down (from previous suggestions here ) and started to look into that and fstab. I have learned a fair bit so far but have to admit that I am not entirely sure why things are working again.

What is really puzzling me is that it suddenly stopped working on linux only and after re-configuring the mount options on the laptop I still had to modify them on the RPI. Ok no problem really, I can finally see the reader and card on both machines........now for this 'ish bit

I have noticed that if i just plug the reader in it doesn't get detected or mount. But if i verrrrry slowwwwwly and geeeeently plug it in it gets detected and mounts without a problem. Although I am hoping this isn't a larger problem because i still haven't managed to get the thing to be detected and mount on boot. That's the next step but will open a new thread if i can't get my head round it.

Last edited by Haxsaw; 09-02-2020 at 11:34 AM. Reason: spelling
 
Old 09-03-2020, 03:59 AM   #28
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,418

Rep: Reputation: 2590Reputation: 2590Reputation: 2590Reputation: 2590Reputation: 2590Reputation: 2590Reputation: 2590Reputation: 2590Reputation: 2590Reputation: 2590Reputation: 2590
Stop searching. If it worked once, your problem is crappy connections. Fix or replace if it bugs you. It would sure bug me.
 
Old 09-03-2020, 03:26 PM   #29
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,350

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
I believe there is no reason to have the older ohci or uhci in a uefi based system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sandisk reader (not card) undetectable on linux only. Haxsaw Linux - Hardware 2 08-27-2020 09:41 AM
Undetectable sd card after locking by mmc-utils GameTron Linux - Hardware 3 07-16-2019 10:43 AM
dd: can't copy a 32GB USB 3.0 SanDisk extreme to another 32GB USB 3.0 SanDisk Ultra basskleff Linux - Software 17 11-12-2013 10:58 AM
msi wireless card undetectable herve2001 Slackware 1 10-27-2004 04:58 PM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration