Subject: OSS says: kernel: page fault trap, code=0
To: None <netbsd-help@netbsd.org>
From: Gan Uesli Starling <alias@starling.us>
List: netbsd-help
Date: 09/07/2002 21:26:22
OSS requires to have a custom kernel which
is GENERIC sans any audio stuff. I made
mine for NetBSD 1.5.4_Alpha. But OSS crashes
on install under that kernel (only on one machine,
though...not on another with identically built
kernel). 

OSS does not crash on install under the
pure GENERIC kernel, but won't function due to
driver conflicts. 

If OSS is installed under the GENERIC kernel,
then rebooted to the custom kernel, OSS will
crash on soundon, soundconf. I must have hurt
it somewhere. 

Know that the SoundBlaster board works fine
under Win2K in its current slot with me doing
noting to BIOS in between. 

Here is the error I get... 

kernel: page fault trap, code=0
Stopped in modload at panic + 0x33: addb %al, 0(%eax) 

...It does that on install, right after I see
"Finishing" display on screen. 

Here are links to my 1.5.4 GENERIC, GENERIC.oss and
the output of diff between them... 

http://starling.us/oss/GENERIC.txt
http://starling.us/oss/GENERIC.oss.txt
http://starling.us/oss/GENERIC.diff.txt 

...And here is the tarball for OSS I'm trying to
install... 

http://starling.us/oss/oss_sblive.tar.gz 

...I'll be taking those links down when a solution is
found, or in about a week if not. 

I have another NetBSD machine, a Thinkpad laptop that
does not drop into debugger with similar kernel
installed. I can compare one-to-one on any list of
files. 

Anybody got a clue where I might look to see what
has gone wrong? OSS had used to work on this machine.
But I had tried installing some non-NetBSD packages
and other things on advice from support at OSS. I did
not test OSS every time in between. The pacages I was
trying to install from non-NetBSD tarballs were:
audacity, vorbis, libao. 

I expect I did something to some file somewhere and
for that reason it now dies. Would like to fix it if
can be done. 

Thanks, 

Gan 

PS -- Sorry to be such a bother on this. But I just
spent two days looking for differences between the
two machines. Would really like OSS to work. OSS had
even made me a package for audacity 1.0.0 that installed
okay. The mixer on OSS is very fine. I liked it a lot
the little while I had it going. I could do my project
on Win2K...but I really don't want to. 

 --
Mistera Sturno - Rarest Extinct Bird 

<(+)__        Gan Uesli Starling
 ((__/)=-    Kalamazoo, MI, USA
  `||`
   ++        http://starling.us