[gentoo-user] [OT] Memory error messages in dmesg

2015-11-28 Thread Dan Johansson
I have started noticing the following messages in the dmesg output (and 
in the log-files) on my Gentoo rig:


[46545.779803] [Hardware Error]: Corrected error, no action required.
[46545.779984] [Hardware Error]: CPU:3 (15:2:0) 
MC2_STATUS[Over|CE|MiscV|-|AddrV|-|-|CECC]: 0xdc2540f40136

[46545.780434] [Hardware Error]: MC2 Error Address: 0x0002cc215138
[46545.780605] [Hardware Error]: MC2 Error: Fill ECC error on data 
fills.

[46545.783764] [Hardware Error]: cache level: L2, tx: DATA, mem-tx: DRD
[46545.784088] mce: [Hardware Error]: Machine check events logged
[46545.791786] [Hardware Error]: Corrected error, no action required.
[46545.791958] [Hardware Error]: CPU:2 (15:2:0) 
MC2_STATUS[Over|CE|MiscV|-|AddrV|-|-|CECC]: 0xdc2540540136

[46545.792382] [Hardware Error]: MC2 Error Address: 0x0002cc2158b8
[46545.792579] [Hardware Error]: MC2 Error: Fill ECC error on data 
fills.

[46545.792791] [Hardware Error]: cache level: L2, tx: DATA, mem-tx: DRD
[46545.793088] mce: [Hardware Error]: Machine check events logged

I have been running memtest for some time (~100h) and have not gotten 
any error message - so I am suspecting that this is a CPU problem. Am I 
correct?


If it was just these error-messages I would not be that worried, but I 
have started to get a lot of "hangers" on this rig when compiling larger 
packages. Could there be a relation to the error-messages?


KR,
--
Dan Johansson, 
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Weird "df" output

2015-11-28 Thread Neil Bothwick
On Sat, 28 Nov 2015 07:27:18 -0500, waltd...@waltdnes.org wrote:

> > Hm, I don't consider extended partitions as primary ones but as
> > extended ones.  When I need more than four partitions, I create three
> > primary ones, an extended one and logical ones within the extended
> > one.  Why would I do that any other way?
> > 
> > You cannot have a primary partition that covers the entire disk and
> > then some.  
> 
>   OK, Primary and/or Extended partitions are numbered 1-to-4.  Logical
> partitions within extended partitions are numbered 5 and up.

And an extended partition is a special type of primary partition.

Or you can avoid all this legacy idiocy and confusion by using GPT, which
lets you have a sensible number of partitions without fragile kludges.


-- 
Neil Bothwick

Shell to DOS... Shell to DOS... DOS, do you copy? Shell to DOS...


pgpz8ZlibbBzZ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] [OT] Memory error messages in dmesg

2015-11-28 Thread Alexander Kapshuk
On Sat, Nov 28, 2015 at 12:01 PM, Dan Johansson 
wrote:

> I have started noticing the following messages in the dmesg output (and in
> the log-files) on my Gentoo rig:
>
> [46545.779803] [Hardware Error]: Corrected error, no action required.
> [46545.779984] [Hardware Error]: CPU:3 (15:2:0)
> MC2_STATUS[Over|CE|MiscV|-|AddrV|-|-|CECC]: 0xdc2540f40136
> [46545.780434] [Hardware Error]: MC2 Error Address: 0x0002cc215138
> [46545.780605] [Hardware Error]: MC2 Error: Fill ECC error on data fills.
> [46545.783764] [Hardware Error]: cache level: L2, tx: DATA, mem-tx: DRD
> [46545.784088] mce: [Hardware Error]: Machine check events logged
> [46545.791786] [Hardware Error]: Corrected error, no action required.
> [46545.791958] [Hardware Error]: CPU:2 (15:2:0)
> MC2_STATUS[Over|CE|MiscV|-|AddrV|-|-|CECC]: 0xdc2540540136
> [46545.792382] [Hardware Error]: MC2 Error Address: 0x0002cc2158b8
> [46545.792579] [Hardware Error]: MC2 Error: Fill ECC error on data fills.
> [46545.792791] [Hardware Error]: cache level: L2, tx: DATA, mem-tx: DRD
> [46545.793088] mce: [Hardware Error]: Machine check events logged
>
> I have been running memtest for some time (~100h) and have not gotten any
> error message - so I am suspecting that this is a CPU problem. Am I correct?
>
> If it was just these error-messages I would not be that worried, but I
> have started to get a lot of "hangers" on this rig when compiling larger
> packages. Could there be a relation to the error-messages?
>
> KR,
> --
> Dan Johansson, 
> ***
> This message is printed on 100% recycled electrons!
> ***
>
>
Do you have an AMD, or an Intel CPU on board?

Here are a couple links to bug reports from people who had a similar issue
with an AMD CPU.
https://www.novell.com/support/kb/doc.php?id=7013006
https://bugzilla.redhat.com/show_bug.cgi?id=1078604


Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]

2015-11-28 Thread Neil Bothwick
On Sat, 28 Nov 2015 10:24:32 + (UTC), Bill Damage wrote:

> The log I see says its not using the password but the key. I have
> regenerated the key but it didn't help. This setup has been fine for
> years. Could there be key *types* which became invalid, or now need
> special configuration, which was caused by the OpenSSL update?

Yes, DSS keys are now disabled by default, but can be re-enabled if
really needed. See http://www.openssh.com/legacy.html

> NX> 203 NXSSH running with pid: 3708 
> NX> 285 Enabling check on switch command 
> NX> 285 Enabling skip of SSH config files 

However, if nx is ignoring your SSH config, I'm not sure how you can tell
it to use 
> NX> 285 Setting the preferred NX options 
> NX> 200 Connected to address: 192.168.62.4 on port: 22 
> NX> 202 Authenticating user: nx 
> NX> 208 Using auth method: publickey 
> NX> 204 Authentication failed.  
 
Where is the information from the *server* log.


-- 
Neil Bothwick

Earlier, I didn't have time to finish anything. This time I w


pgpuKTeEuoytz.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]

2015-11-28 Thread Bill Damage
The log I see says its not using the password but the key. I have regenerated 
the key but it didn't help. This setup has been fine for years. Could there be 
key *types* which became invalid, or now need special configuration, which was 
caused by the OpenSSL update?

NX> 203 NXSSH running with pid: 3708 
NX> 285 Enabling check on switch command 
NX> 285 Enabling skip of SSH config files 
NX> 285 Setting the preferred NX options 
NX> 200 Connected to address: 192.168.62.4 on port: 22 
NX> 202 Authenticating user: nx 
NX> 208 Using auth method: publickey 
NX> 204 Authentication failed.




On Friday, 27 November 2015, 9:10, Peter Humphrey  wrote:
On Thursday 26 November 2015 21:39:57 Bill Damage wrote:

> Is this better? Damn Yahoo webmail...

Yes, it's fine.

-- 
Rgds
Peter



Re: [gentoo-user] [OT] Memory error messages in dmesg

2015-11-28 Thread Dan Johansson

On 2015-11-28 11:38, Alexander Kapshuk wrote:

On Sat, Nov 28, 2015 at 12:01 PM, Dan Johansson 
wrote:

I have started noticing the following messages in the dmesg output 
(and in

the log-files) on my Gentoo rig:

I have been running memtest for some time (~100h) and have not gotten 
any
error message - so I am suspecting that this is a CPU problem. Am I 
correct?


If it was just these error-messages I would not be that worried, but I
have started to get a lot of "hangers" on this rig when compiling 
larger

packages. Could there be a relation to the error-messages?



Do you have an AMD, or an Intel CPU on board?

Here are a couple links to bug reports from people who had a similar 
issue

with an AMD CPU.
https://www.novell.com/support/kb/doc.php?id=7013006
https://bugzilla.redhat.com/show_bug.cgi?id=1078604


Yes, it is an AMD CPU - I'll look into those links.

KR,
--
Dan Johansson, 
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] SDDM problem

2015-11-28 Thread john
Hello,

I have installed kde-frameworks-5.16 & kde-plasma-5.5 and when I start
sddm I get the following error:

/usr/bin/xauth: (stdin):1:  bad "remove" command line
/usr/bin/xauth: (stdin):2:  bad "add" command line

sddm does not start
Using openrc
Version x11-misc/sddm-0.13.0-r1

Any ideas? Does sddm only work with systemd??

slim is fine.

John



Re: [gentoo-user] Weird "df" output

2015-11-28 Thread waltdnes
On Sat, Nov 28, 2015 at 12:13:29AM +0100, lee wrote
> waltd...@waltdnes.org writes:
> 
> > On Thu, Nov 26, 2015 at 11:57:20AM +0100, lee wrote
> >
> >> He said that he "has a primary partition 1, which covers the entire
> >> hard drive" and "a small / partition".  That made me think that he
> >> has two disks.
> >
> >   Primary partitions are numbered 1 through 4 and logical partitions are
> > numbered 5 and up.  The "primary partition" is the entire physical disk.
> 
> Hm, I don't consider extended partitions as primary ones but as extended
> ones.  When I need more than four partitions, I create three primary
> ones, an extended one and logical ones within the extended one.  Why
> would I do that any other way?
> 
> You cannot have a primary partition that covers the entire disk and then
> some.

  OK, Primary and/or Extended partitions are numbered 1-to-4.  Logical
partitions within extended partitions are numbered 5 and up.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] SDDM problem

2015-11-28 Thread Peter Humphrey
On Saturday 28 November 2015 12:51:59 john wrote:
> Hello,
> 
> I have installed kde-frameworks-5.16 & kde-plasma-5.5 and when I start
> sddm I get the following error:
> 
> /usr/bin/xauth: (stdin):1:  bad "remove" command line
> /usr/bin/xauth: (stdin):2:  bad "add" command line
> 
> sddm does not start
> Using openrc
> Version x11-misc/sddm-0.13.0-r1
> 
> Any ideas? Does sddm only work with systemd??
> 
> slim is fine.

Not wanting to mess up my existing kde system I've built a new one from 
scratch in spare disk partitions, choosing the plasma profile and the kde 
overlay, and using openrc. My frameworks are at version 5.14.0 and kde-
plasma is at 5.4.3.

I did have a bit of trouble getting sddm to run at first, but after prowling 
around the Web for a while I got it to work without problem. Sorry I can't 
remember now what I did. It's at version 0.12.0-r1 here.

-- 
Rgds
Peter




Re: [gentoo-user] Weird "df" output

2015-11-28 Thread waltdnes
On Sat, Nov 28, 2015 at 12:35:34PM +, Neil Bothwick wrote
> On Sat, 28 Nov 2015 07:27:18 -0500, waltd...@waltdnes.org wrote:
> 
> >   OK, Primary and/or Extended partitions are numbered 1-to-4.  Logical
> > partitions within extended partitions are numbered 5 and up.
> 
> And an extended partition is a special type of primary partition.
> 
> Or you can avoid all this legacy idiocy and confusion by using GPT, which
> lets you have a sensible number of partitions without fragile kludges.

  The entire point of my bindmounting procedure (remember the original
post?) is to minimize the number of partitions without strangling root
if a logger goes wild.  I generally run with 3 partitions, including
swap.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]

2015-11-28 Thread Bill Damage
Thanks for your hep and patience!
I want to report the full log.
I see the log file at /var/log/nx/nxserver.log is always 0 bytes. 
To try to enable it I changed the entry in /etc/nxserver/node.conf 
NX_LOG_LEVEL=0 to NX_LOG_LEVEL=6 but it still creates the 0 length log file.



On Saturday, 28 November 2015, 12:33, Neil Bothwick  wrote:
On Sat, 28 Nov 2015 10:24:32 + (UTC), Bill Damage wrote:

> The log I see says its not using the password but the key. I have
> regenerated the key but it didn't help. This setup has been fine for
> years. Could there be key *types* which became invalid, or now need
> special configuration, which was caused by the OpenSSL update?

Yes, DSS keys are now disabled by default, but can be re-enabled if
really needed. See http://www.openssh.com/legacy.html

> NX> 203 NXSSH running with pid: 3708 
> NX> 285 Enabling check on switch command 
> NX> 285 Enabling skip of SSH config files 

However, if nx is ignoring your SSH config, I'm not sure how you can tell
it to use 

> NX> 285 Setting the preferred NX options 
> NX> 200 Connected to address: 192.168.62.4 on port: 22 
> NX> 202 Authenticating user: nx 
> NX> 208 Using auth method: publickey 
> NX> 204 Authentication failed.  

Where is the information from the *server* log.


-- 
Neil Bothwick

Earlier, I didn't have time to finish anything. This time I w 



Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]

2015-11-28 Thread Neil Bothwick
On Sat, 28 Nov 2015 20:31:43 + (UTC), Bill Damage wrote:

Please don't top post.

> Thanks for your hep and patience!
> I want to report the full log.
> I see the log file at /var/log/nx/nxserver.log is always 0 bytes. 
> To try to enable it I changed the entry in /etc/nxserver/node.conf
> NX_LOG_LEVEL=0 to NX_LOG_LEVEL=6 but it still creates the 0 length log
> file.

I meant the log for the SSH server, on the machine you are trying to
connect to, not the nx log. On the SSH server, run

grep sshd /var/log/messages


-- 
Neil Bothwick

Why is the word abbreviation so long?


pgpJwBPRCxx0e.pgp
Description: OpenPGP digital signature


[gentoo-user] wireless USB mouse via PS/2 adapter and KVM switch

2015-11-28 Thread thelma
I have a KVM witch IOGEAR that using old type PS/2 ports
I've tried to connect to it Wireless USB Mouse via USB-to-PS/2 adapter.

It doesn't work :-/

-- 
Thelma



Re: [gentoo-user] Autostart of an application for a headless embedded system

2015-11-28 Thread wabenbau
meino.cra...@gmx.de wrote:

> Hi,
> 
> I have a Gentoo on my embedded system (Arietta G25, very tiny). 
> If this system is booted (no display, no monitor, only one LED) 
> an application (console only) should start, do its job and if done
> shutdown the system. The application runs as root.
> The system has no connection to the outside, so there are no
> security related concerns...
> 
> 
> What is the best place to call that application?

If you use openrc then /etc/local.d/ would be a good place.

--
Regards
wabe



[gentoo-user] Autostart of an application for a headless embedded system

2015-11-28 Thread Meino . Cramer
Hi,

I have a Gentoo on my embedded system (Arietta G25, very tiny). 
If this system is booted (no display, no monitor, only one LED) 
an application (console only) should start, do its job and if done
shutdown the system. The application runs as root.
The system has no connection to the outside, so there are no
security related concerns...


What is the best place to call that application?


Thank you very much for any help in adnavce!
Best regards,
Meino







Re: [gentoo-user] Autostart of an application for a headless embedded system

2015-11-28 Thread Meino . Cramer
waben...@gmail.com  [15-11-29 06:48]:
> meino.cra...@gmx.de wrote:
> 
> > Hi,
> > 
> > I have a Gentoo on my embedded system (Arietta G25, very tiny). 
> > If this system is booted (no display, no monitor, only one LED) 
> > an application (console only) should start, do its job and if done
> > shutdown the system. The application runs as root.
> > The system has no connection to the outside, so there are no
> > security related concerns...
> > 
> > 
> > What is the best place to call that application?
> 
> If you use openrc then /etc/local.d/ would be a good place.
> 
> --
> Regards
> wabe
> 

Hi wabe,

...thanks a lot! :
Yes I am using openrc...I asked because I was unsure not
to screw up the bootprocess...

Best regards,
Meino