Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Problem with sound blaster 16

  Date: Dec 14    Category: Unix / Linux / Ubuntu    Views: 515
  

I've got an old AMD K6-2 450 MHz machine that's running Xubuntu 8.04.
It had a sound blaster compatible sound card that I simply could not
get to work (it worked years ago with RedHat 5.x or so! :-) ). Some
Googling told me that the most likely method of getting sound to work
on this antique was a genuine sb16 card. I found one cheap on eBay,
and just put it in today.

At first I thought all was well, I can play mp3s using the card with
no problems.

That is until I start much of anything else (Firefox is the most
troublesome). If I've got sound playing the machine freezes solid,
ctral-alt-f1 and ctrl-alt-backspace do nothing. I can't ssh to it over
the network. It's gone, and a hardware restart is the only thing that
gets it up again.

Some more Googling told me that this was a known problem back in the
'90s, and that the solution was to not use full duplex mode and 16 bit
sound at the same time.

Great, but I couldn't find any information that seemed the least
relevant to modern systems telling me *how* to do this.

I'll probably eventually figure it out, but I'm hoping that someone
here already knows how to do this.

The contents of my /etc/modules file:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
snd-sb16

Share: 

 

2 Answers Found

 
Answer #1    Answered On: Dec 14    

Genuine SB 16 card? I haven't seen one in years, good cards for their
day though. Surprised you could find one, what kind of card did you
have before?

> At first I thought all was well, I can play mp3s using the card with
> no problems.

> That is until I start much of anything else (Firefox is the most
> troublesome). If I've got sound playing the machine freezes solid,
> ctral-alt-f1 and ctrl-alt-backspace do nothing. I can't ssh to it over
> the network. It's gone, and a hardware restart is the only thing that
> gets it up again.

This could be a resource issue, Firefox 3 is pretty resource intensive
for an older system, how much RAM does it have? Do you get any error
messages or does it just stop? And is it ONLY firefox or is it any
app while you are playing via the sound card?

> Some more Googling told me that this was a known problem back in the
> '90s, and that the solution was to not use full duplex mode and 16 bit
> sound at the same time.

Try disabling sounds from the OS, like Ubuntu has (like other OS's)
sounds for logging in, logging off, oepning/closing apps, etc... Go
into your sound properties and make sure it isn't playing any sounds.
It isn't the best solution, but then all you have to worry about is
sounds from a web site, since Ubuntu won't be popping off with any
sounds.

> Great, but I couldn't find any information that seemed the least
> relevant to modern systems telling me *how* to do this.
>
> I'll probably eventually figure it out, but I'm hoping that someone
> here already knows how to do this.

I'm not entirely sure how to configure it to half duplex operation,
might have to dig into kernel options...

lkml.indiana.edu/.../0743.html

That should give you a few clues, I believe (correct me if I'm wrong?)
the kernel options go into your boot line in GRUB. But test it first,
get to your GRUB menu at boot and then select the boot option you'll
be using and edit it, this won't be a permanent edit, then you can add
to the line that defines the kernel (at the end) sb16=blah,blah,blah

That should tell the kernel to load sb16 with those options.

If it works you can edit your /boot/grub/menu.lst file to make them
stick at every boot. After doing this, watch for kernel updates
you'll have to change its default (also in the same file) or change it
back to what you want after every kernel update.

 
Answer #2    Answered On: Dec 14    

It was easy to find, eBay had plenty to chose from. The previous card
was also a Creative Labs sound card, but a newer one, and 8.04 simply
would not recognize it. I slipped in the old sb16, and I had sound
immediately. If only the machine were stable.

> This could be a resource issue, Firefox 3 is pretty resource intensive
> for an older system, how much RAM does it have? Do you get any error
> messages or does it just stop? And is it ONLY firefox or is it any
> app while you are playing via the sound card?

Any app seems to do it. It has 384M of RAM, and it is a bit slow
running FF, but it is usable. We set it up for the kids to use, as we
certainly can't afford a new machine now (of course, dad would get the
new machine, and the older ones would trickle down. :-) )

> It isn't the best solution, but then all you have to worry about is
> sounds from a web site, since Ubuntu won't be popping off with any
> sounds.

Of course, the kids want to listen to mp3s and youtube, so there'll be
sound playing most of the time. I remember that back in the day, this
machine was more than capable of playing sound smoothly with no
dropouts while doing other work, but of course, RH 5.x and Netscape
weren't as much of a load on the system...

I found out how to pass options to the card, it's in the
/etc/modprobe.d/sound file. I feel pretty stupid not already knowing
that, I did at one time in the past, but it had slipped my mind.
Unfortunately none of the fixes I found Googling it work. I did learn
that it's not an interrupt conflict, but I'm not sure it's not a port
address problem.

Right now I have the card disabled by commenting out the appropriate
line in /etc/modules and the machine is stable, but I really want the
sound to work.

 
Didn't find what you were looking for? Find more on Problem with sound blaster 16 Or get search suggestion and latest updates.




Tagged: