Re: config files break after mergemaster -Ui

2019-01-06 Thread White Wizard
Le dimanche 06 janvier 2019 à 11:53 -0800, Cy Schubert a écrit :
> Oliver Pinter suggested looking in /var/db/backup.
> 
> We know group is toast, you told us. Based on one of your paragraphs,
> passwd might also be toasted. What else has been damaged?

i retrive my /etc/group but the problem seems more that only file's
mistake.
> 
> -Original Message-
> From: White Wizard
> Sent: 06/01/2019 10:49
> To: freebsd-current@freebsd.org
> Subject: Re: config files break after mergemaster -Ui
> 
> Le dimanche 06 janvier 2019 à 09:30 -0800, Cy Schubert a écrit :
> > In message ,
> >  
> > White Wizard writes:
> > > How can i re-install défault config files ? Now i just single
> > > user's
> > > access. When i try to login root, before pass's ask the system
> > > say
> > > me
> > > invalid login...
> > 
> > Sounds like /etc/passwd also got hosed.
> > 
> > While single user, try the -s option of mergemaster. This compares
> > each 
> > file line by line instead of the SVN revision number.
> 
> my /usr/src is empty ?!?

the auto patitionning with the installer do a separaite /usr ?

BR,
WW

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: sha256 speed

2019-01-06 Thread Conrad Meyer
There is support for the SHA intrinsic in aesni(4) that would be
relatively easy to adapt to userspace for libmd, if someone was
interested.  Especially now that we demand linker ifunc support (on
x86 platforms, at least).  I posted a patch and some performance
comparison in https://svnweb.freebsd.org/base?view=revision&revision=r324037
.

Best,
Conrad

On Sun, Jan 6, 2019 at 4:19 PM Stefan Ehmann  wrote:
>
> Hello,
>
> On my Ryzen the sha256 command is much slower than openssl dgst -sha256.
> For large files, openssl is more than 7 times faster in practice.
>
> You can also test it with the builtin benchmarks:
> sha256 -t
> openssl speed sha256
>
> I think the reason is that openssl supports the SHA CPU extensions
> whereas libmd (used by sha256) does not.
>
> Any chance we can make the base sha256 faster?
> I guess there is some reason why we use libmd instead of openssl.
>
> https://reviews.freebsd.org/D2651 looks related but not sure it's still
> relevant.
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: sha256 speed

2019-01-06 Thread Waitman Gobble
Sent from ProtonMail mobile

 Original Message 
On Jan 6, 2019, 8:17 PM, Stefan Ehmann wrote:

Hello,

On my Ryzen the sha256 command is much slower than openssl dgst -sha256.
For large files, openssl is more than 7 times faster in practice.

You can also test it with the builtin benchmarks:
sha256 -t
openssl speed sha256

I think the reason is that openssl supports the SHA CPU extensions
whereas libmd (used by sha256) does not.

Any chance we can make the base sha256 faster?
I guess there is some reason why we use libmd instead of openssl.

https://reviews.freebsd.org/D2651 looks related but not sure it's still
relevant.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Should probably dump sha256 anyways, blake2.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


sha256 speed

2019-01-06 Thread Stefan Ehmann
Hello,

On my Ryzen the sha256 command is much slower than openssl dgst -sha256.
For large files, openssl is more than 7 times faster in practice.

You can also test it with the builtin benchmarks:
sha256 -t
openssl speed sha256

I think the reason is that openssl supports the SHA CPU extensions
whereas libmd (used by sha256) does not.

Any chance we can make the base sha256 faster?
I guess there is some reason why we use libmd instead of openssl.

https://reviews.freebsd.org/D2651 looks related but not sure it's still
relevant.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" (RPI/arm64)

2019-01-06 Thread Julian H. Stacey
Gary Jennejohn wrote:
> On Sun, 06 Jan 2019 08:13:52 +0100
> "Julian H. Stacey"  wrote:
> 
> > > > > $ chrome
> > > > > ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol 
> > > > > "environ"  
> > 
> > [ Delayed report (as it took about 2 days to build chrome from ports/)] ...
> > 
> > I too am still seing from chrome:
> > ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"
> > which I first saw from chrome after a pkg add, but now too from a ports/ 
> > build
> > 
> > My src/ was maybe a week or so old. To be precise on next failure report,
> > I've since added WITHOUT_REPRODUCIBLE_BUILD="YES" to /etc/src.conf 
> > & finished a buildworld  on .svn_revision 342785, now running buildkernel
> > 
> 
> IIRC the problem was attributed to some flags being passed to the
> compiler or linker.  Don't know exactly which reply, but it
> should be findable in the mail-list database.  AFAIK it was never
> verified that it was the cause.

Thanks Gary, my world is now updated to
uname -a
FreeBSD lapr.js.berklix.net 13.0-CURRENT FreeBSD 13.0-CURRENT #0: Sun Jan  6 
08:06:58 CET 2019 
j...@lapr.js.berklix.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
/usr/src/.svn_revision 342810

chrome still fails

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220103
has 30 comments inc. 2 patches (That Ive had no time to try yet)

Cheers,
Julian
-- 
Julian Stacey, Computer Consultant Sys.Eng. BSD Linux Unix, Munich Aachen Kent
 First referendum stole 700,000 votes from Brits in EU;  3,700,000 globaly.
 Lies criminal funded; jobs pound & markets down. 1.9M new voters 1.3M dead.
 Email MP: "A new referendum will buy UK & EU more time (Art 50.3), to avoid
   a hard crash, & consider all options."  http://berklix.org/brexit/#mp
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


RE: config files break after mergemaster -Ui

2019-01-06 Thread Cy Schubert
Oliver Pinter suggested looking in /var/db/backup.

We know group is toast, you told us. Based on one of your paragraphs, passwd 
might also be toasted. What else has been damaged?

---
Sent using a tiny phone keyboard.
Apologies for any typos and autocorrect.
Also, this old phone only supports top post. Apologies.

Cy Schubert
 or 
The need of the many outweighs the greed of the few.
---

-Original Message-
From: White Wizard
Sent: 06/01/2019 10:49
To: freebsd-current@freebsd.org
Subject: Re: config files break after mergemaster -Ui

Le dimanche 06 janvier 2019 à 09:30 -0800, Cy Schubert a écrit :
> In message , 
> White Wizard writes:
> > How can i re-install défault config files ? Now i just single
> > user's
> > access. When i try to login root, before pass's ask the system say
> > me
> > invalid login...
> 
> Sounds like /etc/passwd also got hosed.
> 
> While single user, try the -s option of mergemaster. This compares
> each 
> file line by line instead of the SVN revision number.

my /usr/src is empty ?!?


> This assumes that /etc actually exists and assumes that your root 
> filesystem is, except for this, generally ok. It's suggested that
> you 
> ascertain the state of the filesystem first and nothing else is
> missing 
> or damaged before attempting any further recovery.

can you explain better ?

Cheers,
White Wizard.

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: config files break after mergemaster -Ui

2019-01-06 Thread White Wizard
Le dimanche 06 janvier 2019 à 09:30 -0800, Cy Schubert a écrit :
> In message , 
> White Wizard writes:
> > How can i re-install défault config files ? Now i just single
> > user's
> > access. When i try to login root, before pass's ask the system say
> > me
> > invalid login...
> 
> Sounds like /etc/passwd also got hosed.
> 
> While single user, try the -s option of mergemaster. This compares
> each 
> file line by line instead of the SVN revision number.

my /usr/src is empty ?!?


> This assumes that /etc actually exists and assumes that your root 
> filesystem is, except for this, generally ok. It's suggested that
> you 
> ascertain the state of the filesystem first and nothing else is
> missing 
> or damaged before attempting any further recovery.

can you explain better ?

Cheers,
White Wizard.

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: config files break after mergemaster -Ui

2019-01-06 Thread Oliver Pinter
Hi!

Before you do anything take a look in /var/db/backup directory - or just
try to find the backups with find /var -name "group*" command.

On Sunday, January 6, 2019, White Wizard  wrote:

> Hi,
> i break my config file, peraps /etc/group when un mergemaster.
> No concentrate to that i do and ask bad anwsers.
>
> How can i re-install défault config files ? Now i just single user's
> access. When i try to login root, before pass's ask the system say me
> invalid login...
>
> BR,
> White Wizard.
>
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: config files break after mergemaster -Ui

2019-01-06 Thread Cy Schubert
In message , 
White Wizar
d writes:
> Hi,
> i break my config file, peraps /etc/group when un mergemaster.
> No concentrate to that i do and ask bad anwsers.

If it's simply group, then /usr/src/etc/group would be your starting 
point.

>
> How can i re-install défault config files ? Now i just single user's
> access. When i try to login root, before pass's ask the system say me
> invalid login...

Sounds like /etc/passwd also got hosed.

While single user, try the -s option of mergemaster. This compares each 
file line by line instead of the SVN revision number.

This assumes that /etc actually exists and assumes that your root 
filesystem is, except for this, generally ok. It's suggested that you 
ascertain the state of the filesystem first and nothing else is missing 
or damaged before attempting any further recovery.


-- 
Cheers,
Cy Schubert 
FreeBSD UNIX: Web:  http://www.FreeBSD.org

The need of the many outweighs the greed of the few.


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


config files break after mergemaster -Ui

2019-01-06 Thread White Wizard
Hi,
i break my config file, peraps /etc/group when un mergemaster.
No concentrate to that i do and ask bad anwsers.

How can i re-install défault config files ? Now i just single user's
access. When i try to login root, before pass's ask the system say me
invalid login...

BR,
White Wizard.

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" (RPI/arm64)

2019-01-06 Thread Gary Jennejohn
On Sun, 06 Jan 2019 08:13:52 +0100
"Julian H. Stacey"  wrote:

> > > > $ chrome
> > > > ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol 
> > > > "environ"  
> 
> [ Delayed report (as it took about 2 days to build chrome from ports/)] ...
> 
> I too am still seing from chrome:
>   ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"
> which I first saw from chrome after a pkg add, but now too from a ports/ build
> 
> My src/ was maybe a week or so old. To be precise on next failure report,
> I've since added WITHOUT_REPRODUCIBLE_BUILD="YES" to /etc/src.conf 
> & finished a buildworld  on .svn_revision 342785, now running buildkernel
> 

IIRC the problem was attributed to some flags being passed to the
compiler or linker.  Don't know exactly which reply, but it
should be findable in the mail-list database.  AFAIK it was never
verified that it was the cause.

-- 
Gary Jennejohn
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" (RPI/arm64)

2019-01-06 Thread Julian H. Stacey
> > > $ chrome
> > > ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"

[ Delayed report (as it took about 2 days to build chrome from ports/)] ...

I too am still seing from chrome:
ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"
which I first saw from chrome after a pkg add, but now too from a ports/ build

My src/ was maybe a week or so old. To be precise on next failure report,
I've since added WITHOUT_REPRODUCIBLE_BUILD="YES" to /etc/src.conf 
& finished a buildworld  on .svn_revision 342785, now running buildkernel

Cheers,
Julian
-- 
Julian Stacey, Computer Consultant Sys.Eng. BSD Linux Unix, Munich Aachen Kent
 First referendum stole 700,000 votes from Brits in EU;  3,700,000 globaly.
 Lies criminal funded; jobs pound & markets down. 1.9M new voters 1.3M dead.
 Email MP: "A new referendum will buy UK & EU more time (Art 50.3), to avoid
   a hard crash, & consider all options."  http://berklix.org/brexit/#mp
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"