lkml.org 
[lkml]   [2000]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectnon-PnP SB AWE32 misbehaving in test7 or newer
Hello.

In the patch for test7, the lines:
@@ -189,7 +190,7 @@
#if defined CONFIG_ISAPNP || defined CONFIG_ISAPNP_MODULE
static int isapnp = 1;
static int isapnpjump = 0;
-static int multiple = 0;
+static int multiple = 1;
static int reverse = 0;
static int uart401 = 0;

@@ -198,7 +199,7 @@
static int opl_activated[SB_CARDS_MAX] = {0};
#else
static int isapnp = 0;
-static int multiple = 1;
+static int multiple = 0;
#endif

Cause my soundcard to fail to init.

If using "modprobe sound", sb.o initializes the soundcard, reserves the
resources, then loops looking for a second soundcard (check_region(
0x220, 16 ) returns -EBUSY as expected - the soundcard has already been
found), and fails miserably, not freeing resources.
modprobe then attempts to unwind the other modules, sb_lib, uart401,
sound, and soundcore. the last one fails with a refcount of 2 and
nothing using it.
additionally, it trashes the kernel's notion of /proc/interrupts and
/proc/ioports - cat on either of them drops core.
The soundcard in question is a very very old soundblaster awe32, it is
not plug and play yet it has no jumpers! It identifies with a DSP
version 4.13

Somewhere else in the patch, while searching for the text in question, I
noted a comment in Documentation/sound/SoundBlaster
===
-multiple=1 Set to enable detection of multiple Soundblaster cards.
+multiple=0 Set to disable detection of multiple Soundblaster cards.
+ Consider it a bug if this option is needed, and send in
a
+ report.
===

Here's your report. :)

I've noted one or two other posts to the list with the same / similar
trouble.

If anyone wants more or less details, pls let me know.


Gerard Sharp
Two Penguins on 2.4.0-test6
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.084 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site