You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



micro SD cards not recognized

Author (Read 15997 times)

0 Members and 1 Guest are viewing this topic.

Re: micro SD cards not recognized
« Reply #62 on: March 29, 2021, 12:36:20 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
@firenice03

Thanks for all of your help along the way with this. The extra use that I'm getting out of this PC is all due to Linux Lite. What is the best way to remove the Linux Lite 4.8.0 kernel ?
 

Re: micro SD cards not recognized
« Reply #61 on: March 29, 2021, 12:32:08 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
@Jerry

As Linux Lite has made this PC usable again I can live with any limitations that come with using the 4.4 kernel. If in the future I have to give up 4.4 for some reason the PC will still be viable, just without the card reader. Thanks for all of your help.
 

Re: micro SD cards not recognized
« Reply #60 on: March 26, 2021, 01:10:07 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1848
    Posts
  • Reputation: 284
  • Linux Lite Member
    • View Profile

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
IF you are getting a successful boot into 4.4 kernel, then that is your solution. You will have to stick with that kernel.

I would second this -- you have a working kernel; this is the way it is sometimes - I too have systems that don't make use of the newer stuff.
If anything you could try removing 4.8 as long as dont attempt to boot to it your fine.....

LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: micro SD cards not recognized
« Reply #59 on: March 25, 2021, 10:08:15 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
IF you are getting a successful boot into 4.4 kernel, then that is your solution. You will have to stick with that kernel.
 

Re: micro SD cards not recognized
« Reply #58 on: March 25, 2021, 01:02:58 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
@Jerry

Neither the Escape key, or the Shift key would bring up the Grub menu. In searching for a solution I discovered Grub Customizer. I installed it and what I found, to borrow a quote from Alice, made me, "Curiouser and Curiouser."

In addition to 3 different 5.4.0 Linux kernel entries, there is a Linux Lite 4.8.0 kernel entry as well as an Ubuntu 4.4.0 kernel entry. I'm guessing that the LL 4.8 kernel is from one of the Lite Tweaks or CLI attempts. The Ubuntu 4.4 kernel would have to be from the attempt made with the links you provided, even though the install message said there were errors.

I checked the box in Grub Customizer for the menu to show, rebooted, and chose the Ubuntu 4.4.0 kernel at boot. After booting I verified that 4.4.0 was in use. I then tried the card reader, and it worked. There do not appear to be any broken packages. Is there anything specific that I should do, or check for, to find any potential problems ?

A side note, the PC will not boot when choosing the LL 4.8 kernel.

 

Re: micro SD cards not recognized
« Reply #57 on: March 25, 2021, 12:44:41 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
@Serban S.

Thank you for letting me know your ideas. Please read my next post for an apparent solution, at least at this point in time, to my ongoing saga.
 

Re: micro SD cards not recognized
« Reply #56 on: March 25, 2021, 05:27:40 AM »
 

Şerban S.

  • Şerban
  • PayPal Supporter
  • I come here a lot
  • *****
  • 326
    Posts
  • Reputation: 16
  • Linux Lite Member
    • View Profile
    • Forum

  • CPU: Intel® Core™ i7-4790

  • MEMORY: 16Gb

  • VIDEO CARD: Intel® HD Graphics 4600 + NVidia GK107 (GeForce GT630 OEM)

  • Kernel: 5.x
@Şerban S.
[...]My thinking is that it is a kernel issue. [...] since the card reader is recognized in one kernel, but not others, wouldn't that point to the kernel being the cause ?

Hello, again! :)
Obviously, the management of the drivers and the IRQ assignment, is a kernel job. At least... in theory.
Practical issues occur though... Since we're dealing with patented hardware, the idilic theory of "open sourced architecture" seems to fail. See the Intel CPUs story. In any patented hardware, there are hidden "features" that serve a certain agenda, closely related to big money making. It is impossible to predict each and every small "twist" in each revision. Now, given the fact that Windows is commercial software, they have access to technical specs that are unavailable to the OpenSource world and this is well known for decades. This is why under Windows, it works. See the NVidia case for one.
As for what is happening under Linux, if it is a kernel issue (I too belive it is! :( ), patching might prove an extremely difficult task since newer kernels include more and more hardware support and sometimes, support for old hardware is wiped out, due to conflicts with the new hardware support. This leaves only one option: Tweaking the kernel with the blacklist option in the config file. This will allow ignoring a certain driver and install/load the driver that actually does the job properly, even if it is said to be "old" or "deprecated".
This is nothing like a child's play and should be done with a great deal of attention. Messing with kernel configuration, might render the machine unusable and this leads to reinstallation. In some cases, might render the hardware unusable or maybe worse, might damage it (for video cards, that might happen).

With those being said, the only thing that remains to do as I see things, is hope for a good fix from Jerry, although this will get you stucked with the respective kernel and the inherent limitations that emerge from this.

Good luck! :)
Best regards!
"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
 Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
 ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.
 

Re: micro SD cards not recognized
« Reply #55 on: March 24, 2021, 06:32:19 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x

Is there a way to get to the Grub screen during boot ? I'm thinking that it's a certain key(s) press but I don't know what it is.


Esc key or hold down Shift key.
 

Re: micro SD cards not recognized
« Reply #54 on: March 24, 2021, 11:54:32 AM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
@Jerry

Thank you for the links.

Per the instructions in the last link I downloaded the files via the command line and then ran sudo dpkg -i *.deb to install. Below is the output. The file libssl1.0.0 is still the sticking point, even though 1.1 is installed. I rebooted but inxi shows that I'm still using 5.4.0-67-generic x86_64.

Is there a way to get to the Grub screen during boot ? I'm thinking that it's a certain key(s) press but I don't know what it is.

sudo dpkg -i *.deb
[sudo] password for:
Selecting previously unselected package linux-headers-4.4.0-040400.
(Reading database ... 366242 files and directories currently installed.)
Preparing to unpack linux-headers-4.4.0-040400_4.4.0-040400.201601101930_all.deb ...
Unpacking linux-headers-4.4.0-040400 (4.4.0-040400.201601101930) ...
Selecting previously unselected package linux-headers-4.4.0-040400-generic.
Preparing to unpack linux-headers-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb ...
Unpacking linux-headers-4.4.0-040400-generic (4.4.0-040400.201601101930) ...
Selecting previously unselected package linux-image-4.4.0-040400-generic.
Preparing to unpack linux-image-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-040400-generic /boot/vmlinuz-4.4.0-040400-generic
Done.
Unpacking linux-image-4.4.0-040400-generic (4.4.0-040400.201601101930) ...
Setting up linux-headers-4.4.0-040400 (4.4.0-040400.201601101930) ...
dpkg: dependency problems prevent configuration of linux-headers-4.4.0-040400-generic:
 linux-headers-4.4.0-040400-generic depends on libssl1.0.0 (>= 1.0.0); however:
  Package libssl1.0.0 is not installed.

dpkg: error processing package linux-headers-4.4.0-040400-generic (--install):
 dependency problems - leaving unconfigured
Setting up linux-image-4.4.0-040400-generic (4.4.0-040400.201601101930) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-040400-generic /boot/vmlinuz-4.4.0-040400-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-040400-generic /boot/vmlinuz-4.4.0-040400-generic
 * dkms: running auto installation service for kernel 4.4.0-040400-generic                                                      [ OK ]
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-040400-generic /boot/vmlinuz-4.4.0-040400-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-040400-generic
modinfo: ERROR: could not get modinfo from 'crc32': No such file or directory
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-040400-generic /boot/vmlinuz-4.4.0-040400-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-040400-generic /boot/vmlinuz-4.4.0-040400-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-040400-generic /boot/vmlinuz-4.4.0-040400-generic
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found background: /boot/grub_linux_lite.png
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found background image: /boot/grub_linux_lite.png
Found linux image: /boot/vmlinuz-5.4.0-67-generic
Found initrd image: /boot/initrd.img-5.4.0-67-generic
Found linux image: /boot/vmlinuz-5.4.0-66-generic
Found initrd image: /boot/initrd.img-5.4.0-66-generic
Found linux image: /boot/vmlinuz-5.4.0-52-generic
Found initrd image: /boot/initrd.img-5.4.0-52-generic
Found linux image: /boot/vmlinuz-4.8.0-linuxlite
Found initrd image: /boot/initrd.img-4.8.0-linuxlite
Found linux image: /boot/vmlinuz-4.4.0-040400-generic
Found initrd image: /boot/initrd.img-4.4.0-040400-generic
Adding boot menu entry for UEFI Firmware Settings
done
Errors were encountered while processing:
 linux-headers-4.4.0-040400-generic

 

Re: micro SD cards not recognized
« Reply #53 on: March 23, 2021, 07:01:51 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Try the Ubuntu ones here - https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/

linux-headers-4.4.0-040400_4.4.0-040400.201601101930_all.deb
linux-headers-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb
linux-image-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb

https://ubuntuhandbook.org/index.php/2016/01/how-to-install-linux-kernel-4-4-in-ubuntu/
« Last Edit: March 23, 2021, 09:14:53 PM by Jerry »
 

Re: micro SD cards not recognized
« Reply #52 on: March 23, 2021, 06:56:46 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
@firenice03

Yes, the card reader is recognized when using a live USB of Linux Lite 3.8, which uses the 4.4 kernel. I'd like to install the 4.4 kernel in Linux Lite 5.2 but as we've found out, there's a problem. Jerry has discovered that something has been changed in the kernel build process. This is apparently what is disallowing different kernels to be installed.

Below are the outputs of...

inxi -Fxz

and

lsblk

...when using a live USB of Linux Lite 3.8, with the card reader mounted and a 32GB card inserted.

Is there anything else that I could post that might be helpful ?


linux@linux:~$ inxi -Fxz
System:    Host: linux Kernel: 4.4.0-112-generic x86_64 (64 bit gcc: 5.4.0) Desktop: Xfce 4.12.3 (Gtk 2.24.28)
           Distro: Ubuntu 16.04 xenial
Machine:   System: LENOVO product: 80R9 v: Lenovo ideapad 100S-14IBR
           Mobo: LENOVO model: Aristotle 14 v: SDK0J91145 WIN Bios: Lenovo v: E4CN13WW date: 09/11/2015
CPU:       Dual core Intel Celeron N3050 (-MCP-) cache: 1024 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 6399
           clock speeds: max: 2160 MHz 1: 1037 MHz 2: 1439 MHz
Graphics:  Card: Intel Device 22b1 bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: [email protected]
           GLX Renderer: Mesa DRI Intel HD Graphics 400 (Braswell)
           GLX Version: 3.0 Mesa 17.2.4 Direct Rendering: Yes
Audio:     Card Intel Device 2284 driver: snd_hda_intel bus-ID: 00:1b.0 Sound: ALSA v: k4.4.0-112-generic
Network:   Card: Intel Wireless 3160 driver: iwlwifi bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 31.9GB (3.4% used) ID-1: /dev/mmcblk0 model: N/A size: 62.5GB
           ID-2: USB /dev/sda model: Flash_Disk size: 31.9GB temp: 0C ID-3: /dev/mmcblk1 model: N/A size: 31.3GB
Partition: ID-1: / size: 857M used: 73M (9%) fs: overlay dev: N/A
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 37.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 183 Uptime: 8 min Memory: 739.4/1713.9MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35



linux@linux:~$ lsblk
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda            8:0    1 29.7G  0 disk
└─sda1         8:1    1 29.7G  0 part /cdrom
loop0          7:0    0  979M  1 loop /rofs
mmcblk0rpmb  179:24   0    4M  0 disk
mmcblk0boot0 179:8    0    4M  1 disk
mmcblk0boot1 179:16   0    4M  1 disk
mmcblk0      179:0    0 58.2G  0 disk
├─mmcblk0p1  179:1    0  512M  0 part
└─mmcblk0p2  179:2    0 57.8G  0 part
mmcblk1      179:32   0 29.1G  0 disk
└─mmcblk1p1  179:33   0 29.1G  0 part /media/linux/0403-0201


 

Re: micro SD cards not recognized
« Reply #51 on: March 22, 2021, 02:02:35 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1848
    Posts
  • Reputation: 284
  • Linux Lite Member
    • View Profile

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
@adml
You say the card reader is working in the 4.4 kernel?
With it working...
Running through some of those initial commands... inxi etc etc, may give insight to the driver its using - perhaps it could be loaded into the later releases or compiled...??.,... its a thought....


May try
Code: [Select]
inxi -Fxz
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: micro SD cards not recognized
« Reply #50 on: March 22, 2021, 01:06:25 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
@Şerban S.

Thank you for the response, and your thoughts about it being an IRQ issue.

My thinking is that it is a kernel issue. Since the card reader is recognized when using kernel 4.4, but not recognized when using kernels 4.1, 4.8, or 5.4, there has to have been changes to the kernels at some point, maybe at more than one point, in time. The card reader may, or may not, be recognized when using other kernels, the ones mentioned above are the only ones that I have tried. In short, since the card reader is recognized in one kernel, but not others, wouldn't that point to the kernel being the cause ?

Hopefully Jerry can get the kernel change feature of Lite Tweaks working.
 

Re: micro SD cards not recognized
« Reply #49 on: March 18, 2021, 04:35:15 AM »
 

Şerban S.

  • Şerban
  • PayPal Supporter
  • I come here a lot
  • *****
  • 326
    Posts
  • Reputation: 16
  • Linux Lite Member
    • View Profile
    • Forum

  • CPU: Intel® Core™ i7-4790

  • MEMORY: 16Gb

  • VIDEO CARD: Intel® HD Graphics 4600 + NVidia GK107 (GeForce GT630 OEM)

  • Kernel: 5.x
@Şerban S.
[...] Lenovo ideapad 100S-14IBR [...] Intel Celeron N3050 [...]

Hi! :)
Thanks for taking the time to provide the info.
Now... given the data, it looks like we have a machine very much like my ASUS X200MA.
My main problem with this machine was/is the amount of USB ports (slots). Only 3 and I use a mouse and an external keyboard. While I never noticed trouble using MicroSDs, from time to time, I still need to use a card reader, since sometimes I need to access data from more than 1 card...
HOW DID OVERCOME THE LACK OF USBs:
Given the configuration, I assume you have at least an USB 3.0 port (I have one).
This allows you to use an USB 3.0 Hub that will expand the ports from 3 to 6.
You can use this way any external USB device you might need at some point.
From my experience, using this kind of hub, allows you to perform low level backups (CloneZilla) without causing issues related to the USB storage devices, even if you use a keybord and a mouse. I tested that many times and so far, it worked OK.
However...
Before having the USB 3.0 hub, I encountered trouble when using a USB 2.0 hub for the mouse and keyboard. After starting CloneZilla, the reading devices routine had trouble identifying the external HDD so I had to switch devices and ports, until the problem got solved which, I must admit, was awfully annoying...
Further more, sometimes I had trouble booting CloneZilla, because the ASUS netbook has an UEFI firmware exactly like the Ideapad we're analysing here.
My best guess is that the real problem is the way the IRQs are managed. And this looks to be someting done on purpose by the manufacturers.
Although there are many IRQs available, there are only 3 or 4 of them in use and at least one, is SHARED, which leads to countless impredictible trouble, related to the devices that are attached to the computer through various ports.
One of those kind of troubles, is the way the CARD READER works (or... fails to do so...).
Usually, the TouchPad and the card reader, share the SAME IRQ with one USB port, even with two, which leads to hardware conflicts more often than expected, due to drivers resources overlap.
The USB 3.0 hub I'm refering to, is about 12 euros (meaning some $13 or $14 at most) so this might solve many other problems, beside the SD cards reading one.
With those said. I hope this info will help you reconsider your strategiy regarding the use of an external card reader.
As Jerry pointed before, the kernel problem looks difficult to solve. As I mentioned, my best guess is that the real problem is the IRQ assignment, which is also a trouble extremely difficult to solve if it is by design (hardware limitation), which I suspect is on purpose, namely, to force us to buy something more expensive.
My best regards! :)
"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
 Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
 ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.
 

Re: micro SD cards not recognized
« Reply #48 on: March 17, 2021, 04:45:53 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
@firenice03

Thank you. A few messages back I posted the results of -f (no space) as I thought that's what he wanted to see. But, I started thinking maybe he really did want - f (space) because that's what was in his message so I went ahead and posted it also.

It sounds like the microSD card issue let him discover an issue with the kernel installs.


 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section