-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got a "libkmod: ERROR" log, if there is no "depmod -a" in one of initial script. #2030
Comments
in your message, you said "We saw the same issue in the branch of 201803 and 201807", but the version log is kernel 4.9 which is master? which branch are you target this problem for? |
can you also post the full error log? |
According to the information of "show version" I post, this log is in master (kernel 4.9). In the branch of 201803 and 201807, we solved this issue by adding a "depmod -a " in one of initial script. In the PR conversation of master (kernel 4.9), you request us to remove "depmod -a" in our initial script. Summary of our 1000 times warm-boot test: libkmod: ERROR ../libkmod/libkmod-module.c:1929 kmod_module_get_holders: could not open '/sys/module/evdev/holders': No such file or directory |
can you share the full log? need to understand where did you get the error in the boot process. |
the full log is quite large, please check it out. |
can you get me the syslog. in the console log, you extract related info, can you get us the full syslog? "sudo cat /var/log/syslog.1 | grep -i error | grep -v -e "Error Record Serialization Table (ERST) support is initialized" -e "Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module br_netfilter not found." -e "exec: \\"auplink\\": executable file not found in $PATH" -e "decode-syseeprom : ERROR : Platform did not indicate serial number" -e "Error processsing vlan attributes failed with error" -e "supervisord: start.sh isc-dhcp-relay: ERROR (no such group)" -e "o error on routing socket No buffer space available - disab" -e "usb 1-1: string descriptor 0 read error" -e "open memory.oom_control: no such file or directory"" |
mostly likely it is due to the way you load those module, in your script, you are using insmod. better to use modprobe. check the difference here. https://askubuntu.com/questions/20070/whats-the-difference-between-insmod-and-modprobe |
@stanepc1 sorry for leaving this issue open for so long. Can you give a problem statement as of today? If the issue has been addressed, do you mind closing this issue? |
Closing stale issues. Please feel free to reopen if the issue still persists. |
9968d60 (HEAD -> 202111, origin/202111) [sonic-package-manager] do not mod_config for whole config db when setting init_cfg (#2055) 4b3d53f [generate_dump] exclude mft and mlx folders from /etc (#2072) 51d92ae Validation check correction while adding a member to PortChannel (#2078) 6a43306 [techsupport] Added a lock to avoid running techsupport in parallel (#2065) 44cfdd9 Try get port operational speed from STATE DB (#2030) 45ea623 Fix sonic-installer failure due to missing import
* Try get port operatinal speed from STATE DB * Fix review comment * Fix review comment * Fix unit test failure
Description
Got a "libkmod: ERROR" log, if there is no "depmod -a" in one of initial script.
Steps to reproduce the issue:
Describe the results you received:
You can see "libkmod: ERROR" log sometimes.
Describe the results you expected:
There is no any "libkmod: ERROR" log for each warm-boot process.
Additional information you deem important (e.g. issue happens only occasionally):
We saw the same issue in the branch of 201803 and 201807, but if we add "depmod -a" in one of initial script in the branch of 201803 or 201807, "libkmod: ERROR" log will never appear during 1000 x 5 times warm-boot test.
Output of
show version
:admin@sonic:~$ show version
SONiC Software Version: SONiC.master.0-406c95f
Distribution: Debian 9.5
Kernel: 4.9.0-7-amd64
Build commit: 406c95f
Build date: Thu Sep 6 06:02:06 UTC 2018
Built by: stane.shieh@VM-SONiC-stretch
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-syncd-brcm latest ed9c3e95191c 336.4 MB
docker-syncd-brcm master.0-406c95f ed9c3e95191c 336.4 MB
docker-orchagent-brcm latest 3ce8f20611e0 257.6 MB
docker-orchagent-brcm master.0-406c95f 3ce8f20611e0 257.6 MB
docker-lldp-sv2 latest f074f651ae8d 270.9 MB
docker-lldp-sv2 master.0-406c95f f074f651ae8d 270.9 MB
docker-dhcp-relay latest 365736546300 253.7 MB
docker-dhcp-relay master.0-406c95f 365736546300 253.7 MB
docker-database latest 65f9fb7c36da 252.3 MB
docker-database master.0-406c95f 65f9fb7c36da 252.3 MB
docker-snmp-sv2 latest 742b3237ab97 291.2 MB
docker-snmp-sv2 master.0-406c95f 742b3237ab97 291.2 MB
docker-teamd latest f213143caf67 257.3 MB
docker-teamd master.0-406c95f f213143caf67 257.3 MB
docker-router-advertiser latest 0adcba677dd3 250 MB
docker-router-advertiser master.0-406c95f 0adcba677dd3 250 MB
docker-platform-monitor latest c367982a8ba8 283.3 MB
docker-platform-monitor master.0-406c95f c367982a8ba8 283.3 MB
docker-fpm-quagga latest 936906eaf468 264.1 MB
docker-fpm-quagga master.0-406c95f 936906eaf468 264.1 MB
admin@sonic:~$
```
The text was updated successfully, but these errors were encountered: