ossobv / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
0 stars 0 forks source link

runtime: as7326: /usr/local/bin/accton_as7326_util.py not modprobed at all #44

Open wdoekes opened 1 day ago

wdoekes commented 1 day ago

Description

See also: #43

root@leaf1:0:~# lsmod | sort > before
root@leaf1:0:~# accton_as7326_util.py install
Checking system....
No driver, installing....
Done driver_install
AS7326_56X devices detected....
sonic_platform-1.0-py3-none-any.whl has installed
root@leaf1:0:~# lsmod | sort > after
root@leaf1:0:~# diff -pu before after 
--- before  2024-11-21 12:45:00.831695697 +0000
+++ after   2024-11-21 12:45:07.287695523 +0000
@@ -1,3 +1,7 @@
+accton_as7326_56x_fan    24576  0
+accton_as7326_56x_leds    20480  0
+accton_as7326_56x_psu    20480  0
+accton_i2c_cpld        53248  2 accton_as7326_56x_psu,accton_as7326_56x_leds
 acpi_pad              184320  0
 aesni_intel           393216  0
 ahci                   49152  1
@@ -153,5 +157,6 @@ xt_hl                  16384  6
 xt_mark                16384  112
 xt_TCPMSS              16384  2
 xt_tcpudp              20480  0
+ym2651y                20480  0
 zstd                   16384  0
 zstd_compress         294912  1 zstd

Must investigate what we can do with these.

Which build are we running (if any)

SONiC Software Version: SONiC.osso202405.0-439acd33c
SONiC OS Version: 12
Distribution: Debian 12.8
Kernel: 6.1.0-22-2-amd64
Build commit: 439acd33c
Build date: Wed Nov 20 22:41:18 UTC 2024
Built by: sonic-builder@dev.osso.nl

Platform: x86_64-accton_as7326_56x-r0
HwSKU: Accton-AS7326-56X
ASIC: broadcom
ASIC Count: 1

Also interesting

There are a few other diffs which I haven't been able to explain.

On either the 9716 or the 7326 I don't get a cracklib complaint when changing the shitty password; while it's running the same image. Although now I did not get a complaint on either of them. Timing issue? Something else?

Upstream issues/PRs

wdoekes commented 1 day ago

Related:

github.com/sonic-net/sonic-buildimage/pull 10809