2.4.2 cs4232 is not SMP safe

Olaf Hering (olh@suse.de)
Wed, 28 Mar 2001 20:06:44 +0200


Hi,

the current cs4232 driver is not smp safe, I get this in dmesg when I
try to load it:

ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
<Crystal audio controller (CS4236)> at 0x534 irq 5 dma 1,0
do_IRQ waiting for irq lock (holder=0)

wait_on_irq, CPU 0:
irq: 1 [0 1]
bh: 0 [0 0]

It jumps into xmon and I can exit from the debugger.
A spin_lock(&mylock) call in attach_cs4232() leads to that output:

ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
<Crystal audio controller (CS4236)> at 0x534 irq 5 dma 1,0
do_IRQ waiting for irq lock (holder=1)

But it still jumps into xmon. How can we make that driver SMP safe?
There is no maintainer address in the files.

cantaloupe:~ # lsmod
Module Size Used by
cs4232 3376 0 (unused)
ad1848 24288 0 [cs4232]
uart401 7152 0 [cs4232]
sound 73920 0 [cs4232 ad1848 uart401]
soundcore 4784 4 [sound]
nfsd 76928 4 (autoclean)
autofs 13136 4 (autoclean)
appletalk 28384 13 (autoclean)
ipv6 204704 -1 (autoclean)

Gruss Olaf

-- 
 $ man clone

BUGS Main feature not yet implemented... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/