You are not logged in.

#1 2005-12-20 01:00:59

RobK
Member
Registered: 2005-12-07
Posts: 121

New Kernel breaks Sound

I am running arch on my old Toshiba 4020CDT Laptop.  It uses an old Yamaha opl3sa2 ISA sound chipset. 

Sound was working fine under the 2.6.13 kernel. 

I just updated to the 2.6.14 kernel and the sound no longer works. 
I get an error "myarch opl3sa2: can't grab port 0x538"

This is baffling me.  My modprobe.cong file has not changed.  (I need to specify the port for the sound card manually here; otherwise the OS guesses wrong.  This is not unususal for ISA sound cards).

I also see all the needed modules when I do a lsmod.

Perhaps the initrd is messing things up...

Any iedas?

Rob

Offline

#2 2005-12-20 01:24:52

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: New Kernel breaks Sound

Alsaconf?

Offline

#3 2005-12-20 01:26:54

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: New Kernel breaks Sound

This guy apparently has it working:
http://bugs.archlinux.org/task/3609

Do you have the driver in MODULES?

Offline

#4 2005-12-20 01:52:36

RobK
Member
Registered: 2005-12-07
Posts: 121

Re: New Kernel breaks Sound

Thanks for post.   I was the one who posted bug report 3609.  It was a bug in the hwdetect script that was quickly fixed.  (Thank you arch linux team!). 

When bug 3609 was filed I was using the 2.6.13 kernel.

But when I upgraded to the 2.6.14 kernel, Sound stopped working.

Good News!!  I tracked down the problem with my sound.  The appropriate part of my original /etc/modprobe.conf that I used with the 2.6.13 kernel read as follows:

alias snd-card-0  snd-opl3sa2
alias sound-slot-0 snd-opl3sa2
options snd-opl3sa2 fm_port=-1 midi_port=-1 port=0x538 wss_port=0x530 isapnp=o dma1=1 dma2=0 irq=5

Notice that the options line is ALL one line. 

For some reason, the new kernel and initscripts do NOT like any line greater than 80 characters.  So I modified my modprobe.conf file as follows:

alias snd-card-0  snd-opl3sa2
alias sound-slot-0 snd-opl3sa2
options snd-opl3sa2 fm_port=-1 midi_port=-1 port=0x538 wss_port=0x530 options isapnp=o dma1=1 dma2=0 irq=5

Now sound works again.  VERY strange. 

So if anyone is having hardware problems with the new 2.6.14 kernel, check your modprobe file for any lines greater than 80 characters and modify accordingly.

Rob

Offline

#5 2005-12-20 01:55:50

RobK
Member
Registered: 2005-12-07
Posts: 121

Re: New Kernel breaks Sound

Opps.. There was a typoe in my last post.   I modified my /etc/modprobe.cong file to read as follows:

alias snd-card-0 snd-opl3sa2
alias sound-slot-0 snd-opl3sa2
options snd-opl3sa2 fm_port=-1 midi_port=-1 port=0x538wss_port=0x530
options isapnp=o dma1=1 dma2=0 irq=5

Instaed of one long options line, I have two.  That fixed the problem.

Rob

Offline

#6 2005-12-20 22:16:29

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: New Kernel breaks Sound

RobK wrote:

Thanks for post.   I was the one who posted bug report 3609.  It was a bug in the hwdetect script that was quickly fixed.  (Thank you arch linux team!).

Ah, well then.  Ahem.  smile

Now sound works again.  VERY strange.

Wow, that IS strange.  Lucky fix!

Offline

Board footer

Powered by FluxBB