You are not logged in.

#1 2010-08-18 16:57:18

karoshi
Member
From: Marburg
Registered: 2008-02-26
Posts: 182

Modul loaded, prefixed with !

I'm using kernel 2.6.35.2-1 from [testing] (system is fully updated with testing enabled) and would like to use oss4.

Modules in rc.conf:

MODULES=(!soundcore fuse loop)

but:

lsmod | grep sound
soundcore               5025  1 snd

oss4 generally works, but not in kmix as it used to.


It's a bug planet!

Offline

#2 2010-08-18 17:06:33

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Modul loaded, prefixed with !

As you can see from your grep, it is needed for snd. There's no point in blacklisting modules that are dependencies for other modules; the MODULES array in rc.conf will be ignored in that case.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2010-08-18 17:34:34

stakan
Member
Registered: 2010-08-09
Posts: 4

Re: Modul loaded, prefixed with !

I'd blacklisted module 'floppy' because I have not any floppy drive on my PC but it runs nevertheless. Not critical for me, but I thought it wouldn't be loaded. I also don't see any other modules depending on 'floppy'. Strange smile

Offline

#4 2010-08-18 17:35:09

karoshi
Member
From: Marburg
Registered: 2008-02-26
Posts: 182

Re: Modul loaded, prefixed with !

Ok, thx for the hint.

I closed Kmix and did this:

root@karoshiPC ~ > rmmod saa7134_alsa 
root@karoshiPC ~ > rmmod snd_pcm
root@karoshiPC ~ > rmmod snd_timer
root@karoshiPC ~ > rmmod snd_page_alloc
root@karoshiPC ~ > rmmod snd
root@karoshiPC ~ > rmmod soundcore
root@karoshiPC ~ > 

Started Kmix again and it worked.

Changed Modules line in rc.conf to

MODULES=(!saa7134_alsa !snd_pcm !snd_timer !snd_page_alloc !snd !soundcore fuse loop)

But after a reboot:

root@karoshiPC ~ > lsmod | grep snd
snd_pcm                58276  1 saa7134_alsa
snd_timer              15423  1 snd_pcm
snd                    43283  5 saa7134_alsa,snd_pcm,snd_timer
soundcore               5025  1 snd
snd_page_alloc          5981  1 snd_pcm

It's a bug planet!

Offline

#5 2010-08-18 18:28:12

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Modul loaded, prefixed with !

.:B:. wrote:

There's no point in blacklisting modules that are dependencies for other modules; the MODULES array in rc.conf will be ignored in that case.

That doesn't make any sense. If your statement is true, Arch's udev blacklisting method is worthless if udev is just gonna do what it's gonna do because it discovered that you blacklisted a dependency.

Indeed, Arch's blacklisting works as intended:

Jul 30 21:06:03 quake load-modules.sh: Not loading module 'jmicron' for alias 'pci:v0000197Bd00002368sv00001458sd0000B000bc01sc01i85' because its dependency 'ide_core' is blacklisted

Blacklisting soundcore is required if you want to use OSS. Having done this myself in the past, I can tell you that there's something else at play.

Offline

#6 2010-08-18 18:50:31

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Modul loaded, prefixed with !

Just noticing:
Could the modprobe parameter "preclaim_oss" be of any help with the soundcore/oss incompatibility thing?
https://patchwork.kernel.org/patch/39563/

Offline

#7 2010-08-18 19:14:10

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Modul loaded, prefixed with !

hokasch wrote:

Just noticing:
Could the modprobe parameter "preclaim_oss" be of any help with the soundcore/oss incompatibility thing?
https://patchwork.kernel.org/patch/39563/

It would be, except that a bug report was filed here already, and thus:

$ grep PRECLAIM /var/abs/testing/kernel26/config
# CONFIG_SOUND_OSS_CORE_PRECLAIM is not set

Offline

Board footer

Powered by FluxBB