- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Today
Yesterday
Fri, Sep 13
First step would be to make the driver work. We would need to first know what "breaks" it. Best is to play around with the various command line options of the lcdproc client. As you mentioned, some client functions just call for characters, but others invoke big numbers, horizontal or vertical bars. These invoke a bit of contortion in the code involving swapping bitmaps for what is generally a very limited number of custom/graphic characters. Once we know what breaks, we can look into the best path forward for a code fix:
@cuongdt1994 Could you check this build (in PR)?
Unfortunately the version: v2.18.1 (2024/05/20) does not work correctly and previous versions 2.17.1 are not compatible with the newest kernel version
make -C /vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/linux M=/vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/vyos-drivers-realtek-r8152-2.17.1 modules make[2]: Entering directory '/vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/linux-6.6.49' CC [M] /vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/vyos-drivers-realtek-r8152-2.17.1/r8152.o /vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/vyos-drivers-realtek-r8152-2.17.1/r8152.c: In function ‘r8152_csum_workaround’: /vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/vyos-drivers-realtek-r8152-2.17.1/r8152.c:2114:24: error: implicit declaration of function ‘skb_gso_segment’; did you mean ‘skb_gso_reset’? [-Werror=implicit-function-declaration] 2114 | segs = skb_gso_segment(skb, features); | ^~~~~~~~~~~~~~~ | skb_gso_reset /vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/vyos-drivers-realtek-r8152-2.17.1/r8152.c:2114:22: warning: assignment to ‘struct sk_buff *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2114 | segs = skb_gso_segment(skb, features); | ^ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: /vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/vyos-drivers-realtek-r8152-2.17.1/r8152.o] Error 1 make[3]: *** [/vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/linux-6.6.49/Makefile:1921: /vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/vyos-drivers-realtek-r8152-2.17.1] Error 2 make[2]: *** [Makefile:234: __sub-make] Error 2 make[2]: Leaving directory '/vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/linux-6.6.49' make[1]: *** [debian/rules:23: override_dh_auto_build] Error 2 make[1]: Leaving directory '/vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/vyos-drivers-realtek-r8152-2.17.1' make: *** [debian/rules:9: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 debuild: fatal error at line 1182: dpkg-buildpackage -us -uc -ui failed Traceback (most recent call last): File "/vyos/work/T6713-current-realtek/vyos-build/packages/linux-kernel/./build-driver-realtek-r8152.py", line 88, in <module> run(debuild_cmd, cwd=PACKAGE_DIR, check=True) File "/usr/lib/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['debuild']' returned non-zero exit status 29.
Thu, Sep 12
Here are my €0.05:
PR for backport to circinus:
https://github.com/vyos/vyos-1x/pull/4050
PR for circinus:
https://github.com/vyos/vyos-1x/pull/4050
Wed, Sep 11
Update on current discoveries.
So pfSense has the same issue with garbage showing on the screen if I kill it's lcdproc_client.php process. That PHP script loads all the custom stats and writes them to the LCDd socket. But it only prints plain text which is why I assume it has no issues.
Backport of https://github.com/vyos/vyos-1x/pull/3692 in progress.
It seems we should migrate it to the circinus https://github.com/vyos/vyos-1x/pull/3692
https://github.com/vyos/vyos-1x/blob/current/python/vyos/migrate.py