LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
micro SD cards not recognized
#41
[member=2]Jerry[/member]

I ran---

sudo apt-get install linux-headers-linuxlite-4.8.0 linux-image-linuxlite-4.8.0

then ran---

sudo apt --fix-broken install

and then ran the kernel install once again---

sudo apt-get install linux-headers-linuxlite-4.8.0 linux-image-linuxlite-4.8.0

no changes from the previous attempts. The output of all 3 are below.


  ~  sudo apt-get install linux-headers-linuxlite-4.8.0 linux-image-linuxlite-4.8.0
[sudo] password for:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
linux-headers-linuxlite-4.8.0 : Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.


  ~  100  sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-66 linux-headers-5.4.0-66-generic linux-image-5.4.0-66-generic linux-modules-5.4.0-66-generic
  linux-modules-extra-5.4.0-66-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


  ~  sudo apt-get install linux-headers-linuxlite-4.8.0 linux-image-linuxlite-4.8.0
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
linux-headers-linuxlite-4.8.0 : Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
Reply
#42
Try:

Code:
apt download linux-headers-linuxlite-4.8.0 linux-image-linuxlite-4.8.0

make sure they are the only .deb packages in your Home, then do:

Code:
sudo dpkg -i *.deb

provide any error output.
Reply
#43
[member=2]Jerry[/member]

I ran both, the output of each is listed below.

After running the first one (headers/image) I verified that they were the only .deb files in Home before running the next one.


  ~  apt download linux-headers-linuxlite-4.8.0 linux-image-linuxlite-4.8.0
Get:1 http://repo.linuxliteos.com/linuxlite emerald/main amd64 linux-headers-linuxlite-4.8.0 amd64 0010 [12.0 MB]
Get:2 http://repo.linuxliteos.com/linuxlite emerald/main amd64 linux-image-linuxlite-4.8.0 amd64 0010 [64.5 MB]                     
Fetched 76.5 MB in 33s (2,318 kB/s)


                                                                                                 
 ~  sudo dpkg -i *.deb
[sudo] password for:
Selecting previously unselected package linux-headers-linuxlite-4.8.0.
(Reading database ... 360584 files and directories currently installed.)
Preparing to unpack linux-headers-linuxlite-4.8.0_0010_amd64.deb ...
Unpacking linux-headers-linuxlite-4.8.0 (0010) ...
Selecting previously unselected package linux-image-linuxlite-4.8.0.
Preparing to unpack linux-image-linuxlite-4.8.0_0010_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.8.0-linuxlite /boot/vmlinuz-4.8.0-linuxlite
Done.
Unpacking linux-image-linuxlite-4.8.0 (0010) ...
dpkg: dependency problems prevent configuration of linux-headers-linuxlite-4.8.0:
linux-headers-linuxlite-4.8.0 depends on libncurses5 (>= 6); however:
  Package libncurses5 is not installed.
linux-headers-linuxlite-4.8.0 depends on libssl1.0.0 (>= 1.0.0); however:
  Package libssl1.0.0 is not installed.
linux-headers-linuxlite-4.8.0 depends on libtinfo5 (>= 6); however:
  Package libtinfo5 is not installed.

dpkg: error processing package linux-headers-linuxlite-4.8.0 (--install):
dependency problems - leaving unconfigured
Setting up linux-image-linuxlite-4.8.0 (0010) ...

Hmm. There is a symbolic link /lib/modules/4.8.0-linuxlite/build
However, I can not read it: No such file or directory
Therefore, I am deleting /lib/modules/4.8.0-linuxlite/build


Hmm. The package shipped with a symbolic link /lib/modules/4.8.0-linuxlite/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/4.8.0-linuxlite/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.8.0-linuxlite /boot/vmlinuz-4.8.0-linuxlite
run-parts: executing /etc/kernel/postinst.d/dkms 4.8.0-linuxlite /boot/vmlinuz-4.8.0-linuxlite
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.8.0-linuxlite /boot/vmlinuz-4.8.0-linuxlite
update-initramfs: Generating /boot/initrd.img-4.8.0-linuxlite
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.8.0-linuxlite /boot/vmlinuz-4.8.0-linuxlite
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.8.0-linuxlite /boot/vmlinuz-4.8.0-linuxlite
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.8.0-linuxlite /boot/vmlinuz-4.8.0-linuxlite
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
Adding boot menu entry for UEFI Firmware Settings
done
Errors were encountered while processing:
linux-headers-linuxlite-4.8.0



Reply
#44
Code:
sudo apt-get install - f

Sent from my mobile phone using Tapatalk
Reply
#45
[member=2]Jerry[/member]


I ran sudo apt-get install -f (no space) and it returned the following:


 ~  100  sudo apt-get install -f
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-66 linux-headers-5.4.0-66-generic linux-image-5.4.0-66-generic linux-modules-5.4.0-66-generic
  linux-modules-extra-5.4.0-66-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  linux-headers-linuxlite-4.8.0
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 55.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 387576 files and directories currently installed.)
Removing linux-headers-linuxlite-4.8.0 (0010) ...

Reply
#46
[member=2]Jerry[/member]

I had initially run sudo apt-get install - f (with a space) before running it without a space (-f).

I just now ran it again with the space (- f) and it returned the exact same message as the first time:


sudo apt-get install - f
Reading package lists... Done
Building dependency tree     
Reading state information... Done
E: Unable to locate package f

Reply
#47
(03-17-2021, 07:25 PM)adml link Wrote: [member=2]Jerry[/member]

I had initially run sudo apt-get install - f (with a space) before running it without a space (-f).

I just now ran it again with the space (- f) and it returned the exact same message as the first time:


sudo apt-get install - f
Reading package lists... Done
Building dependency tree     
Reading state information... Done
E: Unable to locate package f

[member=45699]adml[/member]

No space.... '-f'
Hence why it cant find... F
Quote:E: Unable to locate package f


You can copy/paste the code below..


Code:
sudo apt-get install -f
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
Reply
#48
[member=5414]firenice03[/member]

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.


Reply
#49
(03-16-2021, 03:12 PM)adml link Wrote: [member=25275]Şerban S.[/member]
[...] Lenovo ideapad 100S-14IBR [...] Intel Celeron N3050 [...]

Hi! Smile
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! Smile
"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.
Reply
#50
[member=25275]Şerban S.[/member]

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)