LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2021, 12:09 PM   #1
lucasmarx
LQ Newbie
 
Registered: Jun 2021
Posts: 3

Rep: Reputation: Disabled
Please help! libkmod ERROR bad line


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
 
Old 06-24-2021, 11:52 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by lucasmarx View Post
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
First and foremost:
What's on line 44?

Then:
Quote:
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 strange, and sounds wrong.
Maybe the whole system went read only? If it did I'm sure it has nothing to do with ALSA, at least not directly.

More questions:
Quote:
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.
"Nothing changed"? So, it still complians about line 44, as before, and drops you to a command prompt?
Quote:
Booted with usb again, deleted the alsa-base.conf and restarted and got the error again (now without the line 44 part).
Are you saying the error message now reads "libkmod: ERROR ../libkmod/libkmod-config.c:656 kmod_config_parse: /etc/modprobe.d/alsa-base.conf" and nothing else, then drops you to a TUI prompt? Or what?

Please be precise.

You also might want to look at the journal, and at other logs. Try 'dmesg'.
Keep an open eye & mind; this is not necessarily ALSA-related.

edit:
same thread also here.

Last edited by ondoho; 06-24-2021 at 11:54 PM.
 
Old 06-28-2021, 06:55 AM   #3
lucasmarx
LQ Newbie
 
Registered: Jun 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you so much!

I used the dmesg you've mentioned and it pointed to a bad line on the fstab file, I've changed and now it's working

the alsa-base.conf file is still showing but now I'm not going directly to the TUI.

Again, thank you!
 
Old 06-29-2021, 03:05 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by lucasmarx View Post
Thank you so much!

I used the dmesg you've mentioned and it pointed to a bad line on the fstab file, I've changed and now it's working

the alsa-base.conf file is still showing but now I'm not going directly to the TUI.

Again, thank you!
Please mark your thread SOLVED (see my signature).
Others will benefit.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I get this message on bootup: libkmod: ERROR ... /etc/modprobe.d/rt18xxxu.conf line 1: ignoring bad line starting with 'blacklist' linustalman Linux - General 6 11-04-2018 05:22 AM
I am trying to "mount" but getting error as - [mntent]: line 9 in /etc/fstab is bad .kindly please help me in sortung out this isse ravneet kaur Ubuntu 3 11-11-2016 12:40 PM
[SOLVED] libkmod ERROR : modules.dep.bin (Debian Wheezy amd64) fastghost93 Debian 13 08-06-2013 01:38 PM
Bad mount of .mdf - "wrong fs type, bad option, bad superblock, on /dev/loop0" Maybe-not Linux - General 2 02-29-2008 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration