| Summary: | boot process has 3 min pause if usbc dongle change from hdmi to network (service_harddrake[...]: ERROR: killing runaway process) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | w unruh <unruh> |
| Component: | RPM Packages | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins, marja11 |
| Version: | 8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakxtools | CVE: | |
| Status comment: | |||
| Attachments: |
lspcidrake ethernet
journalctl -b >Ethernet_log.txt lspcidrake -v > HDMI_lspci.txt journalctl -b > HDMI_log.txt |
||
|
Description
w unruh
2021-10-11 17:45:12 CEST
Please attach the following 4 files:
Ethernet_lspci.txt that is the result from running, when the ethernet dongle is used:
lspcidrake -v > Ethernet_lspci.txt
HDMI_lspci.txt that is the result from running, when the HDMI dongle is used:
lspcidrake -v > HDMI_lspci.txt
Ethernet_log.txt that is the result from running, as _root_, when the ethernet dongle is used and you had that delay:
journalctl -b > Ethernet_log.txt
HDMI_log.txt that is the result from running, as _root_, when the HDMI dongle is used:
journalctl -b > HDMI_log.txtKeywords:
(none) =>
NEEDINFO Try adding a line with ... HARDDRAKE_ONBOOT=no to /etc/sysconfig/system That will stop harddrake from scanning for hardware changes on boot. I'm not sure if it's really needed in this case, so worth trying without it. Keep in mind that if you add new hardware, that hasn't been used on that system before, it should be run manually with ... # /usr/share/harddrake/service_harddrake i18n_env: lang:en_CA country:CA locale|lang:en_CA.UTF-8 locale|country:en_CA.UTF-8 LANGUAGE:en_CA:en_GB:en Too late to run INIT block at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 257. Ignore the following Glib::Object::Introspection & Gtk3 warnings N() was called from /usr/lib/libDrakX/harddrake/data.pm:546 BEFORE gtk3 initialisation, replace it with a N_() AND a translate() later. CC:
(none) =>
davidwhodgins Created attachment 12946 [details]
lspcidrake ethernet
lspcidrake -v > Ethernet_lspci.txt
Created attachment 12947 [details]
journalctl -b >Ethernet_log.txt
journalctl -b >Ethernet_log.txt
Created attachment 12948 [details]
lspcidrake -v > HDMI_lspci.txt
lspcidrake -v > HDMI_lspci.txt
Created attachment 12949 [details]
journalctl -b > HDMI_log.txt
journalctl -b > HDMI_log.txt
In the Ethernet_log file, notice the 87 sec pause at 9:45:02 and the "pam_systemd(su:session): Failed to create session: Connection timed out" just after that. Then the huge number of reports from service_harddrake just after that, and then the later kernel complaints about martian sources. (during the boot it all goes by so fast that all I see if the "kernel" complaints. Then the next long pause is after 9:47:09 which seems to be due to the wireless trying to connect. It has an ethernet dongle so it should surely be connecting to that, not the wireless. (In reply to w unruh from comment #7) > In the Ethernet_log file, notice the 87 sec pause at 9:45:02 and the > "pam_systemd(su:session): Failed to create session: Connection timed out" > just after that. At least the dongle was identified correctly before that happened: Oct 12 09:44:59 planet service_harddrake[778]: added ETHERNET: Realtek|USB 10/100/1000 LAN Probably this runaway process caused the hang: Oct 12 09:46:59 planet service_harddrake[778]: ERROR: killing runaway process (process=/usr/bin/run-parts, pid=785, args=--arg planet /etc/sysconfig/network-scripts/hostname.d, error=ALARM at /usr/lib/libDrakX/run_program.pm line 235. ) Assuming harddrake is the culprit and assigning to the Mageia tools maintainers > Then the huge number of reports from service_harddrake just after that, and > then > the later kernel complaints about martian sources. (during the boot it all > goes by so fast that all I see if the "kernel" complaints. > > Then the next long pause is after 9:47:09 which seems to be due to the > wireless trying to connect. It has an ethernet dongle so it should surely be > connecting to that, not the wireless. Assignee:
bugsquad =>
mageiatools Was disabling harddrake on boot as per comment 2 tried? Also what scripts are in /etc/sysconfig/network-scripts/hostname.d ? (In reply to Dave Hodgins from comment #10) > Also what scripts are in /etc/sysconfig/network-scripts/hostname.d ? avahi and s2u And it is avahi that seems to be timing out (Its content is su avahi -s /bin/bash -c "avahi-set-host-name $1" ) (In reply to Dave Hodgins from comment #9) > Was disabling harddrake on boot as per comment 2 tried? Not yet. I have been too busy the past couple of days. I'll see if I can tomorrow. (In reply to w unruh from comment #11) > (In reply to Dave Hodgins from comment #10) > > Also what scripts are in /etc/sysconfig/network-scripts/hostname.d ? > > avahi and s2u > And it is avahi that seems to be timing out > (Its content is > su avahi -s /bin/bash -c "avahi-set-host-name $1" Add a line with ... NOZEROCONF=yes or change the existing line from no to yes in /etc/sysconfig/network-scripts/ifcfg-eth0 or whichever ifcfg file the network is using. OK I put HARDDRAKE_ONBOOT=no into /etc/sysconfig/system, and the boot went through with the ethernet able plugged in. When I removed that line, even with NOZEROCONF=yes in /etc/sysconig/network-scripts/ifcfg-enp57s0u1 I got the hangup. First a black screen (while running with nosplash boot) with output when I hit Fn F8, the display selector, and then hanging up for over a minute when it got the harddrake avahi stuff. Ie, there is definitely a bug in harddrake (or avahi) Next thing to try is "systemctl mask avahi-daemon.service" to confirm if it's actually the problem. . |