Subject: Re: "panic: trap" while trying to run linux/i386 netscape with
To: Paul Wain <paul.wain@nc.com>
From: Thorsten Frueauf <s_frueau@ira.uka.de>
List: current-users
Date: 12/15/1998 13:25:11
Hello!

> See if this works:
> 
> In compat/linux/common/linux_ioctl.c find the line that says:
> 
> #if NSEQUENCER > 0
> 
> and change it to:
> 
> #if 0

Thanx for the hint, doing the above indeed let netscape work again
without freezing/reseting my machine.

I have the following in my kernel config file:

[...]
sb0     at isa? port 0x220 irq 5 drq 1 drq2 5   # SoundBlaster
audio*  at sb?
[...]
pcppi0          at isa?
sysbeep0        at pcppi?
spkr0           at pcppi?                       # PC speaker
[...]

I don't have any midi support or OPL[23] FM syntheziers enabled.

> a) remove the midi sequencer from your configuration file and rebuild your
> kernel or

See above, I don't have them enabled.

> b) find out why, if you have it configured, you sound card isnt attaching a
> midi sequencer.

My kernel with sources form 30.11.98 prints the following:

Dec 14 20:21:14 cyberlap /netbsd: sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.02
Dec 14 20:21:14 cyberlap /netbsd: audio0 at sb0
Dec 14 20:21:14 cyberlap /netbsd: opl at sb0 not configured
Dec 14 20:21:14 cyberlap /netbsd: pcppi0 at isa0 port 0x61
Dec 14 20:21:15 cyberlap /netbsd: spkr0 at pcppi0
Dec 14 20:21:15 cyberlap /netbsd: sysbeep0 at pcppi0

I get the same with the kernel build with 14.12.98 sources, so I suspect
for some reason NSEQUENCER gets set although it shouldn't?

I will try a kernel with

opl*   at sb?
midi*   at sb?                          # SB MPU401 port

enabled later today, and see if this fixes the problem too.

Is this worth sending a pr?

Greets
-- 
   Name  : Thorsten Frueauf            Milano@irc cri@onaliM       //
   E-Mail: s_frueau@ira.uka.de oder ukfy@rz.uni-karlsruhe.de     \X/