Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

cardinal

Members
  • Posts

    490
  • Joined

  • Last visited

  • Days Won

    59

Posts posted by cardinal

  1. snd-hda-intel has to be loaded for sound.
    Open 2 terminals,login as root or use sudo if installed in Terminal 2.
    Terminal 1:

    dmesg -e  -w

    Terminal 2:

    modprobe -vv snd-hda-intel

    Post the output from the command in Terminal 2 and any output in Terminal 1 after the [Date Time] tag.

     

     

    The output appears like this on a system with working sound.
    Terminal 2 output:

    funtoo rj # modprobe -vv snd-hda-intel
    modprobe: INFO: custom logging function 0x80512d0 registered
    insmod /lib/modules/3.19.3-1~exp1/kernel/sound/soundcore.ko
    insmod /lib/modules/3.19.3-1~exp1/kernel/sound/core/snd.ko cards_limit=1
    insmod /lib/modules/3.19.3-1~exp1/kernel/sound/core/snd-timer.ko
    insmod /lib/modules/3.19.3-1~exp1/kernel/sound/core/snd-pcm.ko
    insmod /lib/modules/3.19.3-1~exp1/kernel/sound/core/snd-hwdep.ko
    insmod /lib/modules/3.19.3-1~exp1/kernel/sound/pci/hda/snd-hda-codec.ko
    insmod /lib/modules/3.19.3-1~exp1/kernel/sound/pci/hda/snd-hda-controller.ko
    insmod /lib/modules/3.19.3-1~exp1/kernel/sound/pci/hda/snd-hda-intel.ko
    modprobe: INFO: context 0x9dae150 released
    
    

    Terminal 1 output:

    [Nov 4 11:30] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client
    [ +0.017330] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input5
    [ +0.007888] sound hdaudioC0D2: autoconfig: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
    [ +0.000009] sound hdaudioC0D2: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    [ +0.000005] sound hdaudioC0D2: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
    [ +0.000004] sound hdaudioC0D2: mono: mono_out=0x0
    [ +0.000004] sound hdaudioC0D2: dig-out=0x1e/0x0
    [ +0.000004] sound hdaudioC0D2: inputs:
    [ +0.000005] sound hdaudioC0D2: Rear Mic=0x18
    [ +0.000005] sound hdaudioC0D2: Front Mic=0x19
    [ +0.000004] sound hdaudioC0D2: Line=0x1a
    [ +0.000004] sound hdaudioC0D2: CD=0x1c
    [ +0.000003] sound hdaudioC0D2: dig-in=0x1f
    [ +0.018750] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D2/input6
    [ +0.001899] input: HDA Intel Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
    [ +0.003180] input: HDA Intel Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
    [ +0.001279] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
    [ +0.000298] input: HDA Intel Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
    [ +0.000312] input: HDA Intel Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
    [ +0.000273] input: HDA Intel Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
    [ +0.000255] input: HDA Intel Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
    
  2. On x86_32 funtoo this indicates /lib/libncurses.so.5 is a symlink to /lib/libncurses.so.5.9

    rj@funtoo ~ $ equery b libncurses.so.5

     * Searching for libncurses.so.5 ...

    sys-libs/ncurses-5.9-r5 (/lib/libncurses.so.5 -> libncurses.so.5.9)

     

     

    If /lib/libncurses.so.5.9 exists then create /lib/libncurses.so.5 symlink to fix the error.

    ln -s /lib/libncurses.so.5.9 /lib/libncurses.so.5
  3. Linux funtoo 3.19.3-1~exp1
    hda_snd_intel has matching pciids for your sound hardware but the system is not auto-loading it.

    funtoo rj # modprobe -c | grep -i 8086.*0c0c
    alias pci:v00008086d00000C0Csv*sd*bc*sc*i* snd_hda_intel
    funtoo rj # modprobe -c | grep -i 8086.*8c20
    alias pci:v00008086d00008C20sv*sd*bc*sc*i* snd_hda_intel

    Set auto-load hda-snd-intel kernel module.
    Open /etc/conf.d/modules as root in text editor.

    Add snd-hda-intel to modules=

    modules="snd-hda-intel"

    Save/exit text editor.

    Reboot

  4. All Loaded Modules has no snd kernel modules loaded.

     

     

    These are the snd modules loaded on my system:
    rj@funtoo ~ $ sudo lsmod | grep snd
    snd_hda_codec_realtek    67127  1
    snd_hda_codec_generic    63158  1 snd_hda_codec_realtek
    snd_hda_codec_hdmi     45117  1
    snd_hda_intel          26327  1
    snd_hda_controller     26646  1 snd_hda_intel
    snd_hda_codec         104456  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
    snd_hwdep              13148  1 snd_hda_codec
    snd_pcm                88603  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
    snd_timer              26614  1 snd_pcm
    snd                    69340  10 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
    soundcore              13031  2 snd,snd_hda_codec
    
  5. Please run the alsa-info.sh

    wget http://www.alsa-project.org/alsa-info.sh
    chmod +x alsa-info.sh
    ./alsa-info.sh

    Post the link to  your ALSA information in your reply.

    On my computer:

    rj@funtoo ~ $ ./alsa-info.sh
    ALSA Information Script v 0.4.64
    --------------------------------
    
    This script visits the following commands/files to collect diagnostic
    information about your ALSA installation and sound related hardware.
    
    dmesg
    lspci
    lsmod
    aplay
    amixer
    alsactl
    /proc/asound/
    /sys/class/sound/
    ~/.asoundrc (etc.)
    
    See './alsa-info.sh --help' for command line options.
    
    Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
    Uploading information to www.alsa-project.org ... Done!
    
    Your ALSA information is located at http://www.alsa-project.org/db/?f=0a44bb859e5ab780ae80ee103e30c182a438fe27
    
    Please inform the person helping you.
  6. After adding dlang overlay to a current amd64 system I see the same errors as you when trying to emerge dev-lang/dmd.

    Not knowing how to resolve those errors I decided to try merging lower versions of dmd. 

    * dev-lang/dmd [1]
         Available versions:  
         ((get_version_component_range 1-2)) 2.063.2^m 2.065.0^m 2.066.1^m 2.067.1^m (~)2.068.2-r1^m (~)2.069.0_beta2^m
         (2.064) 2.064.2^m
           {doc examples tools}
         Homepage:            http://dlang.org/
         Description:         Reference compiler for the D programming language
    
    [1] "dlang" /var/lib/layman/dlang
    

    dmd-2.068.2-r1 produces same errors as dmd-2.069.0_beta2.

    dmd-2.067.1 has no errors and may build.

    If this doesn't work for you file a report at bugs.funtoo.org

    funtoo rj # emerge -pv =dev-lang/dmd-2.067.1
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild  N     ] app-admin/eselect-dlang-20151017::dlang  0 KiB
    [ebuild  N     ] dev-lang/dmd-2.067.1:2.067::dlang  USE="-doc -examples -tools" 54,770 KiB
    
    Total: 2 packages (2 new), Size of downloads: 54,770 KiB

    After adding to /etc/portage/package.mask directory

    echo ">dev-lang/dmd-2.067.1" > /etc/portage/package.mask/dmd
    
    funtoo rj # emerge -pv dmd
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild  N     ] app-admin/eselect-dlang-20151017::dlang  0 KiB
    [ebuild  N     ] dev-lang/dmd-2.067.1:2.067::dlang  USE="-doc -examples -tools" 54,770 KiB
    
    Total: 2 packages (2 new), Size of downloads: 54,770 KiB
    
  7. The dev-lang/dmd-2.068.2-r1.ebuild here https://raw.githubusercontent.com/gentoo-mirror/dlang/master/dev-lang/dmd/dmd-2.068.2-r1.ebuild

    IUSE="doc examples tools"

    I don't know what side effect and point of adding use flags to package.use that don't exist on the ebuild.

    System USE flags are listed here:  /usr/portage/profiles/use.desc

    Package name and versions are never USE flags.

    Remove any USE flags from /etc/portage/make.conf USE="" that are not on the use.desc list.

    Maybe adding the name program-version as USE flags to package.use that don't exist on the ebuild is causing the error?

    USE="dmd-2_068 -dmd-2_063 -dmd-2_064 -dmd-2_065 -dmd-2_066 -dmd-2_067 -dmd-2_069 -doc -examples -gdc-4_8_1 -gdc-4_8_2 -gdc-4_8_3 -gdc-4_8_4 -ldc2-0_12 -ldc2-0_13 -ldc2-0_14 -ldc2-0_15 -ldc2-0_16 -tools"

     

    Remove  

    Remove everything from dev-lang/dmd dmd-2_068 package.use or from except use flags that exist on ebuild:

    -doc -examples -tools

    emerge -av dmd
    Documentation on USE flags:

    https://wiki.gentoo.org/wiki/Handbook:X86/Working/USE

    http://www.funtoo.org/Funtoo_Basic_concepts

  8. Bug report: https://bugs.funtoo.org/browse/FL-2919

    Update: Task completed, issue fixed, report closed.

    The manifest was not updated when corenetwork-1.5.2 was changed to corenetwork-1.5.3

    Users can rebuild the manifest if they don't want to wait.

    ebuild downloads, fingerprints the source code, and writes out the manifest.

    funtoo ~ # cd /usr/portage/sys-apps/corenetwork
    
    funtoo corenetwork # ebuild corenetwork-1.5.3.ebuild manifest
    >>> Downloading 'http://distfiles.gentoo.org/distfiles/corenetwork-1.5.3.tar.gz'
    --2015-10-25 18:39:19--  http://distfiles.gentoo.org/distfiles/corenetwork-1.5.3.tar.gz
    Resolving distfiles.gentoo.org... 64.50.236.52, 64.50.233.100, 140.211.166.134, ...
    Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2015-10-25 18:39:20 ERROR 404: Not Found.
    
    >>> Downloading 'https://www.github.com/funtoo/corenetwork/tarball/1.5.3'
    --2015-10-25 18:39:20--  https://www.github.com/funtoo/corenetwork/tarball/1.5.3
    Resolving www.github.com... 192.30.252.129
    Connecting to www.github.com|192.30.252.129|:443... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://github.com/funtoo/corenetwork/tarball/1.5.3 [following]
    --2015-10-25 18:39:20--  https://github.com/funtoo/corenetwork/tarball/1.5.3
    Resolving github.com... 192.30.252.131
    Connecting to github.com|192.30.252.131|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/funtoo/corenetwork/legacy.tar.gz/1.5.3 [following]
    --2015-10-25 18:39:20--  https://codeload.github.com/funtoo/corenetwork/legacy.tar.gz/1.5.3
    Resolving codeload.github.com... 192.30.252.147
    Connecting to codeload.github.com|192.30.252.147|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/x-gzip]
    Saving to: ?/usr/portage/distfiles/corenetwork-1.5.3.tar.gz?
    
    /usr/portage/distfi     [ <=>                  ]   7.21K  --.-KB/s   in 0.001s
    
    2015-10-25 18:39:20 (8.01 MB/s) - ?/usr/portage/distfiles/corenetwork-1.5.3.tar.gz? saved [7388]
    
    >>> Creating Manifest for /usr/portage/sys-apps/corenetwork
    
  9. I could not find anywhere in the genkernel code where enabling "POSTCLEAR=1" runs "make clean" in /usr/src/linux

    http://git.funtoo.org/genkernel/tree/doc/genkernel.8.txt#n337
    *--*[*no-*]*postclear*::
    Clears or skips clearing all tmp files and caches after genkernel has run.
    Default locations for genkernels tmp and cache directorys.
    TMPDIR="/var/tmp/genkernel"
    CACHE_DIR="/var/cache/genkernel"
    Run genkernel with log/debug options enabled.


    *--loglevel*=<0-5>::
        This controls the out verbosity level of genkernel output - if
        this is set to 0, minimal debugging is done; if this is set to 5
        as much output as possible is given.
    
    *--logfile*=<outfile>::
        This outputs debugging data to the file <outfile>. By default
        this is '/var/log/genkernel.log'.
    

    It will output what it defines as CACHE_DIR and TMPDIR
    "CACHE_DIR: ${CACHE_DIR}"
    "TMPDIR: ${TMPDIR}"
     
    Genkernel script: http://git.funtoo.org/genkernel/tree/genkernel#n62

    if isTrue ${POSTCLEAR}
    		then
    			echo
    			print_info 1 'RUNNING FINAL CACHE/TMP CLEANUP'
    			print_info 1 "CACHE_DIR: ${CACHE_DIR}"
    			CLEAR_CACHE_DIR='yes'
    			setup_cache_dir
    			echo
    			print_info 1 "TMPDIR: ${TMPDIR}"
    			clear_tmpdir
    		fi
    
  10. Open /usr/bin/euse as root in text editor.
    Comment line 723,add bold text and save.
    #eval $(portageq envvar -v PORTDIR)
    : ${PORTDIR="$(portageq get_repo_path $(portageq envvar EROOT) gentoo)"}
     

    get_portdir() {                                                                                                                                              
            # Use a subshell so we don't have to protect the variables in                                                                                        
            # the current scope                                                                                                                                  
            (                                                                                                                                                    
                    #eval $(portageq envvar -v PORTDIR)                                                                                                          
                    : ${PORTDIR="$(portageq get_repo_path $(portageq envvar EROOT) gentoo)"}                                                                     
                    echo "${PORTDIR}"                                                                                                                            
            )                                                                                                                                                    
    } # }}}                                                                                                 
    

    Reference: https://goo.gl/WXOGhM

  11.  

    This needs to be added on the main webpage under Help.

     

    Reported it HERE

     

    I didn't know this section existed. It could have saved me another post if I knew it existed and where to find it.

     

    Thanks.

    Read the front page of www.funtoo.org

    There are 2 links to the bug tracker on the front page of www.funtoo.org

    One link to Reporting Bugs on how to file a bug report which has a link to bugs.funtoo.org

    Lower Right Hand Corner

    Getting Started

    Install Funtoo Linux and get involved in our user community.

    Get to know fellow users on our forums.

    Funtoo Linux has a very active IRC community on Freenode (in the #funtoo channel) and you are encouraged to hang out with us.

    We welcome bug reports and suggestions.

    Please report bugs to our bug tracker.

    We take all bugs seriously, and all work performed is tracked on our bug tracker, for purposes of transparency.

    Create a Funtoo account, which allows you to log in to the wiki, forums and bug tracker.

    See the Auth FAQ for more info about account creation.

    See our FAQ for answers to common questions.

    Other resources include larrythecow.org, the Gentoo blog aggregator, kernel-seeds.org, and git.funtoo.org, our cgit repository browser.

    XmxBs4x.png

     

    http://www.funtoo.org/Reporting_Bugs

     

  12. Funtoo uses a custom OpenRC : http://git.funtoo.org/openrc/

    Funtoo uses a custom corenetwork http://git.funtoo.org/corenetwork/

    http://git.funtoo.org/ports-2012/tree/sys-apps/openrc/openrc-0.12.4-r4.ebuild

    GITHUB_REPO="${PN}"

    GITHUB_USER="funtoo"

    GITHUB_TAG="funtoo-openrc-0.12.4-r3"

    NETV="1.3.12"

    GITHUB_REPO_CN="corenetwork"

    GITHUB_TAG_CN="$NETV"

     

    SRC_URI="

    https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG}-> ${PN}-${GITHUB_TAG}.tar.gz

    https://www.github.com/${GITHUB_USER}/${GITHUB_REPO_CN}/tarball/${GITHUB_TAG_CN}-> corenetwork-${NETV}.tar.gz

    "

     

     

    OpenRC-0.18 is masked to prevent installing because it is the gentoo version.

    http://git.funtoo.org/ports-2012/tree/sys-apps/openrc/openrc-0.18.ebuild

    SRC_URI="https://dev.gentoo.org/~williamh/dist/${P}.tar.bz2"

     

    Using gentoo OpenRC with funtoo corenetwork is not working?

    I would re-install OpenRC-0.12.4-r4

  13. I have emerged openrc-0.12.4-r4 4 times since installing funtoo on 05.28.2015 with no problems.
    >>> Completed installing openrc-0.12.4-r4 into /var/tmp/portage/sys-apps/openrc-0.12.4-r4/image/

    strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
    sbin/rc
    lib64/librc.so.1
    lib64/libeinfo.so.1
    ecompressdir: bzip2 -9 /usr/share/doc
    ecompressdir: bzip2 -9 /usr/share/man
    making executable: lib64/libeinfo.so.1
    making executable: lib64/librc.so.1

    Pure64 arch installs libs to /lib64

     

    bugs.funtoo.org Log in with the same username and password as the forum.

  14. Generic is the only choice with gcc-4.x.x , it has no knowledge of skylake.

    Gcc-5 is skylake aware according to this:

    https://gcc.gnu.org/gcc-5/changes.html

    New ISA extensions support AVX-512{BW,DQ,VL,IFMA,VBMI} of Intel's CPU code named Skylake Server was added to GCC.

     

    Gcc-5 is not in funtoo portage.

    funtoo rj # eix -e gcc
    [I] sys-devel/gcc
         Available versions:  
         (4.6)  4.6.4-r2^s
         (4.7)  (~)4.7.4^s
         (4.8)  4.8.3^s **4.8.3-r1^s 4.8.4^s
         (4.9)  4.9.2^s 4.9.2-r1^s 4.9.2-r2^s 4.9.3^s
           {ada altivec cxx doc f77 f95 (+)fortran go graphite hardened libssp multilib multislot nls nptl objc objc++ openmp sanitize vanilla}
         Installed versions:  4.9.3(4.9)^s(11:28:07 PM 10/06/2015)(cxx fortran nls openmp -altivec -doc -go -graphite -hardened -libssp -multilib -multislot -objc -objc++ -sanitize -vanilla)
         Description:         The GNU Compiler Collection
    
    

    Gcc-5.1.0 and 5.2.0 are  "masked by missing keyword" for all architectures in gentoo portage.

    rj@gentoo ~ $ eix -e gcc
    [I] sys-devel/gcc
         Available versions:  
         (2.95.3) ~*2.95.3-r10^s
         (3.3.6) ~3.3.6-r1^s
         (3.4.6) 3.4.6-r2^s
         (4.0.4) **4.0.4^s
         (4.1.2) 4.1.2^s
         (4.2.4) ~4.2.4-r1^s
         (4.3.6) 4.3.6-r1^s
         (4.4.7) 4.4.7^s
         (4.5.4) 4.5.4^s
         (4.6.4) 4.6.4^s
         (4.7)  4.7.4^s
         (4.8)  ~4.8.0^s ~4.8.1-r1^s ~4.8.2^s 4.8.3^s 4.8.4^s 4.8.5^s
         (4.9)  ~*4.9.0^s ~*4.9.1^s ~4.9.2^s 4.9.3^s
         (5)    **5.1.0^s **5.2.0^s
           {altivec awt boundschecking cilk +cxx d debug doc fixed-point +fortran gcj go graphite hardened libssp mudflap multilib multislot +nls nopie nossp +nptl objc objc++ objc-gc +openmp regression-test +sanitize vanilla}
         Installed versions:  4.8.5(4.8)^s(02:18:17 PM 08/31/2015)(cxx fortran multilib nls nptl openmp sanitize -altivec -awt -debug -doc -fixed-point -gcj -go -graphite -hardened -libssp -mudflap -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla) 4.9.3(4.9)^s(12:54:38 AM 10/02/2015)(cxx fortran multilib nls nptl openmp sanitize -altivec -awt -cilk -debug -doc -fixed-point -gcj -go -graphite -hardened -libssp -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla)
         Homepage:            https://gcc.gnu.org/
         Description:         The GNU Compiler Collection
    
    

    I used same generic-64 stage3 to install funtoo on 2 computers with different cpu subarch type, then I used epro to set correct subarch for each computers CPU. No problems on either computer.

     

    You shouldn't have a problem setting correct subarch after gcc is updated to 5.x.x unless there are bugs. 

×
×
  • Create New...