LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-21-2004, 10:07 PM   #1
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Rep: Reputation: 30
Ensoniq soundcard and kernel 2.6.7, Other questions


I recently recompiled my kernel from 2.4.22 to 2.6.7. Now, I am having problems with getting my Ensoniq ES1317 [AudioPCI-97] soundcard to work. It is detected, at least it is showing that in the redhat-config-soundcard or whatever it is. But it says there is a problem with the loading of the driver and that it may not "Be compatible with Red Hat Linux". Also, my system is having a problem accessing /dev/mixer... When I recompiled the Kernel, I enabled soundcards, and I made sure my soundcard's driver was enabled, and I also enabled ALSA, I'm not sure if the latter is causing any problems? This was the first time I compiled the kernel and I also have a few questions on the side...When I run something like make gconfig and then save whatever configuration I have there, does it actually take that configuration into account? I don't get much by the way of confirmation...By the way, I am running Fedora Core 1. Possibly there is a problem with the PCI configuration? I am sure PCI was enabled correctly, and I also tried rebooting with acpi=force to see if that would possibly make a difference...Not better though. Also, has anyone tried the experimental Voodoo 3 acceleration in the 2.6.7 kernel? I enabled it, as I have a voodoo 3, and now my video is a little choppy at times and I am wondering if this is a side effect? Sorry for the multitude of questions...but if you can answer any of them, especially the sound card one, it would be most appreciated. Thanks

P.S. One thing I did notice about 2.6.7 is that is has a much faster boot time! Is this necessarily a good thing?

Last edited by techrolla; 06-21-2004 at 10:11 PM.
 
Old 06-21-2004, 11:11 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Do you have sysfs set up and mounted?
 
Old 06-21-2004, 11:27 PM   #3
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 658

Rep: Reputation: 30
have u installed the OSS (deprecated) modules while building the kernel ????
 
Old 06-22-2004, 12:24 AM   #4
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks for the responses...I'm sorry Aussie, I am not familiar with the sysfs, although I found the sysfs command or library function, it doesn't appear to be a filesystem, and all I could find on it was a man page, nothing else even after doing whereis, which, and find / -name. As to the OSS drivers, I assume you mean Open Sound System, the deprecated one. I did not to the best of my knowledge install this, however I did install the OSS mixer in ALSA. Also, how does the kernel building know which config file to use? Is it done automatically during one of the config makes? And, I reloaded some previous config files, and nothing seems to change in the gconfig, like something was set wrong or saved incorrectly...Thanks.

Also if this is helpful...Aumix has an error (I tried running it, as that always seems to fix sound problems) and it shows that /dev/mixer could not be accessed, same thing when trying to shutdown mixer during system shutdown.

P.S. Is sysfs related to hotplugging pci devices?

Last edited by techrolla; 06-22-2004 at 12:45 AM.
 
Old 06-22-2004, 12:47 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
The 2.6 kernel need sysfs to be mounted for modules to load correctly, the following will see it setup correctly (as root).
1) cd /
2) mkdir sys
3) edit /etc/fstab and add the following
Code:
none     /sys     sysfs     defaults     0   0
4) Reboot.

Last edited by Aussie; 06-22-2004 at 12:48 AM.
 
Old 06-22-2004, 12:54 AM   #6
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks alot, I will try that right now...And is sysfs a replacement for /procs?

http://deploylinux.typepad.com/main/..._is_sysfs.html
 
Old 06-22-2004, 01:07 AM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
It will be one day, along with devfs (not to be confused with /dev).
 
Old 06-22-2004, 01:12 AM   #8
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Original Poster
Rep: Reputation: 30
Sorry, but I wasn't successful with adding /sys to the fstab. My soundcard drivers were still unable to be loaded. I am thinking I should recompile the kernel (again). Do you have any suggestions as to some of my previous questions on the configuration, etc.? I know how to compile it and everything, the config part just seems odd as I recieve no confirmation as to whether or not my configuration is actually being used. Thanks.
 
Old 06-22-2004, 01:25 AM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Kernel modules will not load in 2.6 unless you have sys configured and mounted, building a new kernel will not help if you don't have sys working.
What exactly is stopping you from adding it to your /etc/fstab?
 
Old 06-22-2004, 01:27 AM   #10
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Original Poster
Rep: Reputation: 30
Sorry, I wasn't clear, I meant to say that adding it to fstab didn't help the problem. sysfs was mounted. Sorry.
 
Old 06-22-2004, 01:40 AM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Ah, ok.

Are you getting any error messages?
And what does "lspci -vv" have to say about the audio device?
 
Old 06-22-2004, 01:43 AM   #12
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Original Poster
Rep: Reputation: 30
This is what it says about it in the 2.4.22 kernel:

Code:
00:0e.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)
        Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort+ <MAbort- >SERR- <PERR-
        Latency: 96 (3000ns min, 32000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 1400 [size=64]
        Capabilities: <available only to root>
Let me reboot into 2.6.7 (I HAD to listen to my music )

EDIT: AND from in 2.6.7:
Code:
00:0e.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)
        Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 96 (3000ns min, 32000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 1400 [size=64]
        Capabilities: <available only to root>
And the PCI bridge:

Code:
 
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 128
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 00009000-00009fff
        Memory behind bridge: f6000000-f7ffffff
        Prefetchable memory behind bridge: fc000000-fdffffff
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+
And the only error messages I have recieved to date were the "Can't load ES1371 driver" and "can't open mixer"

Last edited by techrolla; 06-22-2004 at 01:52 AM.
 
Old 06-22-2004, 01:56 AM   #13
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Ok, in a terminal do "lsmod" (as root) and post the output.
 
Old 06-22-2004, 02:01 AM   #14
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Original Poster
Rep: Reputation: 30
Module Size Used by
soundcore 9152 -
ipv6 239584 -
8250 20608 -
serial_core 22212 -
lp 11752 -
autofs 15428 -
ipt_REJECT 6788 -
ipt_state 1956 -
ip_conntrack 34208 -
iptable_filter 2692 -
ip_tables 16416 -
sr_mod 18756 -
8139too 24932 -
mii 4900 -
ohci1394 34696 -
ieee1394 109784 -
floppy 58804 -
sg 37540 -
scsi_mod 122256 -
parport_pc 25056 -
parport 40488 -
microcode 6180 -
ide_cd 42788 -
cdrom 40160 -
 
Old 06-22-2004, 02:52 AM   #15
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Ok, now I want you to check for the presence of /etc/modprobe.conf and does it contain any entries if it is present?
 
  


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
Ensoniq AudioPCI soundcard not found or device busy... wiBo Linux - General 6 08-07-2004 04:57 AM
ALSA won't work with Creative Ensoniq 1371 on 2.6.4 kernel rosol11 Linux - Hardware 1 04-02-2004 10:00 AM
More Soundcard Questions kbeaver Linux - Hardware 5 07-14-2003 01:51 PM
Odd soundcard problem Ensoniq/Via smiley Linux - Hardware 1 06-15-2003 01:42 AM
two questions about soundcard locks Alexop Linux - General 2 08-21-2002 04:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:07 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
Open Source Consulting | Domain Registration