Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178243 - [2.6.21 regression] hda-intel/VIA silent output
Summary: [2.6.21 regression] hda-intel/VIA silent output
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL: http://bugzilla.kernel.org/show_bug.c...
Whiteboard: linux-2.6.21-regression
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-12 20:18 UTC by Grzegorz {NineX} Krzystek
Modified: 2007-05-25 02:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
.config (config,30.75 KB, text/plain)
2007-05-12 20:20 UTC, Grzegorz {NineX} Krzystek
Details
lspci (lspci,25.81 KB, text/plain)
2007-05-12 20:21 UTC, Grzegorz {NineX} Krzystek
Details
lsmod (lsmod,212 bytes, text/plain)
2007-05-12 20:22 UTC, Grzegorz {NineX} Krzystek
Details
dmesg (messages,15.02 KB, text/plain)
2007-05-12 20:25 UTC, Grzegorz {NineX} Krzystek
Details
amixer (amixer,1.76 KB, text/plain)
2007-05-12 21:18 UTC, Grzegorz {NineX} Krzystek
Details
amixer1 (amixer,1.53 KB, text/plain)
2007-05-12 21:20 UTC, Grzegorz {NineX} Krzystek
Details
dmesg-2.6.20-r8 (dmesg-2.6.20-r8,15.03 KB, text/plain)
2007-05-20 16:09 UTC, Grzegorz {NineX} Krzystek
Details
patch (hdavia.patch,1.12 KB, patch)
2007-05-20 18:00 UTC, Daniel Drake (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz {NineX} Krzystek 2007-05-12 20:18:22 UTC
on kernel-2.6.21 hda-intel dont plays audio
when i trye to play audio i see this error:

May 13 23:32:08 localhost hda-intel: Invalid position buffer, using LPIB read method instead.
my sound cMay 13 23:31:37 localhost hda_codec: Unknown model for ALC660VD/ALC861VD, trying auto-probe from BIOS...
May 13 23:31:37 localhost ALSA device list:
May 13 23:31:37 localhost #0: HDA VIA VT82xx at 0xfbffc000 irq 17
ard

when i fallback into kernel 2.6.20-r8 sound works fine!

emerge --info
Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.10
Timestamp of tree: Thu, 10 May 2007 12:30:10 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="* /etc /etc/conf.d /etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl           http://gentoo.po.opole.pl               http://distfiles.gentoo.org             http://www.ibiblio.org/pub/Linux/distributions/gentoo         http://dev.gentoo.org"
LINGUAS="pl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acpi alsa amd64 arts audacious bash-completion bzip2 cdparanoia chardet cups dbus deprecated devil dga discouraged divx dri dts dv dvd dvdr dvdread encode exif fbcon ffmpeg gif gnutls gpm hal iconv idea ieee1394 ipv6 java jpeg jpeg2k kde kdeenablefinal logitech-mouse logrotate lzo mad midi mmx mmxext mng mp3 mpeg ncurses network-cron nls no-old-linux nptl nptlonly nsplugin ogg opengl pam pcre pdf perl plugins png ppds python qt3 rar slang spell sse sse2 ssl svg symlink test theora threads tiff truetype unicode voice vorbis wma wmf wmp x264 xanim xorg xscreensaver xv xvid zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Reproducible: Always
Comment 1 Grzegorz {NineX} Krzystek 2007-05-12 20:20:17 UTC
Created attachment 119041 [details]
.config
Comment 2 Grzegorz {NineX} Krzystek 2007-05-12 20:21:44 UTC
Created attachment 119043 [details]
lspci

lspci -bvv output
Comment 3 Grzegorz {NineX} Krzystek 2007-05-12 20:22:06 UTC
Created attachment 119044 [details]
lsmod
Comment 4 Grzegorz {NineX} Krzystek 2007-05-12 20:25:42 UTC
Created attachment 119046 [details]
dmesg
Comment 5 Jeremy K. Truax 2007-05-12 20:38:31 UTC
Can you try booting your kernel with the acpi=off argument and see if that has the same results?
Comment 6 Jeremy K. Truax 2007-05-12 21:05:56 UTC
Also when booting with ACPI enabled, can you show the output of:

amixer scontents
Comment 7 Grzegorz {NineX} Krzystek 2007-05-12 21:16:54 UTC
(In reply to comment #6)
> Also when booting with ACPI enabled, can you show the output of:
> 
> amixer scontents
> 

with acpi=off same effect
Comment 8 Grzegorz {NineX} Krzystek 2007-05-12 21:18:28 UTC
Created attachment 119049 [details]
amixer

amixer scontents when booted acpi=off
Comment 9 Grzegorz {NineX} Krzystek 2007-05-12 21:20:20 UTC
Created attachment 119051 [details]
amixer1

amixer output when system booted without acpi=off
Comment 10 Jeremy K. Truax 2007-05-12 21:26:07 UTC
If a dev could please review the following upstream bug: 

http://bugzilla.kernel.org/show_bug.cgi?id=8273

I think it is directly related to this bug. 

The amixer scontents output matches the upstream bug in that there is no 'Master' control.
Comment 11 Grzegorz {NineX} Krzystek 2007-05-12 21:36:10 UTC
(In reply to comment #10)
> If a dev could please review the following upstream bug: 
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=8273
> 
> I think it is directly related to this bug. 
> 
> The amixer scontents output matches the upstream bug in that there is no
> 'Master' control.
> 
yes it's the same bug
Comment 12 Jeremy K. Truax 2007-05-12 22:00:27 UTC
Once verified, could a Dev please add the following:

1. Status Whiteboard: watch-linux-bugzilla
2. URL: http://bugzilla.kernel.org/show_bug.cgi?id=8273

At that point, we'll watch the upstream bug.

Comment 13 Daniel Drake (RETIRED) gentoo-dev 2007-05-13 19:56:10 UTC
Gregorz, what happens when you try and play a sound? The messages you listed in comment #0 appear during boot.

When you try and play a sound, does your audio app give an error message? Or does everything seem to function as normal, except that you can't hear anything?
Comment 14 Daniel Drake (RETIRED) gentoo-dev 2007-05-13 19:58:42 UTC
Which kernel is the dmesg output in comment #4 from? I'm interested to see dmesg output from the working 2.6.20 kernel.

Jeremy, nice find, that appears to be the same bug.
Comment 15 Daniel Drake (RETIRED) gentoo-dev 2007-05-20 04:29:24 UTC
Grzegorz, this is currently our only completely unsolved 2.6.21 regression. I'd really appreciate the info requested in the above 2 comments so that we can feed more info upstream. Thanks in advance.
Comment 16 Grzegorz {NineX} Krzystek 2007-05-20 16:05:22 UTC
(In reply to comment #13)
> Gregorz, what happens when you try and play a sound? The messages you listed in
> comment #0 appear during boot.
> 
> When you try and play a sound, does your audio app give an error message? Or
> does everything seem to function as normal, except that you can't hear
> anything?
> 
no errors given by audio apps it looks like audio is mutted...
Comment 17 Grzegorz {NineX} Krzystek 2007-05-20 16:07:16 UTC
(In reply to comment #14)
> Which kernel is the dmesg output in comment #4 from? I'm interested to see
> dmesg output from the working 2.6.20 kernel.
> 
> Jeremy, nice find, that appears to be the same bug.
> 

this is dmesg from gentoo-sources-2.6.21
Comment 18 Grzegorz {NineX} Krzystek 2007-05-20 16:09:28 UTC
Created attachment 119819 [details]
dmesg-2.6.20-r8

heare isw gentoo-sources-2.6.20-r8 dmesg. on 2.6.20-r8 intel-hda driver works fine :>
Comment 19 Daniel Drake (RETIRED) gentoo-dev 2007-05-20 17:34:35 UTC
Thanks for the info. One more question: which hardware are you using here, specifically which mainboard?

I suggest you create a kernel bugzilla account if you don't already have one, and add yourself to the CC list of the upstream bug so that you are notified when patches are available (or more info is needed). If not, I'll try and do my best to notify you on this bug when something happens, but no promises...
Comment 20 Daniel Drake (RETIRED) gentoo-dev 2007-05-20 18:00:06 UTC
Created attachment 119825 [details, diff]
patch

Please apply this patch to 2.6.21 and see if it fixes the problem.
Comment 21 Grzegorz {NineX} Krzystek 2007-05-20 19:18:06 UTC
(In reply to comment #20)
> Created an attachment (id=119825) [edit]
> patch
> 
> Please apply this patch to 2.6.21 and see if it fixes the problem.
> 

Works for me ! :D
Thanks Daniel
Comment 22 Daniel Drake (RETIRED) gentoo-dev 2007-05-20 20:56:11 UTC
Thanks for the quick testing, sent that upstream
Comment 23 Daniel Drake (RETIRED) gentoo-dev 2007-05-24 00:39:49 UTC
accepted into ALSA tree
Comment 24 Daniel Drake (RETIRED) gentoo-dev 2007-05-25 02:42:16 UTC
Fixed in gentoo-sources-2.6.21-r2 (genpatches-2.6.21-3)