Bug 119973 - [sound] [snd_maestro] [regression] snd_maestro only works after reload
Summary: [sound] [snd_maestro] [regression] snd_maestro only works after reload
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-25 09:00 UTC by kamikaze
Modified: 2015-01-16 15:25 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kamikaze 2008-01-25 09:00:04 UTC
The problem appeared after I csupped the latest RELENG_7 sources built
them yesterday. The previous build ~1 month old didn't have this problem.

When I boot the machine with snd_maestro_load="yes" in my loader.conf
audio autput only gets out as very silent noise. I have to turn my
amplifier volume up to a significant degree in order to distinguish it
from silence. If I kldunload the driver and kldload it again, the sound
works fine.

The soundcard is a Terratec SoundSystem DMX:
pcm0: <ESS Technology Maestro-2E> port 0x5400-0x54ff irq 11 at device 11.0 on pci2
pcm0: [ITHREAD]
pcm0: <SigmaTel STAC9704 AC97 Codec>
pcm0: agg_wrcodec() RW_DONE timed out.

After the second load the timeout does not occur. It reappears during
shutdown after all hard disks have been synced, right before the power
is turned off, so I'm not entirely certain it's the exact same message.

How-To-Repeat: Just boot up with an affected sound card. Whichever models might be
affected, I have no idea.
Comment 1 kamikaze 2008-01-26 19:10:51 UTC
A little correction is necessary. The line:

pcm0: agg_wrcodec() RW_DONE timed out.

only appears upon unloading the module.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2008-01-28 07:44:22 UTC
Responsible Changed
From-To: freebsd-i386->freebsd-multimedia

Over to maintainer(s).
Comment 3 Dominic Fandrey 2008-02-09 07:13:27 UTC
I've been looking weather there have been any changes in CVS, but the last 
version of snd_maestro.c was commited at a time when the driver still worked 
faultlessly for me. I am even listed as the person who successfully tested the 
latest change.

Anyway, all I can conclude is that it's a change somewhere else in the sound 
framework that causes my current problems. One that is not specific to maestro.
Comment 4 Dominic Fandrey 2008-02-15 07:37:59 UTC
I've just rebuilt RELENG_7. The problem persists. I hope this is not going 
into the release.
Comment 5 Greg Miller 2008-02-24 11:46:59 UTC
Sounds similar to, yet not the same as, a problem I posted about on 
freebsd-stable shortly before 6.3 was released. My Maestro-2E generates 
lots of "agg_rdcodec() RW_DONE timed out." messages on boot. Unloading 
and reloading the module doesn't help me. Nobody really seemed to know 
what caused it, and it persists in RELENG_6.
Comment 6 kamikaze 2008-03-03 20:54:13 UTC
I've been digging and I cannot find any cause. In the time frame the problem 
showed up, there have been no changes. I will, upon my next opportunity, try 
the card in another machine. Maybe a change /somewhere/ in the kernel 
triggered a bug in a certain hardware-combination.