Re: [gentoo-user] Re: Home/End Insert a ~ Instead of Moving Cursor

2018-05-21 Thread R0b0t1
On Mon, May 21, 2018 at 10:12 PM, Ian Zimmerman  wrote:
> On 2018-05-21 21:23, R0b0t1 wrote:
>
>> The issue may be screen. If it is, what different thing do I do?
>
> tmux seems to be all the rage these days.
>

It does have vim bindings. That is nice. In any case, issue persists
with a bare ssh session to an Ubuntu host, but inputrc has the right
things in it.



Re: [gentoo-user] Where are the AMD microcode updates for spectre?

2018-05-21 Thread taii...@gmx.com
The fam15h microcode update adds IBPB

  * Indirect Branch Prediction Barrier (IBPB)
    * PRED_CMD MSR is available:  YES
    * CPU indicates IBPB capability:  YES  (IBPB_SUPPORT feature bit)

The question is what about the other stuff? IRBS, STIBP? This is very
confusing due to zero documentation...Why don't they have those in this
update?


0xDF372A17.asc
Description: application/pgp-keys


Re: [gentoo-user] KDE VM Plasmashell corrupt

2018-05-21 Thread Peter Humphrey
On Monday, 21 May 2018 22:36:50 BST Daniel D Jones wrote:

> Any ideas or suggestions for resolving the issue greatly appreciated.

Just a wild shot in the dark, but this wouldn't be a conflict with gpm, would 
it? I haven't seen a problem for a long time, but I remember having to stop 
gpm before starting xdm years ago.

-- 
Regards,
Peter.






Re: [gentoo-user] Re: [OT] What was it....?

2018-05-21 Thread tuxic
On 05/22 05:08, tu...@posteo.de wrote:
> On 05/21 08:21, Jonathan Callen wrote:
> > On 05/21/2018 02:43 PM, Grant Edwards wrote:
> > > On 2018-05-21, tu...@posteo.de  wrote:
> > > 
> > >> I know there was a tool/trick/hack to accomplish the following:
> > >> One could do "X" (this is for what I am asking for and cannot remember
> > >> its name...) -- I think it was a wrapper script or so -- to call
> > >> another console application like picocom to act as it would be
> > >> readline-enable (command history and such)  despite the fact it does not.
> > >>
> > >> What was it?
> > > 
> > > Googling https://www.google.com/search?q=readline+wrapper+application
> > > suggests rlwrap:
> > > 
> > > https://www.systutorials.com/docs/linux/man/1-rlwrap/
> > > https://packages.gentoo.org/packages/app-misc/rlwrap
> > > 
> > 
> > Additionally, rlfe (readline front end) is included with
> > sys-libs/readline[utils] and does about the same thing.
> > 
> > -- 
> > Jonathan Callen
> > 
> 
> Hi all!
> 
> Thanks for the help! :)
> 
> Cheers
> Meino
> 

Hi,

unfortunately neither rlwrap nor rlfe do work with picocom...

Cheers
Meino




[gentoo-user] Re: Home/End Insert a ~ Instead of Moving Cursor

2018-05-21 Thread Ian Zimmerman
On 2018-05-21 21:23, R0b0t1 wrote:

> The issue may be screen. If it is, what different thing do I do?

tmux seems to be all the rage these days.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: Annoying mapping of some keys

2018-05-21 Thread Ian Zimmerman
On 2018-05-22 09:38, Damo Brisbane wrote:

> Under X, xmodmap  perhaps?

I used to have a few xmodmap tricks in my X initialization scripts, but
today I find I have my needs covered by the recommended alternative of
xkb settings.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



Re: [gentoo-user] Re: [OT] What was it....?

2018-05-21 Thread tuxic
On 05/21 08:21, Jonathan Callen wrote:
> On 05/21/2018 02:43 PM, Grant Edwards wrote:
> > On 2018-05-21, tu...@posteo.de  wrote:
> > 
> >> I know there was a tool/trick/hack to accomplish the following:
> >> One could do "X" (this is for what I am asking for and cannot remember
> >> its name...) -- I think it was a wrapper script or so -- to call
> >> another console application like picocom to act as it would be
> >> readline-enable (command history and such)  despite the fact it does not.
> >>
> >> What was it?
> > 
> > Googling https://www.google.com/search?q=readline+wrapper+application
> > suggests rlwrap:
> > 
> > https://www.systutorials.com/docs/linux/man/1-rlwrap/
> > https://packages.gentoo.org/packages/app-misc/rlwrap
> > 
> 
> Additionally, rlfe (readline front end) is included with
> sys-libs/readline[utils] and does about the same thing.
> 
> -- 
> Jonathan Callen
> 

Hi all!

Thanks for the help! :)

Cheers
Meino







[gentoo-user] Home/End Insert a ~ Instead of Moving Cursor

2018-05-21 Thread R0b0t1
How do I fix this? I found
https://wiki.archlinux.org/index.php/Home_and_End_keys_not_working,
but the provided /etc/inputrc settings are on all systems. Connections
are made via ssh (network) and screen (serial). The issue seems to
only appear in nested sessions on the ssh connection and on the serial
connection.

The issue may be screen. If it is, what different thing do I do?

Cheers,
 R0b0t1



Re: [gentoo-user] Annoying mapping of some keys

2018-05-21 Thread Andrew Udvare

> On 2018-05-21, at 19:38, Damo Brisbane  wrote:
> 
> Under X, xmodmap perhaps?

I use this to map caps lock to escape in my ~/.xprofile (which gets sourced 
somewhere in my ~/.bash_profile if DISPLAY is set):

xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'

(Also it unsets caps lock if it was on.)

This way I don’t have to rely on my DE’s way of doing this. Any X client will 
have this set, even remote ones.

Andrew


[gentoo-user] Re: [OT] What was it....?

2018-05-21 Thread Jonathan Callen
On 05/21/2018 02:43 PM, Grant Edwards wrote:
> On 2018-05-21, tu...@posteo.de  wrote:
> 
>> I know there was a tool/trick/hack to accomplish the following:
>> One could do "X" (this is for what I am asking for and cannot remember
>> its name...) -- I think it was a wrapper script or so -- to call
>> another console application like picocom to act as it would be
>> readline-enable (command history and such)  despite the fact it does not.
>>
>> What was it?
> 
> Googling https://www.google.com/search?q=readline+wrapper+application
> suggests rlwrap:
> 
> https://www.systutorials.com/docs/linux/man/1-rlwrap/
> https://packages.gentoo.org/packages/app-misc/rlwrap
> 

Additionally, rlfe (readline front end) is included with
sys-libs/readline[utils] and does about the same thing.

-- 
Jonathan Callen



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Annoying mapping of some keys

2018-05-21 Thread Damo Brisbane
Under X, xmodmap  perhaps?

On Sun, May 20, 2018 at 6:17 PM, Klaus Ethgen 
wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> Hi,
>
> I have an annoying problem on gentoo that I work around currently by
> using zkbd from zsh.
>
> Some keys on Gentoo, on xterm, console and via ssh from remote host, map
> to wrong keycodes. Namely and most important, that are the keys for
> begin, end and delete. They insert a tilde char instead of doing the
> expected cursor movement.
>
> A correct table would show as following:
>key[F1]='^[OP'
>key[F2]='^[OQ'
>key[F3]='^[OR'
>key[F4]='^[OS'
>key[F5]='^[[15~'
>key[F6]='^[[17~'
>key[F7]='^[[18~'
>key[F8]='^[[19~'
>key[F9]='^[[20~'
>key[F10]='^[[21~'
>key[F11]='^[[23~'
>key[F12]='^[[24~'
>key[Backspace]='^?'
>key[Insert]='^[[2~'
>key[Home]='^[[H'
>key[PageUp]='^[[5~'
>key[Delete]='^[[3~'
>key[End]='^[[F'
>key[PageDown]='^[[6~'
>key[Up]='^[[A'
>key[Left]='^[[D'
>key[Down]='^[[B'
>key[Right]='^[[C'
>key[Menu]=
>
> Is there any way to fix that system wide in Gentoo?
>
> Regards
>Klaus
> - --
> Klaus Ethgen   http://www.ethgen.ch/
> pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
> Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
> -BEGIN PGP SIGNATURE-
> Comment: Charset: ISO-8859-1
>
> iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlsBLy8ACgkQpnwKsYAZ
> 9qx9QQwAw/8vCYNcjBJS4+Q6FcSAXg/Kx25DtcET7Q+GngwWJMafex0+ySD1p+za
> O5zUo1auePNuziFL6U6+f3m+/z/uHonIoUZ3Fqk1I/0xzD3QUmUDouzv/RwhD5N8
> W5+wivRFF+UJ2nMSa+NG1APEi3W63iXc5zPuwddyqT2UgYTmwG3fzse25qc6QtZM
> Heu31opWcCUMqBYYushL3yD18bYfUiav1boF0DYewOkpBTgQkzZl1WyDBvSd5pVz
> tPle+v2dj8IbqHgT2ALOuvCOiH0troqb6b/SmV7lNapVgMCYoDhSFnPkhJ2k000g
> ni+h8bQ5LNSq5eUI2hpafQoi5bQc3yzUCqz4IJ+2ZCNvjiHuL466XkXeel6BzKPV
> 6w19aWbG8vvhJYQFmx+6PrysSNj4lhIegWp6e9os3/2gg07+TlIjR98erlGe/Llq
> uHTNbIsQaUf53uA7pGRIKp/DKmdKpUk5+BO1q1jFjbHwvcIhkUs4asGJV7e026CY
> eGiiZbFL
> =U8fE
> -END PGP SIGNATURE-
>
>


Re: [gentoo-user] udev-238 and google?

2018-05-21 Thread Mike Gilbert
On Sat, May 19, 2018 at 3:53 AM, Mick  wrote:
> I noticed network related google variables being added in the compilation by
> emerge as udev was being updated to 238 today:
>
> ===
> Configuring systemd-update-done.service.tmp using configuration
> Configuring systemd-update-utmp-runlevel.service.tmp using configuration
> Configuring systemd-update-utmp.service.tmp using configuration
> Confi
> meson.build:2907: WARNING: Trying to compare values of different types (bool,
> str) using ==.
> The result of this is undefined and will become a hard error in a future Meson
> release.
> meson.build:2907: WARNING: Trying to compare values of different types (bool,
> str) using ==.
> The result of this is undefined and will become a hard error in a future Meson
> release.
> meson.build:2907: WARNING: Trying to compare values of different types (bool,
> str) using ==.
> The result of this is undefined and will become a hard error in a future Meson
> release.
> meson.build:2907: WARNING: Trying to compare values of different types (bool,
> str) using ==.
> The result of this is undefined and will become a hard error in a future Meson
> release.
> meson.build:2907: WARNING: Trying to compare values of different types (bool,
> str) using ==.
> The result of this is undefined and will become a hard error in a future Meson
> release.
> meson.build:2907: WARNING: Trying to compare values of different types (bool,
> str) using ==.
> The result of this is undefined and will become a hard error in a future Meson
> release.
> meson.build:2
>  symbolic gateway hostnames:_gateway
>  default DNSSEC mode:   no
>  default cgroup hierarchy:  hybrid
>  default KillUserProcesses setting: true
>  default DNS servers:   8.8.8.8
> 8.8.4.4
> 2001:4860:4860::
> 2001:4860:4860::8844
>  default NTP servers:   time1.google.com
> time2.google.com
> time3.google.com
> time4.google.com
>  time epoch:1520288197
> (2018-03-05T22:16:37+00:00)
>
>  enabled features: PAM, IMA, SMACK, zlib, bzip2, ACL, qrencode,
> gnutls, libcurl, idn, nss-systemd, elfutils, binfmt, vconsole, quotacheck,
> tmpfiles, environment.d, sysusers, firstboot, randomseed, backlight, rfkill,
> logind, machined, hostnamed, timedated, timesyncd, localed, networkd, resolve,
> coredump, polkit, kmod, xkbcommon, pcre2, blkid, dbus, glib, nss-myhostname,
> hwdb, tpm, man pages, man page indices, SysV compat, utmp, ldconfig,
> hibernate, adm group, wheel group, gshadow
>
>  disabled features: libcryptsetup, AUDIT, AppArmor, SELinux, SECCOMP,
> xz, lz4, gcrypt, microhttpd, libidn2, libidn, libiptc, importd, legacy pkla,
> efi, gnu-efi, html pages, debug hashmap, debug mmap cache
> ==
>
> I don't know/understand why meson needs the above, but is there a reason
> google DNS and NTP servers take precedence over my system settings?

You are misinterpreting this output. Nothing is "taking precedence"
over your local settings.

systemd-udev is a component of systemd. To build it, we have to run
meson in the systemd source tree.

The DNS servers are used by systemd-resolved.
The NTP servers are used by systemd-timedated.

The meson build file defines default settings so that these programs
will work even on an unconfigured system.

systemd-udev does not utilize these settings, so they are completely
irrelevant for sys-fs/udev.



[gentoo-user] KDE VM Plasmashell corrupt

2018-05-21 Thread Daniel D Jones
I have Gentoo with KDE running in a Virtualbox VM.  It's a new install,
created and updated with the most recent packages less than a week ago.
 When I first start up the VM, the KDE desktop will not respond to the
mouse.  There's a rectangular box in the bottom right corner that's
shaded darker than the rest of the desktop.  It appears as though there
may be a dialog box there that is not properly displaying.  Neither
left or right clicking on the desktop, the menu app, the icons on the
desktop, etc. has any effect.  The system doesn't even seem to register
the clicks.  (I've also tried clicking on just about every pixel in the
shaded dialog-box area.)  However,if I put the cursor over the three
parallel lines in the upper left corner of the desktop, the icon
changes shade and shows the shadow.  It doesn't respond to clicks,
however.

I can press the Alt-F2 shortcut key and bring up the Run App dialog
box.  I can run Konsole from there.  Once I bring up Konsole, I can
move, resize and otherwise manipulate the window with the mouse as
normal.  I can select text in the window by clicking and dragging.  But
I still cannot do anything with mouse clicks outside the window.

In console, I can kill the plasmashell and manually restart it.  Once I
do that, the desktop responds to the mouse normally until I restart the
VM.

I've logged in as root and completely deleted ~/.kde4 (under my normal
login) and rebooted without fixing the issue.

Since restarting plasmashell causes everything to work normally, I
believe this is a KDE issue and not a Virtualbox mouse issue.  I
suppose it's possible something isn't working right with the virtual
mouse when KDE first starts and it is working right later when I
restart plasmashell, but that seems unlikely.  If it matters, the host
machine is also Gentoo running KDE.

Any ideas or suggestions for resolving the issue greatly appreciated.



Re: [gentoo-user] [Maybe OT]: Instability of system

2018-05-21 Thread Wols Lists
On 21/05/18 10:08, Mick wrote:
> PS. I use Corsair PSUs and always spend more on them to make sure it is not 
> the cheapest model.  A middle of the range modular unit comes with Japanese 
> capacitors and has not caused me problems in various builds.  In cheaper 
> models I've ended up replacing the capacitors without waiting for the PSU to 
> fail first - cheap PSUs always fail on me at the end.

And always check whether the power rating is INput or OUTput. The
cheaper brands might quote input to make it look like the psu is better
than it is. I'm sure I've come across a couple. Look for one that quotes
OUTput, and preferably is over-spec'd - the further it is from max
output (within limits) the better it will perform. Stick a 500W in a
computer that wants 350W, for example ...

Cheers,
Wol



Re: [gentoo-user] Re: Non-opnerc init scripts

2018-05-21 Thread Rich Freeman
On Mon, May 21, 2018 at 3:43 PM Ian Zimmerman  wrote:

> openrc scripts have their own "API".  Converting a straight sysvinit
> script into an openrc one takes some work.  Look at some existing
> openrc script to see the kind of work that is needed.


Unless the upstream script does quite a bit you're usually better off
starting with a generic OpenRC init.d script and just tweaking it vs trying
to convert a non-openrc script into an openrc one.

Another option is to just create an openrc script wrapper that just calls
the upstream one, which is installed elsewhere.

Ideally though you want to get pid files and such to show up in the right
place.  However, if this is for oss I'm not sure you're even launching any
daemons vs just setting mixer levels and such.  If you aren't actually
leaving any processes running calling the upstream script from a wrapper
should be pretty harmless.  I haven't used openrc since it got cgroup
support but I suspect it is better about cleaning up orphans these days as
well.

-- 
Rich



[gentoo-user] Re: Non-opnerc init scripts

2018-05-21 Thread Ian Zimmerman
On 2018-05-21 19:22, Klaus Ethgen wrote:

> I use oss4 directly from upstream now. It comes with an legacy init
> script that works well with `/etc/init.d/oss start` (however, it has
> no status).
> 
> I added it to the "default" runlevel but unfortunately, openrc does
> not even try to start it.

openrc scripts have their own "API".  Converting a straight sysvinit
script into an openrc one takes some work.  Look at some existing
openrc script to see the kind of work that is needed.

A quick workaround is to just put your oss script under /etc/local.d
with a name ending in ".start".

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: [OT] What was it....?

2018-05-21 Thread Grant Edwards
On 2018-05-21, tu...@posteo.de  wrote:

> I know there was a tool/trick/hack to accomplish the following:
> One could do "X" (this is for what I am asking for and cannot remember
> its name...) -- I think it was a wrapper script or so -- to call
> another console application like picocom to act as it would be
> readline-enable (command history and such)  despite the fact it does not.
>
> What was it?

Googling https://www.google.com/search?q=readline+wrapper+application
suggests rlwrap:

https://www.systutorials.com/docs/linux/man/1-rlwrap/
https://packages.gentoo.org/packages/app-misc/rlwrap

-- 
Grant Edwards   grant.b.edwardsYow! I didn't order any
  at   WOO-WOO ... Maybe a YUBBA
  gmail.com... But no WOO-WOO!




[gentoo-user] [OT] What was it....?

2018-05-21 Thread tuxic
Hi,

h

I know there was a tool/trick/hack to accomplish the following:
One could do "X" (this is for what I am asking for and cannot remember
its name...) -- I think it was a wrapper script or so -- to call
another console application like picocom to act as it would be
readline-enable (command history and such)  despite the fact it does not.

What was it?

Thanks a lot for any help in advance!
Cheers
Meino





[gentoo-user] Non-opnerc init scripts

2018-05-21 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

I use oss4 directly from upstream now. It comes with an legacy init
script that works well with `/etc/init.d/oss start` (however, it has no
status).

I added it to the "default" runlevel but unfortunately, openrc does not
even try to start it.

Could anyone give me a hint what I could have oevrlooked?

Regards
   Klaus
- -- 
Klaus Ethgen   http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlsDDlcACgkQpnwKsYAZ
9qyJogv/UFA5RhpgO/L7cWcyES88eHWmYLpZxoV/CwCRcwmzSDvEb1pVgs9S3fx5
5ZX+Kya75bf673hJXkobP5Zx+KpyqYFZE/uEjnt/BhFZtSdmjWDyLtxb8MjRmeSl
Df0K1DM/7H9fEaj3+cfs8oNw4HZUk2mE1gYycYc4pop3e19gBHwLdYIq+k/Cff+G
L5lCJKj0Y8qtevXkEQRQwVPzzBHKFNtbOHFnr/C0HelrUySIRmZJLssR2kiVHKDQ
fAmYqYcuzsRpJ4Eph/vFv2rKDLmnFYL87sG+FIkWONMf5fo26VvNRXxvpiUYGaDN
Sdh0JZ72ohyb/VaaiMAbi/AdggP/lTnFwHv5sx3HazAIsYy80HxB84cSjZT9xYLH
wXXSgCf4hGBgz/KGpNASmKZjr/UYf8AHkIEo6r8nlYCABZldNANMqCZxvlHYpyuD
1n4eyCaaULrALQHycnNuTAczUac+sOy5wSVRK4hxe9otdwwFlhdkuMzIEq1Bh4h0
SzGCYcVC
=LMiN
-END PGP SIGNATURE-



Re: [gentoo-user] Where are the AMD microcode updates for spectre?

2018-05-21 Thread Rich Freeman
On Mon, May 21, 2018 at 8:02 AM Corbin Bird  wrote:

> I noticed something odd about the microcode however ...
> > amd-ucode/microcode_amd_fam15h.bin7876 -> 5356 bytes
> .
> The size dropped by 2Kb?
> So is the "fix" actually disabling fixes for other problems?
> .

As far as I can tell there is no evidence that the new microcode fixes
anything, or that the old microcode it replaces fixes anything.  At least
the size is objectively measurable.  :)

Presumably the newer microcode is better in some way, or at least somebody
thought it is, possibly based on some knowledge of what it does.

-- 
Rich



Re: [gentoo-user] [Maybe OT]: Instability of system

2018-05-21 Thread Corbin Bird
On 05/20/2018 03:54 PM, Alan Mackenzie wrote:
> Hello, Gentoo.
>
> I'm having problems with my machine hanging or rebooting spontaneously.
> It's doing this, perhaps, every three or four weeks.  I think that when
> I'm in X, the system usually reboots, when I'm on a tty, it hangs.
---
> Other than that, suggestions as to what to do would be welcome.
>
> Thanks!
>
---
Lots of good suggestions already ... might want to check this as well :
.
The UEFI Memory Map
.
The Asrock mobo I have original came out certified for Win 8.1
Win 10 has a different UEFI memory map.
OpenRC re-triggers the "init" binary every 4 or 5 minutes, unless I put
"efi=old_map" in the kernel boot param.
.
( Linux/Gentoo, Kernel 4.9.x is looking for  Win 10 UEFI memory map. )
.
Compiling is a PITA with constant re-inits.
.
Corbin



Re: [gentoo-user] Where are the AMD microcode updates for spectre?

2018-05-21 Thread Corbin Bird
On 05/20/2018 06:46 PM, Adam Carter wrote:
> How often does the linux-firmware package update? On a schedule or as
>
> needed?
>
>
> There's a version bump request bug in for these and new AMDGPU
> firmware. Hopefully it will get processed quickly.
>
> https://bugs.gentoo.org/656136
.
Thank You, for the info.

I noticed something odd about the microcode however ...
> amd-ucode/microcode_amd_fam15h.bin    7876 -> 5356 bytes
.
The size dropped by 2Kb?
So is the "fix" actually disabling fixes for other problems?
.
Reference Link :
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=77101513943ef198e2050667c87abf19e6cbb1d8
.
Corbin



Re: [gentoo-user] [Maybe OT]: Instability of system

2018-05-21 Thread Mick
On Monday, 21 May 2018 01:20:21 BST Dale wrote:
> Adam Carter wrote:
> > On Mon, May 21, 2018 at 8:35 AM, Dale  > 
> > > wrote:
> > Alan Mackenzie wrote:
> > > Hello, Gentoo.
> > > 
> > > I'm having problems with my machine hanging or rebooting
> > 
> > spontaneously.
> > 
> > > It's doing this, perhaps, every three or four weeks.  I think
> > 
> > that when
> > 
> > > I'm in X, the system usually reboots, when I'm on a tty, it hangs.
> > > 
> > > This phenomenon has, up till now, been just below the level at which
> > > it's annoying enough to do something about.  But my machine just
> > 
> > hung on
> > 
> > > me a few minutes ago, and now it's definitely reached tha threshold
> > > where spending effort fixing it seems justified.
> > > 
> > > My actual Gentoo installation is fine, in fact, so good that
> > 
> > I've not
> > 
> > > needed to post to the list for a long time.  :-)
> > > 
> > > My system is an AMD Ryzen processor on an Asus Prime X370-Pro
> > 
> > mainboard,
> > 
> > > and is just over a year old.  I don't think my RAM is unstable
> > 
> > (though
> > 
> > > it's been a long time since I've run that RAM checking program).
> > 
> > I ran memory checking overnight on my unstable (segfaults) AMD 8350
> > system, but no issues were found. Underclocking the RAM to the next
> > lowest speed completely addressed the issue. If i get keen i may
> > re-visit the RAM timing to see if it can be made to run stable at the
> > nominal frequency with more conservative settings on the other parameters.
> > 
> > If the firmware hasnt fixed it, the underclocking is cheap test, but
> > yeah power supplies seem to be problematic. I always buy branded ones,
> > but even then only had mediocre results.
> 
> In the past, I've had bad ram test OK with those tests.  When those
> tests say ram is bad, it seems to always be accurate but sometimes it
> doesn't catch a bad stick.  I don't know if it doesn't test the whole
> thing or what.  I read somewhere that it sets aside a certain amount of
> ram for the test program itself, after all it has to be in memory to
> run, so it doesn't test that part.  So, even tho it says they are good,
> it may not be certain.  It would make me consider other causes tho. 
> I've only had that happen a couple times. 
> 
> I'd run at the default settings first.  If it still does it, then you
> can go back to your custom settings after you fix the problem.  I
> thought about overclocking at one time but for what I do, it doesn't
> really matter much.  My puter spends most of its time waiting on me not
> the other way around.  I guess if someone has their system doing some
> number crunching, foldingathome or something then it may matter more. 
> 
> I have Thermaltake power supplies here.  It's not the best out there for
> sure but it is in spec and reasonable price wise.  Some of those el
> cheapos are cheap for a reason.  I bought a case once that came with
> one.  I only paid like $50.00 for the whole thing.  Given a bare case
> that was close usually costs around $40.00 at the time, they couldn't
> have spent much on the P/S.  I removed it first thing and put in a
> proper P/S.  The el cheapo made a good paper weight tho.  The best
> insurance tho is one that someone has tested.  You can still get one bad
> out of the box but it gives you better odds for sure. 
> 
> Dale
> 
> :-)  :-) 

I've had firmware updates causing problems like this (on Asus) only to be 
corrected with the next firmware update.  If with default settings your RAM is 
playing up, update the firmware and check again.  I tend to knock back the 
DRAM timings a bit on O/C'ed boards and this helps with stability.  It goes 
without saying if default settings give you an unstable system, you should not 
try overclocking it.  :-)

PS. I use Corsair PSUs and always spend more on them to make sure it is not 
the cheapest model.  A middle of the range modular unit comes with Japanese 
capacitors and has not caused me problems in various builds.  In cheaper 
models I've ended up replacing the capacitors without waiting for the PSU to 
fail first - cheap PSUs always fail on me at the end.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] udev and ignoring rules

2018-05-21 Thread Neil Bothwick
On Sun, 20 May 2018 17:07:31 +0100, Klaus Ethgen wrote:

> I found a strange problem with udev and, in this case, pcscd.
> 
> Installed versions:
>[IP-] [  ] sys-apps/pcsc-lite-1.8.22:0
>[IP-] [  ] sys-fs/eudev-3.2.5:0
>[IP-] [  ] virtual/udev-217:0
> 
> - From /lib/udev/rules.d/99-pcscd-hotplug.rules, group should be set to
> pcscd. However, if I plug the device it gets set to group usb.
> 
> That for its own is very strange as I found no error in the rule in that
> file:
>ACTION=="add", ENV{PCSCD}=="1", GROUP="pcscd", RUN+="/bin/env
> IN_HOTPLUG=1 /etc/init.d/pcscd --quiet start"

Do you haver another rule that matches, perhaps in /etc/udev/rules.d?
AFAIR udev stops at the first match.


-- 
Neil Bothwick

Someone who thinks logically is a nice contrast to the real world.


pgpSlOSNeERw3.pgp
Description: OpenPGP digital signature