OpenNetworkLinux
OpenNetworkLinux copied to clipboard
[Accton] Use kernel 6.1
-
added and modified files to run ONL with kernel 6.1. the supported and verified platforms: as7326-56x, as4630-54pe, as9716-32d , as4630-54te, as7712-32x, as7726-32x, as7946-74xkb, as7946-30xb, as9817-64o, as9817-64d, as7535-28xb, as7926-40xkfb, as9926-24db.
-
to support python3 in init.py, replaced the commands module's functions with the subprocess module's, including as7726-32x, as7326-56x, as7926-40xfb, as9716-32d, as9926-24db, as9817-64d, as9817-64o, as7946-30xb, as7946-74xkb.
Thank you for working on this. Could you please make it two patches, and add a commit messages description?
Also, please elaborate, what the currently used Linux kernel version is, and why you chose Linux 6.1 and not something more recent like Linux 6.6 or 6.12.
Thank you for working on this. Could you please make it two patches, and add a commit messages description?
Also, please elaborate, what the currently used Linux kernel version is, and why you chose Linux 6.1 and not something more recent like Linux 6.6 or 6.12.
Currently used Linux kernel version: as7326-56x: 4.14 as4630-54pe: 4.14 as9716-32d: 4.14 as4630-54te: 4.19 as7712-32x: 4.14 as7726-32x: 4.14 as7946-74xkb: 5.4 as7946-30xb: 5.4 as9817-64o: 4.19 as9817-64d: 4.19 as7535-28xb: 4.19 as7926-40xkfb: 4.19 as9926-24db: 4.19
For our customer's need, we chose Linux 6.1, instead of something more resent.
Hello,
Any update on separating the pull request? I was able to build with this patch and confirm that systems are set to use the 6.1 kernel. I have limited hardware, a 5712 and 5812 are the easiest to get to neither are upgraded to 6.1, if edge-core has a suggested platform that they can provide I can put that in the lab.
root@localhost:~# onlpdump -s
System Information:
Product Name: 5712-54X-O-AC-F
root@localhost:~# uname -a
Linux localhost 4.14.151-OpenNetworkLinux #1 SMP Mon Nov 3 16:25:05 UTC 2025 x86_64 GNU/Linux
x86-64-accton-as7712-32x-r0:
grub:
serial: >-
--port=0x2f8
--speed=115200
--word=8
--parity=no
--stop=1
kernel:
<<: *kernel-6-1
I have now updated the as5712 to kernel 6.1 :
root@localhost:~# onlpdump -s
System Information:
Product Name: 5712-54X-O-AC-F
Part Number: FP1ZZ5654001A
Serial Number: 571254X1622084
MAC: cc:37:ab:e0:bc:6e
MAC Range: 74
Manufacturer: Accton
Manufacture Date: 05/29/2016 14:49:20
Vendor: Edgecore
Platform Name: x86_64-accton_as5712_54x-r0
Label Revision: R01J
Country Code: TW
Diag Version: 2.0.1.4
ONIE Version: 2014.08.00.05
root@localhost:~# onlpdump -S
Port Type Media Status Len Vendor Model S/N
---- -------------- ------ ------ ----- ---------------- ---------------- ----------------
0 10GBASE-CR Copper X 1m OEM SFP-H10GB-CU1M CSC220700800289
1 10GBASE-CR Copper X 1m OEM SFP-H10GB-CU1M CSC220700800289
root@localhost:~# uname -a
Linux localhost 6.1.107-OpenNetworkLinux #1 SMP Wed Nov 5 18:46:38 UTC 2025 x86_64 GNU/Linux