Skip to content

Got a "libkmod: ERROR" log, if there is no "depmod -a" in one of initial script. #2030

Closed
@stanepc1

Description

@stanepc1

Description
Got a "libkmod: ERROR" log, if there is no "depmod -a" in one of initial script.

Steps to reproduce the issue:

  1. setup an environment to test warm-boot 1000 times.
  2. check log after every bootup.

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:~$
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions