Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

no sound after compiling kernel 2.6.11.6

 
   Linux (Home) -> Slackware RSS
Next:  Digikam, imlib2: missing True Type Font Library??..  
Author Message
Noud Aldenhoven

External


Since: Jan 04, 2005
Posts: 3



(Msg. 1) Posted: Thu Apr 14, 2005 3:59 pm
Post subject: no sound after compiling kernel 2.6.11.6
Archived from groups: alt>os>linux>slackware (more info?)

Hello,

For the first time I successed to compile a linux kernel (from 2.4.26 to
2.6.11.6). Everything is working fine except from the sound module.
If I'm right I need the snd-op13sa2 module. So that's the modules I
compiled.

This what I got from lsmod.

root@linux:~# lsmod
Module Size Used by
snd_opl3_lib 9024 -
snd_hwdep 6816 -
snd_cs4231_lib 23520 -
snd_mpu401_uart 6208 -
snd_rawmidi 20000 -
snd_pcm_oss 48608 -
snd_pcm 84392 -
snd_page_alloc 7460 -
snd_mixer_oss 17376 -


There's only one module missing. (if I'm right)

root@linux:~# modprobe -c | grep opl3
alias pnp:cYMH0020dYMH0021* snd_opl3sa2
alias pnp:cYMH0030dYMH0021* snd_opl3sa2
alias pnp:cYMH0800dYMH0021* snd_opl3sa2
alias pnp:cYMH0801dYMH0021* snd_opl3sa2
alias pnp:cNMX2200dYMH2210* snd_opl3sa2
alias symbol:snd_opl3_create snd_opl3_lib
alias symbol:snd_opl3_timer_new snd_opl3_lib
alias symbol:snd_opl3_new snd_opl3_lib
alias symbol:snd_opl3_regmap snd_opl3_lib
alias symbol:snd_opl3_hwdep_new snd_opl3_lib
alias symbol:snd_opl3_init snd_opl3_lib
alias symbol:snd_opl3_reset snd_opl3_lib
alias symbol:snd_opl3_interrupt snd_opl3_lib

I don't understand all of this output but I thought I should use the
snd_op13sa2 module:
Code:
root@linux:~# modprobe snd_opl3sa2
FATAL: Error inserting snd_opl3sa2 (/lib/modules/2.6.11.6/kernel/sound/isa/snd-opl3sa2.ko): No such device
root@linux:~# cd /lib/modules/2.6.11.6/kernel/sound/isa/
root@linux:/lib/modules/2.6.11.6/kernel/sound/isa# insmod snd-opl3sa2.ko
insmod: error inserting 'snd-opl3sa2.ko': -1 No such device

emz... strange? What's wrong here? And how could I make my sound working
again?

Greetz,

Noud Aldenhoven
Back to top
Login to vote
MikeyD

External


Since: Dec 10, 2003
Posts: 150



(Msg. 2) Posted: Thu Apr 14, 2005 6:13 pm
Post subject: Re: no sound after compiling kernel 2.6.11.6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Noud Aldenhoven wrote in <pan.2005.04.14.13.59.43.329997.TakeThisOut@gmail.com>:

> Hello,
>
> For the first time I successed to compile a linux kernel (from 2.4.26 to
> 2.6.11.6). Everything is working fine except from the sound module.
> If I'm right I need the snd-op13sa2 module. So that's the modules I
> compiled.
>
> This what I got from lsmod.
>
> root@linux:~# lsmod
> Module Size Used by
> snd_opl3_lib 9024 -
> snd_hwdep 6816 -
> snd_cs4231_lib 23520 -
> snd_mpu401_uart 6208 -
> snd_rawmidi 20000 -
> snd_pcm_oss 48608 -
> snd_pcm 84392 -
> snd_page_alloc 7460 -
> snd_mixer_oss 17376 -
>
>
> There's only one module missing. (if I'm right)
>
> root@linux:~# modprobe -c | grep opl3
> alias pnp:cYMH0020dYMH0021* snd_opl3sa2
> alias pnp:cYMH0030dYMH0021* snd_opl3sa2
> alias pnp:cYMH0800dYMH0021* snd_opl3sa2
> alias pnp:cYMH0801dYMH0021* snd_opl3sa2
> alias pnp:cNMX2200dYMH2210* snd_opl3sa2
> alias symbol:snd_opl3_create snd_opl3_lib
> alias symbol:snd_opl3_timer_new snd_opl3_lib
> alias symbol:snd_opl3_new snd_opl3_lib
> alias symbol:snd_opl3_regmap snd_opl3_lib
> alias symbol:snd_opl3_hwdep_new snd_opl3_lib
> alias symbol:snd_opl3_init snd_opl3_lib
> alias symbol:snd_opl3_reset snd_opl3_lib
> alias symbol:snd_opl3_interrupt snd_opl3_lib
>
> I don't understand all of this output but I thought I should use the
> snd_op13sa2 module:
> Code:
> root@linux:~# modprobe snd_opl3sa2
> FATAL: Error inserting snd_opl3sa2
> (/lib/modules/2.6.11.6/kernel/sound/isa/snd-opl3sa2.ko): No such device
> root@linux:~# cd /lib/modules/2.6.11.6/kernel/sound/isa/
> root@linux:/lib/modules/2.6.11.6/kernel/sound/isa# insmod snd-opl3sa2.ko
> insmod: error inserting 'snd-opl3sa2.ko': -1 No such device
>
> emz... strange? What's wrong here? And how could I make my sound working
> again?
>
That implies op13sa2 is an ISA card. Are you sure this is right? If so, it
might need parameters for i/o and irq, try modinfo -p op13sa2 and then add
the appropriate parameters to /etc/modprobe.conf. If it's the wrong module,
try lsmod when booting back to the 2.4 and see if you can work out which is
for your sound card.
Back to top
Login to vote
Noud Aldenhoven

External


Since: Jan 04, 2005
Posts: 3



(Msg. 3) Posted: Thu Apr 14, 2005 8:33 pm
Post subject: Re: no sound after compiling kernel 2.6.11.6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 14 Apr 2005 18:13:48 +0100, MikeyD wrote:

> Noud Aldenhoven wrote in <pan.2005.04.14.13.59.43.329997 DeleteThis @gmail.com>:
>
>> Hello,
>>
>> For the first time I successed to compile a linux kernel (from 2.4.26 to
>> 2.6.11.6). Everything is working fine except from the sound module.
>> If I'm right I need the snd-op13sa2 module. So that's the modules I
>> compiled.
>>
>> This what I got from lsmod.
>>
>> root@linux:~# lsmod
>> Module Size Used by
>> snd_opl3_lib 9024 -
>> snd_hwdep 6816 -
>> snd_cs4231_lib 23520 -
>> snd_mpu401_uart 6208 -
>> snd_rawmidi 20000 -
>> snd_pcm_oss 48608 -
>> snd_pcm 84392 -
>> snd_page_alloc 7460 -
>> snd_mixer_oss 17376 -
>>
>>
>> There's only one module missing. (if I'm right)
>>
>> root@linux:~# modprobe -c | grep opl3
>> alias pnp:cYMH0020dYMH0021* snd_opl3sa2
>> alias pnp:cYMH0030dYMH0021* snd_opl3sa2
>> alias pnp:cYMH0800dYMH0021* snd_opl3sa2
>> alias pnp:cYMH0801dYMH0021* snd_opl3sa2
>> alias pnp:cNMX2200dYMH2210* snd_opl3sa2
>> alias symbol:snd_opl3_create snd_opl3_lib
>> alias symbol:snd_opl3_timer_new snd_opl3_lib
>> alias symbol:snd_opl3_new snd_opl3_lib
>> alias symbol:snd_opl3_regmap snd_opl3_lib
>> alias symbol:snd_opl3_hwdep_new snd_opl3_lib
>> alias symbol:snd_opl3_init snd_opl3_lib
>> alias symbol:snd_opl3_reset snd_opl3_lib
>> alias symbol:snd_opl3_interrupt snd_opl3_lib
>>
>> I don't understand all of this output but I thought I should use the
>> snd_op13sa2 module:
>> Code:
>> root@linux:~# modprobe snd_opl3sa2
>> FATAL: Error inserting snd_opl3sa2
>> (/lib/modules/2.6.11.6/kernel/sound/isa/snd-opl3sa2.ko): No such device
>> root@linux:~# cd /lib/modules/2.6.11.6/kernel/sound/isa/
>> root@linux:/lib/modules/2.6.11.6/kernel/sound/isa# insmod snd-opl3sa2.ko
>> insmod: error inserting 'snd-opl3sa2.ko': -1 No such device
>>
>> emz... strange? What's wrong here? And how could I make my sound working
>> again?
>>
> That implies op13sa2 is an ISA card. Are you sure this is right? If so, it
> might need parameters for i/o and irq, try modinfo -p op13sa2 and then add
> the appropriate parameters to /etc/modprobe.conf. If it's the wrong module,
> try lsmod when booting back to the 2.4 and see if you can work out which is
> for your sound card.

Well, I'm not sure if I have the right sound card, but I think I have.
Back to 2.4 (where I'm now, and about 5 minutes not anymore and back in
2.6) I got this result without running any sound aplications:

jwaixs@linux:~$ lsmod
Module Size Used by Not tainted
snd-pcm-oss 37736 0
snd-mixer-oss 12504 0 [snd-pcm-oss]
snd-opl3sa2 7560 0
snd-pnp 3168 0 [snd-opl3sa2]
snd-cs4231-lib 14604 0 [snd-opl3sa2]
isa-pnp 30736 0 [snd-opl3sa2 snd-pnp]
snd-opl3-lib 5892 0 [snd-opl3sa2]
snd-hwdep 4804 0 [snd-opl3-lib]
snd-mpu401-uart 3200 0 [snd-opl3sa2]
snd-rawmidi 12740 0 [snd-mpu401-uart]
snd-seq-device 3888 0 [snd-opl3-lib snd-rawmidi]
snd-pcm 56072 0 [snd-pcm-oss snd-opl3sa2 snd-cs4231-lib]
snd-timer 13604 0 [snd-cs4231-lib snd-opl3-lib snd-pcm]
snd-page-alloc 6328 0 [snd-cs4231-lib snd-pcm]
snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-opl3sa2 snd-cs4231-lib snd-opl3-lib snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device snd-pcm snd-timer]
soundcore 3396 6 [snd]
scanner 11040 0 (unused)
uhci 24444 0 (unused)
usbcore 59308 1 [scanner uhci]
8139too 14376 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
ide-scsi 9328 0
agpgart 43940 0 (unused)

and running sound appications:

jwaixs@linux:~$ lsmod
Module Size Used by Not tainted
snd-pcm-oss 37736 1
snd-mixer-oss 12504 0 [snd-pcm-oss]
snd-opl3sa2 7560 1
snd-pnp 3168 0 [snd-opl3sa2]
snd-cs4231-lib 14604 0 [snd-opl3sa2]
isa-pnp 30736 0 [snd-opl3sa2 snd-pnp]
snd-opl3-lib 5892 0 [snd-opl3sa2]
snd-hwdep 4804 0 [snd-opl3-lib]
snd-mpu401-uart 3200 0 [snd-opl3sa2]
snd-rawmidi 12740 0 [snd-mpu401-uart]
snd-seq-device 3888 0 [snd-opl3-lib snd-rawmidi]
snd-pcm 56072 0 [snd-pcm-oss snd-opl3sa2 snd-cs4231-lib]
snd-timer 13604 0 [snd-cs4231-lib snd-opl3-lib snd-pcm]
snd-page-alloc 6328 0 [snd-cs4231-lib snd-pcm]
snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-opl3sa2 snd-cs4231-lib snd-opl3-lib snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device snd-pcm snd-timer]
soundcore 3396 6 [snd]
scanner 11040 0 (unused)
uhci 24444 0 (unused)
usbcore 59308 1 [scanner uhci]
8139too 14376 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
ide-scsi 9328 0
agpgart 43940 0 (unused)

So I guess I need the snd-opl3sa2 modules... And I compiles the one who
looked the most to this one. (at least, they had the same name.)

Greetz,

Noud Aldenhoven
Back to top
Login to vote
nzx

External


Since: Apr 17, 2005
Posts: 1



(Msg. 4) Posted: Sun Apr 17, 2005 11:57 am
Post subject: Re: no sound after compiling kernel 2.6.11.6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Maybe sound devices are not created?

I'm using this temporary solution. I know it's not the right way (tm),
but i really don't have enough time to mess with udev. Any udev
experts around here?

Run snddevices script from alsa-driver
source package, try your sound.
If that works, you have to copy snddevices to /etc/rc.d (or wherever),
and add a line to your /etc/rc.d/rc.local script.

P.S.
I think that the same thing applies for any 2.6.x kernel

Message posted via:
=====================
www.linuxpackages.net/forum
www.linuxpackages.net
Expanding the world of Slackware
=====================
Back to top
Login to vote
BenneJezzerette

External


Since: Apr 18, 2005
Posts: 49



(Msg. 5) Posted: Sun Apr 17, 2005 11:57 am
Post subject: Re: no sound after compiling kernel 2.6.11.6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

nzx wrote:
> Maybe sound devices are not created?
>
> I'm using this temporary solution. I know it's not the right way (tm),
> but i really don't have enough time to mess with udev. Any udev
> experts around here?
>
> Run snddevices script from alsa-driver
> source package, try your sound.
> If that works, you have to copy snddevices to /etc/rc.d (or wherever),
> and add a line to your /etc/rc.d/rc.local script.
>
> P.S.
> I think that the same thing applies for any 2.6.x kernel
>
> Message posted via:
> =====================
> www.linuxpackages.net/forum
> www.linuxpackages.net
> Expanding the world of Slackware
> =====================
Hey, another one with sound issues. I finally got the Linux 2.6.11.7 to
work, but got CGA graphics on my console and the sound was garbled.
Going to recompile again and fix it, maybe. This is the second time I
have had it working, the first with the Network settings. The sound has
always been an issue though. Either not there or garbled sounding.
Back to top
Login to vote
Ciro The Spider-Man

External


Since: Sep 23, 2003
Posts: 49



(Msg. 6) Posted: Wed Apr 20, 2005 11:24 am
Post subject: Re: no sound after compiling kernel 2.6.11.6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 14 Apr 2005 20:33:07 +0200, Noud Aldenhoven mumbled:
>
>
> On Thu, 14 Apr 2005 18:13:48 +0100, MikeyD wrote:
>
>> Noud Aldenhoven wrote in <pan.2005.04.14.13.59.43.329997.TakeThisOut@gmail.com>:
>>
>>> Hello,
>>>
>>> For the first time I successed to compile a linux kernel (from 2.4.26 to
>>> 2.6.11.6). Everything is working fine except from the sound module.
>>> If I'm right I need the snd-op13sa2 module. So that's the modules I
>>> compiled.
>>>

>> That implies op13sa2 is an ISA card. Are you sure this is right? If so, it
>> might need parameters for i/o and irq, try modinfo -p op13sa2 and then add
>> the appropriate parameters to /etc/modprobe.conf. If it's the wrong module,
>> try lsmod when booting back to the 2.4 and see if you can work out which is
>> for your sound card.
>
> Well, I'm not sure if I have the right sound card, but I think I have.
> Back to 2.4 (where I'm now, and about 5 minutes not anymore and back in
> 2.6) I got this result without running any sound aplications:
>

Some obvious questions, to fill in the blanks in my head.

Is the actual card an ISA card?
When you rebuild the kernel from 2.4.x to 2.6, did you rebuild the ALSA
drivers?

If you did rebuild the alsa drivers, does alsaconf detect your card?


--
"It is best for man to be middle-wise,
Not over cunning and clever:
The learned man whose lore is deep
Is seldom happy at heart." -- The Havamal
Back to top
Login to vote
Display posts from previous:   
Related Topics:
kernel compiling error - Hi, I just wanted to check stg in the kernel config options, so as usual, in /usr/src/linux I've typed: make menuconfig the output was: ------------------------- HOSTCC scripts/basic/fixdep In file included from /usr/include/bits/posix1_lim.h:153, ...

Compiling SMP kernel - Hi, I'm planning to install Slackware-current on a core duo sata laptop. I will use the sata.i kernel, and afterwards recompile the kernel to enable SMP. Will it suffice to change # CONFIG_SMP is nor set to CONFIG_SMP=y in the config..

old kernelconfig file for compiling 2.6 kernel? - I have been reading some of the posts recently discussing new kernel and seems to be a worthwhile exercise to compile and boot new 2.6-test9 kernel. My question is can I just use my present kernelconfig file for compiling 2.6 kernel? or the difference..

compiling/installing a kernel on a sub-tree - Hello, I'm trying to build a subtree on my system, that could be exported for a diskless workstation. If I compile a new kernel, what is the comand/option to install the kernel, the modules (and the system map ?) to this place rather than on the root..

Seg fault when compiling kernel in 10.1 - I'm relatively new to Linux and very new to Slackware. I tried searching Google,but I couldn't find much. I have Slackware 10.0, with a fairly minimal console only installation on an old (133 mHz 48M RAM 15G HD) machine. The only major changes I've ...
       Linux (Home) -> Slackware All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact