please help! libkmod ERROR bad line alsa-base.conf

Status
Not open for further replies.

lucasmarx

New Member
Joined
Jun 24, 2021
Messages
6
Reaction score
0
Credits
67
for the pas couple of days I'm booting on linux mint 20.1 and getting this error:

Code:
libkmod: ERROR ../libkmod/libkmod-config.c:656 kmod_config_parse: /etc/modprobe.d/alsa-base.conf line 44: ignoring bad line starting with options
 libkmod: ERROR ../libkmod/libkmod-config.c:656 kmod_config_parse: /etc/modprobe.d/alsa-base.conf line 44: ignoring bad line starting with options

and after a few seconds goes to a terminal screen asking for user and password. I've logged and accessed the folder in question but wasn't able to alter it(even with sudo), it was as read only.

This is what I tried so far: 1 - I've booted a usb with live mint on it, accessed the folder with sudo and tried deleting the 44th line, restarted and nothing changed. 2 - Booted with usb again, deleted the alsa-base.conf and restarted and got the error again (now without the line 44 part). 3 - Booted with usb, copied the /etc/modprobe.d/alsa-base.conf from the live etc folder and pasted on my linux etc folder and got the same error(with the line 44 part)

Can someone help me with this, please I've posted in like 4 different forums and didn't got a single reply?

Here`s the alsa-base.conf content:

Code:
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
 


Welcome to the Linux Org forums



We are an un-associated, Independent advice a site for those in need of help with installation problems, those wanting a deeper understanding of Linux and Tech's needing more advanced advice,


We are a voluntary organisation our members are scattered across the four corners of the world and every time zone, so please accept that you may not get a quick answer.

Just a few things to remember
We are an international board so we ask that all post be in English [if you think your English is not very good , fine give it a try or use one of the translator programs [ DeepL Translate: The world's most accurate translator is recommended]
When asking for help
Please state the make and model number of your machine or its specification [some problems may be equipment specific]
Please tell us which distribution and build number you are having problems with [example Ubuntu 18.1]
Explain what your problem is and what [if anything] you have tried to remedy it yourself

Finally Linux is not Windows, It will require the newcomer to invest a little time and effort going through a learning curve so please don’t give up, kick off your shoes, grab a drink and enjoy the ride.

Bwiz
 
Please don't double post. I'l lock this one. The other link will remain open:

 
Status
Not open for further replies.

Staff online


Top