Skip to contentSkip to conversation

oops with 2.4.22 alsa 0.9.8 and a non-pnp sb16 (more info)

DISCUSSION Ludovic Drolez 1 participant 2 messages Nov 8, 2003 – Nov 9, 2003

lore
Share & tools
lore
#0 lore raw

Hi !

In the logs from my last post, there were messages from the standard sb.o module:

isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found

Quoted 3 lines
Quoted 3 lines

Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
SB 4.13 detected OK (220)

So I removed standard sound modules, and now when I modprobe snd-sb16 I only get:

isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found

So the other problem is that it's impossible to disable isa-pnp support with alsa 0.9. The configure's option '--without-isapnp' does not work anymore ! (It worked with alsa 0.5).

So, I added an '#undef CONFIG_PNP' in sb16.c and now I get another oops when I modprobe it.
It seems that SB's non-pnp detection code is completly broken ...

Cheers,

Ludovic Drolez.

-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/

#1 lore raw

Re: oops with 2.4.22 alsa 0.9.8 and a non-pnp sb16 (solved !)

Third and last episode !

There was something strange with my problems: kernel panics or oops never occured twice in the same module.
And I remembered the problems I got with my radeon glx drivers, for which the FAQ says, you should compile modules with the same compiler used for the kernel...

So I recompiled alsa with gcc 3.3 instead of 3.0 ... and everything is working fine now !!! (That was no so simple in fact. Before doing this recompilation, I removed all PCI cards one by one from my PC, I tried old alsa releases (0.5), tried non-free OSS drivers,... everything ended with kernel panics...)

Cheers,

Ludovic Drolez.

-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/