[opensuse-kernel] modprobe: unrecognized option '--allow-unsupported-modules'
![](https://seccdn.libravatar.org/avatar/45bf5eef0471996074efa055ea252116.jpg?s=120&d=mm&r=g)
Hi: Apparently the "unsupported modules" thing has crawled into openSUSE Factory mkinitrd , everytime I run it tells me: modprobe: unrecognized option '--allow-unsupported-modules' /lib/mkinitrd/scripts/setup-modules.sh check_supported_kernel should just return 0 in openSUSE as it is meaningless and nothing else supports this concept of "unsupported modules" (not systemd, not udev, not kmod, etc..etc.. none of the modern stack does) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/a961d54b41a44a48c5241aab3571178f.jpg?s=120&d=mm&r=g)
On Thu, Sep 05, Cristian Rodríguez wrote:
Apparently the "unsupported modules" thing has crawled into openSUSE Factory mkinitrd , everytime I run it tells me:
modprobe: unrecognized option '--allow-unsupported-modules'
/lib/mkinitrd/scripts/setup-modules.sh check_supported_kernel should just return 0 in openSUSE as it is meaningless and nothing else supports this concept of "unsupported modules" (not systemd, not udev, not kmod, etc..etc.. none of the modern stack does)
Whatever that modprobe is, someone has to port module-init-tools-suse.diff from module-init-tools.src.rpm to this package so that --allow-unsupported-modules becomes a recognized option. Olaf -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/a961d54b41a44a48c5241aab3571178f.jpg?s=120&d=mm&r=g)
On Thu, Sep 05, Olaf Hering wrote:
On Thu, Sep 05, Cristian Rodríguez wrote:
Apparently the "unsupported modules" thing has crawled into openSUSE Factory mkinitrd , everytime I run it tells me:
modprobe: unrecognized option '--allow-unsupported-modules'
/lib/mkinitrd/scripts/setup-modules.sh check_supported_kernel should just return 0 in openSUSE as it is meaningless and nothing else supports this concept of "unsupported modules" (not systemd, not udev, not kmod, etc..etc.. none of the modern stack does)
Whatever that modprobe is, someone has to port module-init-tools-suse.diff from module-init-tools.src.rpm to this package so that --allow-unsupported-modules becomes a recognized option.
On the other hand, check_supported_kernel may need another update: 'modinfo -F supported ipv6' prints an error and exits with 1 because it was changed from =m to =y at some point. 'modinfo -F supported loop' prints nothing and exits with 0. That happens with a self compiled SLES kernel and also with the Factory kernel. 'modinfo -F supported loop' prints "yes" and exits with 0 with a SLES kernel. I wonder when it prints anything else than "yes" so that check_supported_kernel could return 0 for Factory and 1 for a selfcompiled SLES kernel. And as a small optimization, maybe its enough to call check_supported_kernel just once to set additional_args. Olaf -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Cristian Rodríguez
-
Olaf Hering