Re: Links crashed when open a https site?

2019-01-14 Thread Gua Chung Lim
* Gua Chung Lim (gua.chung...@gmail.com) wrote:
> > It has (see other messages in this thread).
> > It is:  http://nycdn.NetBSD.org/pub/NetBSD-daily/netbsd-8/latest/
> I've never tried this link. One question, does this give the STABLE?
Answer to my question...
Yes, pretty the STABLE.

-- 
Gua Chung Lim
 
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie



Re: Links crashed when open a https site?

2019-01-14 Thread Gua Chung Lim
Typo correction, resend it again, sorry.

* Gua Chung Lim (gua.chung...@gmail.com) wrote:

/* FOR THE FIRST TIME */
* Get the source code (netbsd-8 branch tag a.k.a. 8_STABLE)
 # setenv CVS_RSH ssh
 # setenv CVSROOT anon...@anoncvs.netbsd.org:/cvsroot
 # mkdir /usr/src
 # cd /usr
 # cvs checkout -r netbsd-8 -P src
* Get the pkgsrc, which is updated every quarter. (the latest is 2018Q4)
 # cd /usr && cvs -q -z3 -d anon...@anoncvs.netbsd.org:/cvsroot checkout -r 
pkgsrc-2018Q4 -P pkgsrc
* Install root certificates (to avoid certificate errors during access 
duckduckgo))
 # cd /usr/pkgsrc/security/mozilla-rootcerts
 # make install clean clean-depends
 # cd /etc/openssl/certs
 # mozilla-rootcerts extract
 # mozilla-rootcerts rehash
 # mkdir -p /etc/ssl/certs
 # cd /etc/ssl/certs
 # cat ../../openssl/certs/*.pem > ca-certificates.crt

/* DAILY UPDATE */ (and this is what I do everyday.)
 # cd /usr/src
 # cvs update -Pd
 # ./build.sh -O ../obj -T ../tools -U -u distribution
 # ./build.sh -O ../obj -T ../tools -U -u kernel=YOURKERNEL
 # mv /netbsd /netbsd.old
 # mv /usr/obj/sys/arch/amd64/compile/YOURKERNEL/netbsd /
 # shutdown -r now
After reboot...
 # cd /usr/src
 # ./build.sh -O ../obj -T ../tools -U install=/
 # /usr/sbin/etcupdate (this process is a little tedious)
If you are asked to run # sh /usr/sbin/postinstall, do it.
 # shutdown -r now
Reboot again and all done...
Check the system version, you will see something like mine. :-)
 # uname -a
 NetBSD sirius 8.0_STABLE NetBSD 8.0_STABLE (GENERIC) #10: Sat Jan 12 20:01:18 
+07 2019  root@sirius:/usr/obj/sys/arch/amd64/compile/GENERIC amd64

For the first time everything is slow, fetching, building and installing the
whole system and the whole world. Mine takes total 5-6 hours on i5.
Next time everything will be very fast as you fetch, build or install only
the daily patches.
Last but not least, check you clock. If it runs out of the battery, replace it.

Cheers,
-- 
Gua Chung Lim
 
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie



Re: Links crashed when open a https site?

2019-01-14 Thread Gua Chung Lim
* Csnyi Pl (csanyi...@gmail.com) wrote:
> Chavdar Ivanov  ezt írta (id?pont: 2019. jan. 14., H, 
> 14:37):
> >
> > To avoid the message about the invalid certificate, install 
> > ?security/mozilla-certificates?.
> 
> In netbsd-8 daily repository there is no such mozilla-certificates
> package out there.
Don't get confused. mozilla-certificates has nothing to do with the system.
It resides in /usr/pkgsrc. You can find it using this kind of command.
(Assuming you have fetched pkgsrc.)

% ls -d1 /usr/pkgsrc/*/mozilla-rootcerts
/usr/pkgsrc/security/mozilla-rootcerts/
/usr/pkgsrc/security/mozilla-rootcerts-openssl/

I installed the first one.
Just cd into it the type ...
# make install clean clean-depends

-- 
Gua Chung Lim
 
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie



Re: Links crashed when open a https site?

2019-01-14 Thread Gua Chung Lim
> > Does STABLE branch have direct URL?
> > I don't think so.
> 
> It has (see other messages in this thread).
> It is:  http://nycdn.NetBSD.org/pub/NetBSD-daily/netbsd-8/latest/
Thanks for letting me know. It seems likely that I was told by someone.
I don't think it is better than compiling from source, anyway.
I found these being installed during installworld.

% ls -1 /etc/mtree
NetBSD.dist
set.base
set.comp
set.etc
set.games
set.man
set.misc
set.modules
set.tests
set.text
special

There are 10+ sets in the given links. It should be a little difficult for
a novice like me to choose which sets should I require. So I opt /usr/src.
I've never tried this link. One question, does this give the STABLE?

-- 
Gua Chung Lim
 
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie



Re: Links crashed when open a https site?

2019-01-14 Thread Csányi Pál
Chavdar Ivanov  ezt írta (időpont: 2019. jan. 14., H, 14:37):
>
> To avoid the message about the invalid certificate, install 
> ‘security/mozilla-certificates’.

In netbsd-8 daily repository there is no such mozilla-certificates
package out there.


Re: Links crashed when open a https site?

2019-01-14 Thread Martin Husemann
On Mon, Jan 14, 2019 at 09:54:16PM +0700, Gua Chung Lim wrote:
> * Csnyi Pl (csanyi...@gmail.com) wrote:
> > When  trying the ftp.NetBSD.org URL I get this error:
> > ftp: Error retrieving file '404 Not Found'
> Does STABLE branch have direct URL?
> I don't think so.

It has (see other messages in this thread).

It is:  http://nycdn.NetBSD.org/pub/NetBSD-daily/netbsd-8/latest/

Martin


Re: Links crashed when open a https site?

2019-01-14 Thread Gua Chung Lim
* Csnyi Pl (csanyi...@gmail.com) wrote:
> When  trying the ftp.NetBSD.org URL I get this error:
> ftp: Error retrieving file '404 Not Found'
Does STABLE branch have direct URL?
I don't think so. You have to compile it from source.
Once you have NetBSD installed do the followings.

/* FOR THE FIRST TIME */
* Get the source code (netbsd-8 branch tag a.k.a. 8_STABLE)
 # setenv CVS_RSH ssh
 # setenv CVSROOT anon...@anoncvs.netbsd.org:/cvsroot
 # mkdir /usr/src
 # cd /usr
 # cvs checkout -r netbsd-8 -P src
* Get the pkgsrc, which is updated every quarter. (the latest is 2018Q4)
 # cd /usr && cvs -q -z3 -d anon...@anoncvs.netbsd.org:/cvsroot checkout -r 
pkgsrc-2018Q4 -P pkgsrc
* Install root certificates (to avoid certificate errors during access 
duckduckgo))
 # cd /usr/pkgsrc/security/mozilla-rootcerts
 # make install clean clean-depends
 # cd /etc/openssl/certs
 # mozilla-rootcerts extract
 # mozilla-rootcerts rehash
 # mkdir -p /etc/ssl/certs
 # cd /etc/ssl/certs
 # cat ../../openssl/certs/*.pem > ca-certificates.crt

/* DAILY UPDATE */ (and this is what I do everyday.)
 # cd /usr/src
 # cvs update -Pd
 # ./build.sh -O ../obj -T ../tools -U -u distribution
 # ./build.sh -O ../obj -T ../tools -U -u kernel=YOURKERNEL
 # mv /netbsd /netbsd.old
 # mv /usr/obj/sys/arch/i386/compile/CUSTOM/netbsd /
 # shutdown -r now
After reboot...
 # cd /usr/src
 # ./build.sh -O ../obj -T ../tools -U install=/
 # /usr/sbin/etcupdate
 # shutdown -r now
Reboot again and all done...
Check the system version, you will see something like mine. :-)
 # uname -a
 NetBSD sirius 8.0_STABLE NetBSD 8.0_STABLE (GENERIC) #10: Sat Jan 12 20:01:18 
+07 2019  root@sirius:/usr/obj/sys/arch/amd64/compile/GENERIC amd64

For the first time everything is slow, fetching, building and installing.
Next time everything will be very fast as you fetch, build or install only the 
daily patches.
Last but not least, check you clock. If it runs out of the baterry, replace it.

Cheers,

-- 
Gua Chung Lim
 
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie



Re: Links crashed when open a https site?

2019-01-14 Thread Chavdar Ivanov
To avoid the message about the invalid certificate, install
‘security/mozilla-certificates’.

On Mon, 14 Jan 2019 at 11:20, Csányi Pál  wrote:

> Martin Husemann  ezt írta (időpont: 2019. jan.
> 14., H, 11:00):
> >
> > On Mon, Jan 14, 2019 at 10:53:59AM +0100, Csányi Pál wrote:
> > > Although, he stopped at this point: https://imgur.com/a/QDcvqVS
> > >
> > > What can I do to proceed?
> >
> > There are no postinstall issues that failed (or is that cut off the
> image)?
> > Looks like everything is fine and you can just hit enter to continue.
>
> I proceed, and do a reboot.
> I can boot with the upgraded NetBSD system.
>
> Now I tried the following with links:
> links https://duckduckgo.com
> Links says:
> Invalid certificate etc. etc.
> After I hit Yes I can browse this https site of DucjDuckGo.
>
> Problem SOLVED. Thanks!!
>
> Best, Pal
>
-- 



Re: Links crashed when open a https site?

2019-01-14 Thread Martin Husemann
On Mon, Jan 14, 2019 at 10:53:59AM +0100, Csányi Pál wrote:
> Although, he stopped at this point: https://imgur.com/a/QDcvqVS
> 
> What can I do to proceed?

There are no postinstall issues that failed (or is that cut off the image)?
Looks like everything is fine and you can just hit enter to continue.

Martin


Re: Links crashed when open a https site?

2019-01-14 Thread Leonardo Taccari
Hello Csányi, 

Csányi Pál writes:
> [...]
> Although, he stopped at this point: https://imgur.com/a/QDcvqVS
>
> What can I do to proceed?
> [...]

You can just hit enter to continue and to complete the upgrade.


Re: Links crashed when open a https site?

2019-01-14 Thread Csányi Pál
Csányi Pál  ezt írta (időpont: 2019. jan. 14., H, 10:20):
>
> Martin Husemann  ezt írta (időpont: 2019. jan.
> 14., H, 10:12):
> >
> > On Mon, Jan 14, 2019 at 10:08:44AM +0100, Csányi Pál wrote:
> > > I tried to download for upgrade by usinh HTTP but it can't find files
> > > on ftp.NtetBSD.org address.
> > > What is the correct URL for this?
> >
> > http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/
>
> Thanks!
>
> With these setup it works:
> Host: nycdn.netbsd.org
> Base directory: pub/NetBSD-daily/netbsd-8/latest/

Although, he stopped at this point: https://imgur.com/a/QDcvqVS

What can I do to proceed?


Re: Links crashed when open a https site?

2019-01-14 Thread Csányi Pál
Martin Husemann  ezt írta (időpont: 2019. jan.
14., H, 10:12):
>
> On Mon, Jan 14, 2019 at 10:08:44AM +0100, Csányi Pál wrote:
> > I tried to download for upgrade by usinh HTTP but it can't find files
> > on ftp.NtetBSD.org address.
> > What is the correct URL for this?
>
> http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/

Thanks!

With these setup it works:
Host: nycdn.netbsd.org
Base directory: pub/NetBSD-daily/netbsd-8/latest/


Re: Links crashed when open a https site?

2019-01-14 Thread Martin Husemann
On Mon, Jan 14, 2019 at 10:08:44AM +0100, Csányi Pál wrote:
> I tried to download for upgrade by usinh HTTP but it can't find files
> on ftp.NtetBSD.org address.
> What is the correct URL for this?

http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/

Martin


Re: Links crashed when open a https site?

2019-01-14 Thread Csányi Pál
Csányi Pál  ezt írta (időpont: 2019. jan. 14., H, 10:07):
>
> Martin Husemann  ezt írta (időpont: 2019. jan.
> 14., H, 9:18):
> >
> > On Mon, Jan 14, 2019 at 09:16:19AM +0100, Csányi Pál wrote:
> > > so what I want is the following:
> > >
> > > >   
> > > > http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/images/NetBSD-8.0_STABLE-i386.iso
> > >
> > > Right?
> >
> > Yes!
>
> I just downloaded it and burn to a CD.
> After boot with it, I choose upgrade.
> When I choose the CDROM installation media it can't read from this CD
> without errors:
> SENSE KEY: Media Error.
>
> It seems that that I must to delete this CD-RW and burn on to it again
> this netbsd-8 daily image.
> Can I abandon at this point the installation and reboot the computer?
> The BIOS of this old machine does not allow boot from teh USB drive.
> Instead of reboot this machine, can I somehow put the installation
> image for the USB drive, boot the installation CD, but choose the
> installation media for upgrade from the USB drive out there?

I tried to download for upgrade by usinh HTTP but it can't find files
on ftp.NtetBSD.org address.
What is the correct URL for this?


Re: Links crashed when open a https site?

2019-01-14 Thread Csányi Pál
Martin Husemann  ezt írta (időpont: 2019. jan.
14., H, 9:18):
>
> On Mon, Jan 14, 2019 at 09:16:19AM +0100, Csányi Pál wrote:
> > so what I want is the following:
> >
> > >   
> > > http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/images/NetBSD-8.0_STABLE-i386.iso
> >
> > Right?
>
> Yes!

I just downloaded it and burn to a CD.
After boot with it, I choose upgrade.
When I choose the CDROM installation media it can't read from this CD
without errors:
SENSE KEY: Media Error.

It seems that that I must to delete this CD-RW and burn on to it again
this netbsd-8 daily image.
Can I abandon at this point the installation and reboot the computer?
The BIOS of this old machine does not allow boot from teh USB drive.
Instead of reboot this machine, can I somehow put the installation
image for the USB drive, boot the installation CD, but choose the
installation media for upgrade from the USB drive out there?


Re: Links crashed when open a https site?

2019-01-14 Thread Martin Husemann
On Mon, Jan 14, 2019 at 09:16:19AM +0100, Csányi Pál wrote:
> so what I want is the following:
> 
> >   
> > http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/images/NetBSD-8.0_STABLE-i386.iso
> 
> Right?

Yes!

Martin


Re: Links crashed when open a https site?

2019-01-14 Thread Csányi Pál
Martin Husemann  ezt írta (időpont: 2019. jan.
14., H, 8:57):
>
> On Mon, Jan 14, 2019 at 08:52:57AM +0100, Martin Husemann wrote:
> > The "boot" one does not include installer bits, I would use this:
> >
> > https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/images/NetBSD-8.99.30-i386.iso
> >
> > if you have previously installed the i386 port (your CPU was 64bit so you
> > probably should be running the amd64 port). You can check with "uname -m".

uname -m
i386

> You are looking for either
>
>   
> http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/images/NetBSD-8.0_STABLE-amd64.iso
>
> or

so what I want is the following:

>   
> http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/images/NetBSD-8.0_STABLE-i386.iso

Right?


Re: Links crashed when open a https site?

2019-01-14 Thread gary
"Martin Husemann"  wrote:
=> On Mon, Jan 14, 2019 at 08:40:36AM +0100, Csányi Pál wrote:
=>> All right, I want to upgrade My NetBSD 8.0 system to netbsd-8 daily.
=>>
=>> I am searching it to download, but not sure which one is it?
=>> Is the following:
=>>
https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/i386/installation/cdrom/boot.iso
=>> the netbsd-8 daily cd iso image for me?
=>
=> The "boot" one does not include installer bits, I would use this:
=>
=>
https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/images/NetBSD-8.99.30-i386.iso
=>
=> if you have previously installed the i386 port (your CPU was 64bit so you
=> probably should be running the amd64 port). You can check with "uname -m".
=>
=> Martin
=>

   Those are HEAD links. If you want the latest netbsd-8 branch, you want

http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/images/NetBSD-8.0_STABLE-i386.iso

or if you think you can boot off of a USB flash drive,

http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/images/NetBSD-8.0_STABLE-i386-install.img.gz

 Gary Duzan





Re: Links crashed when open a https site?

2019-01-13 Thread Martin Husemann
On Mon, Jan 14, 2019 at 08:52:57AM +0100, Martin Husemann wrote:
> The "boot" one does not include installer bits, I would use this:
> 
> https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/images/NetBSD-8.99.30-i386.iso
> 
> if you have previously installed the i386 port (your CPU was 64bit so you
> probably should be running the amd64 port). You can check with "uname -m".

Ooops - no, sorry that would update you to -current!

You are looking for either

  
http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/images/NetBSD-8.0_STABLE-amd64.iso

or

  
http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/images/NetBSD-8.0_STABLE-i386.iso

(depending on your uname -m output).

Martin


Re: Links crashed when open a https site?

2019-01-13 Thread Martin Husemann
On Mon, Jan 14, 2019 at 08:40:36AM +0100, Csányi Pál wrote:
> All right, I want to upgrade My NetBSD 8.0 system to netbsd-8 daily.
> 
> I am searching it to download, but not sure which one is it?
> Is the following:
> https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/i386/installation/cdrom/boot.iso
> the netbsd-8 daily cd iso image for me?

The "boot" one does not include installer bits, I would use this:

https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/images/NetBSD-8.99.30-i386.iso

if you have previously installed the i386 port (your CPU was 64bit so you
probably should be running the amd64 port). You can check with "uname -m".

Martin


Re: Links crashed when open a https site?

2019-01-13 Thread Csányi Pál
Martin Husemann  ezt írta (időpont: 2019. jan.
14., H, 8:17):
>
> On Mon, Jan 14, 2019 at 08:08:59AM +0100, Csányi Pál wrote:
> > I want to keep this NetBSD installation, but if I can upgrade to
> > netbsd-8 daily so so I can preserve all my settings from netbsd 8.0,
> > then I want to upgrade to netbsd-8 daily. Can I upgrade this way?
>
> Yes, the installer offers updating an existing installation.

All right, I want to upgrade My NetBSD 8.0 system to netbsd-8 daily.

I am searching it to download, but not sure which one is it?
Is the following:
https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/i386/installation/cdrom/boot.iso
the netbsd-8 daily cd iso image for me?


Re: Links crashed when open a https site?

2019-01-13 Thread Martin Husemann
On Mon, Jan 14, 2019 at 08:08:59AM +0100, Csányi Pál wrote:
> I want to keep this NetBSD installation, but if I can upgrade to
> netbsd-8 daily so so I can preserve all my settings from netbsd 8.0,
> then I want to upgrade to netbsd-8 daily. Can I upgrade this way?

Yes, the installer offers updating an existing installation.

Martin


Re: Links crashed when open a https site?

2019-01-13 Thread Csányi Pál
Leonardo Taccari  ezt írta (időpont: 2019. jan. 13., V, 23:47):
>
> Hello Csányi,
>
> Csányi Pál writes:
> > [...]
> > cpu0: highest basic info 0001
> > cpu0: highest extended info 8005
> > cpu0: "AMD-K6(tm) D processor"
> > cpu0: AMD-K6-2 (586-class), 333.30 MHz
> > cpu0: family 0x5 model 0x8 stepping 0xc (id 0x58c)
> > cpu0: features 0x8021bf
> > cpu0: I-cache 32KB 32B/line 2-way, D-cache 32KB 2B/line 2-way
> > cpu0: ITLB 64 4KB entries direct-mapped
> > cpu0: DTLB 128 4KB entries 2-way
> > cpu0: initial APIC ID 0
> > [...]
> > The last few lines when gdb loaded the core are these:
> > Core was generated by 'links'.
> > Program terminated with signal SIGILL, Illegal instruction.
> > #0  0xb2ed7d50 in gcm_ghash_bit_mmx () from /usr/lib/libcrypto.so.12
> >
> > (gdb) x/i $pc
> > Segmentation fault (core dumped)
> > [...]
>
> This seems pretty similar to PR bin/53532 (thanks !)
> and this should be fixed in the netbsd-8 daily.
>
> Can you please try with a netbsd-8 daily image? (you can fetch it via,
> e.g. )

I want to keep this NetBSD installation, but if I can upgrade to
netbsd-8 daily so so I can preserve all my settings from netbsd 8.0,
then I want to upgrade to netbsd-8 daily. Can I upgrade this way?

Best, Pali


Re: Links crashed when open a https site?

2019-01-13 Thread Leonardo Taccari
Hello Csányi, 

Csányi Pál writes:
> [...]
> cpu0: highest basic info 0001
> cpu0: highest extended info 8005
> cpu0: "AMD-K6(tm) D processor"
> cpu0: AMD-K6-2 (586-class), 333.30 MHz
> cpu0: family 0x5 model 0x8 stepping 0xc (id 0x58c)
> cpu0: features 0x8021bf
> cpu0: I-cache 32KB 32B/line 2-way, D-cache 32KB 2B/line 2-way
> cpu0: ITLB 64 4KB entries direct-mapped
> cpu0: DTLB 128 4KB entries 2-way
> cpu0: initial APIC ID 0
> [...]
> The last few lines when gdb loaded the core are these:
> Core was generated by 'links'.
> Program terminated with signal SIGILL, Illegal instruction.
> #0  0xb2ed7d50 in gcm_ghash_bit_mmx () from /usr/lib/libcrypto.so.12
>
> (gdb) x/i $pc
> Segmentation fault (core dumped)
> [...]

This seems pretty similar to PR bin/53532 (thanks !)
and this should be fixed in the netbsd-8 daily.

Can you please try with a netbsd-8 daily image? (you can fetch it via,
e.g. )


Thanks!


Re: Links crashed when open a https site?

2019-01-13 Thread Patrick Welche
On Sun, Jan 13, 2019 at 10:10:44PM +0100, Cs?nyi P?l wrote:
> I changed the shell for root like this:
> # usermod -s /bin/ksh root
> 
> and now when I login with root ( not with su ) I have command/filename
> completition.
> But if I do su from my bash shell, and get root, the command
> completition does not work. Why?

How about "su -l" ?

Cheers,

Patrick


Re: Links crashed when open a https site?

2019-01-13 Thread Csányi Pál
Hi Martin,

Martin Husemann  ezt írta (időpont: 2019. jan.
13., V, 13:53):
>
> On Sun, Jan 13, 2019 at 12:56:23PM +0100, Csányi Pál wrote:
> > Hi,
> >
> > I am running NetBSD 8.0 version.
> >
> > I just installed links and want to open
> > https://duckduckgo.com
> >
> > but links crached with this message:
> > Illegal instruction (core dump).
>
> Tell us a bit about your hardware, please, e.g. show the output of
>
> cpuctl identfiy 0

cpu0: highest basic info 0001
cpu0: highest extended info 8005
cpu0: "AMD-K6(tm) D processor"
cpu0: AMD-K6-2 (586-class), 333.30 MHz
cpu0: family 0x5 model 0x8 stepping 0xc (id 0x58c)
cpu0: features 0x8021bf
cpu0: I-cache 32KB 32B/line 2-way, D-cache 32KB 2B/line 2-way
cpu0: ITLB 64 4KB entries direct-mapped
cpu0: DTLB 128 4KB entries 2-way
cpu0: initial APIC ID 0

> If you check the directory where you did run links, you should see a 
> links.core
> file around. You can analyze that with something like:
>
> gdb links links.core
> x/i $pc
> q
>
> and show us the last few lines when gdb loaded the core plus the output of
> the x/i command.

The last few lines when gdb loaded the core are these:
Core was generated by 'links'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0xb2ed7d50 in gcm_ghash_bit_mmx () from /usr/lib/libcrypto.so.12

(gdb) x/i $pc
Segmentation fault (core dumped)

> Martin

I changed the shell for root like this:
# usermod -s /bin/ksh root

and now when I login with root ( not with su ) I have command/filename
completition.
But if I do su from my bash shell, and get root, the command
completition does not work. Why?


Re: Links crashed when open a https site?

2019-01-13 Thread Csányi Pál
Hi Martin,

Martin Husemann  ezt írta (időpont: 2019. jan.
13., V, 13:53):
>
> On Sun, Jan 13, 2019 at 12:56:23PM +0100, Csányi Pál wrote:
> > Hi,
> >
> > I am running NetBSD 8.0 version.
> >
> > I just installed links and want to open
> > https://duckduckgo.com
> >
> > but links crached with this message:
> > Illegal instruction (core dump).
>
> Tell us a bit about your hardware, please, e.g. show the output of
>
> cpuctl identfiy 0

cpu0: highest basic info 0001
cpu0: highest extended info 8005
cpu0: "AMD-K6(tm) D processor"
cpu0: AMD-K6-2 (586-class), 333.30 MHz
cpu0: family 0x5 model 0x8 stepping 0xc (id 0x58c)
cpu0: features 0x8021bf
cpu0: I-cache 32KB 32B/line 2-way, D-cache 32KB 2B/line 2-way
cpu0: ITLB 64 4KB entries direct-mapped
cpu0: DTLB 128 4KB entries 2-way
cpu0: initial APIC ID 0

> If you check the directory where you did run links, you should see a 
> links.core
> file around. You can analyze that with something like:
>
> gdb links links.core
> x/i $pc
> q
>
> and show us the last few lines when gdb loaded the core plus the output of
> the x/i command.

-bash-4.4$ gdb: command not find

> Martin

I must confess that that after I installed NetBSD on this old Toshiba
Satellite 2540CDS laptop, I edited the /root/.profile file by adding
this line:
export PAGER=less

and when I try to save it within Midnight Comander a messages says
about that that this file is hard linked. Nevertheless, I saved the
file.
After that I realized that that the # prompt behave strange.
Eg., I can run the reboot command from that prompt as root user.
I must then to switch to the /dev/ttyE0 console, there su to get root,
and then can I reboot.


Re: Links crashed when open a https site?

2019-01-13 Thread Martin Husemann
On Sun, Jan 13, 2019 at 12:56:23PM +0100, Csányi Pál wrote:
> Hi,
> 
> I am running NetBSD 8.0 version.
> 
> I just installed links and want to open
> https://duckduckgo.com
> 
> but links crached with this message:
> Illegal instruction (core dump).

Tell us a bit about your hardware, please, e.g. show the output of

cpuctl identfiy 0

If you check the directory where you did run links, you should see a links.core
file around. You can analyze that with something like:

gdb links links.core
x/i $pc
q

and show us the last few lines when gdb loaded the core plus the output of
the x/i command.

Martin


Links crashed when open a https site?

2019-01-13 Thread Csányi Pál
Hi,

I am running NetBSD 8.0 version.

I just installed links and want to open
https://duckduckgo.com

but links crached with this message:
Illegal instruction (core dump).

At the bottom of the links browser I can see this message:
SSL negotiation.

After this I installed openssl, but still get this crash.

Is this a bug?

-- 
Best, Pali