[Solved] Nuisances at boot time

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[Solved] Nuisances at boot time

Postby fmolina2b » Feb 27th, '20, 13:51

Hi,
Not real problems but a couple of strange things.
Code: Select all
Linux Octopus 5.5.4-desktop-1.mga7 #1 SMP Sat Feb 15 08:41:16 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux


1. This machine has a USB Wifi interface:
Code: Select all
(Part of hwinfo output)
108: None 00.0: 10701 Ethernet
  [Created at net.126]
  Unique ID: Mqes.ndpeucax6V1
  Parent ID: hAO_.Ff+GTzveSKA
  SysFS ID: /class/net/wlp3s0
  SysFS Device Link: /devices/pci0000:00/0000:00:0a.0/0000:03:00.0
  Hardware Class: network interface
  Model: "Ethernet network interface"
  Driver: "ath9k"
  Driver Modules: "ath9k", "ath9k"
  Device File: wlp3s0
  HW Address: d4:6e:0e:1d:e9:74
  Permanent HW Address: d4:6e:0e:1d:e9:74
  Link detected: no
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #17 (WLAN controller)


Since upgrade to Mageia 7, at every system boot it appears atop the screen the message "Building rtl8192eu driver..." not matter what. I think that it should appear only after a kernel upgrade, am I right? It stays for some time, then all proceeds OK. Not a problem, but some waste of time at start.

2. This appears to be a Plasma related issue, so not sure if have to ask somewere else. After logging in, when the KDE environment is starting, I am greeted with a dialog box telling that to mount "WDC WD10EZEX-08M (/dev/sdb1)" root pasword is needed. Now /deb/sdb1 is a partition I that I keep spare to test OSes (not often) in the real machine after doing in a VM. It is not mounted most of the time; in fact, I can't remember the last time I mounted it (usually I switch the order of disks in BIOS).
Again, only a nuisance but it shouldn't happen.

If somebody can give me clues, I will be happy.
Cheers
Last edited by fmolina2b on Mar 2nd, '20, 22:23, edited 1 time in total.
fmolina2b
 
Posts: 45
Joined: Jul 18th, '17, 19:12

Re: Nuisances at boot time

Postby doktor5000 » Feb 27th, '20, 18:02

For 1. please post the output as root of
Code: Select all
systemctl status -autorebuild -al -n50
dkms status
rpm -qa|grep dkms|sort


For 2. please create a separate thread. Either take care it's not mounted automatically or add a polkit rule so you can mount internal partitions as regular user.
See e.g. https://wiki.mageia.org/en/Useful_polki ... t_password
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Nuisances at boot time

Postby fmolina2b » Feb 27th, '20, 18:36

Thank you, I will create a new thread for 2.
But, for 1, this line
Code: Select all
systemctl status -autorebuild -al -n50

is giving me errors, neither -autorebuild nor --autorebuild is recognized, and I couldn't find in help anything similar
fmolina2b
 
Posts: 45
Joined: Jul 18th, '17, 19:12

Re: Nuisances at boot time

Postby doktor5000 » Feb 27th, '20, 19:04

Sorry, that was a copy&paste issue. Should be

Code: Select all
systemctl status dkms-autorebuild -al -n50
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Nuisances at boot time

Postby fmolina2b » Feb 27th, '20, 19:23

Here are the outputs:
Code: Select all
[root@Octopus fernando]# systemctl status dkms-autorebuild -al -n50
● dkms-autorebuild.service - run dkms_autoinstaller on every boot to rebuild dkms modules for newly boote>
   Loaded: loaded (/usr/lib/systemd/system/dkms-autorebuild.service; enabled; vendor preset: enabled)
   Active: active (exited) since Thu 2020-02-27 08:24:47 -03; 5h 41min ago
  Process: 1006 ExecStart=/usr/sbin/dkms-autorebuild.sh (code=exited, status=0/SUCCESS)
 Main PID: 1006 (code=exited, status=0/SUCCESS)

feb 27 08:22:31 Octopus systemd[1]: Starting run dkms_autoinstaller on every boot to rebuild dkms modules>
feb 27 08:22:35 Octopus dkms-autorebuild.sh[1006]: nvidia-current (430.64-4.mga7.nonfree): Already instal>
feb 27 08:22:36 Octopus dkms-autorebuild.sh[1006]: rtl8192eu (1.0): Installing module.
feb 27 08:22:36 Octopus dkms-autorebuild.sh[1006]: dkms build -m rtl8192eu -v 1.0 -k 5.5.4-desktop-1.mga7>
feb 27 08:22:59 Octopus dkms-autorebuild.sh[1006]: (bad exit status: 10)
feb 27 08:22:59 Octopus dkms-autorebuild.sh[1006]:   Build failed.  Installation skipped.
feb 27 08:24:47 Octopus dkms-autorebuild.sh[1006]: virtualbox (6.0.18-1.mga7): Already installed on this >
feb 27 08:24:47 Octopus systemd[1]: Started run dkms_autoinstaller on every boot to rebuild dkms modules >


Code: Select all
[root@Octopus fernando]# dkms status
virtualbox, 6.0.18-1.mga7, 5.4.17-desktop-1.mga7, x86_64: installed
rtl8192eu, 1.0, 4.14.16-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.65-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.69-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.78-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.70-desktop-2.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.131-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.50-desktop-2.mga6, x86_64: installed
rtl8192eu, 1.0, 4.9.43-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.56-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.25-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.106-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.30-desktop-3.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.44-desktop-2.mga6, x86_64: installed
rtl8192eu, 1.0, 4.9.56-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.116-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.127-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.20-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.121-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.18-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.62-desktop-2.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.89-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.100-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.104-desktop-2.mga6, x86_64: installed
rtl8192eu, 1.0, 4.14.40-desktop-1.mga6, x86_64: installed
rtl8192eu, 1.0, 4.9.50-desktop-1.mga6, x86_64: installed
nvidia-current, 430.64-4.mga7.nonfree, 5.5.4-desktop-1.mga7, x86_64: installed
nvidia-current, 430.64-4.mga7.nonfree, 5.4.17-desktop-1.mga7, x86_64: installed

However, after the last nvidia line, the command waits, apparently forever (after 10 minutes nothing else happens, retried several times). Hope what is needed is there.

Code: Select all
[root@Octopus fernando]# rpm -qa|grep dkms|sort
dkms-2.0.19-40.mga7
dkms-minimal-2.0.19-40.mga7
dkms-nvidia-current-430.64-4.mga7.nonfree
dkms-virtualbox-6.0.18-1.mga7


Perhaps I should remark that my wifi dongle is Atheros 9287 based, not Realtek. I had a Realtek one years before, about Mga 5 era.
fmolina2b
 
Posts: 45
Joined: Jul 18th, '17, 19:12

Re: Nuisances at boot time

Postby doktor5000 » Feb 28th, '20, 17:54

feb 27 08:22:36 Octopus dkms-autorebuild.sh[1006]: rtl8192eu (1.0): Installing module.
feb 27 08:22:36 Octopus dkms-autorebuild.sh[1006]: dkms build -m rtl8192eu -v 1.0 -k 5.5.4-desktop-1.mga7>
feb 27 08:22:59 Octopus dkms-autorebuild.sh[1006]: (bad exit status: 10)
feb 27 08:22:59 Octopus dkms-autorebuild.sh[1006]:   Build failed.  Installation skipped.


So as the build fails, it's tried again and again. Although either you've forgotten to add some of the rpm -qa output, but you should only have the rtl8192eu dkms module if you have the package dkms-rtl8192eu installed. Or you've manually installed a dkms version of rtl8192eu driver at some point in time.

Can you please post the output of as root of
Code: Select all
find /usr/src/ -iname "dkms.conf" -ls
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Nuisances at boot time

Postby fmolina2b » Feb 28th, '20, 18:40

Here you are:

Code: Select all
[root@Octopus fernando]# find /usr/src/ -iname "dkms.conf" -ls
  4887117      4 -rw-r--r--   1  root     root          559 feb 22 17:20 /usr/src/virtualbox-6.0.18-1.mga7/dkms.conf
  3041375      4 -rwxr-xr-x   1  root     root          221 sep 18  2017 /usr/src/rtl8192eu-1.0/dkms.conf
  3076462      4 -rw-r--r--   1  root     root          537 feb 11 19:47 /usr/src/nvidia-current-430.64-4.mga7.nonfree/dkms.conf
[root@Octopus fernando]#


Also, I rechecked rpm -qa but the output is all that I posted.
fmolina2b
 
Posts: 45
Joined: Jul 18th, '17, 19:12

Re: Nuisances at boot time

Postby doktor5000 » Feb 29th, '20, 01:15

Please post the output of
Code: Select all
rpm -qf /usr/src/rtl8192eu-1.0/dkms.conf


What you probably want to do, in case you're really sure that you don't need the rtl8192eu driver for anything, and if it hasn't been installed by an rpm, is to remove all of the compiled modules, like so:
Code: Select all
dkms remove -m rtl8192eu -v 1.0 --all

And if that succeeds, remove everything below and including /usr/src/rtl8192eu-1.0 itself.

Apart from that, the bug you see why it's not building during boot for newer kernels is probably the same as https://bugs.mageia.org/show_bug.cgi?id=25309
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Nuisances at boot time

Postby fmolina2b » Mar 2nd, '20, 15:22

Hi,
Coming back after the weekend, these matters happen in my work machine.

The output I got is:
Code: Select all
[root@Octopus fernando]# rpm -qf /usr/src/rtl8192eu-1.0/dkms.conf
el archivo /usr/src/rtl8192eu-1.0/dkms.conf no es propiedad de ningún paquete
[root@Octopus fernando]#

Which, translated, means
The file /usr/src/rtl8192eu-1.0/dkms.conf does not belong to any package


which I think means that I can delete all that safely, am I right?
And, yes, it is that bug.
fmolina2b
 
Posts: 45
Joined: Jul 18th, '17, 19:12

Re: Nuisances at boot time

Postby doktor5000 » Mar 2nd, '20, 21:18

fmolina2b wrote:Which, translated, means
The file /usr/src/rtl8192eu-1.0/dkms.conf does not belong to any package


which I think means that I can delete all that safely, am I right?


Yes, but make sure you first remove the dkms "registration" as mentioned, before deleting the actual file/directories below /usr/src/rtl8192eu-1.0

And you don't remember installing that driver module manually ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [Solved] Nuisances at boot time

Postby fmolina2b » Mar 2nd, '20, 22:28

Ok, uninstalled from dkms, which showed a bunch of old 4.x kernel installations, not 5.x (probably because the install failed in new kernels). That made me remember to clean old stuff, but this is another matter.
Removed source, rebooted and Fine! the message gone.
I do not remember installing it recently. Once in time I had a realtek wifi donlge, but I am sure that was before mga 7.
Anyway, it is solved. Thanks!
fmolina2b
 
Posts: 45
Joined: Jul 18th, '17, 19:12


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest