Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
All commands greate errormsg after installing alsa [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 214

PostPosted: Thu May 18, 2017 5:55 pm    Post subject: All commands greate errormsg after installing alsa [SOLVED] Reply with quote

I've made a (or a couple of) mistake/s
Installed alsa to get sound, and added a couple of use flags accoring to handbookwiki page for alsa, now all my commands generates a lot of text. Even a simple su in terminal generates:

Code:
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_item.c:pam_set_item(31)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_session.c:pam_close_session(32)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_init_handlers(392)] _pam_init_handlers called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(106)] passing control to module...
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(114)] module returned: Success
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(198)] use_cached_chain=1 action=-1 cached_retval=0 retval=0
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(106)] passing control to module...
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:pam_sm_close_session(870)] Called and Exit
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(114)] module returned: Success
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(198)] use_cached_chain=1 action=-1 cached_retval=0 retval=0
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(106)] passing control to module...
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_unix/pam_unix_sess.c:pam_sm_close_session(113)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_unix/support.c:_set_ctrl(138)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_unix/support.c:_set_ctrl(145)] IAMROOT
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_unix/support.c:_set_ctrl(157)] SILENT
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_unix/support.c:_set_ctrl(193)] pam_unix arg: debug
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_unix/support.c:_set_ctrl(278)] done.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_item.c:pam_get_item(179)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_item.c:pam_get_item(196)] returning user=root
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_item.c:pam_get_item(179)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(114)] module returned: Success
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(198)] use_cached_chain=1 action=-1 cached_retval=0 retval=0
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(106)] passing control to module...
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(114)] module returned: Success
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(198)] use_cached_chain=1 action=-1 cached_retval=0 retval=0
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_auth.c:pam_setcred(55)] pam_setcred called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_init_handlers(392)] _pam_init_handlers called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(106)] passing control to module...
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:pam_sm_setcred(854)] Called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:handle_env(789)] Called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:_parse_config_file(144)] Called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:_parse_config_file(148)] Config file name is: /etc/security/pam_env.conf
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:_assemble_line(297)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:_parse_config_file(189)] Exit.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:_parse_env_file(200)] Env file name is: /etc/environment
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:_assemble_line(297)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:_parse_env_file(279)] Exit.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:_pam_get_item_byname(678)] Called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_item.c:pam_get_item(179)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_item.c:pam_get_item(196)] returning user=root
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:_pam_get_item_byname(712)] Exit.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:pam_get_data(123)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:_pam_locate_data(46)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:pam_get_data(123)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:_pam_locate_data(46)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:pam_get_data(123)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:_pam_locate_data(46)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:pam_get_data(123)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:_pam_locate_data(46)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:pam_set_data(70)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:_pam_locate_data(46)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_modutil_getpwnam.c:pam_modutil_getpwnam(92)] success
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_env/pam_env.c:handle_env(838)] Exit.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(114)] module returned: Success
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(155)] use_cached_chain is set to [1], but cached_retval == _PAM_INVALID_RETVAL
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(198)] use_cached_chain=1 action=-1 cached_retval=0 retval=0
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(106)] passing control to module...
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_unix/pam_unix_auth.c:pam_sm_setcred(203)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/modules/pam_unix/pam_unix_auth.c:pam_sm_setcred(207)] recovering return code from auth call
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:pam_get_data(123)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:_pam_locate_data(46)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(114)] module returned: Success
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(155)] use_cached_chain is set to [1], but cached_retval == _PAM_INVALID_RETVAL
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(198)] use_cached_chain=1 action=-1 cached_retval=0 retval=0
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(106)] passing control to module...
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(114)] module returned: Success
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(155)] use_cached_chain is set to [1], but cached_retval == _PAM_INVALID_RETVAL
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_dispatch.c:_pam_dispatch_aux(198)] use_cached_chain=1 action=-1 cached_retval=0 retval=0
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_auth.c:pam_setcred(70)] pam_setcred exit
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_end.c:pam_end(15)] entering pam_end()
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_data.c:_pam_free_data(152)] called
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers(987)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers(995)] _pam_free_handlers: dlclose(/lib64/security/pam_env.so)
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers(995)] _pam_free_handlers: dlclose(/lib64/security/pam_unix.so)
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers(995)] _pam_free_handlers: dlclose(/lib64/security/pam_permit.so)
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers(995)] _pam_free_handlers: dlclose(/lib64/security/pam_limits.so)
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers(995)] _pam_free_handlers: dlclose(/lib64/security/pam_deny.so)
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_handlers.c:_pam_free_handlers_aux(1068)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_env.c:_pam_drop_env(94)] called.
[/var/tmp/portage/sys-libs/pam-1.2.1/work/Linux-PAM-1.2.1/libpam/pam_end.c:pam_end(92)] exiting pam_end() successfully
gentoo@gentoo ~ $


Last edited by tuggbuss on Fri May 19, 2017 5:42 am; edited 2 times in total
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Thu May 18, 2017 6:47 pm    Post subject: Reply with quote

do emerge --info pam, look at the end of output you'll see how pam was built.
if you see "debug" in it, you have your answer.
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 214

PostPosted: Thu May 18, 2017 6:54 pm    Post subject: Reply with quote

krinn wrote:
do emerge --info pam, look at the end of output you'll see how pam was built.
if you see "debug" in it, you have your answer.


Thank you. Will do that asap. Did a perl-clean --all and it seemed to fix some of the errors, now its installing some xfce-extras. I'm not in X for the moment. Soon
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 214

PostPosted: Thu May 18, 2017 7:31 pm    Post subject: Reply with quote

krinn wrote:
do emerge --info pam, look at the end of output you'll see how pam was built.
if you see "debug" in it, you have your answer.


Yes, indeed there is debug useflag, and i can't edit my make.conf to remove that use flag. its all messed up.
It will be the third install of gentoo in two days :(

I found a tool in gentoolkit named euse. That seem to unselect useflag in make.conf. I did a euse -D debug. Trying to update the system now
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Thu May 18, 2017 7:59 pm    Post subject: Reply with quote

a good idea to disable debug globally.
you shouldn't reinstall, just fix it, your 2 first install have gone wrong and you have reinstall without knowing what goes wrong, because if you don't fix it, you don't know what was wrong.

it's not a binary distro, each time you reinstall it takes a lot of time (compiling and customizing to your own need), while binary distro install is faster, and customization nearly equal to 0.
better fix than reinstall, or you will always reinstall, to finally gets bored to death.

there's a lot of guys that have a gentoo that is so old you won't believe it. my last install was because my previous install died under hdd failure, even when i change computer i keep my gentoo and adapt to the new one ; gentoo is the highlander's distro, impossible to kill, always one way or another to fix it.

Look at app-portage/ufed, it does help with useflags too.
from gentookit, you can also equery u package to see flags status of a package.
(i cite those two because they will show the little helper text that is tied to the useflag, that clearly help sometimes figuring out what useflag is made for).
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 214

PostPosted: Thu May 18, 2017 8:10 pm    Post subject: Reply with quote

krinn wrote:
a good idea to disable debug globally.
you shouldn't reinstall, just fix it, your 2 first install have gone wrong and you have reinstall without knowing what goes wrong, because if you don't fix it, you don't know what was wrong.

it's not a binary distro, each time you reinstall it takes a lot of time (compiling and customizing to your own need), while binary distro install is faster, and customization nearly equal to 0.
better fix than reinstall, or you will always reinstall, to finally gets bored to death.

there's a lot of guys that have a gentoo that is so old you won't believe it. my last install was because my previous install died under hdd failure, even when i change computer i keep my gentoo and adapt to the new one ; gentoo is the highlander's distro, impossible to kill, always one way or another to fix it.

Look at app-portage/ufed, it does help with useflags too.
from gentookit, you can also equery u package to see flags status of a package.
(i cite those two because they will show the little helper text that is tied to the useflag, that clearly help sometimes figuring out what useflag is made for).


Thanks. I understand now that reinstall is not an option. Ive managed to fix the issue, using euse -D debug and it all went well.
I did learn Arch Linux by my own, stubborn some times, and have used Arch Linux three or four years without any severe hickups.
Time to move on to something more fun and perhaps more useful. But, i'm still learning.

Thank you all. I mark this thread as solved, as the tip with "debug" (and pearl-clean --all) did the trick.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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