I just compiled and tested 2.1.90-pre3. This is what I configured in the
sound section:
CONFIG_SOUND=m
CONFIG_SB=m
everything else I set to n. All I want is /dev/audio and /dev/dsp. The
relevent lines from my conf.modules are:
alias char-major-14 sb
options sb io=0x220 irq=10 dma=1 dma16=6
So then I do a modprobe sb and everything works fine. Also, I didn't notice
any switching of stereo channels (this is with an mp3 I just made from an audio
cd, I even stuck the cd into my cdplayer and it sounded just the same on it as
through my sound blaster). I do an lsmod and this is what was returned:
Module Size Used by
sb 22028 0
uart401 5516 0 [sb]
sound 63244 0 [sb uart401]
Works well for me. The only difference I see is that I don't use module
versioning.
And while I'm at it this oops occured when doing an "modprobe -r sb"
kfree: Bad obj c4820000
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 0368d000, ^Hr3 = 0368d000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c01240b7>]
EFLAGS: 00010296
eax: 0000001b ebx: c4820000 ecx: c3d6e000 edx: c01aee44
esi: c4819000 edi: c4820000 ebp: bffffd28 esp: c3529f54
ds: 0018 es: 0018 ss: 0018
Process rmmod (pid: 322, process nr: 35, stackpage=c3529000)
Stack: c01997fe c4820000 c4820000 c4819000 00000000 bffffd28 00000000 00000000
00000000 c481b694 c4820000 c4819000 c481a532 c481e520 c481a66f c481e520
c0119f4c c4819000 fffffff0 0804ef78 c011936a c4819000 00000000 c3528000
Call Trace: [<c01997fe>] [<c4820000>] [<c4820000>] [<c4819000>] [<c481b694>] [<c [<c481a532>] [<c481e520>] [<c481a66f>] [<c481e520>] [<c0119f4c>] [<c48190 [<c0109f5a>]
Code: c7 05 00 00 00 00 00 00 00 00 83 c4 08 5b 5e 5f 5d 83 c4 0c
Using `/boot/System2.1.90.map' to map addresses to symbols.
>>EIP: c01240b7 <kfree+1c7/1dc>
Code: c01240b7 <kfree+1c7/1dc>
Code: c01240b7 <kfree+1c7/1dc> c7 05 00 00 00 movl $0x0,0x0
Code: c01240bc <kfree+1cc/1dc> 00 00 00 00 00
Code: c01240c7 <kfree+1d7/1dc> 83 c4 08 addl $0x8,%esp
Code: c01240ca <kfree+1da/1dc> 5b popl %ebx
Code: c01240cb <kfree+1db/1dc> 5e popl %esi
Code: c01240cc <kfree_s> 5f popl %edi
Code: c01240cd <kfree_s+1/1e0> 5d popl %ebp
Code: c01240ce <kfree_s+2/1e0> 83 c4 0c addl $0xc,%esp
Geoff Hoff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu