Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292921 - pulseaudio-0.9.15-r2 and snd_hda_intel.ko reports "Too big adjustment 32"
Summary: pulseaudio-0.9.15-r2 and snd_hda_intel.ko reports "Too big adjustment 32"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 14:44 UTC by John Klug
Modified: 2011-05-18 04:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Klug 2009-11-12 14:44:38 UTC
My kernel is 2.6.30-gentoo-r5.  Here are alsa levels:
[I--] [  ] media-libs/alsa-lib-1.0.20-r1 (0)
[I--] [  ] media-libs/alsa-oss-1.0.17 (0)
[I--] [  ] media-plugins/alsa-plugins-1.0.20 (0)
[I--] [  ] media-sound/alsa-headers-1.0.20 (0)
[I--] [  ] media-sound/alsa-utils-1.0.20-r5 (0.9)

When starting pulseaudio the following messages are dumped to /var/log/messages:

Nov 12 08:18:14 tvscribe pulseaudio[8258]: udev-util.c: Failed to get card object.
Nov 12 08:18:14 tvscribe pulseaudio[8258]: udev-util.c: Failed to get card object.
Nov 12 08:18:14 tvscribe pulseaudio[8258]: udev-util.c: Failed to get card object.
Nov 12 08:18:14 tvscribe pulseaudio[8258]: module-alsa-card.c: Failed to find a working profile.
Nov 12 08:18:14 tvscribe pulseaudio[8258]: module.c: Failed to load  module "module-alsa-card" (argument: "device_id=1 name=pci_14f1_8801 card_name=alsa_card.pci_14f1_8801 tsched=1"): initialization failed.
Nov 12 08:18:14 tvscribe pulseaudio[8258]: udev-util.c: Failed to get card object.
Nov 12 08:18:14 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:14 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:14 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:15 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:15 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:15 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:15 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:15 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:15 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:15 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:15 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:15 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:15 tvscribe kernel: Too big adjustment 32
Nov 12 08:18:16 tvscribe pulseaudio[8258]: udev-util.c: Failed to get card object.
Nov 12 08:18:16 tvscribe pulseaudio[8258]: udev-util.c: Failed to get card object.
Nov 12 08:18:16 tvscribe pulseaudio[8258]: module-zeroconf-publish.c: avahi_entry_group_add_service_strlst(): Local name collision
Nov 12 08:18:16 tvscribe pulseaudio[8258]: module-zeroconf-publish.c: avahi_entry_group_add_service_strlst(): Local name collision

Pulseaudio seems to work just fine for me.  This is just an annoyance.

I currently only use iec958 (SPDIF):
set-default-sink alsa_output.iec958_0
Comment 1 David Abbott (RETIRED) gentoo-dev 2009-11-21 00:55:14 UTC
When you say,
"When starting pulseaudio"
How are you starting pulseaudio?
Comment 2 John Klug 2009-11-23 02:15:03 UTC
/etc/init.d/pulseaudio start


What I see in /var/log/messages:

Nov 22 20:11:53 tvscribe pulseaudio[683]: udev-util.c: Failed to get card object.
Nov 22 20:11:53 tvscribe pulseaudio[683]: udev-util.c: Failed to get card object.
Nov 22 20:11:53 tvscribe pulseaudio[683]: udev-util.c: Failed to get card object.
Nov 22 20:11:53 tvscribe pulseaudio[683]: module-alsa-card.c: Failed to find a working profile.
Nov 22 20:11:53 tvscribe pulseaudio[683]: module.c: Failed to load  module "module-alsa-card" (argument: "device_id=1 name=pci_14f1_8801 card_name=alsa_card.pci_14f1_8801 tsched=1"): initialization failed.
Nov 22 20:11:53 tvscribe pulseaudio[683]: udev-util.c: Failed to get card object.
Nov 22 20:11:53 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:53 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:53 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:53 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:53 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:53 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:53 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:54 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:54 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:54 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:54 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:54 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:54 tvscribe kernel: Too big adjustment 32
Nov 22 20:11:54 tvscribe pulseaudio[683]: udev-util.c: Failed to get card object.
Nov 22 20:11:54 tvscribe pulseaudio[683]: udev-util.c: Failed to get card object.
Nov 22 20:11:54 tvscribe pulseaudio[683]: module-zeroconf-publish.c: avahi_entry_group_add_service_strlst(): Local name collision
Nov 22 20:11:54 tvscribe pulseaudio[683]: module-zeroconf-publish.c: avahi_entry_group_add_service_strlst(): Local name collision



tvscribe init.d # ps -fp 683
UID        PID  PPID  C STIME TTY          TIME CMD
pulse      683     1  0 20:11 ?        00:00:00 /usr/bin/pulseaudio --high-priority=1 --system=1 --disallow-module-loading=1
Comment 3 David Abbott (RETIRED) gentoo-dev 2009-11-23 02:39:36 UTC
You should not run PA in system mode.
http://www.pulseaudio.org/wiki/WhatIsWrongWithSystemMode
Here is how I use it if it is any help;
http://forums.gentoo.org/viewtopic-t-789181.html
Comment 4 John Klug 2009-11-27 22:38:52 UTC
I killed off the pulse daemon.  Now it is running as the same user as the client programs (not root).  When I start pulse, I still get the same messages, including:

kernel: Too big adjustment 32


Works as before, so I will leave it in my .profile for when I log in.

I didn't see any mention in any of the articles exactly how they expect pulseaudio to be started.
Comment 5 David Abbott (RETIRED) gentoo-dev 2009-11-28 09:48:15 UTC
(In reply to comment #4)
> I killed off the pulse daemon.  Now it is running as the same user as the
> client programs (not root).  When I start pulse, I still get the same messages,
Again, there is no need to start pulseaudio.

> including:
> 
> kernel: Too big adjustment 32
> 
> 
> Works as before, so I will leave it in my .profile for when I log in.
> 
> I didn't see any mention in any of the articles exactly how they expect
> pulseaudio to be started.
> 

Comment 6 John Klug 2009-11-29 20:09:46 UTC
If you don't start pulseaudio, there is no sound.

I do not use Gnome or KDE desktop.
Comment 7 David Abbott (RETIRED) gentoo-dev 2009-11-29 20:44:27 UTC
John please read;
http://www.pulseaudio.org/wiki/PerfectSetup
http://forums.gentoo.org/viewtopic-t-789181-highlight-.html
Please post cat ~/.asoundrc
Comment 8 John Klug 2009-11-29 22:27:24 UTC
I apologize, you are right, the .profile is not needed to start pulseaudio.

However the output in /var/log/messages remains.

This is how pulseaudio is started according to ps.

/usr/bin/pulseaudio --start --log-target=syslog


.asoundrc:

pcm.pulse {
        type pulse
}

ctl.pulse {
        type pulse
}

pcm.!default {
        type pulse
}

ctl.!default {
        type pulse
}


I have no .pulse directory.
Comment 9 David Abbott (RETIRED) gentoo-dev 2009-11-29 22:48:11 UTC
(In reply to comment #8)
> I apologize, you are right, the .profile is not needed to start pulseaudio.
> 
> However the output in /var/log/messages remains.
> 
> This is how pulseaudio is started according to ps.

John who is ps? I never start pulseaudio myself.

cat ~/.asoundrc
pcm.!default {
    type pulse
}

ctl.!default {
    type pulse
}
Sets it as the default sound device then as a user run;
pavucontrol
to configure it

> 
> /usr/bin/pulseaudio --start --log-target=syslog
> 

That ^^^ will create all kinds of problems documented here;
http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode

> 
> .asoundrc:
> 
> pcm.pulse {
>         type pulse
> }
> 
> ctl.pulse {
>         type pulse
> }
> 
> pcm.!default {
>         type pulse
> }
> 
> ctl.!default {
>         type pulse
> }
> 
> 
> I have no .pulse directory.
> 

Comment 10 Wormo (RETIRED) gentoo-dev 2009-11-30 02:16:22 UTC
John, could you provide 'emerge --info' and 'emerge -pv pulseaudio' output?
Comment 11 John Klug 2009-11-30 05:12:19 UTC
I did not start pulseaudio myself.  What I meant was that it is now starting/exiting automatically, and the output of /bin/ps -f of pulseaudio is:
/usr/bin/pulseaudio --start --log-target=syslog

To get it to work automatically, all I had to do is make sure it was not being started via my .profile, or /sbin/init (/etc/init.d).

Here is the additional information requested:

$ emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-1.12.13
Timestamp of tree: Mon, 09 Nov 2009 13:30:04 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirrors.cs.wmich.edu/gentoo ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ "
LANG="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/armagetron /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 audiofile automount autostart avahi bash-completion berkdb bidi bzip2 cairo caps cdda cdio cdr cli consolekit cracklib crciprec crypt cups dbus devinput divx dri dts dvb dvd dvdnav dvdr dvdread encode expat ffmpeg fftw firefox flac fluidsynth fortran ftp gdbm gif gnome gnome-print gnutls gpm gstreamer gtk guile hal httpd iconv ipv6 isc java jpeg kde lame lcd libsamplerate lirc live mad matroska mdnsresponder-compat melt mjpeg mmx modules moviepack moviesounds mp3 mpeg mplayer mudflap multilib mysql na_dd na_icons ncurses networking nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png postscript pppd pulseaudio python qmail-spp qt3 qt3support qt4 quicktime readline realmedia reflection regex samba sdl session sound soundex sounds soundtouch spell spl sse ssl stream svg sysfs tcpd theora threads tiff transcode truetype tv_check tv_combiner tv_pick_cgi twolame unicode vcd videos vim-syntax vlm vnc vorbis vorbis-psy wav wavpack winbind wma wmp wxwindows xcb xcomposite xinerama xiph xml xorg xsettings xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="imon" LIRC_DEVICES="imon_pad" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

$ emerge -pv pulseaudio

These are the packages that would be merged, in order:

Calculating dependencies  .... ..... done!
[ebuild   R   ] media-sound/pulseaudio-0.9.15-r2  USE="X alsa asyncns avahi caps dbus glib gnome hal libsamplerate lirc tcpd -bluetooth -jack -oss -test" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 12 Arun Raghavan (RETIRED) gentoo-dev 2011-03-25 07:43:23 UTC
Do you still see this with recent kernel, alsa-lib, and pulseaudio?
Comment 13 John Klug 2011-03-26 19:47:15 UTC
Jan  4 02:09:32 tvscribe pulseaudio[8350]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Jan  4 02:09:32 tvscribe pulseaudio[8350]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Jan  4 02:09:32 tvscribe pulseaudio[8350]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.


This is 2.6.34-gentoo-r12

So the problem has changed or moved?

[I--] [  ] media-libs/alsa-lib-1.0.23 (0)
[I--] [  ] media-libs/alsa-oss-1.0.17 (0)
[I--] [  ] media-plugins/alsa-plugins-1.0.21 (0)
[I--] [  ] media-plugins/gst-plugins-alsa-0.10.29 (0.10)
[I--] [  ] media-sound/alsa-headers-1.0.23 (0)
[I--] [  ] media-sound/alsa-utils-1.0.21-r1 (0.9)


Is this something new?

The bug is mentioned:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/329620
Comment 14 Arun Raghavan (RETIRED) gentoo-dev 2011-03-26 19:52:29 UTC
This looks like a driver bug, but is it possible for you to try with newer pulseaudio? (or if you are already, what version of pulseaudio are you using?)
Comment 15 John Klug 2011-03-26 19:55:01 UTC
[ Searching for package 'pulse' in all categories among: ]
 * installed packages
[I--] [  ] media-plugins/gst-plugins-pulse-0.10.22-r1 (0.10)
[I--] [  ] media-sound/pulseaudio-0.9.21.1 (0)
Comment 16 Arun Raghavan (RETIRED) gentoo-dev 2011-03-26 19:59:16 UTC
Okay, this is almost certainly a driver issue. I'd recommend trying with the 2.6.37 or 2.6.38, and if this does not work, post on the ALSA mailing list about this problem.
Comment 17 Arun Raghavan (RETIRED) gentoo-dev 2011-03-26 20:02:24 UTC
I've no idea why this bug was marked restricted. Making it publicly viewable.
Comment 18 Arun Raghavan (RETIRED) gentoo-dev 2011-05-18 04:15:10 UTC
Could you please check with recent versions of the kernel, pulseaudio and alsa-lib and reopen if the issue is still there?