LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Ensoniq soundcard and kernel 2.6.7, Other questions (https://www.linuxquestions.org/questions/linux-hardware-18/ensoniq-soundcard-and-kernel-2-6-7-other-questions-196222/)

techrolla 06-21-2004 10:07 PM

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? :p

Aussie 06-21-2004 11:11 PM

Do you have sysfs set up and mounted?

vinay_s_s 06-21-2004 11:27 PM

have u installed the OSS (deprecated) modules while building the kernel ????

techrolla 06-22-2004 12:24 AM

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?

Aussie 06-22-2004 12:47 AM

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.

techrolla 06-22-2004 12:54 AM

Thanks alot, I will try that right now...And is sysfs a replacement for /procs?

http://deploylinux.typepad.com/main/..._is_sysfs.html

Aussie 06-22-2004 01:07 AM

It will be one day, along with devfs (not to be confused with /dev).

techrolla 06-22-2004 01:12 AM

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.

Aussie 06-22-2004 01:25 AM

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?

techrolla 06-22-2004 01:27 AM

Sorry, I wasn't clear, I meant to say that adding it to fstab didn't help the problem. sysfs was mounted. Sorry.

Aussie 06-22-2004 01:40 AM

Ah, ok.

Are you getting any error messages?
And what does "lspci -vv" have to say about the audio device?

techrolla 06-22-2004 01:43 AM

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"

Aussie 06-22-2004 01:56 AM

Ok, in a terminal do "lsmod" (as root) and post the output.

techrolla 06-22-2004 02:01 AM

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 -

Aussie 06-22-2004 02:52 AM

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


All times are GMT -5. The time now is 03:36 AM.