Search Criteria
Package Details: netatop 3.2.2-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/netatop.git (read-only, click to copy) |
|---|---|
| Package Base: | netatop |
| Description: | Atop network kernel module, enables network statistics in atop |
| Upstream URL: | http://www.atoptool.nl/ |
| Keywords: | atop kernel module netatop |
| Licenses: | GPL |
| Groups: | modules |
| Submitter: | Spider.007 |
| Maintainer: | batot |
| Last Packager: | batot |
| Votes: | 27 |
| Popularity: | 0.000000 |
| First Submitted: | 2013-02-16 11:58 (UTC) |
| Last Updated: | 2025-04-25 22:24 (UTC) |
Dependencies (3)
- atop
- dkms (dkms-gitAUR)
- linux-headers (linux-mnt-reform-bin-headersAUR, linux-galaxyaudio-headers-binAUR) (make)
Latest Comments
1 2 3 4 5 6 7 Next › Last »
JohnPiers commented on 2025-06-17 02:48 (UTC)
@Bartus Thanks for responding to my comment. netatop-dkms 3.2.2-2 installed flawlessly, thanks to all the people who maintain this, it's appreciated.
bartus commented on 2025-06-16 18:47 (UTC) (edited on 2025-06-16 18:49 (UTC) by bartus)
@JohnPiers: this is the kernel tooling hardening warning that was promoted to an error in the Linux:6.15, I've recently pushed update to
netatop-dkms:https://aur.archlinux.org/packages/netatop-dkms that should resolve the issue.https://patchew.org/linux/20230118105215.B9DA960514@lion.mk-sys.cz/
JohnPiers commented on 2025-06-14 22:55 (UTC) (edited on 2025-06-14 23:04 (UTC) by JohnPiers)
So "bartus shit me not mate", what can you tell me that will help me to get one of the netatop modules installed?
I'm utterly clueless as regards changing or repairing any one of these builds, specifically 3.2.2
This is what I get:
./mkversionmake -C /lib/modules/6.15.2-zen1-1-zen/build M=/home/johnpc/netatop-3.2.2 modulesmake[1]: Entering directory '/usr/lib/modules/6.15.2-zen1-1-zen/build'make[2]: Entering directory '/home/johnpc/netatop-3.2.2'CC [M] netatop.onetatop.c: In function ‘getsockopt’:netatop.c:1663:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1663 | tasktype = 'g'; | ~~~~~~~~~^~~~~ netatop.c:1665:12: note: here 1665 | case NETATOP_GETCNT_PID: | ^~~~netatop.o: error: objtool: init_module(): Magic init_module() function name is deprecated, use module_init(fn) insteadmake[4]: *** [/usr/lib/modules/6.15.2-zen1-1-zen/build/scripts/Makefile.build:203: netatop.o] Error 255make[4]: *** Deleting file 'netatop.o'make[3]: *** [/usr/lib/modules/6.15.2-zen1-1-zen/build/Makefile:2001: .] Error 2make[2]: *** [/usr/lib/modules/6.15.2-zen1-1-zen/build/Makefile:248: __sub-make] Error 2make[2]: Leaving directory '/home/johnpc/netatop-3.2.2'make[1]: *** [Makefile:248: __sub-make] Error 2make[1]: Leaving directory '/usr/lib/modules/6.15.2-zen1-1-zen/build'make: *** [Makefile:13: netatop.ko] Error 2bartus commented on 2025-05-09 07:40 (UTC) (edited on 2025-05-14 10:11 (UTC) by bartus)
@batot: shit me not, mate. The
post_{install,upgrade,remove}functions are doing nothing in thePKGBUILD😂 They belong in the.installfile.https://man.archlinux.org/man/PKGBUILD.5#INSTALL/UPGRADE/REMOVE_SCRIPTING
Just merge this and be done with it. 😁
git am -s < <(curl -s http://0x0.st/8tXG.mbox)bartus commented on 2025-04-28 07:23 (UTC) (edited on 2025-04-30 11:22 (UTC) by bartus)
@batot: don't try to be contrarian. 😁
Just conform to the Arch packaging standards:
-dkmspackage for dynamic kernel module compilationhttps://wiki.archlinux.org/title/DKMS_package_guidelines
Also:
SKIPon the non-vcs entries in thesha256sums:> just callupdatepkgsumsand it will autopopulate the checksums in your PKGBUILD 🙄 https://man.archlinux.org/man/updpkgsums.8.enalpm:netatop-load.hookreplicates thesystemd:netatop.service: to force the reload of thenetatopkernel module triggersystemctl try-restart netatop.service.linux-headerspackages are transitive dependencies of thedkmsand including them in themake-depends[]is redundant.installfile to calldkms {install, remove}is redundant as it's already handled by thealpm{install,ugrade,remove}.hookincluded in thedkmspackage: https://gitlab.archlinux.org/archlinux/packaging/packages/dkms/-/blob/d3339fc9d360dbced99817294e1efc6a7e482381/hook.install https://gitlab.archlinux.org/archlinux/packaging/packages/dkms/-/blob/d3339fc9d360dbced99817294e1efc6a7e482381/hook.remove https://gitlab.archlinux.org/archlinux/packaging/packages/dkms/-/blob/d3339fc9d360dbced99817294e1efc6a7e482381/hook.upgradeAnd please read the manual before pushing changes to AUR, or at least consult with an AI agent - they are pretty good at following standards (vibe coding is not strictly forbidden but strongly discouraged) 😏
batot commented on 2025-04-26 10:55 (UTC)
@bartus thanks for many hints.
Fixed some cosmetic thinks
Regarding DMKS, I suspect the author will not release separate versions without DKMS, so I will not refer to information about the netatop-dkms version.
I will consider whether to make a universal version that will install in the way you choose.
If someone wants to do it without DKMS, it is probably enough to comment point 4 and uncomment point 3 in PKGBUILD - not tested.
bartus commented on 2025-04-24 08:26 (UTC) (edited on 2025-04-25 11:05 (UTC) by bartus)
@batot: PKGBUILD is broken !!
All files required to build the package have to be listed in the
source[]array.Then in
preparestage they are getting copied to${srcdir}forbuild()to run.You can't rely on
${srcdir}/..pointing to the cloned dir with some extra files build needs.makepkgcan build outside of the current path (using $DSTDIR) with sources being downloaded outside of the clone dir (using$SRCDST).https://wiki.archlinux.org/title/Makepkg#Package_output
Also, there's already the
netatop-dkmspackage for thedkmsinfrastructure, so yourdkmschanges here are redundant.btw. you don't have to list
base-develin themakedepends[]array - it's implied.All you need to do to update this package was: http://0x0.st/8VVX.diff
batot commented on 2025-04-23 00:03 (UTC)
batot commented on 2025-02-08 08:52 (UTC) (edited on 2025-02-08 08:52 (UTC) by batot)
At this moment I have now 2 version.
3.2.2 on systemd - working 100% property
3.2.2 on DKMS - not working 70% done - bugs when DKMS trying compile files.
In the future i try fusion all version DKMS/LTS/systemd for only 1 version. Probably will be not easy but I try.
batot commented on 2025-02-07 07:32 (UTC)
The package does not require DKMS to function.
1 2 3 4 5 6 7 Next › Last »