2.0.36pre3 oops in modular sound.

Tomasz Motylewski (motyl@stan.chemie.unibas.ch)
Thu, 13 Aug 1998 04:36:22 +0200 (MET DST)


Dual P200 (SMP=1), 128MB RAM, Creative SB AWE32 PnP

modprobe sb io=0x220 irq=5 dma=1,7 - failed
isapnp pnp.tm0.init
modprobe sb io=0x220 irq=5 dma=1,5
modprobe awe_wave.o
modprobe opl3.o

drvmidi
playmidi (both SEGV)

strace drvmidi:
open("/dev/sequencer", O_WRONLY) = 3
ioctl(3, SNDCTL_SEQ_NRSYNTHS, 0x8059198) = 0
ioctl(3, SNDCTL_SYNTH_INFO <unfinished ...>
+++ killed by SIGSEGV +++

Aug 12 23:41:50 crds kernel: Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
Aug 12 23:41:50 crds kernel: I/O, IRQ, and DMA are mandatory
Aug 12 23:42:16 crds kernel: Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
Aug 12 23:42:16 crds kernel: sb: dsp reset failed.
Aug 12 23:44:45 crds kernel: Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
Aug 12 23:44:45 crds kernel: SB 4.13 detected OK (220)
Aug 12 23:45:23 crds kernel: AWE32-0.4.2c (RAM8192k)
Aug 12 23:45:34 crds kernel: YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
Aug 12 23:48:28 crds kernel: Unable to handle kernel paging request at virtual address c80583d0
Aug 12 23:48:28 crds kernel: current->tss.cr3 = 012f0000, <r3 = 012f0000
Aug 12 23:48:28 crds kernel: *pde = 00000000
Aug 12 23:48:28 crds kernel: Oops: 0002
Aug 12 23:48:28 crds kernel: CPU: 0
Aug 12 23:48:28 crds kernel: EIP: 0010:[<0884759d>]
Aug 12 23:48:28 crds kernel: EFLAGS: 00010293
Aug 12 23:48:28 crds kernel: eax: c08c5102 ebx: 00000000 ecx: 00000023 edx: 0884d944
Aug 12 23:48:28 crds kernel: esi: 0884d8b8 edi: 080583d0 ebp: 080583f0 esp: 02a44e94
Aug 12 23:48:28 crds kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Aug 12 23:48:28 crds kernel: Process drvmidi (pid: 3844, process nr: 21, stackpage=02a44000)
Aug 12 23:48:28 crds kernel: Stack: 00000001 080583d0 c08c5102 08831132 00000000 c08c5102 080583d0 0000008c
Aug 12 23:48:28 crds kernel: 01d705d8 c08c5102 00000001 08870a20 00000002 00000000 00000001 00000000
Aug 12 23:48:28 crds kernel: 0000009d 0884b5aa 0000001d 00000010 08847be3 00000000 088474dc 00000000
Aug 12 23:48:28 crds kernel: Call Trace: [<08831132>] [<08870a20>] [<0884b5aa>] [<08847be3>] [<088474dc>] [<0883070e>] [<08828759>]
Aug 12 23:48:28 crds kernel: [<08870d20>] [do_no_page+444/824] [do_no_page+391/824] [<08828c69>] [sys_ioctl+323/344] [system_call+258/312]
Aug 12 23:48:28 crds kernel: Code: f3 a5 31 c0 5b 5e 5f c3 8d 76 00 e8 8b dd ff ff 53 e8 b9 05
Aug 12 23:48:32 crds kernel: Unable to handle kernel paging request at virtual address c80583d0
Aug 12 23:48:32 crds kernel: current->tss.cr3 = 02a83000, <r3 = 02a83000
Aug 12 23:48:32 crds kernel: *pde = 00000000
Aug 12 23:48:32 crds kernel: Oops: 0002
Aug 12 23:48:32 crds kernel: CPU: 0
Aug 12 23:48:32 crds kernel: EIP: 0010:[<0884759d>]
Aug 12 23:48:32 crds kernel: EFLAGS: 00010293
Aug 12 23:48:32 crds kernel: eax: c08c5102 ebx: 00000000 ecx: 00000023 edx: 0884d944
Aug 12 23:48:32 crds kernel: esi: 0884d8b8 edi: 080583d0 ebp: 080583f0 esp: 02d22e94
Aug 12 23:48:32 crds kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Aug 12 23:48:32 crds kernel: Process drvmidi (pid: 3845, process nr: 21, stackpage=02d22000)
Aug 12 23:48:32 crds kernel: Stack: 00000001 080583d0 c08c5102 08831132 00000000 c08c5102 080583d0 0000008c
Aug 12 23:48:32 crds kernel: 01d70110 c08c5102 00000001 00010a20 00000002 00000000 00000001 00000000
Aug 12 23:48:32 crds kernel: 0000009d 0884b5aa 0000001d 00000010 08847be3 00000000 088474dc 00000000
Aug 12 23:48:32 crds kernel: Call Trace: [<08831132>] [<0884b5aa>] [<08847be3>] [<088474dc>] [<0883070e>] [<08828759>] [<08870d20>]
Aug 12 23:48:32 crds kernel: [do_no_page+444/824] [do_no_page+391/824] [<08828c69>] [sys_ioctl+323/344] [system_call+258/312]
Aug 12 23:48:32 crds kernel: Code: f3 a5 31 c0 5b 5e 5f c3 8d 76 00 e8 8b dd ff ff 53 e8 b9 05

relevant ksyms:
08827bbc load_mixer_volumes_R6068a57d [sound]
08829020 sound_alloc_dma_R687ca78a [sound]

08830518 sequencer_open [sound]
08830884 seq_drain_midi_queues [sound]

08830e8c sequencer_ioctl [sound]
08831b08 sequencer_select [sound]

08845084 attach_awe [awe_wave]
088452d8 unload_awe [awe_wave]
0886f264 opl3_detect_Rcf825ee8 [opl3]

more info (.config, pnp config, sound.o.objdump.gz (with -g) etc) on
http://crds.chemie.unibas.ch/machine/2.0.36pre3/

FYI: - my 3C509B EtherLink III is not detected ("device or
resource busy") by 3c509.o before isapnp or pnpdump is run. After any pnp
action (e.g. configuring SB) network module can be inserted. After your
explanation I do not want 3c509.c:1.16 in official kernel (1.16 has no
problems in that situation).

Best regards

--
Tomasz Motylewski

- 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.altern.org/andrebalsa/doc/lkml-faq.html