LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-10-2004, 11:07 AM   #1
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Posts: 232

Rep: Reputation: 30
Ran Swaret upgrade and lost sound


Hello, if anyone could help me with this I would appreciate it.

I installed Slackware 9.1 a few weeks ago. I am very happy with the distro thus far but ran into a snag this morning. I ran the following
Swaret --update
Swaret --upgrade -a

The program ran fine and I only had it look in the 9.1 FTP database.
After it finished downloading and installing 18 packages, I rebooted.

I don't remember what packages and don't know where to go look to find out but I know that an ARTS upgrade was one of them.

Anyway, now when I start X I get an error message stating:

Error While initializing the sound driver
Device DEV/DSP cant be opened (no such device)
the sound server will continue using the null output

I also tried gnome and it says that no sound devices exist.

I looked and /dev/dsp points to /dev/dsp0 and both files exist.
They have full permissions as well

I also ran alsaconfig and it probed for cards and found none

Sound has always worked fine until now. It was working right before I upgraded with swaret.

I am lost here. Any help would be much appreciated as I do not want to reload Slackware from scratch for something this goofy.

Thanks
JB
 
Old 03-10-2004, 11:29 AM   #2
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
I am assuming all was well until you did the swaret upgrade? If that is wrong let me know.
What output do you see when you type lsmod as root in a console? If that is blank none of your modules are loaded and hence your sound card module is not loaded.
 
Old 03-10-2004, 12:06 PM   #3
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Rep: Reputation: 30
I, too, have an assumption. When you ran 'alsaconfig', you meant to say 'alsaconf' - right? If not, I'd recommend you try alsaconf because I believe THAT program is the official graphical setup program bundled with 9.1

I recommend that you get slapt-get instead because Swaret is out of date and really doesn't work as well as slapt-get. Also, if you can, try getting the alsa packages and the tools, programs, and etc. manually so that you can avoid any conflictions related to system files/dependancies etc.

Get back to us.
 
Old 03-10-2004, 12:07 PM   #4
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,090

Rep: Reputation: 41
alsa was probably upgraded... you will need to do some searches on your video card, to see what steps you should take.

First try running alsaconf, see if it detects a card.. if it does continue on with alsamixer and unmute everything. and see if you can get sound working.

if not...
post the output of lspci, and lsmod. that should give some starter information to point you in the right direction.
 
Old 03-10-2004, 12:23 PM   #5
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Posts: 232

Original Poster
Rep: Reputation: 30
Thanks for the quick replies

alsaconf (sorry 'bout the misprint) finds no cards.

lsmod shows:
tulip 41248
ds 6568
yenta_socket 9632
pcmia_core 38112
ide-scsi 8048

lspci shows:

Host Bridge: OPTi INC. 82C701 [FireStar Plus] (rev 32)
ISA Bridge: OPTi INC. 82C701 [FireStar Plus] (rev 31)
CardBus bridge: Texas Instruments PCI1131 (rev01)
VGA compatible controller: Neomagic Corporation NM2160 [MagicGraph128XD]
IDE interface: OPTi Inc. 82C825 [Firebridge 2] (rev 30)
Ethernet controller: Linksys Fast Ethernet 10/100 (rev11)


Anyway, all was well until Swaret upgraded from 9.1 folder (not current)

I also installed Dropline Gnome (in case this has anything to do with it) but it was fine prior to the swaret upgrade.

Thanks again! I appreciate the help

BTW... its an old Compaq Presario 1621 laptop with onboard JBL-PRO sound system.
 
Old 03-10-2004, 12:26 PM   #6
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,090

Rep: Reputation: 41
hmmm.. http://www.alsa-project.org/alsa-doc...or=vendor-Opti

not in the list???
 
Old 03-10-2004, 01:05 PM   #7
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
That is and 'old' machine. Here is the only link at linux-laptop.net.

http://www.academ.com/presario1621.html

According to that it is an ESS sound card. Here is a link to ess driver at the alsa project site:

http://www.alsa-project.org/alsa-doc...hnology#matrix

My best guess is to try the ESS 18xx module found here:

http://www.alsa-project.org/alsa-doc...&module=es18xx

According to that link you should be able to run this series of commands and get your card up and running.

modprobe snd-es18xx
modprobe snd-pcm-oss
modprobe snd-mixer-oss
modprobe snd-seq-oss

If they all load correctly you should see them in the output of lsmod.
 
Old 03-10-2004, 01:07 PM   #8
Ninja Cow
Member
 
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Rep: Reputation: 30
I had this same problem after running swaret about a month ago. I ran a few searches on google and many people suggested upgrading to kernel 2.4.24 via Swaret. I did that and sound worked again.
 
Old 03-10-2004, 01:12 PM   #9
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,090

Rep: Reputation: 41
Quote:
Originally posted by flyfishin
That is and 'old' machine. Here is the only link at linux-laptop.net.

http://www.academ.com/presario1621.html

According to that it is an ESS sound card. Here is a link to ess driver at the alsa project site:

http://www.alsa-project.org/alsa-doc...hnology#matrix

My best guess is to try the ESS 18xx module found here:

http://www.alsa-project.org/alsa-doc...&module=es18xx

According to that link you should be able to run this series of commands and get your card up and running.

modprobe snd-es18xx
modprobe snd-pcm-oss
modprobe snd-mixer-oss
modprobe snd-seq-oss

If they all load correctly you should see them in the output of lsmod.
you probably want to make sure that soundcore (or snd) loads in that list as well.. I think it will atuomatically load with snd-es18xx though.
 
Old 03-10-2004, 01:57 PM   #10
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
Quote:
Originally posted by Ninja Cow
I had this same problem after running swaret about a month ago. I ran a few searches on google and many people suggested upgrading to kernel 2.4.24 via Swaret. I did that and sound worked again.
Good point. If swaret upgraded alsa then it might have removed the old alsa-driver package, which is the kernel modules, and installed new files. The old ones would have been somewhere down in /lib/modules/2.4.22 and the new ones would be in /lib/modules/2.4.24. On reboot the system would not have been able to modprobe the sound modules from /lib/modules/2.4.22 since they would be gone. An upgrade to kernel 2.4.24 and a reboot would have the modules loading from /lib/modules/2.4.24. Since the sound was working before an upgrade, upgrading the kernel to 2.4.24 would be the first thing to try if it isn't installed. What does the command uname -r show?
 
Old 03-10-2004, 09:49 PM   #11
rudefyet
LQ Newbie
 
Registered: Feb 2004
Distribution: Slackware, Fedora Core
Posts: 7

Rep: Reputation: 0
sometimes when swaret upgrades a kernel...it fails to install alsa properly the first time

do "swaret --reinstall alsa"

then reboot the kernel...or start your alsa script and see if it works...make sure to run alsamixer first because it will mute everything by default
 
Old 03-10-2004, 10:11 PM   #12
nvn
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242

Rep: Reputation: 30
Quote:
Originally posted by Frank_Drebin

lsmod shows:
tulip 41248
ds 6568
yenta_socket 9632
pcmia_core 38112
ide-scsi 8048
/me goes OT and gets chills running down his spine due to the lack of netfilter modules
 
Old 03-11-2004, 01:22 AM   #13
Ninja Cow
Member
 
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Rep: Reputation: 30
"swaret --reinstall alsa"

I tried doing that earlier when I updated to Slackware-current (kernel 2.4.25) but Swaret wouldn't install the packages at all...

So I did this:

cd /var/swaret

installpkg (all alsa packages)

Reboot

Run alsamixer as a normal user.

su

alsactl store

Reboot

Fixed

Note: If you cannot get sound in flash working, as root, use chmod a+rw /dev/dsp then run alsamixer and alsactl store again. Reboot.
 
Old 03-11-2004, 01:29 PM   #14
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
I tried everything above, and my sound still wouldn't work after I ran swaret. So I ran 'swaret --remove alsaX' (replace x with the name of the alsa package), then from the command promt I mounted slackware disk 1, and typed 'cd /mnt/cdrom/slackware/ap',
and ran './install-packages', and selected all alsa packages. Then I did the same for '/mnt/cdrom/slackware/l'. Then I ran 'alsaconf', 'alsamixer', and 'alsactl store', and I had sound back.
Noah
 
Old 03-11-2004, 01:49 PM   #15
Ninja Cow
Member
 
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Rep: Reputation: 30
Quote:
Originally posted by njbrain
I tried everything above, and my sound still wouldn't work after I ran swaret. So I ran 'swaret --remove alsaX' (replace x with the name of the alsa package), then from the command promt I mounted slackware disk 1, and typed 'cd /mnt/cdrom/slackware/ap',
and ran './install-packages', and selected all alsa packages. Then I did the same for '/mnt/cdrom/slackware/l'. Then I ran 'alsaconf', 'alsamixer', and 'alsactl store', and I had sound back.
Noah
Nice job, Noah. I am sure this will help others. =D

I tried the same thing when upgrading to current, though. Didn't fly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ran out of disk space during upgrade - broke system DyeKid Slackware 7 08-22-2005 09:12 PM
no more sound after swaret --upgrade -a Youri Linux - Software 3 05-16-2005 04:42 AM
Ran swaret now X won't start (Keyboard driver missing ?) Raptor Ramjet Slackware 6 09-26-2004 07:51 AM
help, lost sound support on upgrade from Sarge to Sid zero79 Debian 4 04-20-2004 11:40 PM
swaret upgrade has messed up alsa sound Vincent Slackware 3 12-06-2003 09:46 AM


All times are GMT -5. The time now is 09:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration