make nvem a module again

Requested in the forum, as some (misbehaving) mellanox module relies
on loading nvme-core and apparently cannot cope with built-in
modules... meh, but we're probably easier to get to make the change
than the mellanox people ;-)
https://forum.proxmox.com/threads/kernel-5-11.86225/post-412645

Originally set when this was another repo:
https://git.proxmox.com/?p=pve-kernel-jessie.git;a=commitdiff;h=0817f603d0e5bc3165f512eec8860543430cfd2d;hp=60c76fe4f5ab178af78be9ca2ea8baad3b4a4bc9

The Debian bug is resolved since quite a bit, bullseye shouldn't be
affected by this at all anymore.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-08-24 13:57:56 +02:00
parent 3ae5a3f4e0
commit f4ddb1493e
2 changed files with 1 additions and 6 deletions

5
README
View File

@ -133,11 +133,6 @@ NOTE: For the exact and current list see debian/rules (PVE_CONFIG_OPTS)
CONFIG_BLK_DEV_SR=y CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_DM=y CONFIG_BLK_DEV_DM=y
- add workaround for Debian bug #807000 (see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807000)
CONFIG_BLK_DEV_NVME=y
- compile NBD and RBD modules - compile NBD and RBD modules
CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RBD=m CONFIG_BLK_DEV_RBD=m

2
debian/rules vendored
View File

@ -40,7 +40,7 @@ PVE_CONFIG_OPTS= \
-e CONFIG_BLK_DEV_SD \ -e CONFIG_BLK_DEV_SD \
-e CONFIG_BLK_DEV_SR \ -e CONFIG_BLK_DEV_SR \
-e CONFIG_BLK_DEV_DM \ -e CONFIG_BLK_DEV_DM \
-e CONFIG_BLK_DEV_NVME \ -m CONFIG_BLK_DEV_NVME \
-e CONFIG_NLS_ISO8859_1 \ -e CONFIG_NLS_ISO8859_1 \
-d CONFIG_INPUT_EVBUG \ -d CONFIG_INPUT_EVBUG \
-d CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND \ -d CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND \