2.1.63 nitpicks (WAS: Re: 2.1.63 undefined symbols in sound module)

Chris Evans (chris@ferret.lmh.ox.ac.uk)
Thu, 13 Nov 1997 15:15:00 +0000 (GMT)


On Thu, 13 Nov 1997, Matthew Kirkwood wrote:

> pc29:~# depmod -ae
> /lib/modules/2.1.63/misc/sound.o: unresolved symbol(s)
> memcpy_tofs
> snd_ioctl_return
> get_fs_word
> get_fs_byte
> get_fs_long
> memcpy_fromfs
> pc29:~#
>
> Modular sound, SB16, OPL3, AWE32...
>
> Matthew.

#define AWE_NEW_KERNEL_INTERFACE [or similar]

appears to be missing.

Better still, in awe_config.h, perhaps a #ifdef KERNEL_VERSION >=
construct is needed?

Additionally! I have a couple of other rough edges on 2.1.63

1) OOPS When closing /dev/dsp after using mmap()'ed buffers. ie, exiting
squake. Apparently "/dev/dsp has negative usage count (-1)". It's a clean
NULL pointer dereference.

2) MSDOS doesn't work as a module -- someone forgot to export one of the
new shrink_dcache functions as a symbol.

Cheers
Chris