Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Installation of Kernel Modules
@ 2019-10-29 20:24 voidlinux-github
  2019-10-29 21:51 ` voidlinux-github
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: voidlinux-github @ 2019-10-29 20:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

New issue by schmidh on void-packages repository

https://github.com/void-linux/void-packages/issues/15901

Description:
I am trying to create a template file for the [Data Plane Development Kit (DPDK).
](https://www.dpdk.org/) DPDK uses a GNU makefile build system. Compiling the system creates apart from many library files two kernel object files.
```
masterdir/destdir/dpdk-19.08/lib/modules/5.3.7_1/extra/dpdk/rte_kni.ko
masterdir/destdir/dpdk-19.08/lib/modules/5.3.7_1/extra/dpdk/igb_uio.ko
```
I have no idea how I should install these two files:
1. xbps-src does not accept `lib` directories.
2. Even then I wouldn't know how to load these ko files. Are ko files Void Linux compliant? Do I have to create `dkms.config` files?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installation of Kernel Modules
  2019-10-29 20:24 [ISSUE] Installation of Kernel Modules voidlinux-github
@ 2019-10-29 21:51 ` voidlinux-github
  2019-10-29 21:58 ` voidlinux-github
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-10-29 21:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/15901#issuecomment-547645728

Comment:
Firstly these are kernel modules not dkms modules, so you just load them with either `insmode(8)` or`modprobe(8)`. But I would recommend to look into getting it packages as a DKMS module, so it is automatically rebuild on a kernel update. Secondly these files you have there should just be in `/usr/lib` instead if `/lib`, there is probably some variable you can set so it installs them  into the correct dir.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installation of Kernel Modules
  2019-10-29 20:24 [ISSUE] Installation of Kernel Modules voidlinux-github
  2019-10-29 21:51 ` voidlinux-github
@ 2019-10-29 21:58 ` voidlinux-github
  2019-10-29 21:58 ` [ISSUE] [CLOSED] " voidlinux-github
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-10-29 21:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

New comment by schmidh on void-packages repository

https://github.com/void-linux/void-packages/issues/15901#issuecomment-547647928

Comment:
Perfect. This is a good guide line. Thanks a lot!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ISSUE] [CLOSED] Installation of Kernel Modules
  2019-10-29 20:24 [ISSUE] Installation of Kernel Modules voidlinux-github
  2019-10-29 21:51 ` voidlinux-github
  2019-10-29 21:58 ` voidlinux-github
@ 2019-10-29 21:58 ` voidlinux-github
  2019-10-29 21:59 ` voidlinux-github
  2019-10-29 22:00 ` voidlinux-github
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-10-29 21:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

Closed issue by schmidh on void-packages repository

https://github.com/void-linux/void-packages/issues/15901

Description:
I am trying to create a template file for the [Data Plane Development Kit (DPDK).
](https://www.dpdk.org/) DPDK uses a GNU makefile build system. Compiling the system creates apart from many library files two kernel object files.
```
masterdir/destdir/dpdk-19.08/lib/modules/5.3.7_1/extra/dpdk/rte_kni.ko
masterdir/destdir/dpdk-19.08/lib/modules/5.3.7_1/extra/dpdk/igb_uio.ko
```
I have no idea how I should install these two files:
1. xbps-src does not accept `lib` directories.
2. Even then I wouldn't know how to load these ko files. Are ko files Void Linux compliant? Do I have to create `dkms.config` files?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installation of Kernel Modules
  2019-10-29 20:24 [ISSUE] Installation of Kernel Modules voidlinux-github
                   ` (2 preceding siblings ...)
  2019-10-29 21:58 ` [ISSUE] [CLOSED] " voidlinux-github
@ 2019-10-29 21:59 ` voidlinux-github
  2019-10-29 22:00 ` voidlinux-github
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-10-29 21:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/15901#issuecomment-547648188

Comment:
At least with their meson build system you can set `-Denable_kmods=off` and just copy `kernel/linux/{igb_uio,kni}` to `/usr/src/${module-name}-${version}` and add a dkms.conf. E.g. the `rtl8822bu-dkms` package demonstrates on how to create a dkms pacakge out of a non dkms kernel module. Also I think you need to make a subpackage per dkms module, it won't work otherwise afaik.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installation of Kernel Modules
  2019-10-29 20:24 [ISSUE] Installation of Kernel Modules voidlinux-github
                   ` (3 preceding siblings ...)
  2019-10-29 21:59 ` voidlinux-github
@ 2019-10-29 22:00 ` voidlinux-github
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-10-29 22:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 185 bytes --]

New comment by schmidh on void-packages repository

https://github.com/void-linux/void-packages/issues/15901#issuecomment-547648537

Comment:
Even better! Awesome. This helps me a lot.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-29 22:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29 20:24 [ISSUE] Installation of Kernel Modules voidlinux-github
2019-10-29 21:51 ` voidlinux-github
2019-10-29 21:58 ` voidlinux-github
2019-10-29 21:58 ` [ISSUE] [CLOSED] " voidlinux-github
2019-10-29 21:59 ` voidlinux-github
2019-10-29 22:00 ` voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).