Re: 2.1.50/2.1.51: that "oops" thing

Linus Torvalds (torvalds@transmeta.com)
20 Aug 1997 05:46:42 GMT


In article <XFMail.970819102313.markorr@intersurf.com>,
<markorr@intersurf.com> wrote:
>
>It only appears with a few programs: amp-0.7.5-99 (a mp3 player that
>uses realtime scheduling), squake (Quake for SVGAlib), and qwcl
>(the QuakeWorld client v2.0 for svgalib). I havent seen it
>affect any others. Other .mp3 players (like mpg123, splay, and
>l3dec) do not give this error.

It's the sound driver.

>Negative d_count (-1) for dev/dsp0
>
>The full kernel error message follows (qwcl 2.0 produced this)
>------------------------
>
>Negative d_count (-1) for dev/dsp0
>Unable to handle kernel NULL pointer dereference at virtual address 00000000
>current->tss.cr3 = 00101000, %cr3 = 00101000
>*pde = 00000000
>Oops: 0002
>CPU: 0
>EIP: 0010:[<c012ec0e>]
>EFLAGS: 00010282
>eax: 00000023 ebx: c0e15680 ecx: 00000000 edx: c0196b58
>esi: ffffffff edi: 00010000 ebp: c0082960 esp: c04c7f7c
>ds: 0018 es: 0018 ss: 0018
>Process qwcl (pid: 1661, process nr: 21, stackpage=c04c7000)
>Stack: c0080fa0 410ea000 c011adb4 c0e15680 c04c6000 c0082960 fffffffc 00000000
> c0eb77c0 c0115d56 c0082960 c04c6000 ffffffff fffffffc 00000000 c0115ed9
> 00000000 c010932a 00000000 00000000 400b0a44 ffffffff fffffffc 00000000
>Call Trace: [<c011adb4>] [<c0115d56>] [<c0115ed9>] [<c010932a>]
>Code: 89 0d 00 00 00 00 89 33 85 f6 75 68 8d 4b 28 8b 53 28 8b 41
>Segmentation fault

Can you run the above through ksymoops, I'd really like to see where we
got to this from.

Are people who are seeing problems with the later 2.1.x kernels all
using a sound driver?

Or a swapfile as opposed to a swap partition? I've never tested that
code-path, lazy me..

Linus