Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa problems [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
grnis
n00b
n00b


Joined: 23 Oct 2011
Posts: 7

PostPosted: Sun Jun 02, 2013 11:46 am    Post subject: Alsa problems [SOLVED] Reply with quote

Code:
grnis@blepptop ~ % alsamixer
ALSA lib dlmisc.c:124:(snd_dlsym_verify) unable to verify version for symbol _snd_ctl_hw_open
ALSA lib dlmisc.c:243:(snd1_dlobj_cache_get) symbol _snd_ctl_hw_open is not defined inside [builtin]
cannot open mixer: No such device or address


Didn't do anything special afaik. Installed Mate from the Mate overlay, uninstalled it and this started happening.
Haven't changed my kernel .config in a while, so I have ruled that out.

Code:
snd_hda_codec_hdmi     27625  1
snd_hda_codec_realtek    28320  1
arc4                    1871  2
coretemp                5838  0
acpi_cpufreq            6806  1
mperf                   1035  1 acpi_cpufreq
intel_powerclamp        7454  0
kvm_intel             120041  0
kvm                   258267  1 kvm_intel
crc32_pclmul            2819  0
crc32c_intel           13985  0
ghash_clmulni_intel     4237  0
aesni_intel            44938  2
iwldvm                125507  0
aes_x86_64              7263  1 aesni_intel
xts                     2839  1 aesni_intel
lrw                     3333  1 aesni_intel
gf128mul                5498  2 lrw,xts
mac80211              245078  1 iwldvm
ablk_helper             1708  1 aesni_intel
tg3                   145956  0
cryptd                  7193  3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_hda_intel          29606  0
acer_wmi               22139  0
iTCO_wdt                5191  0
snd_hda_codec         126444  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
ptp                     7772  1 tg3
iTCO_vendor_support     1729  1 iTCO_wdt
sparse_keymap           2760  1 acer_wmi
pps_core                6457  1 ptp
snd_hwdep               5306  1 snd_hda_codec
sdhci_pci              10701  0
snd_pcm                63653  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
hwmon                   1241  2 tg3,coretemp
iwlwifi                73165  1 iwldvm
sdhci                  23747  1 sdhci_pci
snd_page_alloc          6778  2 snd_pcm,snd_hda_intel
microcode               6393  0
libphy                 18679  1 tg3
mmc_core               79211  2 sdhci,sdhci_pci
snd_timer              17056  1 snd_pcm
cfg80211              190005  3 iwlwifi,mac80211,iwldvm
led_class               2811  3 sdhci,acer_wmi,iwldvm
snd                    50764  7 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5026  1 snd
wmi                     7763  1 acer_wmi
lpc_ich                12713  0
mei                    34762  0
evdev                   8876  9
battery                 6610  0
ac                      2304  0
mfd_core                2825  1 lpc_ic


Last edited by grnis on Tue Jun 11, 2013 5:18 am; edited 1 time in total
Back to top
View user's profile Send private message
grnis
n00b
n00b


Joined: 23 Oct 2011
Posts: 7

PostPosted: Mon Jun 03, 2013 10:12 am    Post subject: Reply with quote

Just did a complete re-install of Gentoo. Still having the same problem.

lspci:
Code:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57785 Gigabit Ethernet PCIe (rev 10)
02:00.1 SD Host controller: Broadcom Corporation NetXtreme BCM57765 Memory Card Reader (rev 10)
02:00.2 System peripheral: Broadcom Corporation Device 16be (rev 10)
02:00.3 System peripheral: Broadcom Corporation Device 16bf (rev 10)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 105 (rev c4


lspci -n:
Code:
00:00.0 0600: 8086:0154 (rev 09)
00:02.0 0300: 8086:0166 (rev 09)
00:16.0 0780: 8086:1e3a (rev 04)
00:1a.0 0c03: 8086:1e2d (rev 04)
00:1b.0 0403: 8086:1e20 (rev 04)
00:1c.0 0604: 8086:1e10 (rev c4)
00:1c.1 0604: 8086:1e12 (rev c4)
00:1d.0 0c03: 8086:1e26 (rev 04)
00:1f.0 0601: 8086:1e57 (rev 04)
00:1f.2 0106: 8086:1e03 (rev 04)
00:1f.3 0c05: 8086:1e22 (rev 04)
02:00.0 0200: 14e4:16b5 (rev 10)
02:00.1 0805: 14e4:16bc (rev 10)
02:00.2 0880: 14e4:16be (rev 10)
02:00.3 0880: 14e4:16bf (rev 10)
03:00.0 0280: 8086:0894 (rev c4)
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Jun 03, 2013 3:38 pm    Post subject: Re: Alsa problems Reply with quote

grnis wrote:
verify version

As a guess:
Code:
zgrep VERSION /proc/config.gz

Maybe you have turned on CONFIG_MODVERSIONS or CONFIG_MODULE_SRCVERSION_ALL?

alsa-lib's configure.in contains:
Code:
AC_MSG_CHECKING(for versioned symbols)
AC_ARG_WITH(versioned,
  AS_HELP_STRING([--with-versioned],
    [shared library will be compiled with versioned symbols (default = yes)]),

_________________
Improve your font rendering and ALSA sound
Back to top
View user's profile Send private message
grnis
n00b
n00b


Joined: 23 Oct 2011
Posts: 7

PostPosted: Mon Jun 03, 2013 5:49 pm    Post subject: Re: Alsa problems Reply with quote

PaulBredbury wrote:
grnis wrote:
verify version

As a guess:
Code:
zgrep VERSION /proc/config.gz

Maybe you have turned on CONFIG_MODVERSIONS or CONFIG_MODULE_SRCVERSION_ALL?

alsa-lib's configure.in contains:
Code:
AC_MSG_CHECKING(for versioned symbols)
AC_ARG_WITH(versioned,
  AS_HELP_STRING([--with-versioned],
    [shared library will be compiled with versioned symbols (default = yes)]),


Nope :(

Code:
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Mon Jun 10, 2013 10:26 am    Post subject: Reply with quote

Try this:
Code:

emerge -DuNpte alsa-utils > alsa-utils.list
emerge -DuNpte mate > mate.list


(Include whatever alterations you may have to make to use something
from an overlay.)

Compare the lists. What dependencies do they have in common,
especially libraries? Do the lists specify that any common dependencies
of both packages be merged with different USE flags?

(I am suspecting that the mate ebuild specified a dependent library
to be merged without versioned symbols, which broke the same library
already merged with versioned symbols as a dependency of alsa-utils.
But that's only a guess. I do not even know if it is possible to pass a
USE flag that disables versioned symbols in a library.)
_________________
TIA
Back to top
View user's profile Send private message
grnis
n00b
n00b


Joined: 23 Oct 2011
Posts: 7

PostPosted: Tue Jun 11, 2013 5:19 am    Post subject: Reply with quote

Turns out the problem was my LDFLAGS in make.conf.
Had a parameter, -gc-sections-something, that affected alsalib.
Uncommented the LDFLAGS-line, and everything worked!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum