Sound in 2.1.128 - why oops?

Brian Schau (bsc@fleggaard.dk)
Mon, 23 Nov 1998 16:28:56 +0100


Hello,

I'm playing around trying to get my Yamaha OPL3-SA3 soundcard to work.
As I have no documentation to this card, I am just trying some 'random'
values (ie. values NOT used by other cards in the system).

I load my modules like:

#!/bin/sh
if test -z "$(lsmod | grep uart 2>/dev/null)"; then
modprobe uart401
fi

if test -z "$(lsmod | grep mpu 2>/dev/null)"; then
modprobe mpu401
fi

if test -z "$(lsmod | grep ad1848 2>/dev/null)"; then
modprobe ad1848
fi

... then (in bash):

cryo:/home/bsc # modprobe opl3sa2 io=0x388 mss_io=0x340 mpu_io=0x330
irq=12 dma=0 dma2=1

(the values are far off .... :)

To verify that if some/all the ioports have been claimed I do:

cryo:/home/bsc # cat /proc/ioports
Segmentation fault
cryo:/home/bsc #

... and get this in my logfiles:

Nov 23 16:07:57 cryo kernel: ad1848/cs4248 codec driver Copyright (C) by
Hannu Savolainen 1993-1996
Nov 23 16:07:57 cryo kernel: opl3sa2.c: Control using I/O port 0x388
Nov 23 16:07:57 cryo kernel: opl3sa2.c: Control I/O port 0x388 not free
Nov 23 16:08:13 cryo kernel: Unable to handle kernel paging request at
virtual address c884c41c
Nov 23 16:08:13 cryo kernel: current->tss.cr3 = 07699000, Xr3 = 07699000
Nov 23 16:08:13 cryo kernel: *pde = 07e25063
Nov 23 16:08:13 cryo kernel: *pte = 00000000
Nov 23 16:08:13 cryo kernel: Oops: 0000
Nov 23 16:08:13 cryo kernel: CPU: 0
Nov 23 16:08:13 cryo kernel: EIP: 0010:[<c01a72cf>]
Nov 23 16:08:13 cryo kernel: EFLAGS: 00010297
Nov 23 16:08:13 cryo kernel: eax: c884c41c ebx: ffffffff ecx:
c884c41c edx: fffffffe
Nov 23 16:08:13 cryo kernel: esi: ffffffff edi: c76a8105 ebp:
00000000 esp: c769bee8
Nov 23 16:08:13 cryo kernel: ds: 0018 es: 0018 ss: 0018
Nov 23 16:08:13 cryo kernel: Process cat (pid: 391, process nr: 12,
stackpage=c769b000)
Nov 23 16:08:13 cryo kernel: Stack: c76a8000 00000c00 c7696130 00000001
00000001 ffffffff 0000001b c7696130
Nov 23 16:08:13 cryo kernel: c01a7478 c76a80f9 c01aaa94 c769bf30
c0115f8c c76a80f9 c01aaa85 00000388
Nov 23 16:08:13 cryo kernel: 00000389 c884c41c 00000000 c769bf90
c01c9bac c01402ea c76a8000 00000018
Nov 23 16:08:13 cryo kernel: Call Trace: [<c01a7478>] [<c01aaa94>]
[<c0115f8c>] [<c01aaa85>] [<c884c41c>] [<c01402ea>] [<c014053e>]
Nov 23 16:08:13 cryo kernel: [<c010d04f>] [<c01224be>]
[<c0107a74>]
Nov 23 16:08:13 cryo kernel: Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4
29 c8 89 c6 f7 c5 10 00

So what's up? What's the proper way to load this card?

Kind regards,

Brian

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/