Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
binfmt-misc module needs to be loaded
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
zontar
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 88
Location: Seattle

PostPosted: Thu May 23, 2024 7:30 pm    Post subject: binfmt-misc module needs to be loaded Reply with quote

I am working through a new installation. All is going well, but I get

The binfmt-misc module needs to be loaded by the modules service or built in.

in rc.log.

I am using sys-kernel/gentoo-kernel for the first time. It has CONFIG_BINFMT_MISC=m.

The module does load.
lsmod | grep -i binfm
binfmt_misc 24576 1

The machine seems to be running fine. But any suggestions would be welcome.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9559
Location: beyond the rim

PostPosted: Fri May 24, 2024 11:52 am    Post subject: Reply with quote

Well, first you'll have to figure out which service or application triggers that message (if there is no direct hint in the log, check entries before/after the error message to determine where in the boot sequence it happens). My random guess would be that it is some firmware or microcode update as "normal" services have no need for mod_binfmt. Unless you're trying to run windows-only software at boot via wine or something similar strange.
Back to top
View user's profile Send private message
zontar
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 88
Location: Seattle

PostPosted: Sat May 25, 2024 4:40 am    Post subject: Reply with quote

Thanks for the reply. The output is generated by /etc/init.d/procfs

Code:

        if [ -d /proc/sys/fs/binfmt_misc ] &&
      [ ! -e /proc/sys/fs/binfmt_misc/register ]; then
      if ! grep -qs binfmt_misc /proc/filesystems &&
         modprobe -q binfmt-misc; then
         ewarn "The binfmt-misc module needs to be loaded by" \
            "the modules service or built in."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum