[gentoo-user] www-client/chromium-63.0.3239.132
just noticed new use flag in recent stable chromium ebuild: $ quse -D jumbo-build local:jumbo-build:www-client/chromium: Combine source files to speed up build process. setting that significantly speeds up emerge time (tried it twice; the second attempt had the flag set) $ qlop -gHv -d `date +%Y-%m-%d` chromium chromium-63.0.3239.132: Fri Jan 19 03:15:43 2018: 1 hour, 47 minutes, 28 seconds chromium-63.0.3239.132: Fri Jan 19 06:11:06 2018: 1 hour, 16 minutes, 14 seconds chromium: 2 times not sure if it matters in that context, but I'm using distcc and do not have ccache though
Re: [gentoo-user] OT awk question
On Fri, Jan 19, 2018 at 12:13 AM, Adam Carter wrote: > On Wed, Jan 17, 2018 at 6:16 PM, Alexander Kapshuk > wrote: >> >> On Wed, Jan 17, 2018 at 3:49 AM, Adam Carter >> wrote: >> > I'm using this to grab a section of text across multiple lines, how do i >> > get >> > it to exit after the first match? >> > >> > awk '/foo/,/bar/' >> >> See if this works for you: >> awk '/foo/,/bar/{print;if(/bar/)exit}' file >> sed '/foo/,/bar/!d;/bar/q' file >> > The awk line works. I didnt try the sed line. Thanks! Good to hear. Thanks for letting us know. The sed line is identical in operation to the awk one: (1). Delete anything that's not in the range of lines from /foo/ to /bar/; (2). Print the lines that match the range specified; (3). Quit processing further lines of input on finding the first occurrence of /bar/;
Re: [gentoo-user] [SOLVED] gpg2 - error gpg: public key decryption failed: No pinentry
On 01/17/2018 06:46 AM, Neil Bothwick wrote: > On Wed, 17 Jan 2018 06:35:13 -0700, the...@sys-concept.com wrote: > >>> What does "eselect pinentry list" tell you? >> >> >> eselect pinentry list >> Available pinentry binary implementations: >> [1] pinentry-qt * >> [2] pinentry-gtk-2 >> [3] pinentry-qt4 >> [4] pinentry-curses >> [5] pinentry-tty > > Is pinentry-qt installed and working? Switching to to "pinentry-gtk-2" solved the problem. Thank you all for your help. Joseph
Re: [gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys
On Fri, Jan 19, 2018 at 9:17 AM, Ian Zimmerman wrote: > > matica!13 linux$ dmesg | fgrep -i phenom > [0.603608] smpboot: CPU0: AMD Phenom(tm) II X4 955 Processor > (family: 0x10, model: 0x4, stepping: 0x3) > > Looking at the kernel source (for 4.9.77), the flag is initially set no > matter what in arch/x86/kernel/cpu/common.c @cpu_show_meltdown(), and > nothing afterwards clears it ... With 4.14.14, pretty much same CPU; model : 4 model name : AMD Phenom(tm) II X4 965 Processor stepping: 3 $ cat /sys/devices/system/cpu/vulnerabilities/meltdown Not affected
Re: [gentoo-user] Re: USB3 external storage HD's
On Thu, 18 Jan 2018 16:58:26 -0500, Ian Zimmerman wrote: > > On 2018-01-18 13:44, R0b0t1 wrote: > > > Buy a SATA to USB3 enclosure and a 2.5" laptop drive separately. > > I got one of those (a Rosewill). First thing I noted was it got > _really_ hot after a few minutes of use. Hot as in highly unpleasant to > touch. Nonetheless I kept using it, but it stopped working as USB3 > after a month or two. Still works fine as USB2, doesn't get so hot > anymore. > > The drive itself wasn't new, so maybe it just wasn't made for that speed? I always get one of those with a fan but they are getting hard to come by. Its vital to have enough cooling with a spinning drive. I have some Startech's with fans, but they seem to have discontinued them. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
[gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys
On 2018-01-19 08:22, Adam Carter wrote: > > On my fam10/barcelona; > > cat /sys/devices/system/cpu/vulnerabilities/meltdown > > Not affected > Ian. which CPU do you have? matica!13 linux$ dmesg | fgrep -i phenom [0.603608] smpboot: CPU0: AMD Phenom(tm) II X4 955 Processor (family: 0x10, model: 0x4, stepping: 0x3) Looking at the kernel source (for 4.9.77), the flag is initially set no matter what in arch/x86/kernel/cpu/common.c @cpu_show_meltdown(), and nothing afterwards clears it ... -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet, fetch the TXT record for the domain.
Re: [gentoo-user] OT awk question
On Wed, Jan 17, 2018 at 6:16 PM, Alexander Kapshuk < alexander.kaps...@gmail.com> wrote: > On Wed, Jan 17, 2018 at 3:49 AM, Adam Carter > wrote: > > I'm using this to grab a section of text across multiple lines, how do i > get > > it to exit after the first match? > > > > awk '/foo/,/bar/' > > See if this works for you: > awk '/foo/,/bar/{print;if(/bar/)exit}' file > sed '/foo/,/bar/!d;/bar/q' file > > The awk line works. I didnt try the sed line. Thanks!
[gentoo-user] Re: USB3 external storage HD's
On 2018-01-18 13:44, R0b0t1 wrote: > Buy a SATA to USB3 enclosure and a 2.5" laptop drive separately. I got one of those (a Rosewill). First thing I noted was it got _really_ hot after a few minutes of use. Hot as in highly unpleasant to touch. Nonetheless I kept using it, but it stopped working as USB3 after a month or two. Still works fine as USB2, doesn't get so hot anymore. The drive itself wasn't new, so maybe it just wasn't made for that speed? -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet, fetch the TXT record for the domain.
Re: [gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys
> > On my fam10/barcelona; > cat /sys/devices/system/cpu/vulnerabilities/meltdown > Not affected > > Ian. which CPU do you have?
Re: [gentoo-user] Re: USB3 external storage HD's
just remember 3.5" drives, particularly the higher perfomance/enterprise drives can require well thought out cooling, this is a primary reason you just don't see 10k drives in desktops any more (had one in a mac, factory in 2001), in most machines they'll fail in months, they just need more cooling than most cases provide or can provide. i have a slower 3 tera hgst(7500/7800 or there abouts) (now made by one of my least favorite vendor who bought the tech from hitachi) and in my warm apartement (health problems, it hurts less when it's very warm) have mild difficulty keeping it bellow 100 deg F. the drive is in a cage directly behind a fan mounted to the front. if you take old machines apart you'll notice some vendors putting the drive right behind a grill on the front, positioned vertically to expose maximum area to air flow, these are slower drives but still benefit from more cooling than is "traditional", i.e. unchanged since the 90's. External cases rarely have significant cooling (even those with fans), the old usb2 externals will all cook your' drive rapidly if you do large datatransfers, they are only passable if doing small writes, like backing up single files, not large portions of another drive (or restoring either). The "advantage" of laptop drives, and the reason they have become popular in servers is that they are designed to be low power, and to function in a difficult thermal enviroment (it's hard to cool a laptop). they dissipate less power per byte stored, and are of course slower which may or may not matter particularly in a raid setup or if most of you're drives can spin down most of the time, they also usually pause them selves at a preset temperature until they cool down and constantly park. if you boot off a laptop drive it will take a long time, or if you try to move lots of files. for archiving media it's probably not a problem, for development work or engineering use it may drive you nuts and waste you're time. if you're going with external drives use laptop drives, or build a JBOD with good cooling. in any case, monitor drive temperatures, in my experiance anything above 100F is asking for a short life, bellow or at 100F drives new and old are happy for over a decade which seems like a long time, but most of us have data on older machines with older drives somewhere in the house and most don't back that up or back it up often enough. also note that most usb adapters don't even allow smart access, so the only way to see if the drive's hot is to feel the enclosure which is not terribly accurate or usefull. it's also really nice to be able to run smart diagnostics and have the os monitor the smart status which most versions of linux will do, don't know about winblows, haven't run that since xp. mad.scientist.at.large (a good madscientist) -- God bless the rich, the greedy and the corrupt politicians they have put into office. God bless them for helping me do the right thing by giving the rich my little pile of cash. After all, the rich know what to do with money. 18. Jan 2018 12:22 by antli...@youngman.org.uk: > On 18/01/18 18:45, Nikos Chantziaras wrote: >> On 18/01/18 20:33, >> the...@sys-concept.com>> wrote: >>> Do those External Storage work with Linux (USB3)? >>> I don't want to install any ventor-software, I just want one that plugs >>> and play. >>> >>> Any recommendations? >> >> My USB 3 stick works fine, at its full advertised speed (190MB/s read, >> 100MB/s write.) So an HD should work fine though. There's no third-party >> drivers needed. >> > Just don't even think of using a USB drive for RAID :-( > > Cheers, > Wol
Re: [gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys
> So has 4.9.77, but it's dumb: > > > > matica!3 ~$ cat /sys/devices/system/cpu/vulnerabilities/meltdown > > Vulnerable > > matica!4 ~$ cat /sys/devices/system/cpu/vulnerabilities/spectre_v1 > > Vulnerable > > matica!5 ~$ cat /sys/devices/system/cpu/vulnerabilities/spectre_v2 > > Vulnerable: Minimal AMD ASM retpoline > > > > (AMD is not affected by Meltdown) > > > > On my Ryzen 5-1600 I get: > cat /sys/devices/system/cpu/vulnerabilities/meltdown > Not affected > > I'm not sure why you're getting a vulnerable message. > > On my fam10/barcelona; cat /sys/devices/system/cpu/vulnerabilities/meltdown Not affected
Re: [gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys
On Thu, Jan 18, 2018 at 2:31 PM, Ian Zimmerman wrote: > On 2018-01-18 19:28, Adam Carter wrote: > >> Nice; >> >> $ ls /sys/devices/system/cpu/vulnerabilities/ >> meltdown spectre_v1 spectre_v2 >> $ cat /sys/devices/system/cpu/vulnerabilities/meltdown >> Mitigation: PTI >> $ cat /sys/devices/system/cpu/vulnerabilities/spectre_v1 >> Vulnerable >> $ cat /sys/devices/system/cpu/vulnerabilities/spectre_v2 >> Vulnerable: Minimal generic ASM retpoline > > So has 4.9.77, but it's dumb: > > matica!3 ~$ cat /sys/devices/system/cpu/vulnerabilities/meltdown > Vulnerable > matica!4 ~$ cat /sys/devices/system/cpu/vulnerabilities/spectre_v1 > Vulnerable > matica!5 ~$ cat /sys/devices/system/cpu/vulnerabilities/spectre_v2 > Vulnerable: Minimal AMD ASM retpoline > > (AMD is not affected by Meltdown) > On my Ryzen 5-1600 I get: cat /sys/devices/system/cpu/vulnerabilities/meltdown Not affected I'm not sure why you're getting a vulnerable message. -- Rich
Re: [gentoo-user] USB3 external storage HD's
On Thu, Jan 18, 2018 at 12:33 PM, wrote: > Any recommendations? > Buy a SATA to USB3 enclosure and a 2.5" laptop drive separately. Usually this will be cheaper and give you better performance. Low quality drives are typically binned for USBHDD usage. This is changing with the speed increase of USB3, but seems to not have entirely gone away. They sell SATA to USB3 *converters* that do not fully enclose the drive. You can buy cases for the bare 2.5" HDDs if you want. You could also look at 3.5" drives for higher storage density, though 2.5" drives are catching up. Just use the first result on Amazon or Newegg, or the cheapest thing you can find at a physical store (a common brand is Startech). Cheers, R0b0t1
[gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys
On 2018-01-18 19:28, Adam Carter wrote: > Nice; > > $ ls /sys/devices/system/cpu/vulnerabilities/ > meltdown spectre_v1 spectre_v2 > $ cat /sys/devices/system/cpu/vulnerabilities/meltdown > Mitigation: PTI > $ cat /sys/devices/system/cpu/vulnerabilities/spectre_v1 > Vulnerable > $ cat /sys/devices/system/cpu/vulnerabilities/spectre_v2 > Vulnerable: Minimal generic ASM retpoline So has 4.9.77, but it's dumb: matica!3 ~$ cat /sys/devices/system/cpu/vulnerabilities/meltdown Vulnerable matica!4 ~$ cat /sys/devices/system/cpu/vulnerabilities/spectre_v1 Vulnerable matica!5 ~$ cat /sys/devices/system/cpu/vulnerabilities/spectre_v2 Vulnerable: Minimal AMD ASM retpoline (AMD is not affected by Meltdown) -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet, fetch the TXT record for the domain.
Re: [gentoo-user] Re: USB3 external storage HD's
On 18/01/18 18:45, Nikos Chantziaras wrote: > On 18/01/18 20:33, the...@sys-concept.com wrote: >> Do those External Storage work with Linux (USB3)? >> I don't want to install any ventor-software, I just want one that plugs >> and play. >> >> Any recommendations? > > My USB 3 stick works fine, at its full advertised speed (190MB/s read, > 100MB/s write.) So an HD should work fine though. There's no third-party > drivers needed. > Just don't even think of using a USB drive for RAID :-( Cheers, Wol
[gentoo-user] Re: USB3 external storage HD's
On 18/01/18 20:33, the...@sys-concept.com wrote: Do those External Storage work with Linux (USB3)? I don't want to install any ventor-software, I just want one that plugs and play. Any recommendations? My USB 3 stick works fine, at its full advertised speed (190MB/s read, 100MB/s write.) So an HD should work fine though. There's no third-party drivers needed.
[gentoo-user] USB3 external storage HD's
Do those External Storage work with Linux (USB3)? I don't want to install any ventor-software, I just want one that plugs and play. Any recommendations? -- Thelma
[gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys
On 18/01/18 10:28, Adam Carter wrote: Nice; $ ls /sys/devices/system/cpu/vulnerabilities/ meltdown spectre_v1 spectre_v2 $ cat /sys/devices/system/cpu/vulnerabilities/meltdown Mitigation: PTI $ cat /sys/devices/system/cpu/vulnerabilities/spectre_v1 Vulnerable $ cat /sys/devices/system/cpu/vulnerabilities/spectre_v2 Vulnerable: Minimal generic ASM retpoline Good to know! Thanks. For Spectre, GCC 7.3 is needed, which isn't released yet, but AFAIK is being fast-tracked for release by upstream. There's plans to backport to GCC 6 as well. Not sure about the CPU microcode situation.
Re: [gentoo-user] firefox-bin -ProfileManager %U
On 01/18/2018 10:47 AM, Florian Gamböck wrote: > Hi! > > On 2018-01-18 09:15, the...@sys-concept.com wrote: >> On my new system I'm suing "firefox-bin-57.0.4" using: firefox-bin >> -ProfileManager %U >> >> When I start firefox first time the profile manager pops up, I can >> select a profile; but when I try to start again (different profile) >> when I click on firefox it start again with the same profile I'm >> already running. > > This is intended behavior, to use an already running instance. If you > want to start a new instance, try using: > > firefox-bin --ProfileManager --new-instance %U > > For more information about command line options, see also: > > firefox-bin --help Yes, it worked! Thank you. Joseph
Re: [gentoo-user] firefox-bin -ProfileManager %U
Hi! On 2018-01-18 09:15, the...@sys-concept.com wrote: On my new system I'm suing "firefox-bin-57.0.4" using: firefox-bin -ProfileManager %U When I start firefox first time the profile manager pops up, I can select a profile; but when I try to start again (different profile) when I click on firefox it start again with the same profile I'm already running. This is intended behavior, to use an already running instance. If you want to start a new instance, try using: firefox-bin --ProfileManager --new-instance %U For more information about command line options, see also: firefox-bin --help -- Regards Flo
Re: [gentoo-user] firefox-bin -ProfileManager %U
On 01/18/2018 09:15 AM, the...@sys-concept.com wrote: > On my new system I'm suing "firefox-bin-57.0.4" using: > firefox-bin -ProfileManager %U > > When I start firefox first time the profile manager pops up, I can > select a profile; but when I try to start again (different profile) when > I click on firefox it start again with the same profile I'm already > running. > > Should I downgrade to firefox-bin-52.2.0 > ProfileManager with firefox-bin-52.5.3-r1 doesn't work either.
[gentoo-user] firefox-bin -ProfileManager %U
On my new system I'm suing "firefox-bin-57.0.4" using: firefox-bin -ProfileManager %U When I start firefox first time the profile manager pops up, I can select a profile; but when I try to start again (different profile) when I click on firefox it start again with the same profile I'm already running. Should I downgrade to firefox-bin-52.2.0 -- Joseph
Re: [gentoo-user] openvpn client IP address
On 01/18/2018 07:15 AM, Michael Orlitzky wrote: > On 01/17/2018 09:51 PM, the...@sys-concept.com wrote: >> How openvpn client obtains IP address from the server? >> >> On the sever in server.conf I had: >> server 192.168.139.0 255.255.255.0 >> route 10.0.0.0 255.255.255.0 192.168.139.7 >> >> On server in ccd/ I had client.file: >> ifconfig-push 192.168.139.3 255.255.255.0 > > Two things to check: > > First, the client configuration directory needs to be specified in the > server configuration file with the "client-config-dir" directive. In > your case, it looks like you need > > client-config-dir ccd > > but try an absolute path if that doesn't work for you. > > The second is the naming convention for the client configuration files > themselves. The files in "ccd" need to match the common names on the > certificates of your clients exactly, IIRC. So instead of "client.file", > you probably want just "client". Thanks for reply. I've already figure it out. The configuration file in ccd/ directory on a server is linked to a key generated for the client during setup on server: ./easyrsa build-client-full syscon7 nopass (this is client key pair) So the file in ccd/ (on server) has to be called "syscon7" and the client computer will take IP from this file (that you assign). Joseph
Re: [gentoo-user] openvpn client IP address
On 01/17/2018 09:51 PM, the...@sys-concept.com wrote: > How openvpn client obtains IP address from the server? > > On the sever in server.conf I had: > server 192.168.139.0 255.255.255.0 > route 10.0.0.0 255.255.255.0 192.168.139.7 > > On server in ccd/ I had client.file: > ifconfig-push 192.168.139.3 255.255.255.0 Two things to check: First, the client configuration directory needs to be specified in the server configuration file with the "client-config-dir" directive. In your case, it looks like you need client-config-dir ccd but try an absolute path if that doesn't work for you. The second is the naming convention for the client configuration files themselves. The files in "ccd" need to match the common names on the certificates of your clients exactly, IIRC. So instead of "client.file", you probably want just "client".
[gentoo-user] Kernel 4.14.14 has meltdown / spectre info in /sys
Nice; $ ls /sys/devices/system/cpu/vulnerabilities/ meltdown spectre_v1 spectre_v2 $ cat /sys/devices/system/cpu/vulnerabilities/meltdown Mitigation: PTI $ cat /sys/devices/system/cpu/vulnerabilities/spectre_v1 Vulnerable $ cat /sys/devices/system/cpu/vulnerabilities/spectre_v2 Vulnerable: Minimal generic ASM retpoline