2.4.2 cs4232 is not SMP safe

From: Olaf Hering (olh@suse.de)
Date: Wed Mar 28 2001 - 13:06:44 EST


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/



This archive was generated by hypermail 2b29 : Sat Mar 31 2001 - 21:00:19 EST