I recently upgraded from a 2.4.18 kernel and have lost the use of my
sound card. I built the snd-via82xx section as a module and can load
it fine: lsmod gives me this:

Module Size Used by
snd_via82xx 24576 0
snd_pcm 96960 1 snd_via82xx
snd_timer 24576 1 snd_pcm
snd_ac97_codec 54148 1 snd_via82xx
snd_page_alloc 11844 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7360 1 snd_via82xx
snd_rawmidi 22080 1 snd_mpu401_uart
snd 45284 6
snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_m pu401_uart,snd_rawmidi
soundcore 9376 1 snd
....
(unrelated modules)

but if I try and run a sound program, I get

can't open /dev/dsp!

It's not a permissions problem - this happens from root as well. I
think the problem might be that I don't seem to have a /dev/dsp0, only
a /dev/dsp1, but I don't know how to get one...

Any ideas?

Peter