Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

Sandro

Members
  • Posts

    466
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by Sandro

  1. HEHE ... it is a very interesting thing. for example i had a K6-2 450 3D-now! with a "nvidia Riva TNT" .... whit optimizations (running 3dmark 99) my PC was faster in 3dmark 99 vs my brother PC based on "Celeron - P2 architecture @466 MHz (with fpu (with "pipelined-burst technology" + nvidia riva TNT2 :D)

     

    If used ... the SIMD may give very higher performances.... it is the reason that i use a source based (and *too .... the Portage is for me the best manager in this planet :D)

     

    Haswell and later supports also AVX2

     

    But my new question (excuse if off topic) is relative to the knoledge of clang/llvm vs gcc :|

  2. I hoped the files might be helpful.  You're definitely welcome to copy any of them, I'll try to answer any questions.

     

     

    ICC (Intel Compiler Collection) can also optimize extremely well, but it's proprietary (you need a license).  If you're interested in seeing some of the differences between generated binaries, you might want to try benchmarking something like transcoding video with ffmpeg.  Since transcoding is CPU intensive, it's a good way to get an idea of the performance of the code a compiler generates.

     

     

    Not just Clang/LLVM, it's for LTO (link-time optimization).  Since optimization is done when the compiler links instead of when it compiles, the linker needs the optimization arguments.  GCC with LTO is similar.

     

     

    It's not a problem :).

     

    @uxcn: Escuse me , i have a little question.

    However i've addedd -march=native and -flto in the LDFLAGS

    But since -flto is an optimization for the linker, why has you declared also in C*FLAGS that flag ?

    isn't it redundant ? or if not which is the technical reason ?

     

    And -flto includes IPO or must be declared " -fwhole-program --combine" ?

     

    excuse me for the question and thanks very much :)

  3. Try to make :

    # perl-cleaner --allmodules
    # python-updater
    

    Then

    # emerge -DNu @system
    

    If You wnt i can enter in Your system .... with teamviewer or sshd.

    My references:

    Facebook: alcerb1972

    Skype: alessandro.ceriani (Saronno, IT)

     

    Cause i mu st see "under my litle eyes Your real situation.

     

    It isn't the first time that i make similar work ..... :)

    I'n not "cracker" .... your privacy will be respected totally :)

    And If you want with teamviever ... you can use my PC from remote .......

     

    I must have all under my eyes to make something .....

  4. Ok... one "step" at once.

    In Your epro list and make.conf i can see that you're using "multib".

    Add to your make.conf:

    ABI_X86="64 32"
    

    The retry to take a look with emerge -DNupv world --with-bdeps=y (and paste it if there is some news :))

     

    And about VIDEO_CARDS there is an error .... change with

    VIDEO_CARDS="radeon"
    

    Also Insert:

     

    INPUT_DEVICES="mouse keyboard evdev".

     

    Another idea: if you want to use your videocard with opengl for desktop effects remove the "no-emul-linux-x86" cause for graphical Opengl softwares can be necessary the opengl 32-bits compatible.

     

    (if You use a laptop add also "synaptics" to the INPUT_DEVICES declaration :)

     

    About Python, review Your declaration in make.conf.

    If You use Python 2_7 and 3_3 you can delete the declarations about python.

     

    You cpu is an Intel "Sandy Bridge" or "Ivy-bridge" ?

  5. Ok, i've:

    ci74771ht ~ # find /lib/modules/ -iname *ip6_tables*
    /lib/modules/4.1.15-gentoo-r1/kernel/net/ipv6/netfilter/ip6_tables.ko
    ci74771ht ~ # 
    
    

    Then the module isn't "autoloaded".

    ci74771ht ~ # modprobe ip6_tables
    ci74771ht ~ # /etc/init.d/ip6tables stop
    ip6tables          | * Saving ip6tables state ...                        [ ok ]
    ip6tables          | * Stopping firewall ...                             [ ok ]
    ci74771ht ~ # 
    
    

    Ok ... module ip6_tables "added" in /etc/conf.d/modules.

    Solved !!!!!!!

    Thanks very much.

  6. Hi To All: i've a trouble with ip6tables:

     

    The error is

    ci74771ht ~ # /etc/init.d/ip6tables stop
    ip6tables          | * Saving ip6tables state ...                        [ ok ]
    ip6tables          | * Your kernel lacks ip6tables support, please load
    ip6tables          | * appropriate modules and try again.
    ip6tables          | * ERROR: ip6tables failed to stop
    
    

    About IPV6 in kernel i have:

    CONFIG_IPV6=y
    CONFIG_IPV6_ROUTER_PREF=y
    CONFIG_IPV6_ROUTE_INFO=y
    CONFIG_IPV6_OPTIMISTIC_DAD=y
    CONFIG_IPV6_MIP6=y
    CONFIG_IPV6_VTI=y
    CONFIG_IPV6_SIT=y
    CONFIG_IPV6_SIT_6RD=y
    CONFIG_IPV6_NDISC_NODETYPE=y
    CONFIG_IPV6_TUNNEL=y
    CONFIG_IPV6_GRE=y
    CONFIG_IPV6_MULTIPLE_TABLES=y
    CONFIG_IPV6_SUBTREES=y
    CONFIG_IPV6_MROUTE=y
    CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
    CONFIG_IPV6_PIMSM_V2=y
    CONFIG_IP_VS_IPV6=y
    CONFIG_NF_DEFRAG_IPV6=m
    CONFIG_NF_CONNTRACK_IPV6=m
    CONFIG_NF_TABLES_IPV6=y
    CONFIG_NFT_CHAIN_ROUTE_IPV6=y
    CONFIG_NFT_REJECT_IPV6=y
    CONFIG_NF_REJECT_IPV6=y
    CONFIG_NF_LOG_IPV6=y
    CONFIG_NF_NAT_IPV6=m
    CONFIG_NFT_CHAIN_NAT_IPV6=m
    CONFIG_NF_NAT_MASQUERADE_IPV6=m
    CONFIG_NFT_MASQ_IPV6=m
    CONFIG_NFT_REDIR_IPV6=m
    CONFIG_IP6_NF_MATCH_IPV6HEADER=m
    CONFIG_6LOWPAN_NHC_IPV6=y
    
    

    About Netfilter:

    ci74771ht ~ # grep -i netfilter /usr/src/linux-4.1.15-gentoo-r1/.config
    CONFIG_NETFILTER=y
    # CONFIG_NETFILTER_DEBUG is not set
    CONFIG_NETFILTER_ADVANCED=y
    CONFIG_BRIDGE_NETFILTER=y
    # Core Netfilter Configuration
    CONFIG_NETFILTER_NETLINK=y
    CONFIG_NETFILTER_NETLINK_ACCT=y
    CONFIG_NETFILTER_NETLINK_QUEUE=m
    CONFIG_NETFILTER_NETLINK_LOG=m
    CONFIG_NETFILTER_NETLINK_QUEUE_CT=y
    CONFIG_NETFILTER_SYNPROXY=m
    CONFIG_NETFILTER_XTABLES=y
    CONFIG_NETFILTER_XT_MARK=y
    CONFIG_NETFILTER_XT_CONNMARK=m
    CONFIG_NETFILTER_XT_SET=y
    CONFIG_NETFILTER_XT_TARGET_AUDIT=y
    CONFIG_NETFILTER_XT_TARGET_CHECKSUM=y
    CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
    CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
    CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m
    CONFIG_NETFILTER_XT_TARGET_CT=m
    CONFIG_NETFILTER_XT_TARGET_DSCP=m
    CONFIG_NETFILTER_XT_TARGET_HL=y
    CONFIG_NETFILTER_XT_TARGET_HMARK=m
    CONFIG_NETFILTER_XT_TARGET_IDLETIMER=y
    CONFIG_NETFILTER_XT_TARGET_LED=m
    CONFIG_NETFILTER_XT_TARGET_LOG=y
    CONFIG_NETFILTER_XT_TARGET_MARK=m
    CONFIG_NETFILTER_XT_NAT=m
    CONFIG_NETFILTER_XT_TARGET_NETMAP=m
    CONFIG_NETFILTER_XT_TARGET_NFLOG=m
    CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
    CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
    CONFIG_NETFILTER_XT_TARGET_RATEEST=y
    CONFIG_NETFILTER_XT_TARGET_REDIRECT=m
    CONFIG_NETFILTER_XT_TARGET_TEE=m
    CONFIG_NETFILTER_XT_TARGET_TPROXY=m
    CONFIG_NETFILTER_XT_TARGET_TRACE=m
    CONFIG_NETFILTER_XT_TARGET_SECMARK=m
    CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
    CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=y
    CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y
    CONFIG_NETFILTER_XT_MATCH_BPF=y
    CONFIG_NETFILTER_XT_MATCH_CGROUP=y
    CONFIG_NETFILTER_XT_MATCH_CLUSTER=m
    CONFIG_NETFILTER_XT_MATCH_COMMENT=m
    CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
    CONFIG_NETFILTER_XT_MATCH_CONNLABEL=m
    CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
    CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
    CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
    CONFIG_NETFILTER_XT_MATCH_CPU=y
    CONFIG_NETFILTER_XT_MATCH_DCCP=m
    CONFIG_NETFILTER_XT_MATCH_DEVGROUP=y
    CONFIG_NETFILTER_XT_MATCH_DSCP=y
    CONFIG_NETFILTER_XT_MATCH_ECN=y
    CONFIG_NETFILTER_XT_MATCH_ESP=y
    CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
    CONFIG_NETFILTER_XT_MATCH_HELPER=m
    CONFIG_NETFILTER_XT_MATCH_HL=y
    CONFIG_NETFILTER_XT_MATCH_IPCOMP=y
    CONFIG_NETFILTER_XT_MATCH_IPRANGE=y
    CONFIG_NETFILTER_XT_MATCH_IPVS=m
    CONFIG_NETFILTER_XT_MATCH_L2TP=y
    CONFIG_NETFILTER_XT_MATCH_LENGTH=y
    CONFIG_NETFILTER_XT_MATCH_LIMIT=y
    CONFIG_NETFILTER_XT_MATCH_MAC=y
    CONFIG_NETFILTER_XT_MATCH_MARK=y
    CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y
    CONFIG_NETFILTER_XT_MATCH_NFACCT=y
    CONFIG_NETFILTER_XT_MATCH_OSF=y
    CONFIG_NETFILTER_XT_MATCH_OWNER=y
    CONFIG_NETFILTER_XT_MATCH_POLICY=y
    CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y
    CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y
    CONFIG_NETFILTER_XT_MATCH_QUOTA=y
    CONFIG_NETFILTER_XT_MATCH_RATEEST=y
    CONFIG_NETFILTER_XT_MATCH_REALM=y
    CONFIG_NETFILTER_XT_MATCH_RECENT=y
    CONFIG_NETFILTER_XT_MATCH_SCTP=y
    CONFIG_NETFILTER_XT_MATCH_SOCKET=m
    CONFIG_NETFILTER_XT_MATCH_STATE=m
    CONFIG_NETFILTER_XT_MATCH_STATISTIC=y
    CONFIG_NETFILTER_XT_MATCH_STRING=y
    CONFIG_NETFILTER_XT_MATCH_TCPMSS=y
    CONFIG_NETFILTER_XT_MATCH_TIME=y
    CONFIG_NETFILTER_XT_MATCH_U32=y
    # IP: Netfilter Configuration
    # IPv6: Netfilter Configuration
    # DECnet: Netfilter Configuration
    # iptables trigger is under Netfilter config (LED target)
    ci74771ht ~ # grep -i netfilter /usr/src/linux-4.1.15-gentoo-r1/.config|grep -i ipv6
    # IPv6: Netfilter Configuration
    
    

    How can i do to solve ?  :unsure:

     

    Thanks for any suggestion :)

  7. # layman -L
    

    And you can see all overlays.

     

    (may be necessary subversion and/or mercurial USE flags)

     

    This is (i think) that you want

     

    * kde                       [Git       ] (git://anongit.gentoo.org/proj/kd...)

     

    is necessary subversion then

    # egencache --update-use-local-desc
    # euse -E subversion
    # emerge -DNu world

    Then

    # layman -a kde

    Then (i like to use "eix")

    # emerge -u eix
    

    It is also necessari to add in make.conf:

    # echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf
    

    Then

    # emerge --sync && layman -S
    # eix-update

    I'm redundant excuse me _`_ :)

  8. Anyway this is a great benchmark to understand the immense possibilities and capabilities of Portage .... thing that I think no other package manager can do :)

     

    For now don't use "emerge @downgrade" .... 

     

    Take a look and post what tells "emerge -DNu world -pv".

     

    Only for "curiosity": what kind of cpu have your machine ?

    Thanks :)

  9. Excuse me if i wasn't very "precise".

     

    However try an

    # emerge @downgrade

    Then must be revisited the "/etc/portage/package.accept_keywords , mask, unmask & use).

    Then

    # emerge -DNu world --with-bdeps=y

    Be conscious that it is like a "little surgical operation" in your system.....

    Sometimes is necessary to return to "core" profile then restarting versus another profile .... :)

     

    Paste any errors you encounter; so to may able to give you a "little hand" :)

     

    If you want i can enter in your system to take a look about errors.

     

    And You (if You want can take a look about my system that is based on Funtoo Stable (e.g. i can post my config_files to You as example) :)

     

    Hello to All :)

  10. I have done this many times

     

    it is not "very simple" somewhat

    but is possible :D

     

    re-configure your build with "# epro build stable"

    take a look in /etc/portage/make.conf if are enabled ~amd64 (then delete ~amd64"

     

    try at first an

     

    # eix-sync

    # emerge @downgrade

     

    Somotimes is necessary to remove packages ....

     

    But is possible to switch from "Stable" to "Current" (simplier)

    or

    switch from "Current" to "Stable".

     

    The first thing is to take a look if portage want to downgrade the glibc .... if glibc are the same it is possible. if not ... the Funtoo-box may crash.

  11. Hi to All

    Excuse me for that question ....

     

    But since i've a partition to make experiments on my PC , i'd like to know if also the magic Funtoo can support the FreeBSD kernel ... only for my curiosity :)

     

    I know that the BSD license is too permissive; and is not like an *gpl*.

     

    I want only to make some experiment ... :)

     

    Thank You for Any suggestion.

     

    Hope that i've not bored You  with that question :)

  12. Hi uxcn and thank you for your interest ... :)

     

    I've used also 2 utilities for this "Hitachi HTS541040G9AT00" written ohn a bootable cd-rom (FreeDOS i think),

    but they have not solved the trouble about sector 0 :(

     

    Hi sputnik and Thanx to You for the interest ... :)

     

    I don't need to rescue data but only that the HDD return to be able to start.

    The error is about sector 0

     

    I've tryed also 2 utilities downloaded from "Hitachi" .... but without solving the trouble :(

     

    Now i'm using

    # badblock -svw -d 512 -c 1 /dev/sda

    15 houres that it runs without errors .... and i think that are necessary 15 - 20 hours to complete.

     

    Now i want to learn more about HDD.

     

    Thank You All for suggestions.

     

    I will inform you when badblocks will terminate :)

  13. Hi.

    A friend of mine has an old IBM Thinkpad laptop; but the HDD (Hitachi 40 GiB) doesn't start (run).

     

    Using SysRescueCD , i've seen in the kernel messages at startup that that there are messages about troubles for block (sector ?) 0

     

    I've tried a "zero-fill" using dd if=/dev/zero of=/dev/sda but nothing is changed; then a

    # badblocks -svn /dev/sda
    

    But it doesn't found errors.

     

    Then i think (last chanche) to make a "real old style" method for attempting to repristinate the hdd (if possible).

     

    Someone know a right method ?

     

    Thanx very much for any suggestion.

×
×
  • Create New...