Bug 389521
Summary: | Unstable sound, FC8, kernel: codec_read 0: semaphore is not ready for register 0x2c | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Wolfgang Rauchholz <wp.rauchholz> | ||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 8 | CC: | hdegoede | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-11-29 21:43:54 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Wolfgang Rauchholz
2007-11-18 17:38:03 UTC
Created attachment 263001 [details]
system messages file
Reassigned to kernel. Anyway, please consider to report it to ALSA project (www.alsa-project.org), they're authors of ALSA linux sound system. I forgot initially to tell that sound worked stable under Ubuntu 7.x I made some further investigation using the script: http://bulletproof.servebeer.com/alsa/scripts/alsa-info.sh which lists also the loaded modules. When sound is not working, there are 4 modules not loaded: vfat, fat, usb_storage and usblp Please attach the contents of /etc/modprobe.conf to this bugzilla. Booted the computer and I can hear no sound. I went to sound card detection and played the test sound with known result; no sound. The screen shows the following info: Vendor: Intel Corporation Model: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03) Module: snd-intel8x0 ... PCM device: Intel 82801DB-ICH4 1. alsamixer Card: PulseAudio Chip: PulseAudio View: [Playback] Capture All Item: Master There is one bar in the center of the screen. From the bottom to top the values are: <Master>, 65<>65, 00 The channel is not muted. 2. [root@MGPRJRWR ~]# /sbin/lsusb Bus 001 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 002: ID 046d:c517 Logitech, Inc. Bus 002 Device 001: ID 0000:0000 3. [root@MGPRJRWR ~]# yum install alsa-lib Setting up Install Process Parsing package install arguments Package alsa-lib - 1.0.15-1.fc8.i386 is already installed. Nothing to do [root@MGPRJRWR ~]# rpm -q alsa-lib alsa-lib-1.0.15-1.fc8 4. [root@MGPRJRWR ~]# aplay /usr/lib/firefox-2.0.0.9/res/samples/test.wav Playing WAVE '/usr/lib/firefox- 2.0.0.9/res/samples/test.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono [root@MGPRJRWR ~]# aplay /usr/lib/openoffice.org/share/gallery/sounds/horse.wav Playing WAVE '/usr/lib/openoffice.org/share/gallery/sounds/horse.wav' : Signed 16 bit Little Endian, Rate 11025 Hz, Mono .....but I hear no no sound 5. [root@MGPRJRWR ~]# more /etc/modprobe.conf alias eth0 8139too alias scsi_hostadapter libata alias scsi_hostadapter1 ata_piix alias eth1 ipw2200 alias snd-card-0 snd-intel8x0 options snd-card-0 index=0 options snd-intel8x0 index=0 6. [root@MGPRJRWR ~]# cat /proc/asound/cards 0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4 Intel 82801DB-ICH4 with VIA1612A at irq 9 7. extract from /vat/log/messages ... Nov 28 08:13:27 MGPRJRWR kernel: agpgart: Detected an Intel 855PM Chipset. ... Nov 28 08:13:27 MGPRJRWR kernel: intel_rng: FWH not detected ... Nov 28 08:13:27 MGPRJRWR kernel: intel8x0_measure_ac97_clock: measured 50940 usecs Nov 28 08:13:27 MGPRJRWR kernel: intel8x0: clocking to 48000 Nov 28 08:13:27 MGPRJRWR kernel: Unable to initialize codec #0 But I also found these messages in the same file Nov 28 08:28:04 MGPRJRWR kernel: codec_write 0: semaphore is not ready for register 0x2 Nov 28 08:28:05 MGPRJRWR kernel: codec_write 0: semaphore is not ready for register 0x2 Nov 28 08:30:55 MGPRJRWR kernel: codec_write 0: semaphore is not ready for register 0x2 Nov 28 08:30:55 MGPRJRWR kernel: codec_write 0: semaphore is not ready for register 0x2 Nov 28 08:30:56 MGPRJRWR kernel: codec_read 0: semaphore is not ready for register 0x2c Nov 28 08:38:19 MGPRJRWR pulseaudio[2264]: module-alsa-sink.c: Error opening PCM device hw:0: Device or resource busy Nov 28 08:38:36 MGPRJRWR pulseaudio[2264]: module-alsa-sink.c: Error opening PCM device hw:0: Device or resource busy Nov 28 08:54:04 MGPRJRWR kernel: codec_read 0: semaphore is not ready for register 0x2c Nov 28 08:54:04 MGPRJRWR kernel: codec_read 0: semaphore is not ready for register 0x2c; this record was created when plying the the test sound in sound card detection. Can you try blacklisting the modem driver? Just add the following line to /etc/modprobe.d/blacklist: blacklist snd-intel8x0m Made this change and booted the laptop 10 times aprox. Sound was always working. Seems to have fixed the problem. Thanks The modem needs to be loaded after the sound driver for everything to work properly. So if you want to use the modem this should work instead (all on one line in modprobe.conf): install snd-intel8x0m { /sbin/modprobe snd-intel8x0; } ; /sbin/modprobe --first-time --ignore-install snd-intel8x0m Closing as not a bug since it's a config issue. (In reply to comment #8) > The modem needs to be loaded after the sound driver for everything to work > properly. So if you want to use the modem this should work instead (all on one > line in modprobe.conf): > > install snd-intel8x0m { /sbin/modprobe snd-intel8x0; } ; /sbin/modprobe > --first-time --ignore-install snd-intel8x0m > > Closing as not a bug since it's a config issue. Short intro: I'm a Fedora contributer doing some kernel bug triaging, Chuck I don't think that closing this as not a bug is correct, things do not work out of the box, so atleast it should be reassigned to another Fedora component to get properly fixed there. Also if snd-intel8x0m must always be loaded after snd-intel8x0, then I believe this is best fixed in the kernel, by making snd-intel8x0m depend on a symbol defined in snd-intel8x0, or am I thinking to simple here? |