LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
 
Search this Thread
Old 05-09-2014, 04:24 PM   #1
teleguy
LQ Newbie
 
Registered: May 2014
Posts: 17

Rep: Reputation: Disabled
Question ESS 1868 soundcard issues with Lubuntu


I recently installed Lubuntu 13.10 on an old Pentium III with an ESS 1868 Audio Drive (Isa Soundcard). The card works fine in Windows XP but not in Linux.

The modprobe commands did nothing so I added snd_es18xx to /etc/modules however when Lubuntu boots it displays this message:

es18xx unable to assign resources
es18xx PnP configure failure (out of resources?)

So I went into the Bios and disabled "PnP OS" so that the card is configured by the Bios. After that there's no message anymore. However one of two things will happen:

1. As soon as the desktop and the mouse cursor show up a faint cackling sound is heard from the speakers and the entire system freezes.

2. Lubuntu boots successfully. When I move the volume control up and down or click on the mute button faint static can be heard. Aplay -L lists the soundcard as installed. Then I try to play a soundfile or a CD and the entire system freezes again. Once or twice I managed to actually play a CD but it sounded horrible, like Midi music of an old Dos game.


The next thing I tried is turning on "PnP OS" again and disabling the onboard serial and USB ports to free up resources. The results were 100% identical to disabling "PnP OS".

Any ideas what else I could do?
 
Old 05-10-2014, 12:54 PM   #2
ondoho
Senior Member
 
Registered: Dec 2013
Distribution: arch linux / crunchbang
Posts: 1,270

Rep: Reputation: 178Reputation: 178
Quote:
Originally Posted by teleguy View Post
The card works fine in Windows XP
yes but try installing windows xp on that computer, you won't have sound either.

but that's not so important.

please remove all that you added to /etc or anywhere else and try to get the system back to its original state (before you started meddling) and lets go about this logically.

1)
where did you get the idea that copying these files to /etc would help?
maybe there's something good in it.

2)
a quick websearch gives me the impression that even 10 years ago your sound card was somewhat problematic and rare.

3)
please post the output of following terminal commands:
"lsmod"
"lspci"

4)
why on earth did you install 13.10 and not 14.04?
 
Old 05-10-2014, 01:15 PM   #3
teleguy
LQ Newbie
 
Registered: May 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks for your reply.

Windows XP is already installed on that computer with working sound.

1)I read about it in various forums. I'll look if I can still find it in browser history.

2) No idea.

3) I don't have the computer at home but I'll be able to post it on monday.

4) That was a few weeks ago, before 14.04 come out.
 
Old 05-10-2014, 03:07 PM   #4
teleguy
LQ Newbie
 
Registered: May 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
I didn't find the original forum posts but this guide is pretty similar.

http://www.pc-freak.net/blog/configu...xubuntu-linux/
 
Old 05-12-2014, 02:51 AM   #5
teleguy
LQ Newbie
 
Registered: May 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
This is the output with the snd-es18xx line:
Code:
Module                  Size  Used by
zram                   18070  1 
vesafb                 13500  1 
parport_pc             31981  1 
ppdev                  17391  0 
rfcomm                 53664  0 
microcode              18830  0 
bnep                   18893  2 
bluetooth             323534  10 bnep,rfcomm
mac_hid                13037  0 
ttm                    71886  0 
psmouse                90642  0 
serio_raw              13189  0 
drm_kms_helper         46867  0 
i2c_viapro             13096  0 
ohci_pci               13305  0 
drm                   242354  2 ttm,drm_kms_helper
snd_es18xx             33845  1 
snd_mpu401_uart        13865  1 snd_es18xx
i2c_algo_bit           13197  0 
snd_opl3_lib           18651  1 snd_es18xx
snd_hwdep              13272  1 snd_opl3_lib
snd_pcm                89488  1 snd_es18xx
snd_page_alloc         14230  1 snd_pcm
snd_seq_midi           13132  0 
snd_seq_midi_event     14475  1 snd_seq_midi
shpchp                 32129  0 
snd_rawmidi            25094  2 snd_mpu401_uart,snd_seq_midi
snd_seq                55383  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14137  4 snd_seq,snd_rawmidi,snd_opl3_lib,snd_seq_midi
snd_timer              24447  3 snd_pcm,snd_seq,snd_opl3_lib
snd                    60790  12 snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_mpu401_uart,snd_seq_device,snd_es18xx,snd_opl3_lib,snd_seq_midi
soundcore              12600  1 snd
lp                     13299  0 
parport                40795  3 lp,ppdev,parport_pc
pata_acpi              12886  0 
8139too                32530  0 
8139cp                 27038  0 
mii                    13654  2 8139cp,8139too
pata_via               13407  3
Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 22)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 09)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:07.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 02)
00:07.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management
00:09.0 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.1 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.2 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.3 USB controller: ULi Electronics Inc. USB 2.0 Controller (rev 01)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation NV17 [GeForce4 MX 440] (rev a3)

Last edited by teleguy; 05-12-2014 at 03:39 AM.
 
Old 05-12-2014, 03:00 AM   #6
teleguy
LQ Newbie
 
Registered: May 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
And this without:

Code:
Module                  Size  Used by
zram                   18070  1 
vesafb                 13500  1 
parport_pc             31981  1 
ppdev                  17391  0 
microcode              18830  0 
bnep                   18893  2 
rfcomm                 53664  0 
bluetooth             323534  10 bnep,rfcomm
mac_hid                13037  0 
psmouse                90642  0 
serio_raw              13189  0 
ttm                    71886  0 
drm_kms_helper         46867  0 
ohci_pci               13305  0 
i2c_viapro             13096  0 
drm                   242354  2 ttm,drm_kms_helper
i2c_algo_bit           13197  0 
shpchp                 32129  0 
lp                     13299  0 
parport                40795  3 lp,ppdev,parport_pc
pata_acpi              12886  0 
8139too                32530  0 
8139cp                 27038  0 
mii                    13654  2 8139cp,8139too
pata_via               13407  3
Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 22)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 09)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:07.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 02)
00:07.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management
00:09.0 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.1 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.2 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.3 USB controller: ULi Electronics Inc. USB 2.0 Controller (rev 01)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation NV17 [GeForce4 MX 440] (rev a3)
 
Old 05-12-2014, 12:48 PM   #7
ondoho
Senior Member
 
Registered: Dec 2013
Distribution: arch linux / crunchbang
Posts: 1,270

Rep: Reputation: 178Reputation: 178
i don't know about the bios setting "PnP OS" or what it means.

the link you posted talks about 2 modules.
please test it manually first:
Code:
For one time test of sound card driver, I tested by running:
# /sbin/modprobe -v snd-es18xx
# /sbin/modprobe -v snd-sb16
these commands probably have to be run with sudo.
and don't forget to turn up hte sliders in alsamixer.
do you get more than a faint crackling? does the system still freeze?
post the output of these commands.

edit: how do you know you have that soundcard?
 
1 members found this post helpful.
Old 05-13-2014, 05:26 AM   #8
teleguy
LQ Newbie
 
Registered: May 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Code:
sudo /sbin/modprobe -v snd-es18xx
insmod /lib/modules/3.11.0-12-generic/kernel/sound/soundcore.ko 
install /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; } 
insmod /lib/modules/3.11.0-12-generic/kernel/sound/core/snd.ko 
insmod /lib/modules/3.11.0-12-generic/kernel/sound/core/snd-page-alloc.ko 
install /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; } 
insmod /lib/modules/3.11.0-12-generic/kernel/sound/core/snd-pcm.ko 
insmod /lib/modules/3.11.0-12-generic/kernel/sound/core/snd-hwdep.ko 
insmod /lib/modules/3.11.0-12-generic/kernel/sound/drivers/opl3/snd-opl3-lib.ko 
insmod /lib/modules/3.11.0-12-generic/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko 
insmod /lib/modules/3.11.0-12-generic/kernel/sound/isa/snd-es18xx.ko 

sudo /sbin/modprobe -v snd-sb16
insmod /lib/modules/3.11.0-12-generic/kernel/sound/isa/sb/snd-sb-common.ko 
insmod /lib/modules/3.11.0-12-generic/kernel/sound/isa/sb/snd-sb16-dsp.ko 
insmod /lib/modules/3.11.0-12-generic/kernel/sound/isa/sb/snd-sb16-csp.ko 
insmod /lib/modules/3.11.0-12-generic/kernel/sound/isa/sb/snd-sb16.ko
This way it works a little better. A CD now provides properly sounding music. However after playing for a while the system freezes again.
I can't open alsamixer. I can not find it in the menus and if I type "alsamixer" in the terminal it says it can't find the file or folder. Pulseaudio works though.

Quote:
how do you know you have that soundcard?
That's how Windows calls it. The name "ESS ES1868 Plug and Play AudioDrive" also shows up on the POST screen and when I run dmesg.

Last edited by teleguy; 05-13-2014 at 05:47 AM.
 
Old 05-13-2014, 03:26 PM   #9
ondoho
Senior Member
 
Registered: Dec 2013
Distribution: arch linux / crunchbang
Posts: 1,270

Rep: Reputation: 178Reputation: 178
aaah, dmesg.

anyhow, the modprobe commands don't return any error or even warning.
you can try to troubleshoot by looking at /var/log/Xorg* log files after the crash/freeze - there's a small problem: the file Xorg.0.log is for the running session, and one of the others is for the previous session, but i don't know which one.

when the freeze occurs, what happens when you press ctrl+alt+F3? do you get to a login terminal, can you login as your normal user?
if yes, type "top" and see what's eating your resources.

you must try to find more info on your setup. i can't lead you through this, i don't have this kind of experience or hardware.
 
Old 05-14-2014, 05:40 AM   #10
teleguy
LQ Newbie
 
Registered: May 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks for helping me this far!



Anyway the system doesn't respond to ctrl+alt+F3.

I found only one other Xorg file (Xorg.0.log.old). Is that it?

Doesn't seem to have anything related to that crash in it.
Attached Files
File Type: txt Xorg.0.log.txt (73.8 KB, 9 views)
 
Old 05-14-2014, 12:52 PM   #11
ondoho
Senior Member
 
Registered: Dec 2013
Distribution: arch linux / crunchbang
Posts: 1,270

Rep: Reputation: 178Reputation: 178
Quote:
Originally Posted by teleguy View Post
I found only one other Xorg file (Xorg.0.log.old). Is that it?
as i said, i don't know.
maybe post both of them!
and tell me about the timeline - like, "the xsession was running for 6 minutes, then the crash/freeze occured while i listened to a cd, and after 2 min i did a hard reset" (pressing power button for 5+ sec). something like that.

incidentally, it seems you installed the proprietary nvidia (graphics) driver, but the system is not using it. it uses nouveau instead. which is totally ok, just a piece of info i managed to glean from your log file.

oh, btw, are you always doing the modprobes manually now or have you added both modules to /etc/(wherewasit), so that they really get loaded at bootup?
you can verify that with "lsmod".
this is crucial information to interpreting the log files.
are the freezes only happening when you actually play sound?

from your previous post with the modprobes i'd say that the modules/drivers get loaded ok (no errors) but they're simply not working properly. maybe they can be configured.

Last edited by ondoho; 05-14-2014 at 12:54 PM.
 
Old 06-17-2014, 04:50 AM   #12
teleguy
LQ Newbie
 
Registered: May 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Sorry for not responding sooner, I was busy with other projects.

Here are the logfiles. The freeze occured while playing a CD about 6 minutes after Lubuntu finished booting.

I'm still using the modprobe commands. The freezes are always related to sounds being played.

I tried configuring the soundcard like this:

sudo modprobe snd-es18xx isapnp=0 port=0x220 mpu_port=0x300 irq=7 dma1=0 dma2=1

either using the same resources as in windows or values that worked for other people but dmesg shows the card always defaulting to the same settings. Sometimes it says something like "unable to grap irq 7" but even when it doesn't the resources I assign are totally ignored.
Attached Files
File Type: txt Xorg.0.log.txt (28.7 KB, 1 views)
File Type: txt Xorg.0.log.old.txt (28.7 KB, 1 views)
 
  


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
Getting sound in slackware 9.1 with a ess 1868 onboard chip! HELP! toolfan Slackware - Installation 6 05-19-2004 06:21 PM
anyone gotten the ESS 1868 card working? kleptophobiac Linux - Hardware 10 11-09-2003 06:53 PM
ESS 1868 audio on RH aldaco Linux - Hardware 2 10-31-2003 09:58 AM
Trouble configuring ISAPnP modem and ESS soundcard. buddha Linux - Newbie 0 09-12-2003 09:37 AM
ESS Maestro 3M Modem & Soundcard ugge Linux - General 1 01-28-2001 12:00 PM


All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration