Re: [gentoo-user] Black Screen of Death
On Fri, 19 Jul 2019 06:09:47 +0100 jdm wrote: > On Fri, 19 Jul 2019 10:59:23 +1000 > Adam Carter wrote: > > > On Fri, Jul 19, 2019 at 8:28 AM jdm wrote: > > > > > Hi, > > > > > > For the last 2 months I have been getting a problem where my > > > machine locks and after 2 seconds goes to a black screen. The > > > machine is then unusable, ctrl-alt-delete F1 or sys rescue keys > > > do not work and you cannot remote login. > > > > > > I initially thought this was a problem with lxd but then > > > experienced issue when just using Enlightenment desktop. I have > > > switched to xfce4 but still getting issue. > > > > > > It happens 2 to 3 times a week. > > > > > > There is nothing in logs (/var/log/messages). > > > > > > I upgraded BIOS a beginning of year so don't think it's that but > > > have just upgraded again to see if that helps. > > > > > > Running ASUS Prime x470 Prime with ryzen 2700 and have upgraded > > > kernel to latest stable when running emerge --update... > > > > > > Any idea on how to debug an issue like this? > > > > > > > A few questions; > > - do you boot straight into X ? If so, have you tried disabling X to > > see if the CLI only is stable? > > - Which video card and are you using and are you loading the > > firmware? > > - Have you done an emerge @x11-module-rebuild since your last kernel > > update? > > - Anything interesting in ~/.local/share/xorg/Xorg.0.log? If 'Build > > Operating System' and 'Current Operating System' are different you > > could try rebuilding xorg-server, but it shouldn't matter. > > > > I've only heard of the c-state issue affecting early Ryzen 1s. > > Hi, > Will try disabling X as always boot straight into WM. > > Video card in Radeon RX480 and I have firmware loaded into kernel > as followed wiki. I will check this I have not looked into this for a > long time. > > /.local/share/xorg/Xorg.0.log Current and Build are consistent. > > I'll see if I can see c-state in BIOS which another email suggests as > well. > > Thanks > > John > > > I have updated firmware line in kernel as this now includes a few extra lines so not loading all of the available firmware. Thanks for advice and I'll see how I get on. John
Re: [gentoo-user] Black Screen of Death
On Fri, 19 Jul 2019 10:59:23 +1000 Adam Carter wrote: > On Fri, Jul 19, 2019 at 8:28 AM jdm wrote: > > > Hi, > > > > For the last 2 months I have been getting a problem where my machine > > locks and after 2 seconds goes to a black screen. The machine is > > then unusable, ctrl-alt-delete F1 or sys rescue keys do not work > > and you cannot remote login. > > > > I initially thought this was a problem with lxd but then experienced > > issue when just using Enlightenment desktop. I have switched to > > xfce4 but still getting issue. > > > > It happens 2 to 3 times a week. > > > > There is nothing in logs (/var/log/messages). > > > > I upgraded BIOS a beginning of year so don't think it's that but > > have just upgraded again to see if that helps. > > > > Running ASUS Prime x470 Prime with ryzen 2700 and have upgraded > > kernel to latest stable when running emerge --update... > > > > Any idea on how to debug an issue like this? > > > > A few questions; > - do you boot straight into X ? If so, have you tried disabling X to > see if the CLI only is stable? > - Which video card and are you using and are you loading the firmware? > - Have you done an emerge @x11-module-rebuild since your last kernel > update? > - Anything interesting in ~/.local/share/xorg/Xorg.0.log? If 'Build > Operating System' and 'Current Operating System' are different you > could try rebuilding xorg-server, but it shouldn't matter. > > I've only heard of the c-state issue affecting early Ryzen 1s. Hi, Will try disabling X as always boot straight into WM. Video card in Radeon RX480 and I have firmware loaded into kernel as followed wiki. I will check this I have not looked into this for a long time. /.local/share/xorg/Xorg.0.log Current and Build are consistent. I'll see if I can see c-state in BIOS which another email suggests as well. Thanks John
Re: [gentoo-user] search patterns in less(1)
The man page says: The pattern is a regular expression, as recognized by the regular expression library supplied by your system There are many regular expression libraries on my system. Anyway, thank you for the (unexpected) tip: man perlre That says to use \b instead of the decades-old \<. On 07/18/19 20:55, Michael Orlitzky wrote: On 7/18/19 6:40 PM, n952162 wrote: in less(1), how do you search for a pattern at the beginning (or ending) of a word. Hit front slash "/" in less, and then type a perl-compatible regular expression. Specifically, try https://www.pcre.org/original/doc/html/pcrepattern.html#smallassertions Also, where the change is documented. man less
Re: [gentoo-user] Black Screen of Death
On Fri, Jul 19, 2019 at 8:28 AM jdm wrote: > Hi, > > For the last 2 months I have been getting a problem where my machine > locks and after 2 seconds goes to a black screen. The machine is then > unusable, ctrl-alt-delete F1 or sys rescue keys do not work and you > cannot remote login. > > I initially thought this was a problem with lxd but then experienced > issue when just using Enlightenment desktop. I have switched to xfce4 > but still getting issue. > > It happens 2 to 3 times a week. > > There is nothing in logs (/var/log/messages). > > I upgraded BIOS a beginning of year so don't think it's that but have > just upgraded again to see if that helps. > > Running ASUS Prime x470 Prime with ryzen 2700 and have upgraded kernel > to latest stable when running emerge --update... > > Any idea on how to debug an issue like this? > A few questions; - do you boot straight into X ? If so, have you tried disabling X to see if the CLI only is stable? - Which video card and are you using and are you loading the firmware? - Have you done an emerge @x11-module-rebuild since your last kernel update? - Anything interesting in ~/.local/share/xorg/Xorg.0.log? If 'Build Operating System' and 'Current Operating System' are different you could try rebuilding xorg-server, but it shouldn't matter. I've only heard of the c-state issue affecting early Ryzen 1s.
Re: [gentoo-user] Black Screen of Death
[2019-07-18 23:29] jdm > Hi, Hi, > For the last 2 months I have been getting a problem where my machine > locks and after 2 seconds goes to a black screen. The machine is then > unusable, ctrl-alt-delete F1 or sys rescue keys do not work and you > cannot remote login. > > I initially thought this was a problem with lxd but then experienced > issue when just using Enlightenment desktop. I have switched to xfce4 > but still getting issue. > > It happens 2 to 3 times a week. > > There is nothing in logs (/var/log/messages). > > I upgraded BIOS a beginning of year so don't think it's that but have > just upgraded again to see if that helps. > > Running ASUS Prime x470 Prime with ryzen 2700 and have upgraded kernel > to latest stable when running emerge --update... I'm not sure if it's still an issue with the 2nd gen cpus, but at least with the first gen's I had lockups until I disabled the c-state functionality in the UEFI. There was a previous thread on this list discussing the issue which might be interesting if you haven't read it yet [1]. [..] [1]: https://archives.gentoo.org/gentoo-user/message/1cfd9cd62796b4a41a2152a66cc1df0e
[gentoo-user] Black Screen of Death
Hi, For the last 2 months I have been getting a problem where my machine locks and after 2 seconds goes to a black screen. The machine is then unusable, ctrl-alt-delete F1 or sys rescue keys do not work and you cannot remote login. I initially thought this was a problem with lxd but then experienced issue when just using Enlightenment desktop. I have switched to xfce4 but still getting issue. It happens 2 to 3 times a week. There is nothing in logs (/var/log/messages). I upgraded BIOS a beginning of year so don't think it's that but have just upgraded again to see if that helps. Running ASUS Prime x470 Prime with ryzen 2700 and have upgraded kernel to latest stable when running emerge --update... Any idea on how to debug an issue like this? I do dual boot with Windows and have not had this issue there so feels like a Linux issue. Playing some quite intensive games on Windows but last lock up on Linux was opening a terminal. Any advice or guidance would be much appreciated. John
Re: [gentoo-user] search patterns in less(1)
On 7/18/19 6:40 PM, n952162 wrote: > in less(1), how do you search for a pattern at the beginning (or ending) > of a word. > Hit front slash "/" in less, and then type a perl-compatible regular expression. Specifically, try https://www.pcre.org/original/doc/html/pcrepattern.html#smallassertions > > Also, where the change is documented. > man less
[gentoo-user] search patterns in less(1)
in less(1), how do you search for a pattern at the beginning (or ending) of a word. Elsewhere, you prepend (or append) the pattern with \< (\>) but that's not working for me with gentoo. Also, where the change is documented.
Re: [gentoo-user] Re: AMD microcode updates - where are they?!
On Thursday, 18 July 2019 13:33:36 BST Corbin wrote: > On 7/17/19 3:51 PM, Ian Zimmerman wrote: > > pti=0 ibrs=0 ibpb=1 retp=1 -> fix variant #1 #2 if the microcode > > update is applied pti=0 ibrs=2 ibpb=1 retp=1 -> fix variant #1 #2 on > > older processors that can disable indirect branch prediction without > > microcode updates > > > > Note: A microcode patch provided by the vendor must be applied in > > order for the tunables to be visible.> > > which of course is self-contradictory, so not a full answer but maybe a > > clue. I did read this but wasn't sure what to deduce from it. I took it to mean earlier CPUs won't receive a microcode patch, but will still have spectre mitigated, presumably using a different method. Later CPUs will receive a patch. My AMD APUs are later fam15h models and if the above is to be believed they probably ought to have received a patch - but none is observable. :-/ Then I thought the note in the RHL article may need to be taken literally, to mean a microcode patch will just make tunables *visible*, rather than present. > > Are those settings meant to go on a boot command line? > > As for what Red Hat / Fedora is doing, no idea. > > The parameters I used came from the kernel documentation. > > > Corbin According to kernel-4.19.57 docs at least, all CPU vulnerabilities and spectre related mitigations are automatically switched on, without the need to specify anything on the kernel line. In addition, the selection of individual spectre_v2 mitigation methods is determined dynamically "... at run time according to the CPU, the available microcode, the setting of the CONFIG_RETPOLINE configuration option, and the compiler with which the kernel was built." Anyway, selecting 'spectre_v2=on' "... will also enable the mitigation against user space to user space task attacks", so this is a useful option to use. Regarding ibpb not being displayed under my /sys fs the docs say: Default mitigation: If CONFIG_SECCOMP=y then "seccomp", otherwise "prctl" Therefore, I am not sure if ibpb is meant to show up unless it has been specified on the kernel line as a spectre_v2_user mitigation method. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] emerge --sync: problem refreshing keys
Hello to everyone, since yesterday emerge --sync fails because it can't refresh keys. The messages I get are: Syncing repository 'gentoo' into '/usr/portage'... * Using keys from /usr/share/openpgp-keys/gentoo-release.asc * Refreshing keys via WKD ... [ !! ] * Refreshing keys from keyserver hkps://keys.gentoo.org ...OpenPGP keyring refresh failed: gpg: refreshing 4 keys from hkps://keys.gentoo.org gpg: keyserver refresh failed: No keyserver available OpenPGP keyring refresh failed: gpg: refreshing 4 keys from hkps://keys.gentoo.org gpg: keyserver refresh failed: No keyserver available After that, it goes on for a while with the same message. As I have seen no messages regarding this either here or on the forums, I guess there's something wrong on my system, but I can't imagine what's wrong. Two days ago I could sync without problems. Looking at the emerge log, I that that most of the packages I installed were from kde-frameworks and kde-apps, so I don't think they can have caused this issue. Do you have any idea about how to solve this issue? Searching Google, I found several mentions of similar issues, but they were old (about one year ago) and the proposed solution was to install app-portage/gemato-14.0. Of course, all older versions of gemato aren't in portage anymore, so that can't be the issue. Does anyone have any suggestions on how to fix this issue? Thanks in advance Stefano
Re: [gentoo-user] Re: AMD microcode updates - where are they?!
On 7/17/19 3:51 PM, Ian Zimmerman wrote: > pti=0 ibrs=0 ibpb=1 retp=1 -> fix variant #1 #2 if the microcode update > is applied > pti=0 ibrs=2 ibpb=1 retp=1 -> fix variant #1 #2 on older processors that > can disable indirect branch prediction without microcode updates > > Note: A microcode patch provided by the vendor must be applied in order > for the tunables to be visible. > > which of course is self-contradictory, so not a full answer but maybe a > clue. > > Are those settings meant to go on a boot command line? > As for what Red Hat / Fedora is doing, no idea. The parameters I used came from the kernel documentation. Corbin